/* ========================= */
/*          FONTS            */
/* ========================= */
@font-face {
    font-family: "TomeUnknown";
    src: url("../font/Tomeoftheunknown-3gL3.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ========================= */
/*        VARIABLES          */
/* ========================= */
:root { 
    --lime: #D9ED92; 
    --glass: rgba(255, 255, 255, 0.08); 
}

/* ========================= */
/*          BODY             */
/* ========================= */
body { 
    background: #050a05; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    color: white; 
    overflow-x: hidden; 
    scroll-behavior: smooth; 
}

/* ========================= */
/*       FIXED BACKGROUND    */
/* ========================= */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.9)), url('../images/11.jpg');
    background-size: cover;
    background-position: center;
}

/* ========================= */
/*       VITALS TICKER       */
/* ========================= */
.vitals-bar { 
    background: var(--lime); 
    color: #050a05; 
    font-family: 'Space Grotesk'; 
    font-weight: 700; 
    padding: 10px 0; 
    text-transform: uppercase; 
    z-index: 1050; 
    position: relative; 
}

/* ========================= */
/*          NAVBAR           */
/* ========================= */
.navbar {
    backdrop-filter: blur(20px);
    background: linear-gradient(to bottom right, rgba(9,14,9,1), rgba(9,14,9,0.4));
    border-radius: 60px;
    border: 2px solid rgba(255,255,255,0.18);
    padding: 14px 26px;
}

.navbar-nav { gap: 8px; }

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 10px 20px !important;
    border-radius: 30px;
    transition: all 0.35s ease;
}

.nav-link:hover {
    background: var(--lime);
    color: #050a05 !important;
    box-shadow: 0 0 0 4px rgba(217,237,146,0.25);
}

.navbar .btn-light {
    background: var(--lime);
    color: #050a05;
    font-weight: 800;
    letter-spacing: 1px;
    border: none;
}

.navbar .btn-light:hover {
    box-shadow: 0 0 0 5px rgba(217,237,146,0.3);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* MOBILE NAV */
@media (max-width: 991.98px) {
    .navbar {
        border-radius: 32px;
        padding: 18px;
        position: relative;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .nav-link { display: inline-block; }

    .navbar-toggler {
        position: absolute;
        top: 24px;
        right: 20px;
    }
}

/* ========================= */
/*         HERO SECTION      */
/* ========================= */
.hero-title {
    font-family: "TomeUnknown";
    font-weight: normal;
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 1.5;
    padding-top: 20px;
    padding-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--lime));
    -webkit-background-clip: text;
    color: transparent;
}

.display-5 {
    letter-spacing: 4px;
    white-space: normal;
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================= */
/*          GLASS CARDS      */
/* ========================= */
.feature-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 30px;
    transition: 0.4s;
    height: 100%;
}

/* ========================= */
/*      GALLERY & MAP        */
/* ========================= */
.gallery-img { 
    width: 100%; 
    height: 400px; 
    object-fit: cover; 
    border-radius: 25px; 
    border: 1px solid rgba(255,255,255,0.1); 
}

.map-container {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.map-container iframe {
    width: 100%;
    height: 65vh;
    display: block;
    filter: invert(90%) hue-rotate(180deg) contrast(110%) brightness(85%);
    transition: transform 1.5s ease;
}

.map-container:hover iframe { transform: scale(1.03); }

/* Map overlay text */
.map-overlay {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background: rgba(5,10,5,0.8);
    backdrop-filter: blur(25px);
    padding: 32px 60px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    text-align: center;
}

#location::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(to bottom, transparent, #050a05);
    pointer-events: none;
}

/* ========================= */
/*          FOOTER           */
/* ========================= */
footer {
    position: relative;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 90px 0 40px;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--lime);
    box-shadow: 0 0 20px rgba(217,237,146,0.6);
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--lime);
    transform: translateX(4px);
}

/* ========================= */
/*          BUTTONS          */
/* ========================= */
.btn-wild {
    background: var(--lime);
    color: #050a05;
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 800;
    border: none;
    transition: all 0.3s ease;
}

.btn-wild:hover {
    background: var(--lime);
    color: #050a05;
    border: 2px solid var(--lime);
    box-shadow: 0 0 0 4px rgba(217,237,146,0.25);
}

/* ========================= */
/*         BOOKING MODAL     */
/* ========================= */
.booking-glass {
    background: rgba(10, 15, 10, 0.9);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 10px;
}

.booking-field label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 5px;
}

.booking-input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 14px 18px;
    border-radius: 15px;
    font-weight: 600;
}

