/* style.css - DigiDine Restaurant Ordering Website Styles */

/* === Base & Variables === */
:root {
    --font-display: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800; /* New: Extra Bold */
    --font-weight-black: 900; /* New: Black */

    --color-primary-accent: #ed6a32; /* Your primary red-orange */
    --color-primary-accent-rgb: 237, 106, 50;
    --color-primary-accent-darker: #c75622;
    --color-primary-accent-lighter: #ff784e;
    --color-primary-accent-lightest: #fff0eb;

    --border-radius-small: 4px;
    --border-radius-medium: 10px;
    --border-radius-large: 15px;
    --border-radius-xlarge: 20px;

    --transition-duration: 0.3s;
    --transition-easing: ease-in-out;
    --transition-cubic: cubic-bezier(0.4, 0, 0.2, 1);

    /* Light Theme General (Softer & Warmer Tones) */
    --landing-bg-light: #ffffff;
    --landing-surface-light: #fdfdfd; /* Even softer for alt sections */
    --landing-text-light: #212121;
    --landing-text-muted-light: #616161;
    --landing-border-light: #ebebeb; /* Softer border */
    --landing-card-shadow-light: 0 5px 20px rgba(0, 0, 0, 0.06); /* Slightly more prominent */

    /* Dark Theme General (Richer Dark Tones) */
    --landing-bg-dark: #141414; /* Deeper dark background */
    --landing-surface-dark: #242424; /* Richer dark card/alt bg */
    --landing-text-dark: #f0f0f0; /* Brighter text for dark mode */
    --landing-text-muted-dark: #b8b8b8; /* Richer muted text */
    --landing-border-dark: #3a3a3a; /* Darker border */
    --landing-card-shadow-dark: 0 5px 20px rgba(0, 0, 0, 0.3); /* Slightly more prominent */

    /* Footer Specific Variables - Light Theme */
    --footer-bg-light: #f8f8f8;
    --footer-text-light: var(--landing-text-muted-light);
    --footer-heading-text-light: var(--landing-text-light);
    --footer-link-text-light: var(--landing-text-muted-light);
    --footer-link-hover-text-light: var(--color-primary-accent);
    --footer-border-color-light: #e0e0e0;
    --footer-dynamic-shape-bg-light: rgba(var(--color-primary-accent-rgb), 0.05); /* Even subtler shapes */
    --footer-social-icon-fill-light: var(--landing-text-muted-light);
    --footer-social-icon-hover-fill-light: var(--color-primary-accent);

    /* Footer Specific Variables - Dark Theme */
    --footer-bg-dark: #0a0a0a;
    --footer-text-dark: #909090;
    --footer-heading-text-dark: var(--landing-text-dark);
    --footer-link-text-dark: #c0c0c0;
    --footer-link-hover-text-dark: var(--color-primary-accent-lighter);
    --footer-border-color-dark: #2a2a2a;
    --footer-dynamic-shape-bg-dark: rgba(var(--color-primary-accent-rgb), 0.04); /* Even subtler shapes */
    --footer-star-color-dark: rgba(255, 255, 255, 0.08); /* Even subtler stars */
    --footer-social-icon-fill-dark: #909090;
    --footer-social-icon-hover-fill-dark: var(--color-primary-accent-lighter);
}

/* Basic Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: var(--font-weight-normal);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color var(--transition-duration) ease, color var(--transition-duration) ease;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

body.page-visible {
    opacity: 1;
}

/* Explicit body backgrounds for sub-pages to avoid blackness */
body.restaurants-page.light-theme,
body.restaurant-menu-page.light-theme,
body.about-page.light-theme, /* Added for about.html */
body.contact-page.light-theme, /* Added for contact.html */
body.features-page.light-theme { /* Added for features.html */
    background-color: var(--landing-bg-light);
    color: var(--landing-text-light);
}

body.restaurants-page.dark-theme,
body.restaurant-menu-page.dark-theme,
body.about-page.dark-theme, /* Added for about.html */
body.contact-page.dark-theme, /* Added for contact.html */
body.features-page.dark-theme { /* Added for features.html */
    background-color: var(--landing-bg-dark);
    color: var(--landing-text-dark);
}

body.light-theme {
    background-color: var(--landing-bg-light);
    color: var(--landing-text-light);
}
body.dark-theme {
    background-color: var(--landing-bg-dark);
    color: var(--landing-text-dark);
}
body.no-scroll {
    overflow: hidden;
}

a { color: var(--color-primary-accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--color-primary-accent-darker); }
body.dark-theme a:hover { color: var(--color-primary-accent-lighter); }

.container { width: 90%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px;}

.page-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.landing-main { flex-grow: 1; }

/* Header & Navigation */
.landing-header {
    position: sticky; top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-bottom-color 0.2s ease;
}
body.light-theme .landing-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}
body.dark-theme .landing-header {
    background-color: rgba(20, 20, 20, 0.95); /* Matches new dark bg */
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}
.landing-header.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.08); /* Stronger scroll shadow */ }
body.light-theme .landing-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--landing-border-light);
}
body.dark-theme .landing-header.scrolled {
    background-color: rgba(36, 36, 36, 0.98); /* Matches new dark surface */
    border-bottom-color: var(--landing-border-dark);
    box-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.landing-nav .logo .site-logo { max-height: 32px; width: auto; }
.light-mode-logo { display: none; } .dark-mode-logo { display: none; }
body.light-theme .light-mode-logo { display: block; }
body.dark-theme .dark-mode-logo { display: block; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px; /* Slightly wider gap */
    margin: 0;
    padding: 0;
    align-items: center;
    margin-right: auto;
    margin-left: 50px;
}
.nav-links li a.nav-link-item {
    font-weight: var(--font-weight-medium); font-size: 0.95rem;
    padding: 6px 0px; position: relative; opacity: 0.9;
    transition: color 0.2s ease, opacity 0.2s ease;
}
body.light-theme .nav-links li a.nav-link-item { color: var(--landing-text-light); }
body.dark-theme .nav-links li a.nav-link-item { color: var(--landing-text-dark); }

.nav-links li a.nav-link-item::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -3px; left: 0;
    background-color: var(--color-primary-accent);
    transition: width 0.25s var(--transition-cubic);
}
.nav-links li a.nav-link-item:hover,
.nav-links li a.nav-link-item.active-nav-link {
    opacity: 1; color: var(--color-primary-accent);
}
.nav-links li a.nav-link-item.active-nav-link::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 15px; }


