/* BSU Hostel Management - Red & white theme, responsive */

* {
    box-sizing: border-box;
}

:root {
    --bsu-red: #b71c1c;
    --bsu-red-dark: #8b0000;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

body.page-with-navbar {
    padding-top: 56px;
}

main {
    flex: 1;
}

/* Shared navbar-custom (matches index.php - consistent across all pages) */
.navbar-custom {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    background-color: var(--bsu-red);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar-custom .logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white !important;
    flex-shrink: 0;
}

.navbar-custom .logo-placeholder {
    width: 42px;
    min-width: 42px;
    height: 42px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.navbar-custom .logo-placeholder img {
    width: 100%;
    height: 100%;
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.navbar-custom .logo-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--bsu-red);
}

.navbar-custom .logo-fallback.show {
    display: flex;
}

.navbar-custom .logo {
    font-size: 1.35rem;
    font-weight: bold;
    color: white;
}

.navbar-custom .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    align-items: center;
}

.navbar-custom .nav-links li {
    list-style: none;
}

.navbar-custom .nav-links a {
    text-decoration: none !important;
    color: white !important;
    font-weight: 500;
    transition: color 0.2s, opacity 0.2s;
}

.navbar-custom .nav-links a:hover {
    color: rgba(255,255,255,0.9);
}

.navbar-custom #navLinksDesktop {
    display: none;
}
@media (min-width: 992px) {
    .navbar-custom #navLinksDesktop {
        display: flex !important;
    }
}
.navbar-custom .mobile-menu {
    display: none;
}

.navbar-custom .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    color: white;
}

@media (max-width: 991px) {
    .navbar-custom .menu-toggle {
        display: block;
    }

    .navbar-custom .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bsu-red);
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        flex-direction: column;
        gap: 0.5rem;
    }

    .navbar-custom .mobile-menu.show {
        display: flex !important;
    }

    .navbar-custom .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Red primary buttons and links site-wide */
.btn-primary {
    background-color: var(--bsu-red);
    border-color: var(--bsu-red);
}

.btn-primary:hover {
    background-color: var(--bsu-red-dark);
    border-color: var(--bsu-red-dark);
}

a.text-primary, .text-primary {
    color: var(--bsu-red) !important;
}

.border-primary {
    border-color: var(--bsu-red) !important;
}

.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Admin sidebar */
.sidebar {
    min-height: calc(100vh - 56px);
}

.sidebar .nav-link {
    color: #333;
}

.sidebar .nav-link:hover {
    background-color: #e9ecef;
    border-radius: 4px;
}

