/*
 * Auditex Conseil - Main Stylesheet
 * Colors:
 * - Primary: #141B41 (deep blue)
 * - Accent: #F24C00 (bright mandarin)
 * - Secondary: #D9D9D9 (light gray)
 * - Background: #F8F8FF (almost white)
 * - Text: #1A1A1A (almost black)
 */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed header */
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #F8F8FF;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #141B41;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #141B41;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #F24C00;
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #F24C00;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #F24C00;
    color: #fff;
}

.btn-primary:hover {
    background-color: #141B41;
    color: #fff;
}

.btn-secondary {
    background-color: #141B41;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #F24C00;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #141B41;
    color: #141B41;
}

.btn-outline:hover {
    background-color: #141B41;
    color: #fff;
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 600;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #141B41;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(20, 27, 65, 0.8), rgba(20, 27, 65, 0.8)), url('./img/DtXnaT.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 160px 0 80px;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1;
    padding-right: 30px;
}

.about-image {
    flex: 1;
    text-align: center;
}

/* Services Section */
.services-section {
    background-color: #F8F8FF;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    background: #141B41;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: -40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: #fff;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-top: 0;
}

/* Advantages Section */
.advantages-section {
    background-color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-icon svg {
    width: 50px;
    height: 50px;
    fill: #F24C00;
}

/* Cases/Testimonials Section */
.cases-section {
    background-color: #F8F8FF;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 20px 0;
}

.testimonial-author {
    font-weight: 600;
    margin-top: 20px;
    color: #F24C00;
}

.testimonial-company {
    font-style: italic;
    color: #777;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(20, 27, 65, 0.9), rgba(20, 27, 65, 0.9)), url('./img/9tNO4i.jpg') no-repeat center center/cover;
    text-align: center;
    color: #fff;
    padding: 100px 0;
}
.cta-content{
    max-width: 700px;
    margin: 0 auto;
}
.cta-section h2 {
    color: #fff;
}

/* Contact Form Section */
.contact-section {
    background-color: #fff;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: #141B41;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Cpath d='M0 0l6 6 6-6' fill='none' stroke='%23141B41' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.checkbox-input {
    margin-right: 10px;
}

/* Footer */
.site-footer {
    background-color: #141B41;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #D9D9D9;
}

.footer-col a:hover {
    color: #F24C00;
}

.footer-contact {
    margin-top: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(20, 27, 65, 0.9);
    color: #fff;
    padding: 20px;
    transition: bottom 0.5s ease;
    z-index: 1000;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-right: 20px;
    margin-bottom: 10px;
}

.cookie-content a {
    color: #F24C00;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu-icon {
        display: block;
        z-index: 101;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        top: 8px;
        transform: rotate(135deg);
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        top: 8px;
        transform: rotate(-135deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .menu-toggle:checked ~ .nav-menu {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-section {
        padding-top: 140px; /* Increased for mobile fixed header */
        padding-bottom: 60px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-card,
    .advantage-item {
        margin-bottom: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
} 