/* General Styles */
:root {
    --fluxyfox-light-orange: #DB3D0E;
    --fluxyfox-dark-orange: #AD2405;
    --fluxyfox-light-grey: #e9e9e9;
    --fluxyfox-very-light-grey: #f0f0f0;
    --fluxyfox-grey: #cfcfcf;
    --fluxyfox-dark-grey: #333;
    --fluxyfox-very-dark-grey: #111;
    --fluxyfox-text-color: #333; 
}

body {
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: var(--fluxyfox-text-color);
}

h1 {
    margin: 20px 10px 10px 10px;
    font-size: 2.5em;
    color: var(--fluxyfox-dark-orange);
}

h2 {
    margin: 30px 10px 20px 10px;
    font-size: 2em;
    color: var(--fluxyfox-light-orange); 
}

h3 {
    margin: 15px 10px 10px 10px;
    font-size: 1.6em;
    color: var(--fluxyfox-dark-orange); 
}

p {
    font-size: 1.2em;
    line-height: 1.5;
}

a {
    color: var(--fluxyfox-dark-orange);
    text-decoration: none;
}

a:hover {
    color: var(--fluxyfox-light-orange);
    text-decoration: underline;
}

.page-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 5px;
}

/* GENERIC */
.no-dots {
    list-style-type: none;
    padding-left: 0;
}

.price {
    font-size: 1.2em;
    margin-top: 10px;
    color: var(--fluxyfox-light-orange);
    font-weight: bold;
}

.checkmark {
    color: green;
}

.cross {
    color: grey;
}

.orange-checkmark {
    color: orange;
}

.clear {
    clear: both;
}

.free-text{
    padding: 0 20px;
}

/* Header Section */
header {
    background-color: var(--fluxyfox-light-grey);
    padding: 5px 10px;
    position: sticky; /* Make the header sticky */
    top: 0; /* Stick to the top of the viewport */
    z-index: 1000; /* Ensure it appears above other elements */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
}

header a:hover  {
    text-decoration: none;
}

/* Logo and Title */
.logo-container img {
    max-height: 40px;
    width: auto;
}

.logo-container, .title-container {
    text-align: left;
    float: left;
}

.site-title {
    color: var(--fluxyfox-light-orange);
    font-size: 18px;
    padding: 0;
    margin: 0 4px;
    font-weight: bold;
    display: block;
}

.site-subtitle {
    color: var(--fluxyfox-dark-orange); 
    font-size: 12px;
    padding: 0;
    margin: 0 4px;
    font-weight: bold;
    display: block;
}

/* Navigation */
nav {
    text-align: right;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline-block;
    height: 40px;
    line-height: 40px;
}

nav a {
    color: var(--fluxyfox-dark-orange);
    text-decoration: none;
    margin: 0 10px;
    padding: 0 5px;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--fluxyfox-light-orange);
    border-bottom: 2px solid var(--fluxyfox-light-orange);
}

.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--fluxyfox-dark-orange);
    margin: 10px;
    text-align: right;
}

.burger-menu.active + nav ul {
    display: flex; /* Show menu when burger is active */
    z-index: 1000;
}

/* SECTIONS */
section {
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
}

