/* CAVE DETAILS */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #fcfcfc;
    color: #333;
    overflow-x: hidden;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 50px;
}

.nav-logo-img {
    width: 120px;
    height: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-item {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 0;
    color: #fff;
}

.navbar.scrolled .nav-logo-img {
    filter: invert(100%);
}

.navbar.scrolled .nav-item {
    color: #222;
}

.nav-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.navbar.scrolled .nav-item::after {
    background-color: #222;
}

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

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #fff;
    min-width: 220px;
    padding: 15px 0;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #f0f0f0;
}

.dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown li a {
    display: block;
    padding: 12px 25px;
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.dropdown li a:hover {
    color: #000;
    background-color: #f5f5f5;
}

/* CTA */
.btn-cta {
    border: 1px solid #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #fff;
    color: #000;
}

.navbar.scrolled .btn-cta {
    border-color: #222;
    color: #222;
}

.navbar.scrolled .btn-cta:hover {
    background-color: #222;
    color: #fff;
}

/* Hero Section */
.cave-hero {
    position: relative;
    height: 75vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 60px;
}

.cave-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-content .hero-tagline {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Layout */
.cave-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    flex: 1;
}

/* SIDEBAR */
.sidebar {
    position: sticky;
    top: 130px;
    height: fit-content;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
    color: #333;
}

.toc-link {
    display: block;
    font-size: 0.95rem;
    color: #555;
    padding: 12px 15px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
    border-left: 4px solid transparent;
    background-color: #f9f9f9;
    margin-bottom: 5px;
}

.toc-link:hover {
    background-color: #e9e9e9;
}

.toc-link.active {
    background-color: #e9e9e9;
    color: #000;
    border-left: 4px solid #000;
}

/* Content Section */
.content-section {
    margin-bottom: 60px;
}

.section-heading {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #111;
    text-transform: uppercase;
    border-left: 6px solid #000;
    padding-left: 20px;
}

.content p {
    margin-bottom: 18px;
    color: #444;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.8;
}

/* Quick Stats Bar */
.stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 25px 30px;
    background: #f8f8f8;
    border-radius: 10px;
    border: 1px solid #eee;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Image Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.gallery-grid.two-col img {
    height: 300px;
}

/* Video Embed */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #f0f4f8, #e8edf3);
    border-left: 5px solid #333;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.highlight-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.highlight-box ul {
    padding-left: 20px;
    list-style-type: disc;
}

.highlight-box li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #444;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 50px 30px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    margin-bottom: 40px;
}

.cta-section h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 25px;
}

.cta-section .btn-book {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #111;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-section .btn-book:hover {
    background: #ddd;
    transform: scale(1.05);
}

.cta-section p {
    color: white;
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: #faf8f5;
    padding: 60px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
    display: block;
    filter: brightness(0) opacity(0.8);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .cave-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .cave-hero {
        height: 55vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .gallery-grid img {
        height: 220px;
    }

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

    .stats-bar {
        flex-direction: column;
        gap: 15px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-menu {
        display: none;
    }
}