/* 
   Sufra Authentic Yemeni Cuisine - Brand Design System
   Global Style Sheet
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Josefin+Sans:wght@300;400;500;600;700&family=Poiret+One&display=swap');

:root {
    /* Color System */
    --primary-green: #56673A;     /* Olive Green */
    --primary-green-rgb: 86, 103, 58;
    --dark-green-1: #35382F;      /* Dark Olive Background */
    --dark-green-2: #282a23;      /* Slightly darker olive card bg */
    --dark-green-3: #43473b;      /* Interactive highlights */
    --accent-gold: #B18B43;       /* Primary Gold */
    --accent-gold-rgb: 177, 139, 67;
    --accent-gold-hover: #9D7834;
    --dark-charcoal: #1d1f1a;     /* Darker Olive/Charcoal */
    --dark-gray: #181916;
    --light-cream: #F8F5EF;       /* Warm Ivory */
    --light-sand: #ECE5D6;        /* Light Sand */
    --white: #ffffff;
    --text-light: #F8F5EF;
    --text-muted: #A2A59C;        /* Muted Gray Green */
    --border-color: rgba(177, 139, 67, 0.15);
    --border-hover: rgba(177, 139, 67, 0.4);
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 90px;
    
    /* Typography */
    --font-headings: 'Josefin Sans', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-description: 'Poiret One', 'Inter', sans-serif;
    
    /* Transitions & Shadow */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease-out;
    --box-shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.4);
    --glass-background: rgba(40, 42, 35, 0.8);
    --glass-border: rgba(177, 139, 67, 0.1);
}

/* 1. Base Reset & Defaults */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--dark-green-1);
    color: var(--text-light);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--dark-green-1);
    max-width: 100%;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-green-1);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-hover);
}

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--white);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. Layout Structure */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }

/* Section Title Accent */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
}

.section-header p {
    font-family: var(--font-description);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* 3. Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: var(--glass-background);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 90px;      /* Keep header height uniform to support the larger logo */
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 80px;      /* Enlarged to make text and Arabic script recognizable */
    width: auto;
    transition: var(--transition-smooth);
    margin-top: 5px;   /* Center in the 90px navbar */
}

header.scrolled .logo img {
    height: 65px;      /* Enlarged scrolled state */
    margin-top: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-gold);
}

/* Navigation Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* 4. Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--dark-green-1);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 0;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.btn-text:hover::after {
    width: 100%;
}

/* 5. Home Page - Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--dark-green-1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(6, 25, 14, 0.95) 30%, rgba(6, 25, 14, 0.4) 100%);
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from { transform: scale(1.08); }
    to { transform: scale(1.0); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding-top: 60px;
}

.hero-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.hero h1 span {
    font-family: var(--font-headings);
    font-style: italic;
    color: var(--accent-gold);
}

.hero-desc {
    font-family: var(--font-description);
    font-size: 1.4rem;
    color: var(--light-sand);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* 6. Welcome Section & Heritage */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.welcome-text h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 400;
    margin-bottom: 12px;
}

.welcome-text h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

.welcome-text p {
    font-family: var(--font-description);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
    font-weight: 300;
}

.welcome-images {
    position: relative;
}

.welcome-img-container {
    border: 1px solid var(--border-color);
    padding: 15px;
    background-color: var(--dark-green-2);
    box-shadow: var(--box-shadow-premium);
}

.welcome-img-container img {
    width: 100%;
    filter: brightness(0.9);
    transition: var(--transition-smooth);
}

.welcome-img-container:hover img {
    filter: brightness(1.0);
    transform: scale(1.02);
}

/* 7. Why Choose Sufra - Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--dark-green-2);
    border: 1px solid var(--border-color);
    padding: 50px 30px;
    transition: var(--transition-smooth);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: var(--box-shadow-premium);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 168, 128, 0.08);
    border-radius: 50%;
    color: var(--accent-gold);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* 8. Signature Experience Banner */
.signature-section {
    position: relative;
    padding: 140px 0;
    background-attachment: fixed;
    background-image: url('../assets/restaurant_interior.png');
    background-size: cover;
    background-position: center;
}

.signature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 25, 14, 0.9);
    z-index: 1;
}

.signature-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.signature-content h3 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.signature-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.signature-content p {
    font-family: var(--font-description);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* 9. Menu Page & Dish Section */
.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.menu-tab-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.menu-tab-btn:hover,
.menu-tab-btn.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark-green-1);
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    transition: var(--transition-smooth);
}

.menu-item {
    display: flex;
    gap: 25px;
    padding: 20px;
    background-color: var(--dark-green-2);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.menu-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.menu-item-img {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.1);
}

.menu-item-info {
    flex-grow: 1;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 6px;
}

.menu-item-title {
    font-size: 1.25rem;
    font-family: var(--font-headings);
    color: var(--white);
}

