:root {
    --crimson: #880000;
    --crimson-dark: #5c0000;
    --crimson-light: #b22222;
    --gold: #caa035;
    --gold-light: #ffd700;
    --gold-pale: rgba(202, 160, 53, 0.12);
    --ivory: #fdf8f1;
    --white: #ffffff;
    --text-dark: #2a1a1a;
    --text-mid: #5c4040;
    --text-muted: #8a7070;
    --border: #e8ddd5;
    --shadow-sm: 0 2px 12px rgba(136, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(136, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(136, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: 90px;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}


header {
    background: #880000;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: top 0.4s ease-in-out;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: 0;
    flex-shrink: 0;
}


.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}




.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow: visible;
    white-space: nowrap;
    justify-content: flex-start;
    margin-left: 0.5rem;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    background: none !important;
}


.nav-links a:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}


.nav-links a::before,
.nav-links a::after {
    content: none !important;
    background: none !important;
}


.nav-links a.active {
    color: #ffd700 !important;
    border: 2px solid #caa035;
    background: transparent !important;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(202, 160, 53, 0.6);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}


.nav-links a.active:hover {
    background: rgba(202, 160, 53, 0.1);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(202, 160, 53, 0.8);
}

@keyframes goldPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(202, 160, 53, 0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(202, 160, 53, 0.9);
    }
}

.nav-links a.active {
    animation: goldPulse 3s infinite ease-in-out;
}




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


.page-header {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9), rgba(178, 34, 34, 0.9)), url('../Photos/Facilities/cover.jpg');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    opacity: 7;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


.facilities-overview {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.facilities-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.facilities-intro h2 {
    font-size: 2.5rem;
    color: #8b0000;
    margin-bottom: 1rem;
    position: relative;
}

.facilities-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.facilities-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}



.event-halls {
    padding: 5rem 0;
    background: #caa035;
    color: white;
}


#preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader img {
    width: 200px;
    height: auto;
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, #880000, #caa035);
    z-index: 10000;
    transition: width 0.2s ease-out;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.hall-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hall-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hall-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.hall-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffd700;
    text-align: center;
}

.hall-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hall-features {
    list-style: none;
    margin-top: 1rem;
}

.hall-features li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.hall-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}


.photo-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.photo-section h4 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.photo-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.photo-box {
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.photo-box:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffd700;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    color: #fff;
    margin: 0 8px;
}

.breadcrumb span {
    color: #fff;
    font-weight: 600;
}


.event-functions {
    padding: 5rem 0;
    background: #8B0000;
    color: white;
}

.functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.function-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.function-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.function-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.function-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}