/* Theme Toggle Styles */
#theme-toggle {
    width: 60px; height: 30px; border-radius: 15px; cursor: pointer;
    display: flex; align-items: center; padding: 3px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0; position: relative; overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
body.light-theme #theme-toggle {
    background-color: #a0dfff;
    border: 1px solid #8acbe5;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}
body.dark-theme #theme-toggle {
    background-color: #0b0b0b;
    border: 1px solid var(--landing-border-dark);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

.toggle-knob {
    width: 24px; height: 24px; border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); z-index: 2; position: relative;
}
body.light-theme .toggle-knob {
    background: linear-gradient(135deg, #FFD700 0%, #FFB100 50%, #FFA500 100%);
    transform: translateX(0px);
    box-shadow: 0 0 10px 3px rgba(255, 215, 0, 0.7), 0 0 20px 8px rgba(255, 165, 0, 0.5), inset 0 -1px 1px rgba(0,0,0,0.1);
    animation: landingSunPulse 2.5s infinite ease-in-out;
}
@keyframes landingSunPulse {
    0%, 100% { box-shadow: 0 0 10px 3px rgba(255, 215, 0, 0.7), 0 0 20px 8px rgba(255, 165, 0, 0.5), inset 0 -1px 1px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 0 12px 4px rgba(255, 215, 0, 0.8), 0 0 25px 10px rgba(255, 165, 0, 0.6), inset 0 -1px 1px rgba(0,0,0,0.1); }
}
body.dark-theme .toggle-knob {
    background: linear-gradient(145deg, #c0c0c0, #909090);
    transform: translateX(30px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.08);
}
body.dark-theme .toggle-knob::before, body.dark-theme .toggle-knob::after {
    content: ''; position: absolute; border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.55);
    box-shadow: inset 0.5px 0.5px 1px rgba(0,0,0,0.3);
}
body.dark-theme .toggle-knob::before { width: 8px; height: 8px; top: 5px; left: 4px; }
body.dark-theme .toggle-knob::after { width: 5px; height: 5px; top: 14px; right: 6px; }
body.light-theme #theme-toggle:hover .toggle-knob { box-shadow: 0 0 12px 4px rgba(255, 215, 0, 0.85), 0 0 25px 12px rgba(255, 165, 0, 0.65), inset 0 -1px 1px rgba(0,0,0,0.1); }
body.dark-theme #theme-toggle:hover .toggle-knob { box-shadow: 0 2px 5px rgba(0,0,0,0.65), inset 0 1px 1px rgba(255,255,255,0.1); }

body.dark-theme #theme-toggle::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%; border-radius: inherit;
    background-image:
        radial-gradient(1.2px 1.2px at 10% 25%, white, transparent 75%),
        radial-gradient(0.7px 0.7px at 18% 70%, white, transparent 75%),
        radial-gradient(1.5px 1.5px at 30% 40%, white, transparent 75%),
        radial-gradient(1px 1px at 45% 15%, white, transparent 75%),
        radial-gradient(1.3px 1.3px at 60% 65%, rgba(255,255,255,0.8), transparent 75%),
        radial-gradient(0.8px 0.8px at 75% 30%, white, transparent 75%),
        radial-gradient(1.1px 1.1px at 88% 85%, white, transparent 75%);
    background-size: 100% 100%; background-repeat: no-repeat;
    opacity: 0; z-index: 0; animation: landingTwinkleStars 8s linear infinite alternate;
}
body.dark-theme #theme-toggle:hover::before { opacity: 0.9; }
@keyframes landingTwinkleStars { 0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); } 50% { opacity: 0.9; transform: scale(1.02) rotate(1deg); } }


/* Mobile Navigation Toggle Button */
#mobile-nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 0; width: 30px; height: 30px;
    z-index: 1100;
    position: relative;
    justify-content: center; align-items: center;
}
#mobile-nav-toggle .hamburger-line {
    display: block; width: 22px; height: 2px; margin: 5px auto;
    border-radius: 1px; transition: all 0.3s var(--transition-cubic);
}
body.light-theme #mobile-nav-toggle .hamburger-line { background-color: var(--landing-text-light); }
body.dark-theme #mobile-nav-toggle .hamburger-line { background-color: var(--landing-text-dark); }

#mobile-nav-toggle.active .line-1 { transform: translateY(7px) rotate(45deg); }
#mobile-nav-toggle.active .line-2 { opacity: 0; transform: translateX(-10px); }
#mobile-nav-toggle.active .line-3 { transform: translateY(-7px) rotate(-45deg); }


/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: clamp(120px, 20vh, 180px) 0 clamp(120px, 25vh, 200px);
    text-align: center;
    min-height: calc(100vh - 70px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: url('https://source.unsplash.com/random/1920x1080/?food-delivery,restaurant,pizza,sushi') no-repeat center center/cover;
    background-attachment: fixed;
    overflow: hidden;
}

/* Updated: Hero Background Overlay - Layered radial gradients for consistent look */
.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    transition: background 0.4s ease;
}

body.light-theme .hero-bg-overlay {
    background:
        /* Subtle red-orange radial gradient near top-left */
        radial-gradient(circle at 15% 25%, rgba(var(--color-primary-accent-rgb), 0.07) 0%, transparent 35%),
        /* Subtle red-orange radial gradient near bottom-right */
        radial-gradient(circle at 85% 75%, rgba(var(--color-primary-accent-rgb), 0.05) 0%, transparent 40%),
        /* Very subtle light overlay to blend with bg image */
        linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.2) 100%);
}
body.dark-theme .hero-bg-overlay {
    background:
        /* Subtle red-orange radial gradient near top-left */
        radial-gradient(circle at 15% 25%, rgba(var(--color-primary-accent-rgb), 0.03) 0%, transparent 35%),
        /* Subtle red-orange radial gradient near bottom-right */
        radial-gradient(circle at 85% 75%, rgba(var(--color-primary-accent-rgb), 0.02) 0%, transparent 40%),
        /* Darker overlay to ensure white text pops */
        linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}