/* TIMELINE */
#timeline {
    background-color: var(--fluxyfox-very-light-grey);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.timeline-icon {
    width: 20px;
    height: 20px;
    background-color: var(--fluxyfox-very-light-grey);
    border: 3px solid var(--fluxyfox-dark-orange);
    color: var(--fluxyfox-very-light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 0 auto;
    font-size: 24px;
    font-weight: bold;
}

.timeline-content {
    padding: 10px 40px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 26px; /* Adjusted to align with the timeline icons */
    left: 5%;
    width: 90%;
    height: 3px;
    background-color: var(--fluxyfox-dark-orange);
    z-index: 1; /* Ensure it appears behind the icons */
    transform: translateY(-50%); /* Center the line vertically */
    z-index: 0;
}

/* PRODUCT */

.product {
    width: calc(33.333% - 40px);
    margin: 20px; 
    background-color: var(--fluxyfox-light-grey);
    float: left;
    display: flex;
    flex-direction: column; /* Ensure content stacks vertically */
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
}

.product h3 {
    font-size: 1.3em;
}

.product-content {
    margin: auto 10px;
}

.product img {
    width: 100%;
}

.product-btn {
    display: inline-block;
    background-color: var(--fluxyfox-light-orange);
    color: white;
    padding: 10px 20px;
    margin: 15px 0;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.product-btn:hover {
    background-color: var(--fluxyfox-dark-orange);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* SERVICES */
table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
}

th, td {
    border: 1px solid #cfcfcf;
    padding: 8px;
    text-align: left;
}

th {
    background-color: var(--fluxyfox-light-grey);
    text-align: center;
}

td.first-column {
    background-color: var(--fluxyfox-very-light-grey);
    text-align: right;
    font-weight: bold;
    padding-right: 20px;
}

td.table-price {
    padding: 18px 10px;
}


li ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* FAQ  */
#faq {
    margin: 40px 20px;
}

.faq-item {
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
}

.faq-question {
    width: 100%;
    background-color: var(--fluxyfox-light-grey);
    border: none;
    padding: 15px;
    text-align: left;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 4px;
    outline: none;
    transition: background-color 0.3s;
}

.faq-symbol {
    color: var(--fluxyfox-light-orange);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

.faq-question:hover {
    background-color: var(--fluxyfox-grey);
}

.faq-answer {
    display: none;
    padding: 15px;
    background-color: var(--fluxyfox-very-light-grey);
    border-left: 4px solid var(--fluxyfox-light-orange);
    border-radius: 0 0 4px 4px;
    font-size: 1em;
    line-height: 1.5;
}

.faq-answer.visible a {
    display: block;
}

/* CONTACT FORM */
form {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--fluxyfox-very-light-grey);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin: 20px 0 0 0;
    font-weight: bold;
    text-align: left;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

textarea {
    min-height: 200px;
}

input[type="submit"] {
    background-color: var(--fluxyfox-light-orange); 
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: var(--fluxyfox-dark-orange);
}

.form-success {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #5cb85c;
    font-weight: bold;
}

.form-error {
    background-color: #f2dede;
    color: #a94442;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #d9534f;
    font-weight: bold;
}

.captcha-container {
    margin: 20px 0;
}

.captcha-box {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.captcha-image {
    border: 1px solid var(--fluxyfox-grey);
    margin-right: 15px;
    border-radius: 4px;
}

.refresh-captcha {
    font-size: 0.9em;
    color: var(--fluxyfox-dark-orange);
    text-decoration: underline;
}

.refresh-captcha:hover {
    color: var(--fluxyfox-light-orange);
}

/* Add this to your existing styles.css file */

.refresh-captcha.cooldown {
    pointer-events: none;
    opacity: 0.7;
    cursor: not-allowed;
    color: #999;
}

/* FOOTER */
footer {
    background-color: var(--fluxyfox-light-grey); 
    text-align: center;
    padding: 20px 0; /* Réduire le padding-bottom */
    width: 100%;
}

social-media-icons a{
    text-decoration: none;
    margin-right: 10px;
}

.social-media-icons img {
    max-width: 40px;
    opacity: 0.6; 
    transition: opacity 0.3s; /* Smooth transition */
}

.social-media-icons img:hover {
    opacity: 1; 
}

#back-to-top {
    bottom: 20px;
    right: 20px;
    background-color: var(--fluxyfox-light-orange);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none; 
    z-index: 1000;
    position: fixed; /* Utilisez relative au lieu d'absolute ou fixed pour éviter le débordement */
}

#back-to-top:hover {
    background-color: var(--fluxyfox-dark-orange);
}

/* LEGAL */
#legal {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.3em;
    }

    p {
        font-size: 1em;
    }

    section{
        margin: 20px 0;
        padding: 10px 0;
    }

    /* Remplacer display: none par styles responsives pour #services */
    #services {
        overflow-x: auto; /* Permet de défiler horizontalement si nécessaire */
    }

    /* Styles responsives pour les tableaux sur mobile */
    #services table {
        width: 100%;
        margin-bottom: 15px;
    }

    #services table, 
    #services thead, 
    #services tbody, 
    #services th, 
    #services td, 
    #services tr { 
        display: block; 
    }

    #services thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #services tr {
        margin-bottom: 20px;
        border: 1px solid var(--fluxyfox-grey);
    }

    #services td { 
        position: relative;
        padding: 10px;
        padding-left: 45%; 
        text-align: left;
        min-height: 30px;
        border: none;
        border-bottom: 1px solid var(--fluxyfox-grey);
    }

    #services td.first-column {
        background-color: var(--fluxyfox-light-grey);
        font-weight: bold;
        padding-left: 10px;
        text-align: center;
    }

    #services td:before { 
        position: absolute;
        top: 10px;
        left: 10px;
        width: 40%; 
        white-space: nowrap;
        font-weight: bold;
    }

    /* Ajouter des libellés pour chaque colonne */
    #services td:nth-of-type(2):before { content: "Network"; }
    #services td:nth-of-type(3):before { content: "Secret"; }
    #services td:nth-of-type(4):before { content: "Top Secret"; }

    .product {
        width: auto;
    }

    .timeline-container {
        flex-direction: column; /* Stack timeline steps vertically */
        align-items: center; /* Center align the steps */
    }

    .timeline-container::before, .timeline-icon {
        display: none; 
    }

    nav {
        text-align: center; /* Center align navigation for mobile */
    }

    nav ul {
        display: none; /* Hide navigation items by default */
        flex-direction: column; /* Stack items vertically */
        background-color: var(--fluxyfox-light-grey);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav li {
        display: block; /* Make each item take full width */
        text-align: center;
        margin: 5px 0;
    }

    nav a {
        padding: 10px 15px; /* Increase padding for better touch targets */
    }

    .burger-menu {
        display: block; /* Show burger menu on mobile */
    }
}