:root {
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-gold: #ffb700;
    --accent-orange: #ff6b00;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Utilities */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    z-index: 200;
    /* Above mobile menu */
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

nav a:hover {
    opacity: 1;
}

nav a:hover::after {
    width: 100%;
}

.cta-btn {
    padding: 10px 24px;
    background: var(--accent-orange);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 200;
    /* Above mobile menu */
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 200;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: 0.3s ease;
}

/* Menu Open Animation */
.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../assets/bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.hero-content {
    width: 45%;
    z-index: 20;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 183, 0, 0.1);
    border: 1px solid rgba(255, 183, 0, 0.3);
    color: var(--accent-gold);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.secondary-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Antigravity Stage */
.antigravity-stage {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    perspective: 1000px;
    pointer-events: none;
    z-index: 10;
}

.float-item {
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
    /* Assets are now transparent PNGs */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    /* Remove any border artifacts */
    outline: none;
    border: none;
}

#dosa {
    top: 15%;
    right: 18%;
    width: 40vw;
    z-index: 15;
    animation: slow-rotate 30s infinite linear;
}

#idli {
    top: 55%;
    right: 55%;
    width: 14vw;
    z-index: 20;
    animation: gentle-bob 7s infinite ease-in-out;
}

#vada {
    top: 25%;
    right: 60%;
    width: 12vw;
    z-index: 19;
    animation: soft-spin 15s infinite linear reverse;
}

#sambar {
    bottom: -10%;
    right: 5%;
    width: 25vw;
    z-index: 16;
    animation: liquid-float 9s infinite ease-in-out;
}

/* Animations */
@keyframes slow-rotate {
    0% {
        rotate: 0deg;
    }

    50% {
        rotate: 5deg;
    }

    100% {
        rotate: 0deg;
    }
}

@keyframes gentle-bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

@keyframes soft-spin {
    0% {
        rotate: 0deg;
    }

    50% {
        rotate: 180deg;
    }

    100% {
        rotate: 360deg;
    }
}

@keyframes liquid-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Menu Page Styles */
.page-header {
    padding: 150px 5% 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.menu-section {
    padding: 50px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.menu-category {
    margin-bottom: 80px;
}

.category-title {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-10px);
    background: var(--bg-glass);
    border-color: rgba(255, 183, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dish-image-placeholder {
    width: 100%;
    height: 200px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
}

/* If we had images for dishes, we'd style them floating here */
.menu-card img {
    width: 100%;
    height: auto;
    /* Added filter also for menu cards if using the same assets */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.menu-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

.dish-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.dish-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-btn:hover {
    background: var(--accent-orange);
}

/* About Page Styles */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 50px 0;
}

.about-text {
    flex: 1;
}

.about-visual {
    flex: 1;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.05);
    /* Placeholder */
    border-radius: 20px;
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-info,
.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: var(--accent-gold);
    color: black;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
    header {
        padding: 20px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 150;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    nav a {
        font-size: 1.8rem;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        width: 100%;
        margin-bottom: 50px;
        z-index: 20;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Adjust floating elements for mobile to not cover text */
    .antigravity-stage {
        width: 100%;
        height: 50vh;
        position: relative;
        margin-top: 0;
        z-index: 10;
        overflow: visible;
        margin-bottom: 50px;
    }

    .float-item {
        position: absolute;
    }

    #dosa {
        width: 80vw;
        right: 10vw;
        top: 0;
    }

    #idli {
        width: 25vw;
        right: 70vw;
        top: 60%;
    }

    #vada {
        width: 20vw;
        right: 5vw;
        top: 30%;
    }

    #sambar {
        width: 45vw;
        right: 5vw;
        bottom: -20%;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
    }

    /* Hide the CTA button in header on mobile to save space, or move it into nav */
    header .cta-btn {
        display: none;
    }
}
/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background: #050505;
    padding: 80px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.developer-link {
    color: var(--accent-orange);
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