.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

/* Ensure hero text color adjusts in light mode */
body.light-theme .hero-content .hero-title,
body.light-theme .hero-content .hero-subtitle {
    color: var(--landing-text-light); /* Changed to dark text for light mode */
    text-shadow: none; /* Ensure no text shadow */
}

body.light-theme .hero-title .highlight {
    color: var(--color-primary-accent-darker); /* Adjust highlight for contrast */
}

body.dark-theme .hero-content .hero-title,
body.dark-theme .hero-content .hero-subtitle {
    color: #fff; /* Keep white for dark mode */
    text-shadow: none; /* Ensure no text shadow */
}


.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.2vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: var(--font-weight-black);
    letter-spacing: -1.5px;
}
.hero-title .highlight { color: var(--color-primary-accent-lighter); }

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2.1vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto; margin-right: auto;
    font-weight: var(--font-weight-normal);
    opacity: 0.95;
}

.hero-cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.hero-search-bar { display: none; }

.btn {
    padding: 12px 28px;
    border: 1px solid transparent;
    border-radius: var(--border-radius-medium);
    cursor: pointer;
    font-family: var(--font-body); font-size: 0.95rem;
    font-weight: var(--font-weight-semibold); letter-spacing: 0.1px;
    transition: all 0.2s var(--transition-cubic);
    text-align: center; display: inline-flex;
    align-items: center; justify-content: center;
    line-height: 1.5; user-select: none;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
    background-color: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    color: white;
    box-shadow: 0 4px 10px rgba(var(--color-primary-accent-rgb), 0.2);
}
.btn-primary:hover {
    background-color: var(--color-primary-accent-darker);
    border-color: var(--color-primary-accent-darker);
    color: white; /* Keep text white on hover for primary button */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(var(--color-primary-accent-rgb), 0.3);
}

.btn-outline { background-color: transparent; font-weight: var(--font-weight-semibold); }

/* Adjusted for better consistency across themes */
body.light-theme .btn-outline {
    border: 2px solid var(--color-primary-accent); /* Primary color border */
    color: var(--color-primary-accent); /* Primary color text */
    background-color: transparent;
}
body.light-theme .btn-outline:hover {
    background-color: var(--color-primary-accent-lightest); /* Lighter primary tint on hover */
    border-color: var(--color-primary-accent-darker);
    color: var(--color-primary-accent-darker);
    transform: translateY(-3px);
}
body.dark-theme .btn-outline {
    border-color: var(--color-primary-accent-lighter);
    color: var(--color-primary-accent-lighter);
    background-color: transparent; /* Explicitly transparent */
}
body.dark-theme .btn-outline:hover {
    background-color: var(--color-primary-accent-lighter);
    color: var(--landing-bg-dark); /* Text color changes to dark bg color on hover */
}
/* Hero section specific override for outline button - still bright for dark bg image */
body.dark-theme .hero-section .btn-outline {
    border: 2px solid rgba(255,255,255,0.8);
    color: rgba(255,255,255,0.9);
    background-color: rgba(255,255,255,0.05);
}
body.dark-theme .hero-section .btn-outline:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}


.btn-small { padding: 8px 16px; font-size: 0.85rem; }
.btn-xlarge { padding: 16px 32px; font-size: 1rem; border-radius: var(--border-radius-medium); }


/* --- General Content Section Styling --- */
.landing-content-section {
    padding: 80px 0;
}

body.light-theme .landing-content-section.alt-bg { background-color: var(--landing-surface-light); }
body.dark-theme .landing-content-section.alt-bg { background-color: var(--landing-surface-dark); }

.section-eyebrow {
    display: block; text-align: center;
    font-family: var(--font-body); font-weight: var(--font-weight-semibold);
    font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--color-primary-accent); margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(1.8rem, 3.8vw, 2.4rem);
    text-align: center; margin-bottom: 20px; position: relative;
    padding-bottom: 12px; font-weight: var(--font-weight-bold);
}
body.light-theme .section-title { color: var(--landing-text-light); }
body.dark-theme .section-title { color: var(--landing-text-dark); }
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 70px; height: 3px;
    background-color: var(--color-primary-accent);
    border-radius: 3px;
}
.section-description {
    font-family: var(--font-body); font-size: 0.95rem;
    text-align: center;
    max-width: 750px; margin: 0 auto 50px auto; line-height: 1.8;
    font-weight: var(--font-weight-normal);
}
body.light-theme .section-description { color: var(--landing-text-muted-light); }
body.dark-theme .section-description { color: var(--landing-text-muted-dark); }

/* Added for contact page specific description positioning */
.section-description-contact {
    font-family: var(--font-body); font-size: 0.95rem;
    text-align: left; /* Aligned left as per request */
    max-width: 750px; /* Kept for overall sizing, but won't center */
    margin: 0 0 30px 0; /* Align left, reduced bottom margin */
    line-height: 1.8;
    font-weight: var(--font-weight-normal);
}
body.light-theme .section-description-contact { color: var(--landing-text-muted-light); }
body.dark-theme .section-description-contact { color: var(--landing-text-muted-dark); }


