/* Vasantha Bhavan - CSS */

:root {
    /* Colors */
    --primary: #c2410c; /* Warm Orange */
    --primary-dark: #9a3412;
    --secondary: #991b1b; /* Deep Red */
    --accent: #f59e0b; /* Golden Yellow */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #ffffff;
    --bg-cream: #fffbeb; /* Creamy background */
    --border: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transition */
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

.section {
    padding: 80px 0;
}

.bg-cream {
    background-color: var(--bg-cream);
}

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

.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(194, 65, 12, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 65, 12, 0.6);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}

/* Typography */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    color: var(--text-main);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

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

/* Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

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

.logo-icon {
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.logo-text h1 {
    font-size: 1.5rem;
    line-height: 1;
    margin: 0;
    color: var(--primary);
}

.logo-text span {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--secondary);
    font-weight: 600;
}

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

.nav-links li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/hero_dosa_sambar_1773585404246.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

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

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.about-img:hover {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 5px solid white;
}

.experience-badge .num {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.menu-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

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

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

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

.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: var(--text-main);
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 50px;
    font-family: var(--font-heading);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.menu-info {
    padding: 24px;
}

.menu-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.menu-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.menu-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.menu-order-btn:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.service-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--bg-cream);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

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

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

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
}

.review-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: var(--bg-cream);
    z-index: 0;
}

.stars {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.review-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.reviewer {
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
    position: relative;
    z-index: 1;
}

/* Contact & Map */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    padding: 50px;
}

.contact-details {
    list-style: none;
    margin-top: 30px;
}

.contact-details li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.c-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-cream);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-muted);
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* CTA */
.cta.section {
    background: linear-gradient(rgba(194, 65, 12, 0.9), rgba(153, 27, 27, 0.9)), url('assets/restaurant_interior_1773585441913.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.cta h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 80px 0 20px;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.branding p {
    color: #94a3b8;
    margin-bottom: 25px;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.links ul {
    list-style: none;
}

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

.links ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.info p {
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.info p i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* WhatsApp Sticky */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    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;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

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

/* Scroll Animations */
.reveal-up, .reveal-left, .reveal-right, .fade-in-up {
    opacity: 0;
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.fade-in-up { transform: translateY(20px); }

.active.reveal-up, .active.reveal-left, .active.reveal-right, .fade-in-up.active {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        gap: 15px;
    }

    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .experience-badge {
        width: 90px;
        height: 90px;
        padding: 15px;
        bottom: 10px;
        right: 10px;
    }
    .experience-badge .num {
        font-size: 1.2rem;
    }
    .experience-badge .text {
        font-size: 0.6rem;
    }
}
