
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');


/* ===== VARIABLES ET RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a2e3f;
    --primary-dark: #051f2a;
    --secondary-color: #c9a43b;
    --secondary-light: #dbb957;
    --text-light: #f8f9fa;
    --text-dark: #1e293b;
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --overlay-primary: rgba(10, 46, 63, 0.9);
    --font-main: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

body {
    background: linear-gradient(135deg, #f0f5fa 0%, #e6edf4 100%);
    color: var(--text-dark);
    line-height: 1.7;
    scroll-behavior: smooth;
}

.request-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 2100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.request-progress.active {
    opacity: 1;
}

.request-progress-bar {
    display: block;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #f5d87b);
    box-shadow: 0 0 14px rgba(201, 164, 59, 0.6);
    animation: progressLoop 1.2s ease-in-out infinite;
}

@keyframes progressLoop {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(320%);
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.main-header.scrolled {
    background: var(--overlay-primary);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px var(--secondary-color));
}

/* Navigation */
.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.navbar .nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 40px;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.navbar .nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.navbar .nav-links a:hover::before {
    left: 100%;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 164, 59, 0.4);
}

  /* Styles pour le menu déroulant */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    border-top: 3px solid var(--rust);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--navy-dark);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: none;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: var(--steel-light);
    color: var(--rust);
    padding-left: 25px;
    border-bottom: none;
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: #f8fafc;
        margin-top: 10px;
        display: none;
        width: 100%;
        border-top: 2px solid var(--rust);
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        text-align: center;
        justify-content: center;
    }
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    width: 35px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    height: 3px;
    background: var(--text-light);
    margin: 4px 0;
    border-radius: 4px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: url('./Img/ZAF1.jpg') center/cover no-repeat;
    overflow: hidden;
    margin-bottom: 60px;
}

.page-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 46, 63, 0.4) 0%, var(--overlay-dark) 100%);
    z-index: 1;
}

.page-hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    animation: fadeInUp 1.2s ease;
}

.page-hero .hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 16px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-right: 4px solid var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
    display: inline-block;
    padding: 0 30px;
    line-height: 1.3;
    background: linear-gradient(135deg, #fff 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .hero-content p {
    font-size: 1.3rem;
    letter-spacing: 3px;
    font-weight: 400;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 12px 30px;
    border-radius: 60px;
    display: inline-block;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 40px rgba(201, 164, 59, 0.3);
}

/* ===== SECTION CONTACT ===== */
.contact-section {
    padding: 60px 0 100px;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    border-radius: 4px;
}

/* Alert messages */
.alert {
    display: none;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-weight: 500;
    text-align: center;
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-success {
    background: rgba(201, 164, 59, 0.1);
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
}

.alert-error {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid #dc2626;
    color: #dc2626;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Contact Info Card */
.contact-info {
    background: white;
    border-radius: 40px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(201, 164, 59, 0.2);
    transition: var(--transition-smooth);
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 60px rgba(10, 46, 63, 0.3);
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-left: 6px solid var(--secondary-color);
    padding-left: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 164, 59, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.info-item:hover .info-icon {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.info-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-content p {
    color: #4a5568;
    font-size: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(201, 164, 59, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: 1px solid transparent;
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(201, 164, 59, 0.3);
}

/* Reservation Form */
.reservation-form {
    background: white;
    border-radius: 40px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(201, 164, 59, 0.2);
    transition: var(--transition-smooth);
}

.reservation-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 60px rgba(10, 46, 63, 0.3);
}

.reservation-form h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-left: 6px solid var(--secondary-color);
    padding-left: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.half {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(201, 164, 59, 0.2);
    background: white;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a2e3f' 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 18px center;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-block {
    width: 100%;
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 164, 59, 0.4);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.9;
}

.btn .btn-label {
    display: inline-block;
}

.btn .btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: none;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

.btn.is-loading .btn-spinner {
    display: inline-block;
}

.btn.is-loading .btn-label {
    opacity: 0.9;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.toast-container {
    position: fixed;
    right: 22px;
    top: 92px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    min-width: 280px;
    max-width: 360px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(2, 16, 24, 0.25);
    border-left: 5px solid var(--primary-color);
    padding: 14px 16px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast i {
    font-size: 1rem;
}

.toast-success {
    border-left-color: #16a34a;
}

.toast-success i {
    color: #16a34a;
}

.toast-error {
    border-left-color: #dc2626;
}

.toast-error i {
    color: #dc2626;
}

.toast-info {
    border-left-color: var(--secondary-color);
}

.toast-info i {
    color: var(--secondary-color);
}

/* Map Container */
.map-container {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(201, 164, 59, 0.2);
    margin-top: 40px;
    transition: var(--transition-smooth);
}

.map-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 60px rgba(10, 46, 63, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #031016 0%, #01090e 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    margin-top: 60px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), var(--secondary-color), transparent);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    padding: 4px;
}

.footer-logo span {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #fff, var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.social-icons a {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-smooth);
    font-size: 1.3rem;
    border: 1px solid rgba(201, 164, 59, 0.3);
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px) rotate(360deg);
    border-color: white;
    box-shadow: 0 0 30px var(--secondary-color);
}

.copyright, .order-note {
    opacity: 0.7;
    font-size: 1rem;
    margin: 12px 0;
}

.order-note i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-hero .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .page-hero .hero-content p {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--overlay-primary);
        backdrop-filter: blur(12px);
        padding: 24px;
        gap: 12px;
        border-top: 3px solid var(--secondary-color);
        box-shadow: var(--shadow-xl);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .page-hero {
        min-height: 350px;
    }

    .page-hero .hero-content h1 {
        font-size: 2.2rem;
        padding: 0 15px;
    }

    .page-hero .hero-content p {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .contact-info, .reservation-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map-container iframe {
        height: 300px;
    }

    .toast-container {
        left: 16px;
        right: 16px;
        top: 88px;
    }

    .toast {
        min-width: 0;
        max-width: none;
        width: 100%;
    }
}
