/* ========================================
   HOTEL NEW BHAJAN - MAIN STYLESHEET
   A professional multi-page hotel website
   Color Palette: Royal Red (#8B0000) & Gold (#D4AF37)
   ======================================== */

/* --- CSS VARIABLES --- */
:root {
    --primary-red: #8B0000;      /* Deep Royal Red */
    --primary-gold: #D4AF37;     /* Elegant Gold */
    --dark-charcoal: #212121;
    --off-white: #FAF9F6;
    --pure-white: #ffffff;
    --light-gray: #f4f4f4;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark-charcoal);
    background-color: var(--pure-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* --- UTILITY CLASSES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* Section Headers - Used across all pages */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--dark-charcoal);
    position: relative;
    display: inline-block;
}

/* Decorative golden underline for section headers */
.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
    margin: 15px auto 0;
}

.section-header p {
    max-width: 700px;
    margin: 20px auto 0;
    color: #666;
    font-size: 1.1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-gold:hover {
    background-color: transparent;
    color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

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

.btn-red:hover {
    background-color: white;
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

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

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--dark-charcoal);
    color: #ccc;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info i {
    color: var(--primary-gold);
    margin-right: 8px;
}

.contact-info span {
    margin-right: 20px;
}

.social-icons a {
    color: #ccc;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-gold);
}

/* --- NAVIGATION BAR --- */
.navbar {
    background: var(--pure-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Scrolled navbar gets a stronger shadow */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.logo span {
    color: var(--primary-gold);
    font-size: 1rem;
    display: block;
    font-weight: 400;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--dark-charcoal);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-btn {
    padding: 10px 25px;
    font-size: 0.85rem;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* --- HERO SECTION (Used on multiple pages) --- */
.hero {
    height: 85vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

/* Dark overlay for hero images */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6));
    z-index: 1;
}

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

.hero-subtitle {
    color: var(--primary-gold);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- BREADCRUMB NAVIGATION --- */
.breadcrumb {
    background-color: var(--off-white);
    padding: 20px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--dark-charcoal);
}

.breadcrumb a:hover {
    color: var(--primary-red);
}

.breadcrumb span {
    margin: 0 10px;
    color: #999;
}

.breadcrumb .current {
    color: var(--primary-red);
    font-weight: 600;
}

/* --- CARDS (Used for menu items, rooms, team members) --- */
.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

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

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

.card-content {
    padding: 25px;
}

/* --- GRID LAYOUTS --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* --- MENU SPECIFIC STYLES --- */
.food-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    background: #fff;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cat-btn.active,
.cat-btn:hover {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

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

.menu-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-gold);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.menu-img {
    width: 120px;
    min-width: 120px;
    height: 100%;
    object-fit: cover;
}

.menu-info {
    padding: 20px;
    width: 100%;
}

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

.menu-header h4 {
    font-size: 1.2rem;
    color: var(--dark-charcoal);
}

.menu-header .price {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.1rem;
}

.menu-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.bestseller-badge {
    font-size: 0.7rem;
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Decorative pattern overlay for restaurant section */
.pattern-overlay {
    position: relative;
}

.pattern-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--primary-gold) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    pointer-events: none;
}

/* --- ROOM CARDS --- */
.room-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.room-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.room-details {
    padding: 25px;
}

.room-details h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.amenity-icons {
    margin: 15px 0;
    color: #777;
    font-size: 1.2rem;
}

.amenity-icons i {
    margin-right: 15px;
}

.room-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.room-price span {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.2rem;
}

.room-price a {
    color: var(--dark-charcoal);
    font-weight: 600;
    transition: color 0.3s;
}

.room-price a:hover {
    color: var(--primary-red);
}

/* --- STATS / PARALLAX SECTION --- */
.stats-section {
    background: linear-gradient(rgba(139, 0, 0, 0.9), rgba(139, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1596443686812-2f45229eebc3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 5px;
}

/* --- TEAM MEMBER CARDS --- */
.team-member {
    text-align: center;
}

.team-member-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-gold);
}

.team-member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-member .role {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- CONTACT FORM --- */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- CONTACT INFO BOXES --- */
.contact-info-box {
    background: var(--off-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    background: var(--primary-red);
    color: #fff;
    transform: translateY(-5px);
}

.contact-info-box i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.contact-info-box h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-info-box:hover i {
    color: #fff;
}

/* --- MAP EMBED --- */
.map-container {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- TESTIMONIALS / REVIEWS --- */
.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.testimonial p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial h5 {
    font-weight: 700;
    color: var(--dark-charcoal);
}

/* --- FEATURES LIST --- */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

/* --- BADGES AND LABELS --- */
.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

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

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

/* --- FOOTER --- */
footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 20px;
}

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

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.footer-logo span {
    color: var(--primary-gold);
}

.footer-info p {
    color: #aaa;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-info i {
    color: var(--primary-gold);
    margin-right: 10px;
    width: 20px;
}

.footer-links h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links a {
    color: #aaa;
    transition: all 0.3s ease;
}

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

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* --- SCROLL ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Stagger animation delays for grid items */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }

/* --- RESPONSIVE DESIGN --- */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* Navigation becomes hamburger menu */
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--pure-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero adjustments */
    .hero {
        height: 70vh;
        background-attachment: scroll; /* Disable parallax on mobile */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    /* Section padding reduction */
    .section-padding {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Grids become single column */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-card {
        flex-direction: column;
    }
    
    .menu-img {
        width: 100%;
        height: 200px;
    }
    
    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Stats section */
    .stats-section {
        background-attachment: scroll;
    }
    
    .stats-grid {
        flex-direction: column;
    }
    
    /* Top bar simplification */
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-info span {
        margin: 0;
    }
    
    /* Contact form */
    .contact-form {
        padding: 25px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .logo span {
        font-size: 0.85rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .top-bar,
    footer,
    .mobile-menu-toggle {
        display: none;
    }
      }