.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* Steps Grid (Used for How It Works) */
.steps-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.step-item.card {
    padding: 35px 30px;
    text-align: left; display: flex; flex-direction: column;
    border-radius: var(--border-radius-large);
}
.step-number-badge {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%; background-color: var(--color-primary-accent);
    color: white; font-family: var(--font-body); font-size: 1.3rem;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(var(--color-primary-accent-rgb),0.25);
}
.step-icon {
    font-size: 3.5rem;
    color: var(--color-primary-accent);
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.step-item h4 {
    font-family: var(--font-body); font-weight: var(--font-weight-semibold);
    font-size: 1.15rem;
    margin-bottom: 12px; text-align: center;
}
body.light-theme .step-item h4 { color: var(--landing-text-light); }
body.dark-theme .step-item h4 { color: var(--landing-text-dark); }
.step-item p { font-family: var(--font-body); font-size: 0.9rem;
    line-height: 1.7; flex-grow: 1; text-align: center; }
body.light-theme .step-item p { color: var(--landing-text-muted-light); }
body.dark-theme .step-item p { color: var(--landing-text-muted-dark); }

/* New Section: Why Choose DigiDine? / About Page Mission / Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.feature-item.card {
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius-large);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.feature-icon {
    font-size: 3rem;
    color: var(--color-primary-accent);
    margin-bottom: 20px;
}
.feature-item h4 {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
    margin-bottom: 10px;
}
body.light-theme .feature-item h4 { color: var(--landing-text-light); }
body.dark-theme .feature-item h4 { color: var(--landing-text-dark); }

.feature-item p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
}
body.light-theme .feature-item p { color: var(--landing-text-muted-light); }
body.dark-theme .feature-item p { color: var(--landing-text-muted-dark); }

/* Phase 2 Upcoming Feature Highlight */
.upcoming-feature-highlight {
    background-color: var(--color-primary-accent-lightest);
    border: 2px solid var(--color-primary-accent-lighter);
    padding: 40px;
    border-radius: var(--border-radius-xlarge);
    text-align: center;
    margin: 50px auto 70px auto; /* More spacing */
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(var(--color-primary-accent-rgb), 0.1);
    transition: all 0.3s var(--transition-cubic);
}
body.dark-theme .upcoming-feature-highlight {
    background-color: rgba(var(--color-primary-accent-rgb), 0.1);
    border-color: rgba(var(--color-primary-accent-rgb), 0.4);
    box-shadow: 0 8px 25px rgba(var(--color-primary-accent-rgb), 0.2);
}

.upcoming-feature-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(var(--color-primary-accent-rgb), 0.2);
}
body.dark-theme .upcoming-feature-highlight:hover {
    box-shadow: 0 12px 30px rgba(var(--color-primary-accent-rgb), 0.3);
}

.upcoming-feature-highlight .feature-icon {
    font-size: 4rem; /* Larger icon */
    margin-bottom: 25px;
    color: var(--color-primary-accent);
}

.upcoming-feature-highlight h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-accent-darker);
    margin-bottom: 15px;
}
body.dark-theme .upcoming-feature-highlight h3 {
    color: var(--color-primary-accent-lighter);
}

.upcoming-feature-highlight p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--landing-text-muted-light);
    max-width: 600px;
    margin: 0 auto;
}
body.dark-theme .upcoming-feature-highlight p {
    color: var(--landing-text-muted-dark);
}

/* Dormant Business Model Ideas Section */
.dormant-section {
    background-color: var(--landing-surface-light);
    border: 1px dashed var(--landing-border-light);
    padding: 30px;
    border-radius: var(--border-radius-large);
    margin-top: 60px;
    text-align: center;
    color: var(--landing-text-muted-light);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.7; /* Make it dormant */
    transition: all 0.3s ease;
}
body.dark-theme .dormant-section {
    background-color: var(--landing-surface-dark);
    border-color: var(--landing-border-dark);
    color: var(--landing-text-muted-dark);
}
.dormant-section:hover {
    opacity: 1; /* Slight highlight on hover */
    box-shadow: var(--landing-card-shadow-light);
}
body.dark-theme .dormant-section:hover {
    box-shadow: var(--landing-card-shadow-dark);
}

.dormant-section .section-eyebrow {
    color: var(--color-primary-accent); /* Keep eyebrow color */
    opacity: 1; /* Ensure eyebrow is not too dormant */
}

.dormant-section .section-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    padding-bottom: 8px;
    margin-bottom: 20px;
    color: var(--landing-text-light); /* Title slightly more prominent */
}
body.dark-theme .dormant-section .section-title {
    color: var(--landing-text-dark);
}

.dormant-section .section-title::after {
    width: 50px;
    height: 2px;
}

.dormant-section ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: center;
    display: inline-block; /* For centering list items if they are short */
}
.dormant-section ul li {
    margin-bottom: 8px;
    color: var(--landing-text-muted-light);
}
body.dark-theme .dormant-section ul li {
    color: var(--landing-text-muted-dark);
}
.dormant-section ul li:last-child {
    margin-bottom: 0;
}


/* Restaurant Grid (Used for Popular Restaurants & All Restaurants page) */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.restaurant-card.card {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: var(--border-radius-large);
}

.restaurant-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-medium);
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.restaurant-card h3 {
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--landing-text-light);
}
body.dark-theme .restaurant-card h3 { color: var(--landing-text-dark); }

.restaurant-card .cuisine-type {
    font-size: 0.9rem;
    color: var(--landing-text-muted-light);
    margin-bottom: 25px;
    flex-grow: 1;
}
body.dark-theme .restaurant-card .cuisine-type { color: var(--landing-text-muted-dark); }

.view-restaurant-button {
    margin-top: auto;
}

/* New Section: Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.testimonial-card.card {
    padding: 30px;
    border-radius: var(--border-radius-large);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--color-primary-accent-lighter);
    box-shadow: 0 4px 12px rgba(var(--color-primary-accent-rgb), 0.15);
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-quote {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1; /* Allows quotes of different lengths to push author to bottom */
}
body.light-theme .testimonial-quote { color: var(--landing-text-light); }
body.dark-theme .testimonial-quote { color: var(--landing-text-dark); }

.testimonial-author {
    font-weight: var(--font-weight-semibold);
    font-size: 0.85rem;
    color: var(--color-primary-accent);
}

/* --- Specific Styles for Restaurant List Page / About Page Hero / Contact Page Hero / Features Page Hero --- */
.restaurants-page-hero { /* Used for restaurants, about, contact, and features page heroes */
    padding: 80px 0 50px; /* Shorter hero for sub-pages */
    text-align: center;
    background-color: var(--landing-bg-light); /* Controlled by theme */
    color: var(--landing-text-light); /* Controlled by theme */
}
body.dark-theme .restaurants-page-hero {
    background-color: var(--landing-bg-dark);
    color: var(--landing-text-dark);
}

.restaurants-page-hero .hero-title {
    font-size: clamp(2rem, 4vw, 3rem); /* Smaller title for sub-page hero */
    margin-bottom: 15px;
}
body.light-theme .restaurants-page-hero .hero-title { color: var(--landing-text-light); }
body.dark-theme .restaurants-page-hero .hero-title { color: var(--landing-text-dark); }


