/* =====================================================
   KING FISH - Restaurant Gourmet Website
   Color Scheme: #0152A4 (Royal Blue), #F6BA19 (Gold), White
   ===================================================== */

/* CSS Variables */
:root {
    --primary: #0152A4;
    --primary-dark: #013a75;
    --primary-light: #0366c9;
    --secondary: #F6BA19;
    --secondary-dark: #d9a310;
    --secondary-light: #ffc832;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gradient-primary: linear-gradient(135deg, #0152A4 0%, #0366c9 100%);
    --gradient-secondary: linear-gradient(135deg, #F6BA19 0%, #ffc832 100%);
    --gradient-hero: linear-gradient(135deg, rgba(1, 82, 164, 0.95) 0%, rgba(3, 58, 117, 0.9) 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(246, 186, 25, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Dancing Script', cursive;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* =====================================================
   PRELOADER
   ===================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.logo-loader {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: logoFloat 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
    }
    50% { 
        transform: translateY(-15px) scale(1.05);
    }
}

.loader-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    animation: rippleEffect 2s ease-out infinite;
    opacity: 0;
}

.ripple:nth-child(2) {
    animation-delay: 0.4s;
}

.ripple:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes rippleEffect {
    0% {
        width: 80px;
        height: 80px;
        opacity: 0.8;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loader-dots span {
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =====================================================
   FLOATING BUBBLES BACKGROUND
   ===================================================== */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble-float {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, rgba(246, 186, 25, 0.2), rgba(1, 82, 164, 0.1));
    border-radius: 50%;
    animation: floatUp 15s infinite ease-in-out;
}

.bubble-float:nth-child(1) { left: 10%; width: 40px; height: 40px; animation-delay: 0s; animation-duration: 12s; }
.bubble-float:nth-child(2) { left: 20%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 14s; }
.bubble-float:nth-child(3) { left: 35%; width: 60px; height: 60px; animation-delay: 4s; animation-duration: 16s; }
.bubble-float:nth-child(4) { left: 50%; width: 30px; height: 30px; animation-delay: 1s; animation-duration: 13s; }
.bubble-float:nth-child(5) { left: 65%; width: 50px; height: 50px; animation-delay: 3s; animation-duration: 15s; }
.bubble-float:nth-child(6) { left: 75%; width: 25px; height: 25px; animation-delay: 5s; animation-duration: 11s; }
.bubble-float:nth-child(7) { left: 85%; width: 45px; height: 45px; animation-delay: 2.5s; animation-duration: 17s; }
.bubble-float:nth-child(8) { left: 95%; width: 35px; height: 35px; animation-delay: 4.5s; animation-duration: 14s; }

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-120vh) rotate(720deg);
        opacity: 0;
    }
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(1, 82, 164, 0.98);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 2rem;
    animation: swim 3s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary);
}

.order-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

.order-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(246, 186, 25, 0.4);
}

