/* ============================================
   MODERN DESIGN SYSTEM - Coup de Cafe Doha
   ============================================ */

/* Color Palette - Matching Logo Colors */
:root {
    --primary: #3A2A23;
    --primary-light: #5A4A43;
    --primary-dark: #2A1A13;
    --secondary: #C5BEA9;
    --accent: #B8A489;
    --cream: #D9D2C2;
    --white: #FFFFFF;
    --text-dark: #3A2A23;
    --text-light: #5A4A43;
    --bg-light: #F5F2ED;
    --bg-taupe: #C5BEA9;
    --border-light: #D9D2C2;
    
    --shadow-sm: 0 2px 8px rgba(58, 42, 35, 0.08);
    --shadow-md: 0 4px 16px rgba(58, 42, 35, 0.12);
    --shadow-lg: 0 8px 32px rgba(58, 42, 35, 0.16);
    --shadow-xl: 0 12px 48px rgba(58, 42, 35, 0.2);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', 'Lato', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

body[dir="ltr"] {
    font-family: 'Lato', sans-serif;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: url("images/logo-removebg.png") center/420px no-repeat;
    opacity: 0.04;
    pointer-events: none;


    z-index: -0.5;
}

body {
    position: relative;
    z-index: 2; 
}




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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo .logo-img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.lang-toggle svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

body[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.whatsapp-text {
    font-weight: 700;
    font-size: 1rem;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3A2A23 0%, #5A4A43 50%, #3A2A23 100%);
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-logo-wrapper {
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-logo {
    height: 160px;
    width: 160px;
    border-radius: 50%;
    object-fit: cover;
    background: transparent;
    padding: 0;
    box-shadow: 0 10px 40px rgba(58, 42, 35, 0.4);
    border: 4px solid var(--cream);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    animation: fadeInUp 1.4s ease-out 0.4s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--cream);
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1.6s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.8s ease-out 0.8s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #C5BEA9 0%, #B8A489 100%);
    color: #3A2A23;
    box-shadow: 0 4px 20px rgba(197, 190, 169, 0.4);
}

.hero-btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(197, 190, 169, 0.6);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--cream);
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.hero-btn svg {
    width: 20px;
    height: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 20px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 24px;
        opacity: 0;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
    font-weight: 400;
    margin-top: 1.5rem;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.menu-tab {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.menu-tab svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.menu-tab:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.menu-tab.active svg {
    transform: scale(1.1);
}

.menu-content {
    animation: fadeIn 0.5s ease-out;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.menu-item-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.menu-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.menu-item-card:hover::before {
    transform: scaleY(1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.item-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.flavors-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
}

.flavors-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.flavors-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.flavors-list li {
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding-right: 2.5rem;
}

body[dir="rtl"] .flavors-list li {
    padding-right: 1rem;
    padding-left: 2.5rem;
}

.flavors-list li::before {
    content: '✓';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

body[dir="rtl"] .flavors-list li::before {
    right: auto;
    left: 1rem;
}

.note-text {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem;
    border-radius: 12px;
    margin-top: 2rem;
    font-weight: 500;
    text-align: center;
    box-shadow: var(--shadow-md);
}

/* ============================================
   PACKAGES SECTION
   ============================================ */
.packages-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--bg-light) 100%);
}

/* Packages Carousel */
.packages-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    position: relative;
    background: transparent;
}

.packages-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
    width: 100%;
}

/* Ensure consistent direction for carousel regardless of RTL/LTR */
body[dir="rtl"] .packages-track,
html[dir="rtl"] .packages-track {
    direction: ltr;
}

.packages-track .package-card {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    min-height: 500px;
    box-sizing: border-box;
}

/* Reset text direction inside cards for RTL */
body[dir="rtl"] .packages-track .package-card,
html[dir="rtl"] .packages-track .package-card {
    direction: rtl;
}

.package-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.package-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
}

.package-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.package-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.package-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.package-item:hover {
    background: var(--cream);
    transform: translateX(8px);
}

body[dir="rtl"] .package-item:hover {
    transform: translateX(-8px);
}

.package-item-name {
    font-weight: 600;
    color: var(--text-dark);
}

.package-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-nav:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicators .indicator:hover {
    background: var(--primary);
    opacity: 0.7;
}

.carousel-indicators .indicator.active {
    background: var(--primary);
    width: 40px;
    border-radius: 6px;
}

/* ============================================
   CUSTOMIZATION SECTION
   ============================================ */
.customization-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.custom-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.custom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 42, 35, 0.05) 0%, rgba(197, 190, 169, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.custom-card:hover::before {
    opacity: 1;
}

.custom-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}