/* Responsive: containers and typography */
.container, .container-fluid {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .table-responsive {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .display-4, .display-5 {
        font-size: 1.75rem;
    }
}

/* Site-wide animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out both;
}
.card, .room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover, .room-card:hover {
    transform: translateY(-5px);
}

/* Site footer (same as index.php) */
.site-footer {
    background: #fafafa;
    border-top: 3px solid var(--bsu-red);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    animation: fadeInUp 0.6s ease-out;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col {
    flex: 1;
    min-width: 200px;
}
.footer-title {
    color: var(--bsu-red);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-tagline {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.footer-link {
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}
.footer-link:hover {
    color: var(--bsu-red);
    transform: translateX(5px);
}
.footer-link a {
    color: #333;
    text-decoration: none;
}
.footer-link a:hover {
    color: var(--bsu-red);
}
.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.social-link {
    width: 38px;
    height: 38px;
    background: #fdeae8;
    color: var(--bsu-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.social-link:hover {
    background: var(--bsu-red);
    color: #fff;
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

/* Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bsu-red);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background: var(--bsu-red-dark);
    transform: translateY(-3px);
}

/* Result modal close button (X) */
.modal-close-btn {
    position: absolute;
    top: 0.35rem;
    right: 0.6rem;
    border: none;
    background: transparent;
    color: #666;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.modal-close-btn:hover {
    color: #000;
}
:root {
            --bsu-red: #b71c1c;
            --bsu-red-dark: #8b0000;
            --bsu-red-light: #ffebee;
            --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            
            /* Dirty white colors */
            --bg-paper: #faf7f2;
            --bg-cream: #fcf9f5;
            --bg-warm: #f8f5f0;
            --bg-soft: #f5f0e8;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            min-height: 100vh;
            font-family: 'Poppins', sans-serif;
            overflow-x: hidden;
            padding-top: 70px;
            background-color: var(--bg-paper);
        }
        html { scroll-behavior: smooth; }

        /* ========== SCROLL FADE EFFECT ========== */
        .hero-carousel {
            transition: opacity 0.3s ease;
            position: relative;
            z-index: 2;
        }
        
        .hero-carousel .carousel-overlay {
            transition: background-color 0.3s ease;
        }
        
        .hero-carousel .carousel-image {
            transition: filter 0.3s ease;
        }
        
        .hero-carousel .carousel-caption h1,
        .hero-carousel .carousel-caption p,
        .hero-carousel .carousel-caption .btn-view-rooms {
            font-family: 'Poppins', sans-serif !important; 
            transition: opacity 0.3s ease;
        }
        
        #about {
            transition: opacity 0.3s ease, transform 0.3s ease;
            position: relative;
            z-index: 1;
        }

        /* ========== SMOOTH SECTION TRANSITIONS ========== */
        .hero-section {
            position: relative;
            overflow: hidden;
        }

        /* Soft gradient transition from hero to next section */
        .hero-section::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 150px;
            /* background: linear-gradient(to bottom, transparent, rgba(250, 245, 0, 0.69)); */
            background: linear-gradient(to bottom, transparent, rgba(228, 215, 191, 0.56));
            pointer-events: none;
            z-index: 3;
        }

        /* Section with soft top fade */
        .section-fade-top {
            position: relative;
            margin-top: -50px;
            padding-top: 50px;
        }

        .section-fade-top::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(to bottom, var(--bg-paper), transparent);
            pointer-events: none;
            z-index: 1;
            opacity: 0.9;
        }

        /* ========== FLOATING ELEMENTS ========== */
        @keyframes gentleFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }
        
        .float-element {
            animation: gentleFloat 4s ease-in-out infinite;
        }
        
        .float-element-slow {
            animation: gentleFloat 6s ease-in-out infinite;
        }
        
        .float-element-delayed {
            animation: gentleFloat 5s ease-in-out infinite;
            animation-delay: 1s;
        }

        /* ========== SCROLL ANIMATIONS ========== */
        .scroll-animate {
            opacity: 0;
            transition: all 0.8s ease;
        }
        
        .scroll-animate.animated {
            opacity: 1;
        }
        
        .scroll-animate.fade-up.animated {
            animation: fadeInUp 0.8s ease forwards;
        }
        
        .scroll-animate.fade-in.animated {
            animation: fadeIn 0.8s ease forwards;
        }
        
        .scroll-animate.slide-left.animated {
            animation: slideInLeft 0.8s ease forwards;
        }
        
        .scroll-animate.slide-right.animated {
            animation: slideInRight 0.8s ease forwards;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideInLeft {
            from { opacity: 0; transform: translateX(-30px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes slideInRight {
            from { opacity: 0; transform: translateX(30px); }
            to { opacity: 1; transform: translateX(0); }
        }

        /* Stagger delays */
        .delay-1 { transition-delay: 0.1s; }
        .delay-2 { transition-delay: 0.2s; }
        .delay-3 { transition-delay: 0.3s; }
        .delay-4 { transition-delay: 0.4s; }
        .delay-5 { transition-delay: 0.5s; }

        /* ========== HERO CAROUSEL ========== */
        .hero-carousel {
            min-height: 70vh;
            position: relative;
            overflow: hidden;
        }

        .hero-carousel .carousel-item {
            min-height: 70vh;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .hero-carousel .carousel-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            z-index: -1;
        }

        .hero-carousel .carousel-overlay {
            position: absolute;
            inset: 0;
            background: rgba(46, 42, 42, 0.69);
            pointer-events: none;
            z-index: 1;
        }

        .hero-carousel .carousel-caption {
            position: relative;
            z-index: 2;
            pointer-events: auto;
            bottom: auto;
            left: 0;
            right: 0;
            padding: 2rem 1rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 70vh;
        }

        .hero-carousel .carousel-caption h1 {
            font-family: 'Poppins', sans-serif;
            font-size: clamp(1.85rem, 5.5vw, 3.75rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.15;
            margin-bottom: 0.75rem;
            text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
        }
        
        .hero-carousel .carousel-caption p {
            font-family: 'Poppins', sans-serif;
            font-size: clamp(1.05rem, 2.5vw, 1.3rem);
            font-weight: 500;
            line-height: 1.7;
            letter-spacing: 0.02em;
            margin-bottom: 1.5rem;
            text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
            max-width: 640px;
        }

        .hero-carousel .btn-view-rooms {
            padding: 0.75rem 2rem;
            font-size: 1.05rem;
            background: #b71c1c;
            color: white;
            border: none;
            border-radius: 50px;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(183,28,28,0.4);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .hero-carousel .btn-view-rooms::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
            z-index: -1;
        }
        
        .hero-carousel .btn-view-rooms:hover::before {
            left: 100%;
        }

        .hero-carousel .btn-view-rooms:hover {
            background: #8b0000;
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 25px rgba(183,28,28,0.6);
        }

        .hero-carousel .carousel-control-prev,
        .hero-carousel .carousel-control-next {
            width: 48px;
            height: 48px;
            top: 50%;
            transform: translateY(-50%);
            border-radius: 50%;
            background: rgba(0,0,0,0.5);
            opacity: 1;
            z-index: 15;
            transition: all 0.3s ease;
        }

        .hero-carousel .carousel-control-prev:hover,
        .hero-carousel .carousel-control-next:hover {
            background: rgba(183,28,28,0.8);
            transform: translateY(-50%) scale(1.1);
        }

        .hero-carousel .carousel-indicators {
            z-index: 15;
        }

        .hero-carousel .carousel-indicators button {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }
        
        .hero-carousel .carousel-indicators button.active {
            transform: scale(1.3);
            background-color: var(--bsu-red);
        }

        /* ========== ABOUT SECTION ========== */
        .about-section {
            padding: 5rem 0 3rem;
            background-color: var(--bg-cream);
            position: relative;
            z-index: 2;
        }

        .about-section .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--bsu-red);
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }
        
        .section-subtitle {
            color: var(--bsu-red);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .mission-vision-text {
            font-size: 1rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 1.5rem;
        }
        
        .btn-learn-more {
            display: inline-block;
            padding: 0.75rem 2rem;
            background-color: var(--bsu-red);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
            border: none;
        }
        
        .btn-learn-more::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
            z-index: -1;
        }

        .btn-learn-more:hover {
            background-color: var(--bsu-red-dark);
            transform: translateX(5px);
            color: white;
            box-shadow: 0 10px 25px rgba(183,28,28,0.3);
        }
        
        .btn-learn-more:hover::before {
            left: 100%;
        }
        
        /* Vision/Mission Cards */
        .vision-card, .mission-card {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid #ddd;
            position: relative;
            overflow: hidden;
            height: 100%;
            z-index: 2;
        }
        
        .vision-card:hover, .mission-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border-color: var(--bsu-red-light);
        }
        
        .vision-card .icon-box, .mission-card .icon-box {
            font-size: 2.5rem;
            color: var(--bsu-red);
            margin-bottom: 1.5rem;
        }
        
        .vision-card h4, .mission-card h4 {
            font-size: 1.3rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 1rem;
        }

        /* ========== FAQ SECTION ========== */
        .faq-section {
            padding: 4rem 0 5rem;
            background-color: var(--bg-warm);
            position: relative;
            z-index: 2;
        }
        
        .faq-section .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--bsu-red);
            margin-bottom: 1rem;
        }
        
        .faq-section .lead {
            font-size: 1.1rem;
            color: #666;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .accordion-item {
            border: 1px solid #ddd;
            margin-bottom: 1rem;
            border-radius: 12px !important;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            background: white;
            z-index: 2;
            position: relative;
        }
        
        .accordion-item:hover {
            border-color: var(--bsu-red);
            box-shadow: 0 8px 25px rgba(183,28,28,0.1);
            transform: translateY(-2px);
        }
        
        .accordion-button {
            font-weight: 600;
            color: #333;
            background-color: #fff;
            padding: 1.25rem;
            transition: all 0.3s ease;
        }
        
        .accordion-button:not(.collapsed) {
            background-color: #fff8f8;
            color: var(--bsu-red);
        }
        
        .accordion-button:focus {
            box-shadow: none;
            border-color: var(--bsu-red);
        }
        
        .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b71c1c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            transition: transform 0.4s ease;
        }
        
        .accordion-button:not(.collapsed)::after {
            transform: rotate(-180deg);
        }
        
        .accordion-body {
            padding: 1.5rem;
            background-color: #fff;
            color: #666;
            line-height: 1.7;
        }
        
        /* FAQ Icons */
        .faq-icon-wrapper {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #fff8f8;
            border-radius: 50%;
            margin-right: 1rem;
            color: var(--bsu-red);
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .accordion-item:hover .faq-icon-wrapper {
            transform: scale(1.1);
            background-color: var(--bsu-red);
            color: white;
        }
        
        /* Contact prompt box */
        .contact-prompt-box {
            background: white;
            border-radius: 16px;
            padding: 3rem;
            text-align: center;
            margin-top: 3rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid #ddd;
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
        }
        
        .contact-prompt-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        .contact-prompt-box .icon-box {
            font-size: 3rem;
            color: var(--bsu-red);
            margin-bottom: 1rem;
        }
        /* ========== FOOTER ========== */
        .site-footer {
            background: var(--bg-soft);
            border-top: 1px solid #ccc;
            padding: 3rem 0 1.5rem;
            margin-top: 2rem;
            position: relative;
            z-index: 2;
        }
        .footer-row { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
        .footer-col { flex: 1; min-width: 200px; }
        .footer-title { color: var(--bsu-red); font-weight: 700; margin-bottom: 1rem; font-size: 1.1rem; }
        .footer-tagline { color: #555; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
        .footer-link { color: #333; text-decoration: none; display: block; margin-bottom: 0.5rem; transition: var(--transition-smooth); }
        .footer-link:hover { color: var(--bsu-red); transform: translateX(5px); }
        .footer-social { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
        .social-link { 
            width: 38px; 
            height: 38px; 
            background: #fdeae8; 
            color: var(--bsu-red); 
            border-radius: 50%; 
            display: inline-flex; 
            align-items: center; 
            justify-content: center; 
            transition: var(--transition-smooth); 
        }
        .social-link:hover { 
            background: var(--bsu-red); 
            color: #fff; 
            transform: translateY(-3px) scale(1.1); 
        }
        .footer-bottom { 
            text-align: center; 
            padding-top: 1.5rem; 
            border-top: 1px solid #ccc; 
            color: #666; 
            font-size: 0.9rem; 
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 991px) {
            .hero-carousel {
                min-height: 55vh;
            }
            .hero-carousel .carousel-item {
                min-height: 55vh;
            }
            .hero-carousel .carousel-caption {
                min-height: 55vh;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-top: 60px;
            }
            .about-section {
                padding: 3rem 0 2rem;
            }
            .faq-section {
                padding: 2rem 0 3rem;
            }
            .vision-card, .mission-card {
                padding: 1.5rem;
            }
            .contact-prompt-box {
                padding: 2rem 1rem;
            }
        }

        @media (max-width: 480px) {
            .hero-carousel .carousel-caption h1 {
                font-size: 1.5rem;
            }
        }
        :root {
            --primary-red: #b71c1c;
            --dark-red: #8b0000;
            --header-height: 70px;
            --transition-speed: 0.3s;
        }
        html { scroll-behavior: smooth; }
        body {
            padding-top: var(--header-height);
            font-family: 'Poppins', sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }
        main { flex: 1; }
        .site-header {
            background-color: var(--primary-red);
            padding: 0 5%;
            height: var(--header-height);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1050;
            transition: top var(--transition-speed) ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        .site-header .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
        }
        .site-header .logo-img { 
            height: 50px; 
            width: auto; 
        }
        .site-header .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }
        .site-header .brand-main {
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        .site-header .brand-sub {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.8rem;
            font-weight: 400;
            letter-spacing: 0.3px;
        }
        .site-header .logo-text {
            color: white;
            font-size: 1.5rem;
            font-weight: 600;
            white-space: nowrap;
        }
        .site-header .nav-menu {
            display: flex;
        }
        .site-header .nav-links {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            gap: 2rem;
        }
        .site-header .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            position: relative;
            padding-bottom: 5px;
            transition: color var(--transition-speed) ease;
        }
        .site-header .nav-links a.active,
        .site-header .nav-links a:hover {
            font-weight: 700;
        }
        .site-header .nav-links a.active::after, .site-header .nav-links a:hover::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: white;
        }
        .logo-text {
            font-family: "Poppins", sans-serif;
            font-size: 18px;
            font-weight: 700;
            text-decoration: none;
            white-space: nowrap;
            line-height: 1.1;
        }  
        .logo-light{
            color: white;
            display: inline; 
        }
        
        .site-header .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 2.2rem;
            cursor: pointer;
            z-index: 1100;
        }
        @media (max-width: 992px) {
            .site-header .brand-main { font-size: 1rem; }
            .site-header .brand-sub { font-size: 0.7rem; }
            .site-header .logo-img { height: 40px; }
            .site-header .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                height: 100vh;
                background-color: rgba(139, 0, 0, 0.98);
                backdrop-filter: blur(5px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: right var(--transition-speed) ease-in-out;
            }
            .site-header .nav-menu.active { right: 0; }
            .site-header .nav-links { flex-direction: column; gap: 2.5rem; text-align: center; }
            .site-header .nav-links a { font-size: 1.5rem; }
            .site-header .menu-toggle { display: block; }
        }

                        /* Scroll to Top Button */
            .scroll-to-top {
                position: fixed;
                bottom: 30px;
                right: 30px;
                width: 50px;
                height: 50px;
                border-radius: 50%;
                background-color: var(--bsu-red, #b71c1c);
                color: white;
                border: none;
                cursor: pointer;
                display: none;
                align-items: center;
                justify-content: center;
                font-size: 24px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
                transition: all 0.3s ease;
                z-index: 99;
            }

            .scroll-to-top.show {
                display: flex;
                animation: fadeIn 0.3s ease;
            }

            .scroll-to-top:hover {
                background-color: var(--bsu-red-dark, #8b0000);
                transform: translateY(-5px);
                box-shadow: 0 6px 15px rgba(183, 28, 28, 0.4);
            }

            @keyframes fadeIn {
                from { opacity: 0; transform: scale(0.8); }
                to { opacity: 1; transform: scale(1); }
            }

            @media (max-width: 768px) {
                .scroll-to-top {
                    bottom: 20px;
                    right: 20px;
                    width: 45px;
                    height: 45px;
                    font-size: 20px;
                }
            }
            .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #b71c1c;
            color: white;
            border: none;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 4px 10px rgba(183, 28, 28, 0.3);
            transition: all 0.3s ease;
            z-index: 9999;
        }

        .scroll-to-top.show {
            display: flex;
            animation: fadeIn 0.3s ease;
        }

        .scroll-to-top:hover {
            background-color: #8b0000;
            transform: translateY(-5px);
            box-shadow: 0 6px 15px rgba(183, 28, 28, 0.5);
        }

        .scroll-to-top i {
            font-size: 28px;
            font-weight: bold;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.8); }
            to { opacity: 1; transform: scale(1); }
        }

        @media (max-width: 768px) {
            .scroll-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 20px;
            }
            .scroll-to-top i {
                font-size: 24px;
            }
        }

        /* Footer Styles (if not already in your CSS) */
        .site-footer {
            background: #fff;
            border-top: 3px solid #b71c1c;
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        .footer-row { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
        .footer-col { flex: 1; min-width: 200px; }
        .footer-title { color: #b71c1c; font-weight: 700; margin-bottom: 1rem; font-size: 1.1rem; }
        .footer-tagline { color: #555; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
        .footer-link { color: #333; text-decoration: none; display: block; margin-bottom: 0.5rem; transition: all 0.3s ease; }
        .footer-link:hover { color: #b71c1c; transform: translateX(5px); }
        .footer-social { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
        .social-link { 
            width: 38px; 
            height: 38px; 
            background: #fdeae8; 
            color: #b71c1c; 
            border-radius: 50%; 
            display: inline-flex; 
            align-items: center; 
            justify-content: center; 
            transition: all 0.3s ease; 
        }
        .social-link:hover { 
            background: #b71c1c; 
            color: #fff; 
            transform: translateY(-3px) scale(1.1); 
        }
        .footer-bottom { 
            text-align: center; 
            padding-top: 1.5rem; 
            border-top: 1px solid #eee; 
            color: #666; 
            font-size: 0.9rem; 
        }
        :root {
    --bsu-red: #b71c1c;
    --bsu-red-dark: #8b0000;
    --bsu-red-light: #ffebee;
}

.reservation-page { 
    padding: 2rem 0 4rem; 
    background: #f8f9fa; 
    min-height: 70vh; 
    font-family: "Poppins", sans-serif;
}

.reservation-card { 
    background: #fff; 
    border-radius: 16px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
    padding: 2rem; 
    max-width: 900px;
    margin: 0 auto;
}

.reservation-page h1 { 
    color: #333; 
    font-size: 1.75rem; 
    margin-bottom: 0.5rem; 
    font-weight: 600;
}

.reservation-page .subtitle { 
    color: #666; 
    margin-bottom: 1.5rem; 
    font-size: 0.95rem;
}

/* Progress Steps */
.progress-steps { 
    display: flex; 
    align-items: flex-start; 
    justify-content: space-between; 
    margin-bottom: 2rem; 
    position: relative; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
}

.progress-steps::before { 
    content: ""; 
    position: absolute; 
    top: 18px; 
    left: 0; 
    right: 0; 
    height: 3px; 
    background: #e0e0e0; 
    z-index: 0; 
}

.progress-line { 
    position: absolute; 
    top: 18px; 
    left: 0; 
    height: 3px; 
    background: var(--bsu-red); 
    z-index: 1; 
    transition: width 0.4s ease; 
}

.step { 
    position: relative; 
    z-index: 2; 
    text-align: center; 
    flex: 1; 
    min-width: 50px; 
}

.step span { 
    display: inline-flex; 
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    background: #e0e0e0; 
    color: #666; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    font-size: 0.85rem; 
}

.step.active span { 
    background: var(--bsu-red); 
    color: #fff; 
}

.step.completed span { 
    background: var(--bsu-red-dark); 
    color: #fff; 
}

.step-label { 
    font-size: 0.65rem; 
    margin-top: 0.25rem; 
    color: #666; 
}

/* Form Steps */
.form-step { 
    display: none; 
}

.form-step.active { 
    display: block; 
    animation: fadeIn 0.3s ease; 
}

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

.form-step .form-header { 
    margin-bottom: 1.5rem; 
}

.form-step .form-header h3 { 
    color: #333; 
    font-size: 1.25rem; 
    font-weight: 600;
}

.form-step .form-header p { 
    color: #666; 
    font-size: 0.9rem; 
    margin: 0.25rem 0 0; 
}

/* Form Elements */
.form-group { 
    margin-bottom: 1rem; 
}

.form-group label { 
    display: block; 
    font-weight: 500; 
    color: #333; 
    margin-bottom: 0.4rem; 
    font-size: 0.95rem; 
}

.form-control, .form-select { 
    border-radius: 8px; 
    border: 1px solid #ddd; 
    padding: 0.5rem 0.75rem; 
    width: 100%; 
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus { 
    border-color: var(--bsu-red); 
    box-shadow: 0 0 0 3px rgba(183,28,28,0.15); 
    outline: none; 
}

/* Buttons */
.form-buttons { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 2rem; 
    padding-top: 1rem; 
    border-top: 1px solid #eee; 
}

.btn-res { 
    padding: 0.6rem 1.5rem; 
    border-radius: 8px; 
    font-weight: 600; 
    border: none; 
    cursor: pointer; 
    transition: all 0.2s; 
    font-size: 0.9rem;
}

.btn-res.btn-prev { 
    background: #e9ecef; 
    color: #333; 
}

.btn-res.btn-prev:hover { 
    background: #dee2e6; 
}

.btn-res.btn-next, .btn-res.btn-submit { 
    background: var(--bsu-red); 
    color: #fff; 
}

.btn-res.btn-next:hover, .btn-res.btn-submit:hover { 
    background: var(--bsu-red-dark); 
    transform: translateY(-1px); 
}

.btn-res:disabled { 
    opacity: 0.6; 
    cursor: not-allowed; 
    transform: none; 
}

.banquet-modal-box { 
    max-width: 90% !important; 
    width: 1000px !important; 
    max-height: 90vh; 
    overflow-y: auto; 
    padding: 2rem !important;
}

.banquet-cards { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.5rem; 
    margin: 1.5rem 0;
}

.banquet-card { 
    border: 2px solid #e0e0e0; 
    border-radius: 12px; 
    overflow: hidden; 
    cursor: pointer; 
    transition: all 0.2s; 
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.banquet-card:hover { 
    border-color: var(--bsu-red); 
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(183,28,28,0.15);
}

.banquet-card.selected { 
    border-color: var(--bsu-red); 
    background: #fff8f8; 
    box-shadow: 0 0 0 3px rgba(183,28,28,0.2); 
}

.banquet-card img { 
    width: 100%; 
    height: 160px; 
    object-fit: cover; 
    background: #f5f5f5; 
    display: block;
}

.banquet-card-body { 
    padding: 1rem; 
}

.banquet-card-body strong { 
    display: block; 
    color: var(--bsu-red); 
    margin-bottom: 0.5rem; 
    font-size: 1.1rem;
}

.banquet-card-body p { 
    font-size: 0.9rem; 
    color: #666; 
    margin-bottom: 0; 
    line-height: 1.5;
}

/* Image fallback */
.banquet-card .no-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) { 
    .banquet-cards { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}

@media (max-width: 480px) { 
    .banquet-cards { 
        grid-template-columns: 1fr; 
    } 
}

/* Modal header */
.banquet-modal-box h4 {
    color: var(--bsu-red);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.banquet-modal-box .text-muted {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Modal buttons */
.banquet-modal-box .d-flex {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Room Selection Cards */
.room-select-card { 
    border: 2px solid #e0e0e0; 
    border-radius: 12px; 
    padding: 1rem; 
    margin-bottom: 0.75rem; 
    cursor: pointer; 
    transition: all 0.2s; 
}

.room-select-card:hover { 
    border-color: var(--bsu-red); 
}

.room-select-card.selected { 
    border-color: var(--bsu-red); 
    background: #fff8f8; 
}

/* Schedule Cards */
.schedule-card { 
    border: 1px solid #e0e0e0; 
    border-radius: 12px; 
    padding: 1.25rem; 
    margin-bottom: 1rem; 
    border-left: 4px solid var(--bsu-red); 
}

.schedule-card .room-name { 
    color: var(--bsu-red); 
    font-weight: 600; 
    margin-bottom: 1rem; 
}

.date-time-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr auto; 
    gap: 0.75rem; 
    align-items: end; 
    margin-bottom: 1rem; 
}

.date-time-row .date-input { 
    cursor: pointer; 
}

.schedule-list { 
    margin-top: 1rem; 
}

.schedule-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0.5rem 0; 
    border-bottom: 1px solid #eee; 
}

.schedule-item .schedule-text { 
    font-size: 0.9rem; 
}

.btn-remove { 
    background: var(--bsu-red); 
    color: #fff; 
    border: none; 
    width: 28px; 
    height: 28px; 
    border-radius: 50%; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1rem; 
    line-height: 1; 
}

.btn-remove:hover { 
    background: var(--bsu-red-dark); 
}

.btn-add-schedule { 
    background: var(--bsu-red); 
    color: #fff; 
    border: none; 
    padding: 0.5rem 1rem; 
    border-radius: 8px; 
    font-weight: 600; 
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
}

.btn-add-schedule:hover { 
    background: var(--bsu-red-dark); 
}

/* Terms Container */
.terms-container { 
    max-height: 200px; 
    overflow-y: auto; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    padding: 1rem; 
    background: #f8f9fa; 
    margin-bottom: 1rem; 
}

/* Summary Items */
.summary-item { 
    padding: 0.5rem 0; 
    border-bottom: 1px solid #eee; 
    font-size: 0.9rem; 
}

.summary-item strong { 
    display: inline-block; 
    min-width: 180px; 
    color: #555; 
}

/* Modals */
.res-modal { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
    z-index: 9999; 
    align-items: center; 
    justify-content: center; 
    padding: 1rem; 
}

.res-modal.show { 
    display: flex; 
}

.res-modal .modal-box { 
    background: #fff; 
    border-radius: 12px; 
    max-width: 500px; 
    width: 100%; 
    padding: 1.5rem; 
    max-height: 90vh; 
    overflow-y: auto; 
}

/* Miscellaneous Items */
.misc-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.misc-item { 
    padding: 0.75rem 0; 
    border-bottom: 1px solid #eee; 
}

.misc-item label { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    flex-wrap: wrap; 
    cursor: pointer; 
}

.misc-qty-inline { 
    width: 70px !important; 
    display: inline-block; 
    padding: 0.35rem 0.5rem !important; 
}

.misc-sound { 
    width: 65px !important; 
}

/* Banquet Modal */
.banquet-modal-box { 
    max-width: 90%; 
    width: 900px; 
    max-height: 90vh; 
    overflow-y: auto; 
}

.banquet-cards { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem; 
}

.banquet-card { 
    border: 2px solid #e0e0e0; 
    border-radius: 12px; 
    overflow: hidden; 
    cursor: pointer; 
    transition: all 0.2s; 
}

.banquet-card:hover { 
    border-color: var(--bsu-red); 
}

.banquet-card.selected { 
    border-color: var(--bsu-red); 
    background: #fff8f8; 
    box-shadow: 0 0 0 2px rgba(183,28,28,0.2); 
}

.banquet-card img { 
    width: 100%; 
    height: 140px; 
    object-fit: cover; 
    background: #f0f0f0; 
}

.banquet-card-body { 
    padding: 0.75rem; 
}

.banquet-card-body strong { 
    display: block; 
    color: var(--bsu-red); 
    margin-bottom: 0.25rem; 
}

.banquet-card-body p { 
    font-size: 0.85rem; 
    color: #666; 
    margin-bottom: 0; 
}

.summary-banquet-thumb { 
    width: 60px; 
    height: 60px; 
    object-fit: cover; 
    border-radius: 8px; 
    vertical-align: middle; 
    margin-right: 0.5rem; 
    background: #f0f0f0; 
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-info {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    color: #0c5460;
}

.btn-outline-danger {
    border: 1px solid var(--bsu-red);
    background: transparent;
    color: var(--bsu-red);
    padding: 0.25rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-outline-danger:hover {
    background: var(--bsu-red);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) { 
    .date-time-row { 
        grid-template-columns: 1fr; 
    } 
    .banquet-cards { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}

@media (max-width: 480px) { 
    .banquet-cards { 
        grid-template-columns: 1fr; 
    } 
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-2, .col-md-4, .col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

hr {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid #eee;
}

.text-danger { color: var(--bsu-red); }
.small { font-size: 0.85rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.ms-2 { margin-left: 0.5rem; }
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.fst-italic { font-style: italic; }
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --red:       #b71c1c;
    --red-dark:  #8b0000;
    --red-glow:  rgba(183,28,28,0.18);
    --gold:      #c9a84c;
    --ink:       #0f0f0f;
    --off-white: #f9f5f0;
    --warm-gray: #e8e2d9;
    --mid-gray:  #9e9990;
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--off-white);
    color: var(--ink);
    overflow-x: hidden;
}

/* ═══════════════ HERO ═══════════════ */
.rs-hero {
    height: 100vh;
    min-height: 600px;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.rs-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(183,28,28,0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 80%, rgba(139,0,0,0.2) 0%, transparent 55%);
}

.rs-hero-grain {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    animation: grain-shift 8s steps(2) infinite;
    pointer-events: none;
}

@keyframes grain-shift {
    0%   { transform: translate(0,0); }
    10%  { transform: translate(-2%,-3%); }
    20%  { transform: translate(2%,1%); }
    30%  { transform: translate(-1%,2%); }
    40%  { transform: translate(3%,-1%); }
    50%  { transform: translate(-2%,3%); }
    60%  { transform: translate(1%,-2%); }
    70%  { transform: translate(-3%,1%); }
    80%  { transform: translate(2%,2%); }
    90%  { transform: translate(-1%,-1%); }
    100% { transform: translate(0,0); }
}

.hero-shape {
    position: absolute;
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 50%;
    animation: float-shape 14s ease-in-out infinite;
    pointer-events: none;
}
.hero-shape-1 { width: 520px; height: 520px; top: -120px; right: -160px; }
.hero-shape-2 { width: 300px; height: 300px; bottom: 40px; left: -80px; animation-delay: -5s; }
.hero-shape-3 { width: 180px; height: 180px; top: 30%; right: 20%; animation-delay: -9s; border-color: rgba(183,28,28,0.18); }

@keyframes float-shape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%       { transform: translateY(-22px) rotate(5deg); }
    66%       { transform: translateY(10px) rotate(-4deg); }
}

.rs-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: hero-up 0.9s var(--ease-expo) 0.2s forwards;
}
.hero-eyebrow::before, .hero-eyebrow::after {
    content: '';
    width: 40px; height: 1px;
    background: var(--gold); opacity: 0.55;
}

.rs-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: white;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: hero-up 1s var(--ease-expo) 0.4s forwards;
}

.rs-hero h1 em {
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 2px var(--red);
    display: block;
}

.rs-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
    font-weight: 300;
    opacity: 0;
    animation: hero-up 1s var(--ease-expo) 0.6s forwards;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: hero-up 1s var(--ease-expo) 0.8s forwards;
}

.btn-primary-hero {
    background: var(--red);
    color: white;
    text-decoration: none;
    padding: 0.9rem 2.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-primary-hero:hover { color: white; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(183,28,28,0.45); }

.btn-ghost-hero {
    background: transparent;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    padding: 0.9rem 2.25rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-ghost-hero:hover { color: white; border-color: rgba(255,255,255,0.5); }

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0;
    animation: hero-up 1s var(--ease-expo) 1.2s forwards;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1) translateY(0); }
    50%       { opacity: 0.9; transform: scaleY(1.15) translateY(4px); }
}

@keyframes hero-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ SECTION INTROS ═══════════════ */
.section-intro {
    padding: 7rem 2rem 0;
    max-width: 1280px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.7s var(--ease-expo);
}
.section-label span { width: 28px; height: 2px; background: var(--red); display: inline-block; }
.section-intro.revealed .section-label { opacity: 1; transform: translateY(0); }

.section-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(28px);
    transition: all 0.85s var(--ease-expo) 0.1s;
}
.section-intro.revealed .section-headline { opacity: 1; transform: translateY(0); }

.section-sub {
    font-size: 1rem;
    color: var(--mid-gray);
    max-width: 500px;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.85s var(--ease-expo) 0.2s;
}
.section-intro.revealed .section-sub { opacity: 1; transform: translateY(0); }

/* ═══════════════ FUNCTION ROOMS ═══════════════ */
.function-rooms-section {
    padding: 4rem 2rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
}

.fr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
}

/* Cards slide up from below on scroll */
.fr-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    cursor: pointer;
    opacity: 0;
    transform: translateY(70px);
    transition:
        opacity 0.85s var(--ease-expo),
        transform 0.85s var(--ease-expo),
        box-shadow 0.4s ease;
}
.fr-card.revealed { opacity: 1; transform: translateY(0); }
.fr-card:hover    { box-shadow: 0 22px 55px rgba(183,28,28,0.14); }

.fr-img-wrap {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.fr-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-expo);
}
.fr-card:hover .fr-img-wrap img { transform: scale(1.09); }

.fr-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,15,15,0.5) 0%, transparent 55%);
}

.fr-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 3px;
}

.fr-photo-count {
    position: absolute;
    bottom: 1rem; right: 1rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.fr-body { padding: 1.5rem 1.75rem 1.75rem; }

.fr-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.45rem;
}

.fr-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.fr-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--mid-gray);
    font-weight: 500;
}
.fr-meta-item i { color: var(--red); font-size: 0.82rem; }

