/* ==========================================================================
   Variables & Resets
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #470212;     /* Deep Maroon */
    --secondary: #e2dfd9;   /* Light Neutral */
    --accent: #c2a86c;      /* Gold Tone */
    --dark: #1d1e20;        /* Dark / Footer */
    
    /* Gradients */
    --gradient-overlay: linear-gradient(to right, rgba(29, 30, 32, 0.9), rgba(71, 2, 18, 0.6));
    --gradient-primary: linear-gradient(135deg, #470212 0%, #2a010a 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing & Utilities */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: #faf9f6; /* Off-white for general background */
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 900px;
}

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

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.pb-0 { padding-bottom: 0 !important; }
.bg-primary { background-color: var(--primary); color: #fff; }
.bg-secondary { background-color: var(--secondary); }
.bg-dark { background-color: var(--dark); color: #fff; }
.text-light { color: #fff; }
.accent-text { color: var(--accent); }
.relative { position: relative; }
.rounded-img { border-radius: var(--border-radius); }
.shadow-lg { box-shadow: var(--box-shadow); }

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title .accent-text {
    font-style: italic;
}

.section-subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    font-family: var(--font-body);
    white-space: nowrap;
}

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

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(71, 2, 18, 0.4);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
}

.btn-accent:hover {
    background-color: #d8be82;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(194, 168, 108, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
    height: 45px; /* Reduced from 60px */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* Reduced padding */
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

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

.header.scrolled {
    background-color: rgba(29, 30, 32, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled .logo,
.header.scrolled .nav-link {
    color: #fff;
}

.header.scrolled .btn-outline {
    border-color: var(--accent);
    color: var(--accent);
}

.header.scrolled .btn-outline:hover {
    background-color: var(--accent);
    color: var(--dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff; /* Starts white on hero */
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1100;
}

.logo img {
    max-width: 180px;
    height: auto;
}

@media (max-width: 768px) {
    .logo img {
        max-width: 130px;
    }
}

.navbar {
    display: flex;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: #fff; /* Starts white */
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    white-space: nowrap;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent) !important; /* Ensure it overrides .scrolled .nav-link color on hover */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1100;
}

.header:not(.scrolled) .btn-outline {
    color: #fff;
    border-color: #fff;
}
.header:not(.scrolled) .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 70vh;
    min-height: 500px;
    background: url('assets/images/hero_banner1.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding-top: 80px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease both;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

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

.about-text {
    padding-right: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
}

.feature i {
    color: var(--accent);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 30px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border: 5px solid #faf9f6;
    box-shadow: var(--box-shadow);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

/* ==========================================================================
   Menu Section
   ========================================================================== */
.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: 2px solid transparent;
    padding: 8px 24px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--primary);
    border-color: var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.menu-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

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

.card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.veg-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.veg-badge.veg i { color: #2e7d32; }
.veg-badge.non-veg i { color: #c62828; }

.card-content {
    padding: 25px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.card-header h3 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--primary);
    flex: 1;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-left: 10px;
}

.card-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Hide elements for filtering logic via JS */
.menu-card.hidden {
    display: none;
}

/* ==========================================================================
   Buffet Section
   ========================================================================== */
.buffet {
    background: var(--gradient-primary);
    text-align: center;
    color: #fff;
}

.buffet-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
}

.buffet-container {
    max-width: 800px;
    margin: 0 auto;
}

.buffet-title {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.buffet-timing {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.buffet-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}

.buffet-pricing {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.price-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(194, 168, 108, 0.3);
}

.price-box .label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--secondary);
}

.price-box .amount {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(71, 2, 18, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.5);
    transition: var(--transition);
}

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

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 4px;
    animation: zoomIn 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity:0}
    to {transform:scale(1); opacity:1}
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.quote-icon {
    font-size: 2.5rem;
    color: rgba(194, 168, 108, 0.3);
    margin-bottom: 10px;
}

.review-text {
    font-size: 1.15rem;
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-card .rating {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1rem;
}

.customer-name {
    color: var(--primary);
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

/* ==========================================================================
   Footer & Contact form
   ========================================================================== */
.footer {
    background-color: var(--dark);
    color: #fff;
}

.border-top-accent {
    border-top: 4px solid var(--accent);
}

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

.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: #999;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

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

.contact-list, .hours-list {
    color: #999;
}

.contact-list li, .hours-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-list i {
    color: var(--accent);
    margin-top: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    color: #fff;
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.form-control::placeholder {
    color: #888;
}

select.form-control option {
    background-color: var(--dark);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #777;
    font-size: 0.9rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: #fff;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translate(0);
}

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

/* Media Queries */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-top: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .d-none-mobile {
        display: none !important;
    }

    .nav-actions {
        gap: 12px; /* Reduced gap from 25px */
    }

    .btn-outline {
        padding: 0 15px;
        font-size: 0.9rem;
        height: 38px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1050;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .buffet-pricing {
        flex-direction: column;
        gap: 20px;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        padding: 15px;
        bottom: -20px;
        left: -10px;
    }
    
    .experience-badge .years {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 110px;
    }
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
    }
}