.wedding-grounds {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.grounds-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.ground-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ground-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ground-image {
    height: 200px;
    background: linear-gradient(45deg, #8b0000, #b22222);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.ground-content {
    padding: 2rem;
}

.ground-content h3 {
    font-size: 1.8rem;
    color: #8b0000;
    margin-bottom: 1rem;
}

.ground-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ground-features {
    list-style: none;
}

.ground-features li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.ground-features li::before {
    content: '🌟';
    position: absolute;
    left: 0;
}


.cta-section {
    padding: 4rem 0;
    background: #caa035;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #880000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    margin: 0 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}


footer {
    background: #8b0000;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding: 25px 15px;
    background: #8b1c10;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.4px;
    color: #f1f1f1;
}


.footer-tagline {
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 8px;
    color: #ffd7a0;
}


.footer-text span {
    font-weight: 600;
    color: #ffffff;
}


.footer-text a {
    color: gold;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-text a:hover {
    color: #ffd700;
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════
   CHAT BOT
════════════════════════════════════════════════════════ */
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    z-index: 9998;
    overflow: hidden;
    display: none;
    flex-direction: column;
    max-height: 520px;
    border: 1.5px solid var(--border);
}

.chat-container.show {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
    color: white;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-icons {
    display: flex;
    gap: 14px;
}

.contact-icons a {
    color: white;
    font-size: 18px;
    transition: opacity 0.2s;
}

.contact-icons a:hover {
    opacity: 0.8;
}

.chat-header button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.chat-header button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.chat-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 280px;
    background: #f9f5f0;
}

.bot-message {
    background: white;
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 4px 16px 16px 16px;
    font-size: 0.88rem;
    color: var(--text-dark);
    max-width: 85%;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}

.user-message {
    background: linear-gradient(135deg, var(--crimson), #a00000);
    color: white;
    padding: 10px 14px;
    border-radius: 16px 4px 16px 16px;
    font-size: 0.88rem;
    max-width: 85%;
    align-self: flex-end;
    line-height: 1.5;
}

.chat-input {
    display: flex;
    padding: 12px;
    gap: 8px;
    border-top: 1px solid var(--border);
    background: white;
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.88rem;
    font-family: 'Jost', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(202, 160, 53, 0.15);
}

.chat-input button {
    background: var(--crimson);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.chat-input button:hover {
    background: var(--crimson-dark);
    transform: scale(1.04);
}

.chat-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--gold), #ffd700);
    color: var(--crimson);
    border: none;
    border-radius: 50%;
    width: 62px;
    height: 62px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 8px 28px rgba(202, 160, 53, 0.45);
    transition: transform 0.3s, box-shadow 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 12px 35px rgba(202, 160, 53, 0.6);
}

.back-to-top {
    position: fixed;
    left: 30px;
    top: -80px;
    width: 50px;
    height: 50px;
    background-color: #b30000;
    color: #ffd700;
    border: 1px solid #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    z-index: 999;
    transition: top 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.back-to-top.show {
    top: calc(100vh - 80px);
}


.back-to-top:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-5px);
}

.mobile-nav-header,
.close-menu {
    display: none;
}

.brand span {
    display: none;
}

.menu-toggle {
    width: 34px;
    height: 26px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 11px;
    width: 70%;
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}


@media (max-width: 1024px) {
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .brand img {
        height: 48px;
        border-radius: 50%;
    }

    .brand span {
        display: inline-block;
        font-size: 1.4rem;
        font-weight: 600;
        color: #fff;
        letter-spacing: 0.5px;
    }

    nav {
        padding: 0 1rem;
        justify-content: space-between;
    }

    .logo {
        margin-left: 0;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .logo img {
        height: 35px;
        margin-right: 8px;
    }

    .nav-links {
        gap: 0.1rem;
        overflow-x: auto !important;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0.5rem;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
}

@media (max-width: 992px) {

    .chat-container {
        width: 320px;
        right: 20px;
        bottom: 95px;
        max-height: 480px;
    }

    .chat-messages {
        height: 260px;
    }

    .chat-toggle {
        width: 60px;
        height: 60px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
    }
}


@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1101;
    }

    body.menu-open {
        overflow: hidden;
    }

    .menu-toggle {
        display: block;
        z-index: 1100;
    }


    .nav-links {
        position: fixed;
        top: 0;
        left: -120%;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(160deg, #8b0000, #5c0000);
        flex-direction: column;
        padding: 2.5rem 2rem;
        transition: left 0.45s cubic-bezier(0.77, 0, 0.18, 1);
        z-index: 1050;
    }


    .nav-links.active {
        left: 0;
    }


    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 3rem;
    }

    .mobile-nav-header img {
        height: 50px;
        border-radius: 50%;
    }

    .close-menu {
        background: none;
        border: none;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
    }


    .nav-links li {
        list-style: none;
        margin-bottom: 1.4rem;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideFade 0.5s ease forwards;
        margin-top: -5px;
    }


    .nav-links.active li:nth-child(2) {
        animation-delay: 0.1s;
    }

    .nav-links.active li:nth-child(3) {
        animation-delay: 0.15s;
    }

    .nav-links.active li:nth-child(4) {
        animation-delay: 0.2s;
    }

    .nav-links.active li:nth-child(5) {
        animation-delay: 0.25s;
    }

    .nav-links.active li:nth-child(6) {
        animation-delay: 0.3s;
    }

    .nav-links.active li:nth-child(7) {
        animation-delay: 0.35s;
    }

    .nav-links.active li:nth-child(8) {
        animation-delay: 0.4s;
    }

    .nav-links.active li:nth-child(9) {
        animation-delay: 0.45s;
    }

    .nav-links a {
        font-size: 1.25rem;
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 0.5px;
        display: inline-block;
        position: relative;
    }


    .nav-links a::after {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 0%;
        height: 2px;
        background: gold;
        transition: width 0.3s ease;
    }

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



    @keyframes slideFade {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .page-header h1 {
        font-size: 2rem;
    }

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

    .functions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grounds-container {
        grid-template-columns: 1fr;
    }

    .cta-button {
        display: block;
        margin: 1rem auto;
    }

    .chat-container {
        width: 94%;
        right: 3%;
        bottom: 85px;
        max-height: 80vh;
        border-radius: 18px;
    }

    .chat-header {
        padding: 14px;
    }

    .contact-icons a {
        font-size: 16px;
        margin-right: 12px;
    }

    .chat-messages {
        height: 55vh;
        padding: 16px;
        font-size: 14px;
    }

    .chat-input input {
        font-size: 14px;
    }

    .chat-input button {
        padding: 10px 18px;
    }

    .chat-toggle {
        width: 55px;
        height: 55px;
        font-size: 20px;
        bottom: 18px;
        right: 18px;
    }
}



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

    .chat-container {
        width: 96%;
        right: 2%;
        bottom: 75px;
        max-height: 85vh;
        border-radius: 16px;
    }

    .chat-messages {
        height: 58vh;
        padding: 14px;
        font-size: 13px;
    }

    .bot-message,
    .user-message {
        font-size: 13px;
        max-width: 92%;
    }

    .chat-input {
        padding: 10px;
    }

    .chat-input input {
        padding: 9px 12px;
        font-size: 13px;
    }

    .chat-input button {
        padding: 9px 14px;
        font-size: 13px;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 18px;
        bottom: 15px;
        right: 15px;
    }

    /* Prevent overlap with back-to-top button */
    .back-to-top {
        left: 15px;
    }
}

@media (max-width: 600px) {
    #preloader img {
        width: 100px;
    }

    .contact-widget {
        bottom: 15px;
        right: 15px;
    }

    .contact-main-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .contact-option {
        width: 48px;
        height: 48px;
        font-size: 22px;
        margin-bottom: 8px;
        line-height: 48px;
    }
}

/* ============================================================
   PREMIUM LIGHTBOX
   ============================================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    /* Start hidden */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

/* Blurred dark backdrop */
.lightbox-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* Image wrapper for animation */
.lightbox-img-wrap {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 900px);
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.82) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-overlay.show .lightbox-img-wrap {
    transform: scale(1) translateY(0);
}

#lightboxImg {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(202, 160, 53, 0.2);
    display: block;
    object-fit: contain;
}