.fr-desc {
    font-size: 0.86rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fr-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--red);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: gap 0.3s ease;
}
.fr-link:hover { gap: 0.85rem; color: var(--red-dark); }

/* ═══════════════ BANQUET STYLES ═══════════════ */
.banquet-section {
    background: var(--ink);
    padding: 6rem 0;
    margin: 4rem 0;
    overflow: hidden;
    position: relative;
}

.banquet-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 0% 50%, rgba(183,28,28,0.22) 0%, transparent 60%);
    pointer-events: none;
}

.banquet-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.banquet-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.banquet-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.9s var(--ease-expo);
}
.banquet-title em { color: var(--gold); font-style: italic; }
.banquet-section.revealed .banquet-title { opacity: 1; transform: translateX(0); }

.banquet-subtitle {
    color: rgb(255, 255, 255);
    font-size: 0.95rem;
    max-width: 280px;
    line-height: 1.7;
    font-weight: 300;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.9s var(--ease-expo) 0.15s;
}
.banquet-section.revealed .banquet-subtitle { opacity: 1; transform: translateX(0); }

.banquet-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--red) rgba(255,255,255,0.07);
}
.banquet-track::-webkit-scrollbar { height: 3px; }
.banquet-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 10px; }
.banquet-track::-webkit-scrollbar-thumb { background: var(--red); border-radius: 10px; }