.custom-card:hover .custom-icon {
    transform: scale(1.1) rotate(5deg);
}

.custom-svg {
    width: 50px;
    height: 50px;
    color: var(--white);

}

.custom-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.custom-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.custom-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.custom-price span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--bg-light) 100%);
}

.gallery-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.slider-wrapper {
    position: relative;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    color: var(--primary-dark);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot:hover {
    background: var(--primary-light);
}

.dot.active {
    background: var(--primary);
    width: 40px;
    border-radius: 10px;
}

/* ============================================
   DISCOUNT SECTION
   ============================================ */
.discount-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.discount-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--accent);
}

.discount-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);

}

.discount-svg {
    width: 50px;
    height: 50px;
    color: var(--white);

}

.discount-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.discount-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.discount-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

.discount-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 2px;
    transition: var(--transition);
    background: var(--white);
}

.discount-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 111, 71, 0.1);
}

.discount-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.discount-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.coupon-message {
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 12px;
    animation: fadeIn 0.5s ease-out;
}

.coupon-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.coupon-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    color: var(--cream);
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #3A2A23 0%, #5A4A43 50%, #3A2A23 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    text-align: center;
}

.footer-brand .footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.2);
    border-radius: 20%;
}

.footer-brand h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--cream);
    opacity: 0.8;
}

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

.footer-links h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(8px);
}

body[dir="rtl"] .footer-links a:hover {
    transform: translateX(-8px);
}

