/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
   :root {
    /* South Indian Inspired Color Palette */
    --clr-saffron: #D35400;       /* Deep Saffron */
    --clr-turmeric: #F39C12;      /* Turmeric Gold */
    --clr-green: #145A32;         /* Dark Green */
    --clr-red: #7B241C;           /* Earthy Red */
    
    /* Neutrals */
    --clr-bg: #FCFBF9;            /* Warm Off-White */
    --clr-bg-alt: #F4EBE1;        /* Subtle warm gray/tan */
    --clr-text: #2C3E50;
    --clr-text-light: #566573;
    --clr-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Utility */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-red);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

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

.bg-light {
    background-color: var(--clr-bg-alt);
}

.section-subtitle {
    color: var(--clr-saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--clr-green);
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 50px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-saffron);
    color: var(--clr-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--clr-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-primary {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-white);
    line-height: 1;
}

.logo-secondary {
    font-size: 0.75rem;
    color: var(--clr-turmeric);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar.scrolled .logo-primary {
    color: var(--clr-red);
}

.navbar.scrolled .logo-secondary {
    color: var(--clr-green);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--clr-white);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-turmeric);
    transition: var(--transition);
}

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

.navbar.scrolled .nav-links a {
    color: var(--clr-text);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--clr-saffron);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-white);
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--clr-red);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--clr-white);
    z-index: 999;
    padding-top: 80px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    padding: 15px 30px;
    color: var(--clr-text);
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.mobile-menu .btn-primary {
    margin: 20px;
    text-align: center;
}

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

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(20, 90, 50, 0.7), rgba(123, 36, 28, 0.8));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: var(--clr-white);
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(243, 156, 18, 0.3);
    border: 1px solid var(--clr-turmeric);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--clr-white);
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--clr-turmeric);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--clr-red);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
}

.quote-box {
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid var(--clr-saffron);
    background-color: rgba(211, 84, 0, 0.05);
    display: flex;
    gap: 15px;
}

.quote-box i {
    color: var(--clr-saffron);
    font-size: 1.5rem;
}

.quote-box p {
    margin: 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--clr-green);
}

.about-images {
    position: relative;
    height: 500px;
}

.about-img {
    position: absolute;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.main-img {
    width: 80%;
    height: 80%;
    top: 0;
    right: 0;
}

.accent-img {
    width: 60%;
    height: 60%;
    bottom: 0;
    left: 0;
    border: 8px solid var(--clr-bg);
}

.experience-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--clr-saffron);
    color: var(--clr-white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 10px rgba(211, 84, 0, 0.2);
    z-index: 10;
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
    margin-top: 5px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--clr-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--clr-saffron);
    transition: var(--transition);
    z-index: -1;
}

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

.service-card:hover::before {
    width: 100%;
    background-color: var(--clr-saffron);
}

.service-card:hover h3, 
.service-card:hover p,
.service-card:hover .service-icon {
    color: var(--clr-white);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--clr-green);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card p {
    color: var(--clr-text-light);
    transition: var(--transition);
}

/* ==========================================================================
   Menu/Signature Dishes
   ========================================================================== */
.menu-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-box {
    background: var(--clr-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid;
}

.menu-box.veg {
    border-color: #27AE60; /* Pure green for veg indicator */
}

.menu-box.non-veg {
    border-color: #C0392B; /* Deep red for non-veg indicator */
}

.menu-box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
}

.veg-icon, .non-veg-icon {
    width: 20px;
    height: 20px;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.veg-icon { border-color: #27AE60; }
.non-veg-icon { border-color: #C0392B; }

.veg-icon::after, .non-veg-icon::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.veg-icon::after { background-color: #27AE60; }
.non-veg-icon::after { background-color: #C0392B; }

.menu-list li {
    margin-bottom: 25px;
}

.menu-list li:last-child {
    margin-bottom: 0;
}

.dish-info h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--clr-text);
    margin-bottom: 5px;
}

.dish-info p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
}

/* Tab Buttons */
.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--clr-text);
    background-color: var(--clr-white);
    border: 2px solid #eee;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--clr-saffron);
    color: var(--clr-saffron);
}

.tab-btn.active {
    background-color: var(--clr-saffron);
    color: var(--clr-white);
    border-color: var(--clr-saffron);
    box-shadow: var(--shadow-sm);
}

/* Tab Content */
.menu-category {
    display: none;
    animation: fadeIn 0.5s ease;
}

.menu-category.active {
    display: block;
}

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

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 15px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(20, 90, 50, 0.6), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item.video-item::after {
    display: none;
}

/* ==========================================================================
   CTA & Footer
   ========================================================================== */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(123, 36, 28, 0.9), rgba(123, 36, 28, 0.9)), url('https://images.unsplash.com/photo-1605333396914-2314d200e081?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--clr-white);
}

.cta-section h2 {
    color: var(--clr-turmeric);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clr-turmeric);
    margin-bottom: 20px;
    line-height: 1.2;
}

.footer-logo span {
    font-size: 1rem;
    color: var(--clr-white);
    font-family: var(--font-body);
}

.footer h4 {
    color: var(--clr-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--clr-saffron);
    margin-top: 5px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .menu-container {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        height: 400px;
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item:nth-child(1), .gallery-item:nth-child(4) {
        grid-column: span 1;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .desktop-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}