.booking-input:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--lime);
    box-shadow: 0 0 0 0.15rem rgba(217,237,146,0.3);
    color: white;
}

.booking-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
}

/* ========================= */
/*          DROPDOWNS        */
/* ========================= */
.dropdown:hover .dropdown-menu { display: block; }

.glass-input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    border-radius: 14px;
    padding: 14px 18px;
}

.dropdown-menu {
    background: rgba(5,10,5,0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
}

.dropdown-item {
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
}

.dropdown-item:hover {
    background: rgba(217,237,146,0.15);
    color: var(--lime);
}

/* ========================= */
/*       ROOM SELECTION      */
/* ========================= */
.room-dropdown {
    background: rgba(10, 15, 10, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.15);
    z-index: 1055;
}

.room-box { color: white; }

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.room-summary {
    font-size: 14px;
    opacity: 0.75;
}

.edit-icon { cursor: pointer; color: var(--lime); }

.room-actions { display: flex; gap: 10px; }

.btn-room {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    border: 1.5px solid var(--lime);
    background: transparent;
    color: var(--lime);
}

.btn-room:hover {
    background: var(--lime);
    color: #050a05;
}

/* ========================= */
/*       ABOUT SECTION       */
/* ========================= */
#about-pench .row { align-items: stretch; }

#about-pench .feature-card {
    height: 100%;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#about-pench p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 1rem;
    letter-spacing: 0.2px;
}

#about-pench h2 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    line-height: 1.1;
}

#about-pench .lead {
    font-size: 1.35rem;
    max-width: 720px;
    margin-inline: auto;
}

.about-image-grid {
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.about-image-grid > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.about-image-grid > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-image-grid > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

.about-image-grid img:hover {
    transform: scale(1.03);
    filter: brightness(1.08);
}

@media (max-width: 991px) {
    .about-image-grid {
        height: auto;
        grid-template-rows: auto;
    }
    #about-pench .feature-card {
        margin-top: 2rem;
        padding: 32px 22px;
    }
}

#about-pench .col-lg-5,
#about-pench .col-lg-7 { display: flex; flex-direction: column; }

#about-pench .about-overlay { background: rgba(0,0,0,0.5); }

/* ========================= */
/*      ACCOMMODATION IMAGES */
/* ========================= */
.accommodation-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.5s ease;
}

.accommodation-image:hover { transform: scale(1.05); }

@media (max-width: 992px) {
    .accommodation-image { max-height: 200px; }
}

/* ========================= */
/*        FACILITIES CARDS   */
/* ========================= */
.facility-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.facility-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #D9ED92, #52b788);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.facility-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.facility-desc { font-size: 0.9rem; color: #6c757d; }

/* ========================= */
/*       POLICY SECTION      */
/* ========================= */
.policy-section {
    position: relative;
    padding: 120px 0;
}

.policy-overlay {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55));
    z-index: 1;
}

.info-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--lime);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.icon-circle {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--lime);
    color: #050a05;
}

.info-list { padding-left: 18px; margin: 0; }

.info-list li { margin-bottom: 10px; opacity: 0.85; line-height: 1.6; }

/* ========================= */
/*       MEDIA SLIDER        */
/* ========================= */
.swiper { padding: 10px 0 40px; }

.swiper-slide { width: 260px; }

.media-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    border: 1.5px solid rgba(255,255,255,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.media-box:hover { border-color: var(--lime); box-shadow: 0 15px 35px rgba(0,0,0,0.5); }

.media-box:hover .visual-img {
    transform: scale(1.08);
    filter: brightness(1.08);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lime);
    font-size: 20px;
    transition: all 0.3s ease;
}

.media-box:hover .play-icon {
    background: var(--lime);
    color: #050a05;
    box-shadow: 0 0 25px rgba(217,237,146,0.6);
}

@media (max-width: 768px) { .swiper-slide { width: 220px; } }
@media (max-width: 480px) { .swiper-slide { width: 180px; } }
/* ============================= */
/* MOBILE HORIZONTAL SPACE FIX   */
/* ============================= */

/* Prevent any horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix Swiper overflow */
.swiper {
    width: 100%;
    overflow: hidden;
}

/* Prevent images causing overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Fix container overflow on small devices */
@media (max-width: 768px) {

    /* Reduce navbar margin only on mobile */
    .navbar {
        margin: 10px 10px;
    }

    /* Prevent container side overflow */
    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Fix absolute overlays if any */
    .map-overlay {
        padding: 20px;
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Fix any section using large horizontal padding */
    section {
        overflow-x: hidden;
    }

}