.footer-social h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.social-links a svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--cream);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    body[dir="rtl"] .nav-links {
        left: 0;
        right: 0;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        border-radius: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 7rem 1.5rem 3rem;
    }
    
    .hero-logo {
        height: 120px;
        width: 120px;
        padding: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .menu-tabs {
        gap: 0.8rem;
    }
    
    .menu-tab {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .menu-tab svg {
        width: 20px;
        height: 20px;
    }
    
    .menu-items-grid {
        grid-template-columns: 1fr;
    }
    
    .packages-carousel {
        padding: 0 2.5rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .custom-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
    
    .discount-form {
        flex-direction: column;
    }
    
    .discount-btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .lang-toggle {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: 90vh;
    }
    
    .hero-logo {
        height: 100px;
        width: 100px;
        padding: 0;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.2rem;
    }
    
    body[dir="rtl"] .whatsapp-float {
        left: 20px;
        right: auto;
    }
    
    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-text {
        font-size: 0.9rem;
    }
    
    /* إظهار النص كامل على الجوال بدون رموز */
    .menu-tab svg {
        display: none;
    }
    
    .menu-tab {
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        width: auto;
        height: auto;
    }
    
    .menu-tab span {
        display: inline;
    }
    
    .menu-tab.active {
        width: auto;
        border-radius: 50px;
        padding: 0.8rem 1.5rem;
    }
    
    .menu-tab.active span {
        display: inline;
    }
    
    .menu-item-card {
        padding: 1.5rem;
    }
    
    .custom-card {
        padding: 2rem 1.5rem;
    }
    
    .discount-card {
        padding: 2rem 1.5rem;
    }
}

/* Extra Small Mobile (e.g., iPhone SE, small Android phones) */
@media (max-width: 360px) {
    .hero {
        padding: 5rem 0.8rem 2.5rem;
    }
    
    .hero-logo {
        height: 90px;
        width: 90px;
        padding: 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-tab {
        width: auto;
        height: auto;
        padding: 0.8rem 1.2rem;
    }
    
    .menu-tab.active {
        padding: 0.8rem 1.2rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 0.7rem 1rem;
    }
    
    body[dir="rtl"] .whatsapp-float {
        left: 15px;
        right: auto;
    }
    
    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }
    
    .whatsapp-text {
        font-size: 0.85rem;
    }
}

/* Large Phones (e.g., iPhone Pro Max, large Android phones) */
@media (min-width: 481px) and (max-width: 640px) {
    .hero-logo {
        height: 140px;
        width: 140px;
        padding: 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

/* Animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Better touch targets */
    .nav-links a,
    .menu-tab,
    .hero-btn,
    .discount-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .menu-item-card:hover,
    .package-card:hover,
    .custom-card:hover {
        transform: none;
    }
    
    /* Larger tap areas for buttons */
    .slider-btn {
        width: 50px;
        height: 50px;
    }
}

/* Landscape orientation for phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 2rem 2rem;
    }
    
    .hero-logo {
        height: 80px;
        width: 80px;
        padding: 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}


/* Gallery responsive fixes */
    .gallery-slider {
        max-width: 100%;
        margin: 0 1rem 2rem;
    }
    
    .slider-wrapper {
        min-height: 300px;
        max-height: 500px;
    }
    
    .gallery-image {
        max-height: 600px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }

/* ============================================
   POPUP MODAL STYLES
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

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

.popup-container {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.popup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.popup-icon svg {
    width: 45px;
    height: 45px;
    color: white;
    stroke-width: 3;
}

.popup-title {
    font-family: 'Playfair Display', 'Tajawal', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.popup-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-offer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.popup-offer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.offer-badge {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
}

.offer-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.popup-reminder {
    background: #FFF3CD;
    border: 2px solid #FFC107;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: right;
}

[dir="ltr"] .popup-reminder {
    text-align: left;
}

.reminder-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.popup-reminder p {
    font-size: 0.95rem;
    color: #856404;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.popup-code-display {
    background: var(--bg-light);
    border: 2px dashed var(--primary);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.code-label {
    color: var(--text-light);
    font-weight: 600;
}

.code-value {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 8px;
    letter-spacing: 3px;
    box-shadow: var(--shadow-sm);
}

.popup-close-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 250px;
}

.popup-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.popup-close-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Responsive for popup */
    .popup-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .popup-title {
        font-size: 1.6rem;
    }
    
    .popup-icon {
        width: 70px;
        height: 70px;
    }
    
    .offer-text {
        font-size: 1.2rem;
    }
    
    .code-value {
        font-size: 1.5rem;
    }

/* Hero Small Variant for Menu Pages */
.hero-small {
    min-height: 60vh !important;
    padding: 6rem 2rem 3rem !important;
}

.hero-small .hero-logo {
    height: 120px !important;
    width: 120px !important;
}

.hero-small .hero-title {
    font-size: 2.5rem !important;
}

.hero-small .hero-subtitle {
    font-size: 1.2rem !important;
}

/* Menu Selection Cards */
.menu-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.menu-selection-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.menu-selection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

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

.menu-selection-card:hover::before {
    opacity: 0.05;
}

.menu-selection-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.card-icon svg {
    color: var(--white);
    transition: var(--transition);
}

.menu-selection-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0 0 1rem;
    font-weight: 600;
}

.card-description {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 2rem;
}

.card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    transition: var(--transition);
}

.card-arrow svg {
    color: var(--white);
}

.menu-selection-card:hover .card-arrow {
    background: var(--primary);
    transform: translateX(-5px);
}

    .menu-selection-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .menu-selection-card {
        padding: 2rem 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }


/* ============================================
   ORDER SECTION & CART STYLES
   ============================================ */

.order-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.order-content {
    max-width: 600px;
    margin: 60px auto;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

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

.order-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-dark);
    margin: 0;
}

.clear-cart-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.clear-cart-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-color: var(--primary);
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 2rem;
}

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

.empty-cart svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-cart p {
    font-size: 1.1rem;
    margin: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 1rem;
}

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

.cart-item-name {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

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

.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 0, 0, 0.1);
    color: #d32f2f;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    background: #d32f2f;
    color: var(--white);
}