.search-filter-section {
    padding: 40px 0;
    background-color: var(--landing-surface-light); /* Alt background for this section */
    border-bottom: 1px solid var(--landing-border-light);
}
body.dark-theme .search-filter-section {
    background-color: var(--landing-surface-dark);
    border-bottom-color: var(--landing-border-dark);
}

.search-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--landing-card-shadow-light);
}
body.dark-theme .search-filter-container {
    box-shadow: var(--landing-card-shadow-dark);
}

.search-bar {
    flex-grow: 1;
    min-width: 250px;
}

.search-bar-input {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--landing-border-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--landing-bg-light);
    color: var(--landing-text-light);
}
body.dark-theme .search-bar-input {
    border-color: var(--landing-border-dark);
    background-color: var(--landing-surface-dark);
    color: var(--landing-text-dark);
}
.search-bar-input:focus {
    outline: none;
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-accent-rgb), 0.2);
}

.filter-dropdown-container {
    position: relative;
}

.filter-dropdown {
    padding: 12px 20px;
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--landing-border-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    background-color: var(--landing-bg-light);
    color: var(--landing-text-light);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ed6a32'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'%3E%3C/path%3E%3C/svg%3E"); /* Custom SVG arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 35px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.dark-theme .filter-dropdown {
    border-color: var(--landing-border-dark);
    background-color: var(--landing-surface-dark);
    color: var(--landing-text-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ff784e'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'%3E%3C/path%3E%3C/svg%3E"); /* Lighter accent arrow for dark mode */
}
.filter-dropdown:focus {
    outline: none;
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-accent-rgb), 0.2);
}

.restaurants-list-container {
    padding: 50px 0;
}

/* --- Specific Styles for Restaurant Menu Page --- */
.restaurant-menu-hero {
    padding: 100px 0 60px; /* Slightly more padding for menu hero */
    text-align: center;
    background-color: var(--landing-surface-light); /* Alt background for menu hero */
    color: var(--landing-text-light);
    border-bottom: 1px solid var(--landing-border-light);
}
body.dark-theme .restaurant-menu-hero {
    background-color: var(--landing-surface-dark);
    color: var(--landing-text-dark);
    border-bottom-color: var(--landing-border-dark);
}

.restaurant-logo {
    max-width: 150px;
    height: auto;
    border-radius: var(--border-radius-medium);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.restaurant-menu-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
    color: var(--landing-text-light);
}
body.dark-theme .restaurant-menu-hero h1 { color: var(--landing-text-dark); }

.restaurant-description {
    font-size: 1.0rem;
    max-width: 700px;
    margin: 0 auto 20px auto;
    color: var(--landing-text-muted-light);
}
body.dark-theme .restaurant-description { color: var(--landing-text-muted-dark); }

.restaurant-meta {
    font-size: 0.9rem;
    color: var(--landing-text-muted-light);
    margin-bottom: 30px;
}
body.dark-theme .restaurant-meta { color: var(--landing-text-muted-dark); }

.menu-categories-nav {
    text-align: center;
    padding: 30px 0;
    background-color: var(--landing-bg-light); /* Consistent with page bg */
    border-bottom: 1px solid var(--landing-border-light);
    position: sticky;
    top: 70px; /* Below header */
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
body.dark-theme .menu-categories-nav {
    background-color: var(--landing-bg-dark);
    border-bottom-color: var(--landing-border-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* NEW: Styles for Custom Combobox (Dropdown with Search) */
.menu-controls-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: center;
    align-items: center;
    gap: 15px; /* Slightly reduced gap */
    max-width: 450px; /* Constrain overall width */
    margin: 0 auto;
}

.custom-combobox {
    position: relative;
    flex-grow: 1; /* Allows it to take available space */
    min-width: 250px; /* Minimum width for the combobox */
    background-color: var(--landing-bg-light);
    border: 1px solid var(--landing-border-light);
    border-radius: var(--border-radius-medium);
    display: flex;
    align-items: center;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05); /* Subtle inner shadow */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.dark-theme .custom-combobox {
    background-color: var(--landing-surface-dark);
    border-color: var(--landing-border-dark);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}
.custom-combobox:focus-within { /* Style when any child element has focus */
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-accent-rgb), 0.2);
}

.combobox-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none; /* Remove individual input border */
    background: transparent; /* Make input background transparent */
    color: var(--landing-text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none; /* Remove outline on focus */
    border-radius: var(--border-radius-medium); /* Match parent radius */
}
body.dark-theme .combobox-input {
    color: var(--landing-text-dark);
}
.combobox-input::placeholder {
    color: var(--landing-text-muted-light);
    opacity: 0.7;
}
body.dark-theme .combobox-input::placeholder {
    color: var(--landing-text-muted-dark);
}

.combobox-toggle {
    background: transparent;
    border: none;
    padding: 0 15px 0 5px; /* Adjust padding for icon */
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--landing-text-muted-light); /* Icon color */
    transition: color 0.2s ease;
    outline: none;
}
body.dark-theme .combobox-toggle {
    color: var(--landing-text-muted-dark);
}
.combobox-toggle:hover {
    color: var(--color-primary-accent); /* Hover effect on icon */
}
.combobox-toggle i {
    pointer-events: none; /* Ensure click goes to button, not icon itself */
}


.combobox-dropdown {
    position: absolute;
    top: 100%; /* Position below the input */
    left: 0;
    width: 100%;
    max-height: 250px; /* Max height for scrollability */
    overflow-y: auto;
    background-color: var(--landing-bg-light); /* Dropdown background */
    border: 1px solid var(--landing-border-light);
    border-radius: var(--border-radius-medium);
    list-style: none;
    padding: 10px 0;
    margin-top: 5px; /* Small gap between input and dropdown */
    z-index: 100; /* Ensure it appears above other content */
    box-shadow: var(--landing-card-shadow-light); /* Dropdown shadow */
    display: none; /* Hidden by default, managed by JS */
}
body.dark-theme .combobox-dropdown {
    background-color: var(--landing-surface-dark);
    border-color: var(--landing-border-dark);
    box-shadow: var(--landing-card-shadow-dark);
}