.menu-item-tag {
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.menu-item-desc {
    font-family: var(--font-description);
    color: var(--light-sand);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/* 10. Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--dark-green-2);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.testimonial-rating {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
}

.testimonial-content {
    font-family: var(--font-description);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 1rem;
    font-style: italic;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}

/* 11. Catering Timeline Process */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--dark-green-1);
    border: 2px solid var(--accent-gold);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left-item {
    left: 0;
    text-align: right;
}

.right-item {
    left: 50%;
}

.right-item::after {
    left: -8px;
}

.timeline-content {
    background-color: var(--dark-green-2);
    border: 1px solid var(--border-color);
    padding: 24px;
    position: relative;
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 12. Forms & Interactive Booking */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    background-color: rgba(6, 25, 14, 0.5);
    border: 1px solid var(--border-color);
    padding: 14px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* 13. Contact Info & Map */
.contact-info-list {
    list-style: none;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-info-icon {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.contact-info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-info-text p {
    color: var(--text-muted);
    font-weight: 300;
}

.map-container {
    height: 300px;
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%); /* Sleek dark-mode map style */
}

/* 14. CTA Reservation Banner */
.cta-banner {
    background-color: var(--dark-green-2);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* 15. Footer */
footer {
    background-color: #041009;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.footer-about img {
    height: 48px;
    margin-bottom: 20px;
}

.footer-about p {
    font-family: var(--font-description);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-hours-list {
    list-style: none;
}

.footer-hours-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(197, 168, 128, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 16. Modal Popups (Reservation/Quote Confirm) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 25, 14, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--dark-green-2);
    border: 1px solid var(--accent-gold);
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-success-icon {
    width: 70px;
    height: 70px;
    background: rgba(21, 138, 67, 0.1);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Scroll Animation Base Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 17. Responsive Media Queries */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 75px;
    }
    
    html {
        font-size: 15px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-section-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--dark-green-2);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 1050;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 45px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item::after {
        left: 12px;
        right: auto;
    }
    
    .left-item {
        text-align: left;
    }
    
    .left-item::after {
        left: 12px;
    }
    
    .right-item {
        left: 0;
    }
    
    .right-item::after {
        left: 12px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
}

/* 18. New Home Page Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.gallery-item:hover img {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* 19. Responsive Grid Helpers for Mobile Viewports */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 576px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.catering-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 576px) {
    .catering-features-list {
        grid-template-columns: 1fr;
    }
}

.catering-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
@media (max-width: 992px) {
    .catering-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .catering-menu-grid {
        grid-template-columns: 1fr;
    }
}

/* 20. Benefits Grid for Catering Page (Symmetrical 3 Columns) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* 21. Interactive Scroll Reveal Animations */
.js .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.js .scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }


/* ==========================================================================
   22. Navigation Dropdown Menu Styles (Batch 1.9.1)
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.nav-link.dropdown-toggle {
    cursor: pointer;
}

.nav-link.dropdown-toggle .arrow {
    font-size: 0.6rem;
    margin-left: 6px;
    vertical-align: middle;
    display: inline-block;
    transition: transform var(--transition-smooth);
}

/* Desktop Hover Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--dark-green-2);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 0;
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: var(--shadow-premium);
    z-index: 1200;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: var(--transition-fast);
    text-align: center;
}

.dropdown-link:hover {
    color: var(--accent-gold);
    background-color: rgba(197, 160, 89, 0.1);
}

/* Show dropdown on hover (for desktop) */
@media (min-width: 769px) {
    .nav-item-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-item-dropdown:hover .dropdown-toggle .arrow {
        transform: rotate(180deg);
    }
}

/* Mobile Dropdown Styling (width <= 768px) */
@media (max-width: 768px) {
    .nav-item-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        background-color: rgba(6, 25, 14, 0.4);
        border: none;
        border-top: 1px solid rgba(197, 160, 89, 0.1);
        border-bottom: 1px solid rgba(197, 160, 89, 0.1);
        padding: 5px 0;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        display: none; /* Toggle via JS */
        margin-top: 5px;
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .nav-item-dropdown.active .dropdown-toggle .arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-link {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   23. Interactive Gallery Slider CSS
   ========================================================================== */
.gallery-slider-container {
    position: relative;
    max-width: 950px;
    height: 550px;
    margin: 40px auto 0 auto;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-premium);
}

@media (max-width: 768px) {
    .gallery-slider-container {
        height: 320px;
    }
}

.gallery-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 2;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-prev-btn, .gallery-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(6, 25, 14, 0.75);
    border: 1px solid var(--border-color);
    color: var(--accent-gold);
    font-size: 1.5rem;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    border-radius: 2px;
}

.gallery-prev-btn { left: 20px; }
.gallery-next-btn { right: 20px; }

.gallery-prev-btn:hover, .gallery-next-btn:hover {
    background-color: var(--accent-gold);
    color: var(--dark-green-1);
}

.gallery-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--dark-green-1);
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-dot.active {
    background-color: var(--accent-gold);
    transform: scale(1.25);
}

/* ==========================================================================
   23. Responsive Layout Grid Classes & Mobile CTAs (Batch 1.10.1)
   ========================================================================== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-stats-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.mobile-cta-item {
    display: none !important;
}

@media (max-width: 768px) {
    .intro-grid, .about-stats-grid, .form-row, .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    /* Hide top-right CTA in header on mobile to prevent overflow */
    .nav-actions .btn {
        display: none !important;
    }
    
    /* Show CTA inside mobile navigation menu instead */
    .mobile-cta-item {
        display: block !important;
        width: 100%;
        padding: 15px 20px;
        box-sizing: border-box;
        margin-top: 15px;
    }
    .mobile-cta-item .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}