.cart-summary {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.discount-row {
    color: #2e7d32;
}

.discount-amount {
    color: #2e7d32;
    font-weight: 600;
}

.total-row {
    padding-top: 1rem;
    border-top: 2px solid var(--border-light);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.checkout-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.checkout-btn svg {
    width: 24px;
    height: 24px;
}

/* Discount Section within Order */
.order-content .discount-section {
    padding: 0;
    background: transparent;
    margin-top: 1rem;
}

.discount-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discount-badge svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.discount-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
    text-align: center;
}

.discount-section p {
    text-align: center;
    color: var(--text-light);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}

.discount-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.discount-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 2px;
    transition: var(--transition);
    background: var(--white);
}

.discount-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58, 42, 35, 0.1);
}

.discount-btn {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.discount-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.coupon-message {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.coupon-message.success {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
}

.coupon-message.error {
    background: rgba(211, 47, 47, 0.1);
    color: #d32f2f;
}

    .order-content {
        padding: 1.5rem;
    }
    
    .order-header h2 {
        font-size: 1.5rem;
    }
    
    .discount-form {
        flex-direction: column;
    }
    
    .discount-btn {
        width: 100%;
    }


/* ============================================
   PACKAGES SECTION & TABS
   ============================================ */

.packages-section {
    padding: 4rem 0;
    background: var(--white);
}

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

.package-tab {
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.package-tab:hover {
    border-color: var(--accent);
    background: var(--bg-light);
}

.package-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.package-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 1.5rem;
}

.package-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.package-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.package-note {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
    border-left: 3px solid var(--accent);
}

.package-add-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.package-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.package-add-btn svg {
    width: 20px;
    height: 20px;
}

    .packages-tabs {
        gap: 0.5rem;
    }
    
    .package-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


/* Mobile Menu Fix */
@media (max-width: 1024px) {
    .navbar {
        position: sticky;
        top: 0;
        z-index: 9999;
    }
    
    .nav-links {
        z-index: 999;
    }
    
    .mobile-menu-toggle {
        z-index: 1000;
    }
}

/* Mobile Menu Additional Fix */
@media (max-width: 768px) {
    .nav-links.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: all !important;
        display: flex !important;
    }
}


/* ============================================
   MOBILE MENU - FIXED VERSION
   ============================================ */
@media (max-width: 768px) {
    /* Hide menu by default on mobile */
    .nav-links {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        flex-direction: column !important;
        padding: 2rem !important;
        box-shadow: var(--shadow-lg) !important;
        transform: translateY(-150%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    /* Show menu when active */
    .nav-links.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: all !important;
        display: flex !important;
    }
    
    /* Show mobile menu button */
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1000 !important;
    }
}

/* Nav Actions Mobile Fix */
.nav-actions {
    position: relative;
    z-index: 1001;
}

.nav-actions button {
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

.lang-toggle {
    pointer-events: auto !important;
}

.mobile-menu-toggle {
    pointer-events: auto !important;
}

@media (max-width: 768px) {
    .nav-actions {
        display: flex !important;
        position: relative !important;
        z-index: 1001 !important;
    }
}

/* ============================================
   MOBILE SPECIFIC FIXES
   ============================================ */

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 10px !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    .lang-toggle {
        min-height: 44px !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
    }
    
    /* Ensure buttons are clickable */
    button {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
    }
    
    /* Fix navbar on mobile */
    .navbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px) !important;
    }
    
    .nav-container {
        position: relative;
    }
    
    .nav-actions {
        position: relative !important;
        z-index: 10000 !important;
        display: flex !important;
        gap: 0.5rem !important;
    }
    
    /* Ensure mobile menu is properly layered */
    .nav-links {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        flex-direction: column !important;
        padding: 2rem !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
        transform: translateY(-200%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 9998 !important;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: all !important;
        display: flex !important;
    }
    
    .nav-links a {
        padding: 1rem !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .nav-links {
        padding: 1.5rem !important;
    }
    
    .nav-links a {
        font-size: 1rem !important;
    }
}