.combobox-item {
    padding: 10px 15px;
    cursor: pointer;
    text-align: left;
    color: var(--landing-text-light);
    transition: background-color 0.2s ease;
}
body.dark-theme .combobox-item {
    color: var(--landing-text-dark);
}
.combobox-item:hover,
.combobox-item.active-highlight { /* For keyboard navigation highlight */
    background-color: var(--color-primary-accent-lightest);
    color: var(--color-primary-accent);
}
body.dark-theme .combobox-item:hover,
body.dark-theme .combobox-item.active-highlight {
    background-color: rgba(var(--color-primary-accent-rgb), 0.15);
    color: var(--color-primary-accent-lighter);
}
.combobox-item.hidden {
    display: none; /* Used by JS for filtering */
}

/* Responsive adjustments for combobox */
@media (max-width: 576px) {
    .menu-controls-container {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .custom-combobox {
        min-width: unset; /* Remove min-width for full width on mobile */
        width: 100%;
    }
}
/* END NEW MENU STYLES */


.menu-section {
    padding: 60px 0;
    display: none; /* Hidden by default */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.menu-section.active-menu-section {
    display: block; /* Only show active menu section */
    opacity: 1;
    transform: translateY(0);
}

.menu-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    font-weight: var(--font-weight-bold);
}
body.light-theme .menu-section-title { color: var(--landing-text-light); }
body.dark-theme .menu-section-title { color: var(--landing-text-dark); }
.menu-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--color-primary-accent);
    border-radius: 2px;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.menu-item-card.card {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    border-radius: var(--border-radius-large);
}
.menu-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius-medium);
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.menu-item-details {
    flex-grow: 1;
}
.menu-item-details h4 {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--landing-text-light);
}
body.dark-theme .menu-item-details h4 { color: var(--landing-text-dark); }

.menu-item-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--landing-text-muted-light);
}
body.dark-theme .menu-item-description { color: var(--landing-text-muted-dark); }

.menu-item-price {
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    font-size: 1.15rem;
    color: var(--color-primary-accent);
}

.restaurant-info-section {
    padding: 60px 0;
    background-color: var(--landing-surface-light);
}
body.dark-theme .restaurant-info-section {
    background-color: var(--landing-surface-dark);
}
.restaurant-info-section h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 25px;
    text-align: center;
    color: var(--landing-text-light);
}
body.dark-theme .restaurant-info-section h3 { color: var(--landing-text-dark); }

.info-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.info-item {
    padding: 20px;
    border-radius: var(--border-radius-medium);
    background-color: var(--landing-bg-light);
    box-shadow: var(--landing-card-shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.dark-theme .info-item {
    background-color: var(--landing-surface-dark);
    box-shadow: var(--landing-card-shadow-dark);
}
.info-item i {
    font-size: 1.8rem;
    color: var(--color-primary-accent);
    margin-bottom: 10px;
}
.info-item p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--landing-text-muted-light);
}
body.dark-theme .info-item p { color: var(--landing-text-muted-dark); }


/* --- Styles for Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
    align-items: flex-start; /* Aligns top of grid items */
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.contact-info-column {
    text-align: left;
    /* Explicitly match padding of .contact-form-column for vertical alignment */
    padding-left: 0; /* Handled by container padding, ensure no extra left padding here */
    padding-right: 0; /* Handled by container padding, ensure no extra right padding here */
    padding-top: 35px; /* Match contact form card top padding */
    padding-bottom: 30px; /* Match contact form card bottom padding */
}
@media (max-width: 768px) {
    .contact-info-column {
        text-align: left; /* Keep left for mobile */
        padding-left: 15px; /* Add some padding for mobile container */
        padding-right: 15px; /* Add some padding for mobile container */
        padding-top: 0; /* Remove specific padding on mobile, section padding handles it */
        padding-bottom: 0;
    }
}

.contact-info-column .section-eyebrow {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}
.contact-info-column .section-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}
.contact-info-column .section-title::after { /* Remove the underline from titles in this specific column */
    display: none;
}
.contact-info-column .section-description-contact {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.contact-details {
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 0; /* Ensure no unwanted auto-margins for alignment */
    margin-right: 0;
}
@media (max-width: 768px) {
    .contact-details {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }
}
.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align icon and text to the left */
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .contact-item {
        justify-content: flex-start;
    }
}
.contact-item:last-child {
    margin-bottom: 0;
}
.contact-icon {
    font-size: 1.4rem;
    color: var(--color-primary-accent);
    margin-right: 15px;
    flex-shrink: 0;
}
.contact-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--landing-text-muted-light);
}
body.dark-theme .contact-item p { color: var(--landing-text-muted-dark); }
.contact-item a {
    color: inherit; /* Inherit color from parent p or body */
    text-decoration: underline;
}
.contact-item a:hover {
    color: var(--color-primary-accent);
}

.social-links-contact { /* Specific social links block for contact page */
    display: flex;
    gap: 20px;
    margin-top: 25px;
    justify-content: flex-start; /* Align social icons to the left */
}
@media (max-width: 768px) {
    .social-links-contact {
        justify-content: flex-start;
    }
}
.social-links-contact .social-icon {
    font-size: 1.8rem;
    color: var(--landing-text-muted-light);
    transition: color 0.2s ease, transform 0.2s ease;
}
body.dark-theme .social-links-contact .social-icon { color: var(--landing-text-muted-dark); }
.social-links-contact .social-icon:hover {
    color: var(--color-primary-accent);
    transform: translateY(-3px);
}
body.dark-theme .social-links-contact .social-icon:hover {
    color: var(--color-primary-accent-lighter);
}