/* Counter label */
.lightbox-counter {
    position: absolute;
    bottom: -2.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

/* Close button */
#lightboxClose {
    position: fixed;
    top: 1.2rem;
    right: 1.4rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(202, 160, 53, 0.4);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s;
    font-style: normal;
    line-height: 1;
}

#lightboxClose:hover {
    background: rgba(139, 0, 0, 0.7);
    border-color: #8b0000;
    transform: rotate(90deg) scale(1.1);
}

/* Prev / Next buttons */
.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(202, 160, 53, 0.35);
    color: #caa035;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    padding: 0;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(202, 160, 53, 0.2);
    border-color: #caa035;
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1) translateX(-3px);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1) translateX(3px);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .lightbox-prev {
        left: 0.4rem;
    }

    .lightbox-next {
        right: 0.4rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    #lightboxClose {
        top: 0.8rem;
        right: 0.8rem;
        width: 38px;
        height: 38px;
    }
}

body {}

/* ============================================================
   FACILITIES – Complete Redesign CSS
   ============================================================ */

/* ---- Section Tag Label ---- */
.fac-section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #caa035;
    text-align: center;
    padding: 2.5rem 0 0.5rem;
}

.fac-section-tag.light {
    color: #fff;
    opacity: 0.6;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.fac-intro {
    background: linear-gradient(160deg, #1a0000 0%, #3d0000 50%, #1a0000 100%);
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fac-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(202, 160, 53, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.fac-intro-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.fac-intro-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #caa035;
    margin-bottom: 1.2rem;
}

.fac-intro-heading {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.fac-intro-heading span {
    color: #caa035;
}

.fac-intro-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.fac-intro-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.fac-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.fac-stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: #caa035;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.fac-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.fac-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(202, 160, 53, 0.3);
}

/* ============================================================
   EVENT HALLS — Numbered Strips
   ============================================================ */
.fac-halls {
    background: #f5f0e8;
    padding-bottom: 5rem;
}

.fac-halls-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fac-hall-strip {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    padding: 3.5rem 0;
    align-items: start;
    transition: background 0.3s ease;
}

.fac-hall-strip:hover {
    background: rgba(202, 160, 53, 0.04);
}

.fac-hall-strip.alt {
    background: rgba(255, 255, 255, 0.5);
}

.fac-hall-strip.alt:hover {
    background: rgba(202, 160, 53, 0.06);
}

.fac-hall-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(139, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    padding-top: 0.3rem;
    user-select: none;
}

.fac-hall-content {
    padding-right: 3rem;
}

.fac-hall-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.fac-hall-head h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #8b0000;
    font-family: 'Poppins', sans-serif;
}

.fac-hall-type {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.fac-hall-type.ac {
    background: #8b0000;
    color: white;
}

.fac-hall-type.nonac {
    background: rgba(139, 0, 0, 0.1);
    color: #8b0000;
    border: 1px solid rgba(139, 0, 0, 0.25);
}

.fac-hall-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.fac-hall-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.fac-hall-feats li {
    font-size: 0.88rem;
    color: #444;
    padding-left: 1.2rem;
    position: relative;
}

.fac-hall-feats li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #caa035;
    font-weight: 700;
}

/* Hall photos */
.fac-hall-photos {
    padding-left: 1rem;
}

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

.fac-photo-box {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
}

.fac-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.fac-photo-box:hover img {
    transform: scale(1.07);
}

/* ============================================================
   FUNCTIONS WE HOST — Bold Icon Grid
   ============================================================ */
.fac-functions {
    background: linear-gradient(160deg, #8b0000 0%, #5c0000 100%);
    padding: 2rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.fac-functions::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.fac-functions-header {
    text-align: center;
    padding: 2rem 2rem 3rem;
}

.fac-functions-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fac-functions-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.fac-func-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
}

.fac-func-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 2.2rem 1.5rem;
    text-align: center;
    transition: background 0.25s, transform 0.25s;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.fac-func-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: #caa035;
    transition: transform 0.3s ease;
}

.fac-func-card:hover {
    background: rgba(202, 160, 53, 0.1);
    transform: translateY(-3px);
}

.fac-func-card:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.fac-func-icon {
    font-size: 2rem;
    color: #caa035;
    margin-bottom: 0.9rem;
}

.fac-func-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.fac-func-card p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

/* ============================================================
   WEDDING GROUNDS — Accordion
   ============================================================ */
.fac-grounds {
    background: #fff;
    padding-bottom: 5rem;
}

.fac-grounds-header {
    text-align: center;
    padding: 1rem 2rem 3rem;
}

.fac-grounds-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #8b0000;
    margin-bottom: 0.5rem;
}

.fac-grounds-header p {
    color: #777;
    font-size: 1rem;
}

.fac-grounds-accordion {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fac-ground-item {
    border: 1.5px solid #caa035;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(202, 160, 53, 0.12);
    margin-bottom: 0.5rem;
}

.fac-ground-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.04), transparent);
    border: none;
    cursor: default;
    text-align: left;
    gap: 1rem;
}

