/* Custom Modern Reset & CSS Variables */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Theme Color Tokens */
    --terracotta: #e2703a;
    --terracotta-dark: #b84f1d;
    --saffron: #ff9f43;
    --gold: #dfb76c;
    --gold-glow: rgba(223, 183, 108, 0.2);
    --black-bg: #14120e;
    --dark-card: #201b13;
    --light-bg: #fffbf5;
    --light-card: #ffffff;
    --white: #ffffff;
    --grey-light: #f5efe6;
    --grey-dark: #322b20;
    --text-dark: #221c13;
    --text-light: #f5eedc;
    --text-muted: #8c8273;

    /* Structural variables */
    --container-width: 1200px;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-gujarati-head: 'Noto Serif Gujarati', serif;
    --font-gujarati-body: 'Noto Sans Gujarati', sans-serif;
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hard: 0 16px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
}

/* Light/Dark Classes mapped on html root element */
html.theme-light {
    --bg-primary: var(--light-bg);
    --bg-secondary: var(--white);
    --bg-card: var(--light-card);
    --bg-glass: rgba(255, 255, 255, 0.4);
    --border-color: rgba(226, 112, 58, 0.15);
    --text-primary: var(--text-dark);
    --text-secondary: #4a3e2c;
    --shadow-color: rgba(184, 79, 29, 0.08);
    --hero-overlay: rgba(0, 0, 0, 0.35);
}

html.theme-dark {
    --bg-primary: var(--black-bg);
    --bg-secondary: #1a1611;
    --bg-card: var(--dark-card);
    --bg-glass: rgba(32, 27, 19, 0.4);
    --border-color: rgba(223, 183, 108, 0.15);
    --text-primary: var(--text-light);
    --text-secondary: #d3c4b1;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --hero-overlay: rgba(0, 0, 0, 0.65);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body[lang="gu"] {
    font-family: var(--font-gujarati-body), var(--font-body);
}

/* Top Navigation Header bar */
nav.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: var(--shadow-soft);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    height: 48px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--terracotta);
}

.nav-logo span {
    font-family: var(--font-gujarati-head);
    font-size: 1.6rem;
    color: var(--terracotta);
    font-weight: 700;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Elegant Toggle Switch for Language & Theme */
.toggle-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
}

.toggle-btn:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
    transform: translateY(-2px);
}

.toggle-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Language Toggle design */
.lang-switch-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 3px;
}

.lang-option {
    border: none;
    background: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
}

.lang-option.active {
    background-color: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(226, 112, 58, 0.3);
}

/* Hero Banner Section styling */
header.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('img/header.webp') no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 80px;
}

header.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-badge {
    background: rgba(226, 112, 58, 0.2);
    border: 1px solid var(--terracotta);
    color: var(--saffron);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(226, 112, 58, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(226, 112, 58, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(226, 112, 58, 0);
    }
}

.hero-logo-img {
    width: 100%;
    min-width: 220px;
    max-width: 520px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.hero-title {
    font-family: var(--font-gujarati-head), var(--font-display);
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--gold);
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.hero-desc {
    font-size: 1.2rem;
    color: #ece5d8;
    max-width: 650px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.hero-cta {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(226, 112, 58, 0.4);
}

.btn-primary:hover {
    background-color: var(--terracotta-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(226, 112, 58, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--black-bg);
    transform: translateY(-3px);
}

/* Container & Grid systems */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-gujarati-head), var(--font-display);
    font-size: 2.6rem;
    color: var(--terracotta);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 800;
}

.section-title::after {
    content: '🍲';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
}

.section-desc {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Our Story (About) section styling */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text h3 {
    font-family: var(--font-gujarati-head), var(--font-display);
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.feature-tag {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    border: 4px solid var(--gold);
}

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

/* Unlimited Thali Feature Card styling */
.thali-showcase-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.thali-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(226, 112, 58, 0.05) 100%);
    border: 2px solid var(--gold);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-hard);
    position: relative;
    overflow: hidden;
}

.thali-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--terracotta), var(--saffron), var(--gold));
}

.thali-badge {
    background-color: var(--gold);
    color: var(--black-bg);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 10px 24px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(223, 183, 108, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.thali-title {
    font-family: var(--font-gujarati-head), var(--font-display);
    font-size: 2.8rem;
    color: var(--terracotta);
    font-weight: 800;
    margin-bottom: 15px;
}

.thali-price {
    font-family: var(--font-gujarati-head), var(--font-display);
    font-size: 3.5rem;
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
}

.thali-price span.small {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.thali-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 35px auto;
    line-height: 1.7;
}

.thali-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.promo-item {
    background-color: var(--bg-secondary);
    border: 1px dashed var(--terracotta);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.promo-icon {
    font-size: 2.2rem;
}

.promo-text h4 {
    font-family: var(--font-gujarati-head), var(--font-body);
    color: var(--terracotta);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.promo-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.wait-notice {
    background-color: rgba(223, 183, 108, 0.08);
    border: 1px solid var(--gold-glow);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Menu filter buttons styling */
.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(226, 112, 58, 0.3);
    transform: translateY(-2px);
}

/* Menu cards grid layout */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.menu-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: var(--terracotta);
    box-shadow: var(--shadow-hard);
}

.menu-card-img {
    height: 180px;
    width: 100%;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

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

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

/* Decorative mandala placeholder for cards without custom images */
.mandala-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(226, 112, 58, 0.1) 100%);
    color: rgba(226, 112, 58, 0.25);
}

.mandala-placeholder svg {
    width: 100px;
    height: 100px;
    animation: rotateMandala 20s linear infinite;
}

@keyframes rotateMandala {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.menu-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(20, 18, 14, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.menu-card-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.menu-card-num {
    font-family: var(--font-gujarati-head), var(--font-display);
    font-size: 0.9rem;
    color: var(--terracotta);
    font-weight: 700;
}

.menu-card-title {
    font-family: var(--font-gujarati-head), var(--font-body);
    font-size: 1.35rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-top: -5px;
}

.menu-card-eng {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -8px;
}

.menu-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Testimonials Section styling */
.testimonials-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.review-card::before {
    content: '“';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(226, 112, 58, 0.15);
    font-family: serif;
    line-height: 1;
}

.review-stars {
    color: var(--saffron);
    font-size: 1.2rem;
    display: flex;
    gap: 3px;
}

.review-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(226, 112, 58, 0.2);
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Timing, Location, Map & Footer styling */
.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: stretch;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    background-color: rgba(226, 112, 58, 0.1);
    color: var(--terracotta);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.info-content h4 {
    font-family: var(--font-gujarati-head), var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.map-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 10px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: calc(var(--border-radius) - 6px);
    flex-grow: 1;
}

footer.site-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.footer-copyright {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-weight: bold;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-disclaimer span {
    color: var(--terracotta);
    font-weight: 600;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--terracotta);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--terracotta-dark);
    transform: scale(1.1);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive Breakpoints & Overrides */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
        max-height: 450px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .thali-container {
        padding: 30px 20px;
    }

    .thali-title {
        font-size: 2.2rem;
    }

    .thali-price {
        font-size: 2.8rem;
    }

    .thali-promo-grid {
        grid-template-columns: 1fr;
    }

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

    nav.nav-bar {
        padding: 0 20px;
    }

    header.hero-section {
        height: auto;
        padding: 120px 20px 80px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .nav-logo span {
        display: none;
    }
}

/* Custom scrollbar for premium touch */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta-dark);
}

/* Animations for filtering */
.fade-in-card {
    animation: fadeInCard 0.4s ease forwards;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
