/* 
   Hotel Shivrudra - Ultra Premium Cinematic Styles 
*/

:root {
    /* Luxury Dark Palette */
    /* Luxury Dark Palette - Deep Espresso/Warm Tone */
    --color-bg: #181411;
    /* Deep Warm Brown (Not Black) */
    --color-bg-secondary: #211c18;
    /* Lighter Espresso */
    --color-bg-card: #2a2420;
    /* Mocha */

    /* Text Colors */
    --color-text-main: #e6e6e6;
    /* Soft White */
    --color-text-muted: #888888;

    /* Gold Accents - Richer, Metallic Tone */
    --color-gold: #c5a028;
    --color-gold-hover: #e0b835;
    --color-gold-dim: rgba(197, 160, 40, 0.15);

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --spacing-container: 1400px;
    /* Wider, grander feel */
    --spacing-section: 120px 20px;
    /* More breathing room */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    /* More readable, elegant line height */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography - Cinematic Scale */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    /* Tight, modern editorial look */
}

h2.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Responsive, massive headings */
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    display: block;
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    /* Wide tracking for luxury feel */
    margin-bottom: 4rem;
    opacity: 0.9;
}

.gold-text {
    color: var(--color-gold);
}

.center-text {
    text-align: center;
}

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Buttons - Premium Feel */
.btn {
    display: inline-block;
    padding: 18px 42px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 0;
    /* Sharp edges for luxury properties */
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-gold);
    color: #000;
    border: 1px solid var(--color-gold);
    box-shadow: 0 10px 30px rgba(197, 160, 40, 0.2);
    /* Soft gold glow */
}

.btn-primary:hover {
    background-color: #fff;
    color: #000;
    /* White hover for high contrast luxury */
    border-color: #fff;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 20px;
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background-color: rgba(197, 160, 40, 0.05);
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 40px 0;
    transition: padding 0.5s ease;
}

.logo img {
    height: 90px;
    width: auto;
    border-radius: 50%;
    border: 2px solid rgba(197, 160, 40, 0.5);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Cinematic Background - Breathing Image */
.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Cinematic Overlay - Living Gradient */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(24, 20, 17, 0.2) 0%, rgba(24, 20, 17, 0.8) 70%, rgba(24, 20, 17, 1) 100%);
    z-index: 1;
}

/* Atmospheric Particles/Fog (Simulated via Gradient Animation) */
.hero-atmosphere {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0) 40%, rgba(197, 160, 40, 0.05) 50%, rgba(0, 0, 0, 0) 60%);
    background-size: 300% 300%;
    animation: atmosphereMove 10s infinite linear;
    pointer-events: none;
}

.hero-content {
    z-index: 3;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    /* Massive cinematic title */
    line-height: 1;
    margin-bottom: 2rem;
    opacity: 0;
    /* Handled by GSAP */
    transform: translateY(30px);
}

.hero-tagline {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtagline {
    font-size: 1rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
}

.cta-group {
    opacity: 0;
    transform: translateY(20px);
}

/* Sections */
.section {
    padding: var(--spacing-section);
    position: relative;
}

/* Features Cards - Glassmorphism hint */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-bg-card);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Very subtle border */
    text-align: center;
    transition: all 0.4s ease;
    cursor: default;
}

.feature-card:hover {
    background: #1a1a1a;
    border-color: var(--color-gold);
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Section Dividers - Cinematic */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.3;
}

/* About Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    display: block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    filter: brightness(0.9) contrast(1.1);
    /* Cinematic grade */
}

/* Decor box behind image */
.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    z-index: -1;
    opacity: 0.5;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 400px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 20, 17, 0.9);
    /* Match new deep espresso theme */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 5;
}

.gallery-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-gold);
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-overlay.active .gallery-text {
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    /* Artistic touch */
    transition: transform 1s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Reviews - Minimalist Luxury */
.reviews-section {
    background: var(--color-bg-secondary);
}

.review-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    border: none;
    /* Removed border */
    background: transparent;
    /* Cleaner look */
}