/* Banquet cards slide in from the right */
.b-card {
    min-width: 275px;
    max-width: 275px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(70px);
    transition:
        opacity 0.75s var(--ease-expo),
        transform 0.75s var(--ease-expo),
        background 0.3s ease,
        border-color 0.3s ease;
}
.b-card.revealed { opacity: 1; transform: translateX(0); }
.b-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(183,28,28,0.4); }

.b-card-img {
    height: 175px;
    overflow: hidden;
}
.b-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-expo);
    filter: brightness(0.85) saturate(0.9);
}
.b-card:hover .b-card-img img { transform: scale(1.08); filter: brightness(1) saturate(1.1); }

.b-card-body { padding: 1.2rem 1.4rem 1.4rem; }

.b-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.45rem;
}

.b-card-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

/* ═══════════════ GUEST ROOMS — SPLIT REVEAL ═══════════════ */
.guest-rooms-section {
    padding: 4rem 2rem 8rem;
    max-width: 1280px;
    margin: 0 auto;
}

.gr-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 4rem;
}

.gr-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.09);
    min-height: 400px;
}

/* Image slides in from LEFT (odd) or RIGHT (even) */
.gr-img {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-90px);
    transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}

.gr-card.even .gr-img {
    order: 2;
    transform: translateX(90px);
}

