@import url('https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&family=Mukta:wght@300;400;600;700&display=swap');

:root {
    /* Color Palette - Authentic Kanha Olive/Gold */
    --primary: #A19200;
    --primary-light: #FFD700;
    --secondary: #333333;
    --accent: #EF4444;
    --bg-light: #f9f9f9;
    --bg-white: #FFFFFF;
    --text-main: #222222;
    --text-muted: #666666;

    /* Spacing */
    --section-padding: 4rem 1.5rem;
    --container-max-width: 1200px;

    /* Shadow & Radius */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --radius-md: 12px;
    --radius-lg: 30px;

    --transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mukta', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

.font-logo {
    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Nav System */
nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-max-width);
    z-index: 1000;
    padding: 0.4rem 1.8rem;
    transition: var(--transition);
    border-radius: 100px;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    top: 1rem;
    color: var(--text-main);
}

nav:not(.scrolled) {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    color: white;
    /* Default color for floating black nav */
}

nav.scrolled .nav-links a {
    color: var(--text-main);
}

.nav-logo img {
    height: 45px;
    transition: var(--transition);
}

nav.scrolled .nav-logo img {
    height: 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 15px rgba(161, 146, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(161, 146, 0, 0.4);
    background: #c2af00;
}

.btn-outline {
    background: transparent;
    border: 3px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45)), url('images/homebg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 6rem 1.5rem;
}

.hero-logo {
    width: 280px;
    margin: 0 auto 1.5rem;
    animation: fadeInDown 1.2s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Styles */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
    text-align: left;
}

.footer-grid h4 {
    margin-top: 0.5rem;
}

.footer-contact-list {
    margin-top: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    color: var(--secondary);
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 5px;
}

/* Plan Section */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* About & Contact Specific Grids */
.about-vision-grid,
.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 4rem;
    /* Clearance for sticky nav */
}

.plan-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.9);
}

.plan-card .img-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.plan-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s var(--transition);
}

.plan-card:hover img {
    transform: scale(1.1);
}

.plan-card .plan-btn-label {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
    z-index: 10;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(161, 146, 0, 0.1);
    text-transform: uppercase;
}

.plan-desc {
    padding: 2.5rem 2rem 2rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
    text-align: center;
}

/* Gallery Section */
.gallery-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.1s linear;
    width: max-content;
}

.gallery-item {
    flex: 0 0 350px;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Icons */
.service-icon-box {
    text-align: center;
    padding: 3rem;
    background: #fff;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.service-icon-box:hover {
    transform: translateY(-10px);
}

.service-icon-box img {
    width: 90px;
    margin: 0 auto 2rem;
}

/* Floating Elements */
.floating-order {
    position: fixed;
    bottom: 3rem !important;
    right: 8rem !important;
    /* Shifted left to make room for back-to-top */
    z-index: 1000;
    background: var(--primary);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    font-weight: 800;
    box-shadow: 0 15px 35px rgba(161, 146, 0, 0.5);
    animation: bounce 4s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* Scroll Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.9);
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author::before {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--primary);
}

/* Footer Styles */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-partners {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.footer-partners img {
    height: 40px;
    filter: grayscale(1) brightness(0.6) invert(1);
    opacity: 0.6;
    transition: var(--transition);
}

.footer-partners img:hover {
    filter: none;
    opacity: 1;
}

.footer-contact-list {
    color: #D1D5DB;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 1.1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact-list i {
    color: var(--primary);
    width: 20px;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Background Animation */
#bg-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #fbfbfb;
}

#bg-animation-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Food Particles */
.food-particle {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    border-radius: 50%;
    transition: transform 15s linear;
}

.particle-cumin {
    width: 4px;
    height: 8px;
    border-radius: 40%;
    background: #967444;
}

.particle-pepper {
    width: 5px;
    height: 5px;
    background: #332b21;
}

.particle-chili {
    width: 6px;
    height: 10px;
    border-radius: 20%;
    background: #b01b1b;
}

.particle-herb {
    width: 8px;
    height: 4px;
    border-radius: 50%;
    background: #4a6741;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 55px;
    height: 55px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    border: 1px solid #eee;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 3px;
}

nav:not(.scrolled) .hamburger span {
    background: white;
}

.hamburger.active span {
    background: var(--secondary) !important;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.mobile-nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
}

.mobile-nav-links a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--primary);
}

/* Responsive Polish */
@media (max-width: 992px) {
    nav {
        width: 95%;
        padding: 0.6rem 1.2rem;
        top: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .plan-grid,
    .menu-grid,
    .footer-grid,
    .about-vision-grid,
    .contact-grid-container,
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .footer-grid h4 {
        margin-top: 2.5rem;
        /* Better spacing for mobile footer headings */
    }

    .about-vision-grid div:nth-child(2) {
        order: -1;
        /* Image on top for Vision section on mobile */
    }

    .menu-sections-nav {
        gap: 0.5rem;
        padding: 1rem;
    }

    .menu-sections-nav a {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .floating-order {
        right: 1rem !important;
        bottom: 1rem !important;
        padding: 0.7rem 1.2rem !important;
        font-size: 0.75rem !important;
        border-radius: 50px !important;
    }

    #back-to-top {
        bottom: 5rem;
        right: 1.2rem;
        width: 40px;
        height: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-partners {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        justify-content: center;
    }

    .footer-partners>div {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 481px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
}