.review-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 30px;
}

.review-box cite {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
}

/* Menu Tabs - Clean Lines */
.menu-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    /* Fix for spacing */
    justify-content: center;
    flex-wrap: wrap;
    /* Ensure mobile responsiveness */
    gap: 40px;
    margin-bottom: 60px;
}

.tab-link {
    background: transparent;
    border: none;
    /* No boxes */
    padding: 15px 0;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    border-radius: 0;
}

.menu-category-title {
    grid-column: 1 / -1;
    color: var(--color-gold);
    font-size: 1.5rem;
    margin: 40px 0 20px;
    border-bottom: 1px solid rgba(197, 160, 40, 0.2);
    padding-bottom: 10px;
    font-family: var(--font-heading);
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.4s ease;
}

.tab-link:hover {
    color: #fff;
}

.tab-link.active {
    color: var(--color-gold);
    background: transparent;
    border: none;
}

.tab-link.active::after {
    width: 100%;
}

.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Align to bottom text */
    padding-bottom: 5px;
    margin-bottom: 25px;
    position: relative;
    border-bottom: none;
    /* remove old border */
}

/* Dotted Leader Line */
.menu-item::before {
    content: '';
    position: absolute;
    bottom: 8px;
    /* Align with baseline */
    left: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.menu-item .name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    /* Larger */
    letter-spacing: 0.5px;
    color: #fff;
    background: var(--color-bg);
    /* Cover dots */
    padding-right: 15px;
    /* Space from dots */
    z-index: 1;
    font-weight: 500;
}

.menu-item .price {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-gold);
    background: var(--color-bg);
    /* Cover dots */
    padding-left: 15px;
    /* Space from dots */
    z-index: 1;
}

/* Thali Grid Improvement */
.thali-grid {
    gap: 40px;
}

.thali-item {
    display: block;
    /* Reset flex from .menu-item */
    background: rgba(255, 255, 255, 0.03);
    /* Subtle glass like bg */
    border: 1px solid rgba(197, 160, 40, 0.2);
    padding: 30px;
}

.thali-item .thali-header {
    border-bottom: 1px solid rgba(197, 160, 40, 0.4);
    margin-bottom: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thali-item .name {
    font-size: 1.5rem;
    color: var(--color-gold);
}

.thali-item .price {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    /* Prevent price from wrapping */
}

/* Base adjustment for menu dots height */
.menu-item::before {
    bottom: 12px;
}

.thali-desc {
    font-size: 1rem;
    color: #ccc;
    font-style: italic;
    line-height: 1.8;
}


/* Footer - Advanced 3-Column Layout */
.footer {
    background: #000 !important;
    /* Force true black */
    color: #fff;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(197, 160, 40, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-logo {
    height: 60px;
    width: auto;
    border-radius: 50%;
    margin-bottom: 25px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-desc {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-rating .stars {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-right: 10px;
}

.footer-rating .rating-text {
    color: #888;
    font-size: 0.85rem;
}

.column-title {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.contact-details p {
    color: #bbb;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.designer-text {
    font-size: 0.8rem !important;
    letter-spacing: 1px;
}

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--color-gold);
    color: #000;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(197, 160, 40, 0.3);
}

#backToTop:hover {
    background-color: #fff;
    transform: translateY(-5px);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 25px;
    }
}

@keyframes atmosphereMove {
    0% {
        background-position: 0% 50%;
        opacity: 0.5;
    }

    50% {
        background-position: 100% 50%;
        opacity: 0.8;
    }

    100% {
        background-position: 0% 50%;
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .btn {
        padding: 15px 30px;
        width: 100%;
        margin: 10px 0 0 0;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .menu-tabs {
        gap: 20px;
        justify-content: flex-start;
        overflow-x: scroll;
    }

    .review-text {
        font-size: 1.4rem;
    }
}