.gr-card.revealed .gr-img {
    opacity: 1;
    transform: translateX(0);
}

.gr-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.1s var(--ease-expo);
}
.gr-card:hover .gr-img img { transform: scale(1.05); }

/* Text slides in from RIGHT (odd) or LEFT (even) */
.gr-body {
    background: white;
    padding: 2.75rem 3.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s var(--ease-expo) 0.15s, transform 1s var(--ease-expo) 0.15s;
}

.gr-card.even .gr-body {
    order: 1;
    transform: translateX(-60px);
}

.gr-card.revealed .gr-body {
    opacity: 1;
    transform: translateX(0);
}

.gr-number {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--warm-gray);
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -3px;
    user-select: none;
}

.gr-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 0.45rem;
}

.gr-floor {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.gr-desc {
    font-size: 0.915rem;
    color: #777;
    line-height: 1.8;
    margin-bottom: 1.4rem;
    font-weight: 300;
}

.gr-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}

.gr-feat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--off-white);
    border: 1px solid var(--warm-gray);
    padding: 0.32rem 0.85rem;
    border-radius: 50px;
    font-size: 0.77rem;
    color: #555;
    font-weight: 500;
}
.gr-feat i { color: var(--red); font-size: 0.78rem; }

.gr-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--warm-gray);
}