.fac-ground-trigger-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.fac-ground-num {
    font-size: 2rem;
    font-weight: 900;
    color: #caa035;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    min-width: 48px;
}

.fac-ground-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #8b0000;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.fac-ground-sub {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 2px;
}

.fac-ground-arrow {
    display: none;
}

/* Accordion body now permanently visible */
.fac-ground-body {
    display: block;
}

.fac-ground-body-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    padding: 0 2rem 2rem;
    align-items: start;
}

.fac-ground-desc p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.fac-ground-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.fac-ground-feats li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #444;
}

.fac-ground-feats li i {
    color: #caa035;
    margin-top: 3px;
    flex-shrink: 0;
}

.fac-ground-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .fac-hall-strip {
        grid-template-columns: 60px 1fr;
    }

    .fac-hall-photos {
        grid-column: 2;
        padding-left: 0;
        margin-top: 1.5rem;
    }

    .fac-func-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .fac-hall-strip {
        grid-template-columns: 1fr;
        padding: 2.5rem 0;
    }

    .fac-hall-number {
        display: none;
    }

    .fac-hall-content {
        padding-right: 0;
    }

    .fac-hall-photos {
        grid-column: 1;
        /* Reset from the 1000px media query */
        margin-top: 1.5rem;
        padding-left: 0;
    }

    /* Make photos in one single line, scrollable for better visibility */
    .fac-photo-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 8px;
        scrollbar-width: none;
        /* Firefox */
    }

    .fac-photo-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .fac-photo-grid .fac-photo-box {
        flex: 0 0 85%;
        max-width: 300px;
    }

    .fac-func-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fac-ground-body-inner {
        grid-template-columns: 1fr;
    }

    .fac-ground-photos {
        grid-template-columns: repeat(2, 1fr);
    }

    .fac-intro-stats {
        gap: 1rem;
    }

    .fac-stat-num {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .fac-func-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}