.contact-form-column {
    padding: 35px 30px; /* This padding sets the inner alignment for the form */
    border-radius: var(--border-radius-large);
    text-align: center; /* This column's content remains centered for the form elements */
}
.contact-form-column .section-title {
    margin-bottom: 25px;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    /* Ensure this title is left aligned and doesn't create extra margin/padding */
    margin-left: 0;
    margin-right: 0;
    text-align: left; /* Make the form title left aligned too for consistency */
}
.contact-form-column .section-title::after {
    display: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    text-align: left; /* Keep form labels/inputs left aligned within their column */
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 8px;
    color: var(--landing-text-light);
}
body.dark-theme .form-group label { color: var(--landing-text-dark); }

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--landing-border-light);
    border-radius: var(--border-radius-medium);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--landing-surface-light); /* Lighter background for inputs */
    color: var(--landing-text-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.dark-theme .form-input, body.dark-theme .form-textarea {
    border-color: var(--landing-border-dark);
    background-color: var(--landing-bg-dark); /* Darker background for inputs */
    color: var(--landing-text-dark);
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-accent-rgb), 0.1);
}
.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.map-container {
    width: 100%;
    height: 450px; /* Fixed height for consistency */
    overflow: hidden;
    border-radius: var(--border-radius-large);
    box-shadow: var(--landing-card-shadow-light);
    margin-top: 50px;
}
body.dark-theme .map-container {
    box-shadow: var(--landing-card-shadow-dark);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0; /* Important for iframe */
}


/* --- Footer --- */
.landing-footer {
    padding-top: 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}
body.light-theme .landing-footer {
    background-color: var(--footer-bg-light);
    color: var(--footer-text-light);
}
body.dark-theme .landing-footer {
    background-color: var(--footer-bg-dark);
    color: var(--footer-text-dark);
}
body.dark-theme .landing-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background-image:
        radial-gradient(1px 1px at 20% 30%, var(--footer-star-color-dark), transparent 80%),
        radial-gradient(0.5px 0.5px at 40% 20%, var(--footer-star-color-dark), transparent 80%),
        radial-gradient(1.2px 1.2px at 55% 75%, var(--footer-star-color-dark), transparent 80%),
        radial-gradient(0.8px 0.8px at 75% 40%, var(--footer-star-color-dark), transparent 80%),
        radial-gradient(1px 1px at 85% 15%, var(--footer-star-color-dark), transparent 80%);
    background-size: 200px 200px;
    opacity: 0.5;
    z-index: 0;
    animation: footerStarsTwinkle 12s linear infinite alternate;
}
@keyframes footerStarsTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}


.footer-separator-line {
    height: 1px;
    background: var(--color-primary-accent);
    margin-bottom: 50px;
}