.gr-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--ink);
}

.gr-price sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    color: var(--mid-gray);
    font-weight: 400;
}

.btn-book {
    background: var(--red);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.65rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-book:hover {
    color: white;
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(183,28,28,0.38);
}

/* ═══════════════ CTA ═══════════════ */
.cta-section {
    margin: 2rem 2rem 6rem;
    border-radius: 22px;
    background: linear-gradient(130deg, var(--ink) 0%, #1c0505 100%);
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-expo);
}
.cta-section.revealed { opacity: 1; transform: translateY(0); }

.cta-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(183,28,28,0.22), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
    animation: cta-breathe 5s ease-in-out infinite;
}
@keyframes cta-breathe {
    0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
    50%       { transform: translate(-50%,-50%) scale(1.25); opacity: 0.65; }
}

.cta-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    position: relative; z-index: 2;
}

.cta-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    position: relative; z-index: 2;
}

.cta-sub {
    color: rgba(255,255,255,0.45);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    position: relative; z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative; z-index: 2;
}

.btn-cta-primary {
    background: var(--red);
    color: white;
    text-decoration: none;
    padding: 1rem 2.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-cta-primary:hover {
    color: white;
    background: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(183,28,28,0.5);
}

.btn-cta-ghost {
    background: transparent;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    padding: 1rem 2.75rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.18);
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-cta-ghost:hover { color: white; border-color: rgba(255,255,255,0.5); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
    .fr-grid { grid-template-columns: repeat(2, 1fr); }

    /* On smaller screens, guest cards stack vertically */
    .gr-card, .gr-card.even { grid-template-columns: 1fr; min-height: auto; }
    .gr-card.even .gr-img { order: 0; }
    .gr-card.even .gr-body { order: 1; transform: translateY(40px); }
    .gr-img { height: 280px; transform: translateY(60px) !important; }
    .gr-card.even .gr-img { transform: translateY(60px) !important; }
    .gr-body { transform: translateY(40px) !important; padding: 2rem 2.25rem; }
    .gr-card.revealed .gr-img,
    .gr-card.revealed .gr-body { transform: translateY(0) !important; }
}

@media (max-width: 768px) {
    .fr-grid { grid-template-columns: 1fr; }
    .banquet-section { padding: 4rem 0; }
    .cta-section { padding: 3.5rem 1.75rem; margin: 2rem 1rem 4rem; }
    .rs-hero h1 em { -webkit-text-stroke-width: 1px; }
    .gr-body { padding: 1.75rem; }
    .gr-number { font-size: 3.5rem; }
}