.order-btn i {
    font-size: 1.2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-section {
    position: relative;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: 
        url('https://images.unsplash.com/photo-1534604973900-c43ab4c2e0ab?w=1920') center/cover no-repeat;
    transform: translateY(0);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.float-element {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: floatAround 20s ease-in-out infinite;
}

.fish-1 { top: 20%; left: 10%; animation-delay: 0s; }
.fish-2 { top: 60%; right: 15%; animation-delay: 5s; font-size: 4rem; }
.fish-3 { bottom: 20%; left: 20%; animation-delay: 10s; }
.wave-1 { top: 80%; right: 10%; animation-delay: 7s; font-size: 5rem; }

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(5deg); }
    50% { transform: translate(-20px, 30px) rotate(-5deg); }
    75% { transform: translate(20px, 20px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-badge {
    display: inline-block;
    background: rgba(246, 186, 25, 0.2);
    border: 1px solid var(--secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.badge-text {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--secondary);
    letter-spacing: 2px;
}

.hero-title {
    font-family: var(--font-display);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    animation: slideInFromLeft 1s ease both;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line.gold {
    color: var(--secondary);
    text-shadow: 0 0 40px rgba(246, 186, 25, 0.5);
}

.hero-divider {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-fish {
    font-size: 2.5rem;
    animation: swim 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(246, 186, 25, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--white);
    border-radius: 20px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

.scroll-indicator p {
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section-wave-top,
.section-wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
}

.section-wave-top {
    top: -1px;
}

.section-wave-bottom {
    bottom: -1px;
}

.section-wave-top svg,
.section-wave-bottom svg {
    width: 100%;
    height: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.1rem;
    color: var(--secondary);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.deco-line {
    width: 80px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.deco-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

/* =====================================================
   MENU SECTION
   ===================================================== */
.menu-section {
    position: relative;
    background: var(--gray-100);
    padding: 8rem 0;
}

.menu-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Menu Card */
.menu-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-card:nth-child(3) { animation-delay: 0.3s; }
.menu-card:nth-child(4) { animation-delay: 0.4s; }
.menu-card:nth-child(5) { animation-delay: 0.5s; }
.menu-card:nth-child(6) { animation-delay: 0.6s; }

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.menu-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.1);
}

.menu-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.menu-card-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.menu-card-content {
    padding: 1.5rem;
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.menu-card-description {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.menu-card-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-secondary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(246, 186, 25, 0.3);
    width: 100%;
    text-align: center;
}

.menu-card-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(246, 186, 25, 0.4);
    background: var(--gradient-secondary);
}

.menu-card-order:active {
    transform: translateY(-1px);
}

.menu-card-order i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.menu-card-order:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.about-bg {
    background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1920') center/cover no-repeat;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 82, 164, 0.92) 0%, rgba(3, 58, 117, 0.95) 100%);
}

.about-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-badge {
    color: var(--secondary);
}

.about-text .section-title {
    color: var(--white);
}

.about-description p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-description strong {
    color: var(--secondary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.feature-text h4 {
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.about-images {
    position: relative;
}

.image-stack {
    position: relative;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-1 {
    width: 80%;
}

.about-img-2 {
    position: absolute;
    width: 60%;
    bottom: -30px;
    right: 0;
    border: 5px solid var(--secondary);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 50px;
    left: -30px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-gold);
    animation: pulse 3s ease-in-out infinite;
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 600;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section {
    background: var(--white);
    padding: 6rem 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--gray-100);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--secondary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.testimonial-card:hover .testimonial-text,
.testimonial-card:hover .author-info h4,
.testimonial-card:hover .author-info p {
    color: var(--white);
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--gray-800);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info h4 {
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: var(--transition);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.whatsapp-card {
    background: #25D366;
    border: none;
}

.whatsapp-card:hover {
    background: #20bd5a;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.whatsapp-link i {
    font-size: 2rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray-100);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(1, 82, 164, 0.1);
}

.form-icon {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.form-icon.textarea-icon {
    top: 3.25rem;
    bottom: auto;
}

.form-group input:focus + .form-icon,
.form-group textarea:focus + .form-icon {
    color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--primary-dark);
    position: relative;
    padding-top: 4rem;
}

.footer-wave {
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-hours h4,
.footer-contact h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul,
.footer-hours ul {
    list-style: none;
}

.footer-links li,
.footer-hours li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-hours li {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-hours li span {
    color: var(--white);
    font-weight: 500;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--secondary);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.admin-link {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.admin-link:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(-110%) translateY(-50%);
}

.whatsapp-tooltip {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateX(-120%) translateY(-50%);
    background: var(--gray-800);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: var(--gray-800);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .order-btn {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-images {
        order: -1;
    }

    .image-stack {
        display: flex;
        justify-content: center;
    }

    .about-img-1 {
        width: 70%;
    }

    .about-img-2 {
        display: none;
    }

    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title .title-line {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title .title-line {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 1rem;
        right: 1rem;
    }
}

/* =====================================================
   MENU CARD HIDDEN STATE
   ===================================================== */
.menu-card.hidden {
    display: none;
}

/* =====================================================
   MENU DU JOUR SECTION
   ===================================================== */
.menu-du-jour-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.menu-du-jour-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.menu-du-jour-section .section-badge {
    color: var(--secondary);
    background: rgba(246, 186, 25, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
}

.menu-du-jour-section .section-title {
    color: var(--white);
}

.menu-du-jour-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.menu-du-jour-section .deco-line {
    background: var(--secondary);
}

.day-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.current-day {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(246, 186, 25, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.current-day i {
    font-size: 1.5rem;
}

.daily-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Daily Menu Card */
.daily-menu-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    transform: translateY(0);
}

.daily-menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.daily-menu-card .menu-card-image {
    height: 200px;
}

.daily-menu-card .daily-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Closed Message */
.closed-message {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.closed-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.closed-message h3 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.closed-message p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* All Available Notice */
.all-available-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.all-available-notice i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.all-available-notice span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Empty daily menu */
.daily-menu-empty {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.7);
}

.daily-menu-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .daily-menu-grid {
        grid-template-columns: 1fr;
    }
    
    .current-day {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* =====================================================
   CART STYLES
   ===================================================== */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin-right: 1rem;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-display);
    color: var(--primary);
    font-size: 1.5rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-600);
}

.cart-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--gray-800);
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.cart-item-remove:hover {
    transform: scale(1.1);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-total-price {
    font-size: 1.5rem;
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

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

.menu-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.menu-card-actions .add-to-cart {
    flex: 1;
    min-width: 100%;
}

/* =====================================================
   CHECKOUT MODAL
   ===================================================== */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
}

.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10002;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition);
}

.checkout-modal.active .checkout-content {
    transform: scale(1);
}

.checkout-header {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.checkout-header h3 {
    font-family: var(--font-display);
    color: var(--primary);
    font-size: 1.5rem;
}

.checkout-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.checkout-close:hover {
    color: var(--primary);
}

.checkout-section {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.checkout-section:last-child {
    border-bottom: none;
}

.checkout-section h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-section .form-group {
    margin-bottom: 1.5rem;
}

.checkout-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
    font-weight: 500;
}

.checkout-section input,
.checkout-section textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.checkout-section input:focus,
.checkout-section textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(1, 82, 164, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.order-summary {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.summary-item:last-child {
    border-bottom: none;
}

.order-total-summary {
    padding-top: 1rem;
    border-top: 2px solid var(--primary);
    margin-top: 1rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.total-price {
    font-size: 1.5rem;
}

.checkout-actions {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    background: var(--gray-100);
    border-radius: 0 0 20px 20px;
}

.checkout-actions .btn {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
}

/* =====================================================
   MAP MODAL STYLES
   ===================================================== */
.address-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-map {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.btn-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 82, 164, 0.3);
}

.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.map-modal.active {
    opacity: 1;
    visibility: visible;
}

.map-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.map-overlay.active {
    opacity: 1;
    visibility: visible;
}

.map-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    z-index: 10003;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.map-modal.active .map-modal-content {
    transform: scale(1);
}

.map-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
}

.map-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.map-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.map-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.map-container #benin-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    z-index: 1;
}

/* Leaflet map styles */
.leaflet-container {
    font-family: 'Montserrat', sans-serif;
}

.leaflet-control-geocoder {
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.leaflet-control-geocoder-form input {
    border-radius: 8px 0 0 8px;
    padding: 0.5rem 1rem;
    font-family: 'Montserrat', sans-serif;
}

.leaflet-control-geocoder-form button {
    border-radius: 0 8px 8px 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
}

.map-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.selected-location {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
    border: 2px solid var(--gray-200);
}

.selected-location i {
    color: var(--primary);
    font-size: 1.25rem;
}

.map-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.map-actions .btn {
    padding: 0.75rem 1.5rem;
}

@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .checkout-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .checkout-actions {
        flex-direction: column;
    }
    
    .cart-btn span {
        display: none;
    }
    
    .map-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .map-container #benin-map {
        min-height: 400px;
    }
}

