/* Base styling */
:root {
    --color-dark-blue: #0D1B2A;
    --color-amber: #FFB627;
    --color-cherry: #F45B69;
    --color-white: #FFFFFF;
    --color-black: #121212;
    --gradient: linear-gradient(135deg, var(--color-amber), var(--color-cherry));
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-dark-blue);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.8rem;
    position: relative;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-amber);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-cherry);
}

/* Button styles */
.button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: var(--color-white);
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--color-white);
}

.button-outline {
    background: transparent;
    border: 2px solid var(--color-amber);
    color: var(--color-amber);
}

.button-outline:hover {
    background: var(--color-amber);
    color: var(--color-dark-blue);
}

/* Header and navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--color-white);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.cta-button {
    padding: 8px 20px;
    background: var(--gradient);
    border-radius: 50px;
    color: var(--color-white);
}

.main-nav a.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.main-nav a.cta-button::after {
    display: none;
}

/* Hamburger menu */
.burger-toggle {
    display: none;
}

.burger-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

/* Section styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.7));
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 30px;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* About section */
.about {
    background-color: rgba(255, 255, 255, 0.05);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-item {
    padding: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-10px);
}

.about-item h3 {
    margin-bottom: 15px;
    color: var(--color-amber);
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--color-amber);
}

/* Why us section */
.why-us {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.95)), url('../img/LPJDZ.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.why-us-item {
    display: flex;
    gap: 20px;
}

.why-us-icon {
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    margin-top: 5px;
}

.why-us-content h3 {
    margin-bottom: 10px;
}

/* Testimonials section */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 20px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 50px;
    line-height: 0;
    color: var(--color-amber);
    position: absolute;
}

.testimonial-content::before {
    left: -10px;
    top: 15px;
}

.testimonial-content::after {
    right: -10px;
    bottom: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Contact form section - style amélioré */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--color-amber);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--color-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-amber);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 182, 39, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFB627' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}

select.form-control option {
    background-color: #0D1B2A;
    color: #FFFFFF;
    padding: 15px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    position: relative;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    margin-top: 3px;
}

.checkbox-group input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--color-amber);
    border-radius: 2px;
}

.checkbox-group input[type="checkbox"]:focus {
    border-color: var(--color-amber);
    box-shadow: 0 0 0 3px rgba(255, 182, 39, 0.2);
    outline: none;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-group a {
    text-decoration: underline;
    color: var(--color-amber);
}

.form-button {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 8px;
    background: var(--gradient);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-button:active {
    transform: translateY(-1px);
}

.form-error {
    color: var(--color-cherry);
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(244, 91, 105, 0.1);
    border-left: 3px solid var(--color-cherry);
    border-radius: 4px;
}

/* FAQ section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: block;
    width: 100%;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-toggle {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 25px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-toggle:checked + .faq-question {
    background: var(--gradient);
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-toggle:checked ~ .faq-answer .faq-answer-content {
    padding: 25px;
    opacity: 1;
    transform: translateY(0);
}

/* Map section */
.contact-info-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--color-amber);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--color-amber);
    font-size: 1.2rem;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about p {
    margin-top: 20px;
    opacity: 0.8;
}

.footer-contact h3,
.footer-links h3 {
    color: var(--color-amber);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 15px;
}

.footer-contact a,
.footer-links a {
    color: var(--color-white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--color-amber);
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

#cookie-accept {
    background: var(--gradient);
    color: var(--color-white);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

#cookie-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Legal pages styling */
.legal-page {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 120px 0 80px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background-color: var(--color-white);
}

.legal-container h1 {
    color: var(--color-dark-blue);
    margin-bottom: 30px;
}

.legal-container h2 {
    color: var(--color-dark-blue);
    font-size: 1.8rem;
    margin-top: 40px;
}

.legal-container h2::after {
    background: var(--gradient);
}

.legal-container p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.legal-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-container li {
    margin-bottom: 10px;
}

.legal-container a {
    color: var(--color-cherry);
}

.legal-container a:hover {
    text-decoration: underline;
}

/* Thank you page */
.thank-you {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
}

.thank-you-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.thank-you h1 {
    margin-bottom: 30px;
    color: var(--color-amber);
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-map {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    /* Hamburger menu for mobile */
    .burger-button {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-dark-blue);
        padding: 80px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .burger-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .burger-toggle:checked ~ .burger-button .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .burger-toggle:checked ~ .burger-button .burger-line:nth-child(2) {
        opacity: 0;
    }
    
    .burger-toggle:checked ~ .burger-button .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .contact-form,
    .legal-container,
    .thank-you-container {
        padding: 30px 20px;
    }
} 