.footer-dynamic-shapes {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.footer-dynamic-shapes .shape {
    position: absolute;
    border-radius: 50%;
    animation: footerShapeFloat 20s ease-in-out infinite alternate;
    filter: blur(60px);
}
body.light-theme .footer-dynamic-shapes .shape {
    background-color: rgba(var(--color-primary-accent-rgb), 0.05);
    opacity: 0.6;
}
body.dark-theme .footer-dynamic-shapes .shape {
    background-color: rgba(var(--color-primary-accent-rgb), 0.04);
    opacity: 0.4;
}

.footer-dynamic-shapes .shape1 {
    width: 250px; height: 250px;
    bottom: -100px; left: 5%;
    animation-duration: 22s;
}
.footer-dynamic-shapes .shape2 {
    width: 200px; height: 200px;
    top: -70px; right: 10%;
    animation-duration: 18s;
    animation-delay: -3s;
}
.footer-dynamic-shapes .shape3 {
    width: 150px; height: 150px;
    bottom: 10%; right: -5%;
    animation-duration: 25s;
    animation-delay: -6s;
}
body.dark-theme .footer-dynamic-shapes .shape3 {
    opacity: 0.25;
}

@keyframes footerShapeFloat {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
    100% { transform: translateY(0px) scale(1); }
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    font-size: 1.05rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
body.light-theme .footer-column h4 { color: var(--footer-heading-text-light); }
body.dark-theme .footer-column h4 { color: var(--footer-heading-text-dark); }

.footer-column p, .footer-column ul li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.7;
    opacity: 0.9;
}
body.light-theme .footer-column p,
body.light-theme .footer-column ul li { color: var(--footer-text-light); }
body.dark-theme .footer-column p,
body.dark-theme .footer-column ul li { color: var(--footer-text-dark); }

.footer-column ul { list-style: none; padding: 0; }
.footer-column a {
    opacity: 1;
    font-weight: var(--font-weight-normal);
    transition: color 0.2s ease, opacity 0.2s ease;
}
body.light-theme .footer-column a { color: var(--footer-link-text-light); }
body.light-theme .footer-column a:hover { color: var(--footer-link-hover-text-light); }
body.dark-theme .footer-column a { color: var(--footer-link-text-dark); }
body.dark-theme .footer-column a:hover { color: var(--footer-link-hover-text-dark); }

.footer-column.about-column .footer-logo-link .site-logo {
    max-height: 30px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 0.9rem;
}
body.light-theme .footer-tagline { color: var(--footer-text-light); }
body.dark-theme .footer-tagline { color: var(--footer-tagline); }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links .social-icon i { font-size: 1.5rem; }
.social-links .social-icon {
    transition: color 0.2s ease, transform 0.2s ease;
    opacity: 0.8;
}
body.light-theme .social-links .social-icon { color: var(--footer-social-icon-fill-light); }
body.light-theme .social-links .social-icon:hover { color: var(--footer-social-icon-hover-fill-light); opacity: 1; transform: translateY(-3px); }
body.dark-theme .social-links .social-icon { color: var(--footer-social-icon-fill-dark); }
body.dark-theme .social-links .social-icon:hover { color: var(--footer-social-icon-hover-fill-dark); opacity: 1; transform: translateY(-3px); }


.footer-bottom-bar {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    font-family: var(--font-body);
    position: relative;
    z-index: 1;
}
body.light-theme .footer-bottom-bar { border-top: 1px solid var(--footer-border-color-light); }
body.dark-theme .footer-bottom-bar { border-top: 1px solid var(--footer-border-color-dark); }

.footer-bottom-bar p {
    opacity: 0.85;
}
body.light-theme .footer-bottom-bar p { color: var(--footer-text-light); }
body.dark-theme .footer-bottom-bar p { color: var(--footer-text-dark); }

/* --- Mobile Navigation Enhancements --- */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding: 80px 20px 30px 20px;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.35s var(--transition-cubic);
        overflow-y: auto;
        z-index: 1050;
    }
    body.light-theme .nav-links { background-color: var(--landing-bg-light); }
    body.dark-theme .nav-links { background-color: var(--landing-bg-dark); }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .landing-nav .nav-links li {
        margin: 8px 0;
        width: 100%;
        text-align: center;
    }

    .landing-nav .nav-links li a.nav-link-item {
        font-size: 1.15rem;
        display: block;
        padding: 10px 0;
        border-radius: var(--border-radius-medium);
        transition: background-color 0.2s ease;
    }
    body.light-theme .landing-nav .nav-links li a.nav-link-item:hover {
        background-color: var(--landing-surface-light);
    }
    body.dark-theme .landing-nav .nav-links li a.nav-link-item:hover {
        background-color: var(--landing-surface-dark);
    }

    .landing-nav .nav-links li a.nav-link-item::after {
        bottom: -1px;
        left: 50%;
        transform: translateX(-50%);
    }
    .landing-nav .nav-links li a.nav-link-item.active-nav-link::after {
        width: 40%;
    }

    #mobile-nav-toggle {
        display: flex;
    }

    .nav-links .mobile-auth-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 90%;
        max-width: 300px;
        margin-top: 30px;
        padding-top: 25px;
        border-top: 1px solid var(--landing-border-light);
    }
    body.dark-theme .nav-links .mobile-auth-actions {
        border-top-color: var(--landing-border-dark);
    }

    .nav-links .mobile-auth-actions .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .landing-nav {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .hero-title {
        font-size: 2.2rem; /* Adjusted hero title for smaller screens */
    }
    .hero-subtitle {
        font-size: 1rem; /* Adjusted hero subtitle for smaller screens */
    }
    .section-title {
        font-size: 1.8rem; /* Adjusted section title for smaller screens */
    }
    .section-description {
        font-size: 0.9rem; /* Adjusted section description for smaller screens */
    }
    .steps-grid, .restaurant-grid, .features-grid, .testimonials-grid, .info-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column {
        align-items: center;
    }
    .social-links {
        justify-content: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-info-column {
        text-align: left; /* Kept left for consistency with design goals */
        padding-left: 15px; /* Add container-like padding for mobile view */
        padding-right: 15px; /* Add container-like padding for mobile view */
        padding-top: 0; /* Remove specific padding on mobile, section padding handles it */
        padding-bottom: 0;
    }
    .contact-info-column .section-eyebrow,
    .contact-info-column .section-title,
    .contact-info-column .section-description-contact {
        text-align: left; /* Explicitly keep left aligned on mobile */
    }
    .contact-details {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }
    .contact-item {
        justify-content: flex-start;
    }
    .social-links-contact {
        justify-content: flex-start;
    }
}


@media (max-width: 576px) {
    .landing-nav { height: 60px; }
    .landing-nav .logo .site-logo { max-height: 28px; }

    .hero-title { font-size: 1.8rem; } /* Adjusted hero title for very small screens */
    .hero-subtitle { font-size: 0.85rem; } /* Adjusted hero subtitle for very small screens */
    .hero-cta-buttons { flex-direction: column; gap: 15px; align-items: center; }
    .hero-cta-buttons .btn { width: 90%; max-width: 280px; }

    .hero-search-bar { display: none; }

    .section-eyebrow { font-size: 0.7rem; } /* Adjusted eyebrow for very small screens */
    .section-title { font-size: 1.5rem; } /* Adjusted section title for very small screens */
    .section-description { font-size: 0.85rem; } /* Adjusted section description for very small screens */
    .steps-grid, .restaurant-grid, .features-grid, .testimonials-grid, .info-details-grid { gap: 15px; }
    .step-item.card, .restaurant-card.card, .feature-item.card, .testimonial-card.card, .info-item.card, .contact-form-column.card { padding: 20px 15px; }
    .step-icon, .feature-icon, .contact-icon { font-size: 3rem; margin-bottom: 15px; }
    .step-item .step-number-badge { width: 42px; height: 42px; font-size: 1.2rem; }
    .restaurant-image { height: 180px; }

    .search-filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    .search-bar {
        min-width: unset;
        width: 100%;
    }
    .filter-dropdown {
        width: 100%;
    }
}


/* Custom Popup Styles (from VulnOS) */
.custom-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    display: none; justify-content: center; align-items: center;
    z-index: 2000; opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease-in-out, visibility 0s linear 0.25s;
}
.custom-popup-overlay.active {
    display: flex; opacity: 1; visibility: visible;
    transition: opacity 0.25s ease-in-out, visibility 0s linear 0s;
}
.custom-popup {
    padding: 28px 32px; border-radius: var(--border-radius-large);
    width: 90%; max-width: 450px; text-align: center;
    transform: scale(0.95) translateY(10px); opacity: 0;
    transition: transform 0.25s var(--transition-cubic), opacity 0.25s var( --transition-cubic);
}
.custom-popup-overlay.active .custom-popup { transform: scale(1) translateY(0); opacity: 1; }
body.light-theme .custom-popup {
    background-color: var(--landing-bg-light); color: var(--landing-text-light);
    border: 1px solid var(--landing-border-light);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
body.dark-theme .custom-popup {
    background-color: var(--landing-surface-dark); color: var(--landing-text-dark);
    border: 1px solid var(--landing-border-dark);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.custom-popup h3 {
    font-family: var(--font-body); font-weight: var(--font-weight-semibold);
    font-size: 1.3rem; margin-top: 0; margin-bottom: 12px;
}
.custom-popup p {
    font-family: var(--font-body); font-size: 0.95rem;
    line-height: 1.6; margin-bottom: 24px;
}
body.light-theme .custom-popup p { color: var(--landing-text-muted-light); }
body.dark-theme .custom-popup p { color: var(--landing-text-muted-dark); }
.custom-popup-actions { display: flex; justify-content: center; gap: 15px; }
.custom-popup-actions .btn { min-width: 100px; }

.custom-popup.popup-error #custom-popup-title { color: #ef4444; }
.custom-popup.popup-success #custom-popup-title { color: #10b981; }
.custom-popup.popup-warning #custom-popup-title { color: #f59e0b; }
.custom-popup.popup-info #custom-popup-title { color: var(--color-primary-accent); }