/********** Template CSS **********/
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    right: 30px;        /* distance from right */
    bottom: 30px;       /* distance from bottom */
    z-index: 999;
    width: 45px;        /* small square size */
    height: 45px;       /* small square size */
    font-size: 1.1rem;  /* arrow size */
    padding: 0;         /* remove extra padding */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/* Make carousel images full screen height */
.vh-100-carousel {
    height: 100vh;       /* full viewport height */
    object-fit: cover;   /* scale and crop without distortion */
}


@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .vh-100-carousel {
        height: 80vh;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: .5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    margin-top: -110px;
    padding-top: 180px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}









/********** Gallery Start **********/

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Owl nav arrows – side by side */
.gallery-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.gallery-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #0d6efd !important;
    color: #fff !important;
    font-size: 18px;
    transition: 0.3s;
}

.gallery-carousel .owl-nav button:hover {
    background: #000 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }
}
/********** Gallery End **********/





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

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Price badge */
.price-badge {
    background: rgba(13, 110, 253, 0.95);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* Optional: softer status badge */
.badge.bg-success {
    background: rgba(25, 135, 84, 0.95) !important;
}


/* Base status badge */
.room-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    backdrop-filter: blur(4px);
}

/* Available */
.room-status.available {
    background: rgba(25, 135, 84, 0.95); /* green */
}

/* Booked */
.room-status.booked {
    background: rgba(220, 53, 69, 0.95); /* red */
}

/* Reserved */
.room-status.reserved {
    background: rgba(255, 193, 7, 0.95); /* amber */
    color: #212529;
}

/* Maintenance / Disabled */
.room-status.maintenance,
.room-status.inactive {
    background: rgba(108, 117, 125, 0.95); /* gray */
}

/* Optional subtle hover */
.room-item:hover .room-status {
    transform: translateY(-1px);
    transition: all 0.2s ease;
}


/* Optional hover effect */
.room-item:hover .room-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .room-image-wrapper {
        height: 200px;
    }
}




.spinner-logo {
    width: 25px;        /* adjust size */
    height: 25px;
    animation: spin 2s linear infinite;  /* spin animation */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* ================================
   ROOM CARD REFINEMENT
================================ */

/* Card Base */
.room-item {
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease;
    background: #fff;
}

/* Hover Lift */
.room-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08) !important;
}

/* =================================
   IMAGE SECTION
================================= */

.room-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Consistent clean image ratio */
    overflow: hidden;
}

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

/* Subtle zoom on hover */
.room-item:hover .room-image {
    transform: scale(1.05);
}

/* =================================
   STATUS BADGE
================================= */

.room-status {
    background: #ffffff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =================================
   PRICE BADGE
================================= */

.price-badge {
    background: #ffffff;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =================================
   CONTENT AREA
================================= */

.room-item .p-4 {
    padding: 20px !important;
}

/* Typography Improvements */
.room-item h1,
.room-item h2,
.room-item h3,
.room-item h4,
.room-item h5,
.room-item h6 {
    font-weight: 600;
    margin-bottom: 8px;
}

.room-item .text-muted {
    font-size: 14px;
    color: #717171 !important;
}

/* Amenities Row */
.room-item small {
    font-size: 13px;
    font-weight: 500;
}

/* Remove harsh border look */
.room-item small.border-end {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Description */
.room-item .text-body {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* =================================
   BUTTON REFINEMENT
================================= */

.room-item .btn {
    border-radius: 10px !important;
    font-size: 14px;
    padding: 6px 16px !important;
    transition: all 0.25s ease;
}

/* Subtle hover polish */
.room-item .btn:hover {
    transform: translateY(-2px);
}

/* Dark button cleaner */
.room-item .btn-dark {
    background: #000;
    border: none;
}

/* Primary button less bulky */
.room-item .btn-primary {
    border: 1px solid currentColor;
}

/* =================================
   SPACING IMPROVEMENTS
================================= */

.room-item .d-flex.mb-3 {
    margin-bottom: 12px !important;
}

.room-item p {
    margin-bottom: 14px;
}

/* =================================
   RESPONSIVE TWEAKS
================================= */

@media (max-width: 768px) {
    .room-item {
        border-radius: 14px !important;
    }

    .room-item .p-4 {
        padding: 16px !important;
    }

    .room-item .btn {
        font-size: 13px;
        padding: 5px 14px !important;
    }
}


/*** Button ***/
.btn {

    border-radius: 16px; /* adjust: 6px, 12px, 20px, etc */
}

/* Apply to only content images, not icons or logos */

img.rounded,
img.img-fluid {
    border-radius: 16px !important;
}


/* ================================
   GLOBAL UI POLISH (FINAL TOUCH)
================================ */

/* Smooth modern feel everywhere */
* {
    scroll-behavior: smooth;
}

/* Unified rounding system */
img,
.service-item,
.room-item,
.card,
.btn,
.gallery-item {
    border-radius: 16px !important;
}

/* Prevent layout glitches with rounded elements */
.service-item,
.room-item,
.card,
.gallery-item {
    overflow: hidden;
}

/* Soft hover lift for all cards */
.service-item,
.room-item,
.card {
    transition: all 0.3s ease;
}

.service-item:hover,
.room-item:hover,
.card:hover {
    transform: translateY(-6px);
}

/* ================================
   NEWSLETTER ROUND STYLE FIX
================================ */

.newsletter .col-lg-10,
.newsletter .border,
.newsletter .bg-white {
    border-radius: 18px !important;
    overflow: hidden;
}

/* Input field */
.newsletter .form-control {
    border-radius: 50px !important;
    border: 1px solid #eee;
}

/* Submit button */
.newsletter .btn {
    border-radius: 50px !important;
}

/* Optional: softer container look */
.newsletter .bg-white {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* ================================
   AMENITIES CARD ROUND STYLE
================================ */

.booking .bg-white {
    border-radius: 20px !important;
    overflow: hidden;
}

/* Optional: soften the outer wrapper */
.booking .container .bg-white {
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

/* Make each icon block feel softer */
.booking .row > div {
    padding: 15px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Hover effect for each amenity */
.booking .row > div:hover {
    background: rgba(254, 161, 22, 0.06);
    transform: translateY(-3px);
}

/* ===== Blue Horizon UX refresh ===== */
:root {
    --primary: #f59e0b;
    --light: #f6f8fb;
    --dark: #091d35;
    --bh-blue: #1f5fa8;
    --bh-border: #e7ebf0;
    --bh-muted: #667085;
}

body {
    background: #f5f7fb;
    color: #182230;
    -webkit-font-smoothing: antialiased;
}

.container-xxl {
    max-width: 1600px;
    box-shadow: 0 0 50px rgba(9,29,53,.06);
}

.btn {
    text-transform: none;
    letter-spacing: 0;
    border-radius: .72rem;
    font-weight: 650;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--bh-blue);
    border-color: var(--bh-blue);
}
.btn-primary:hover { background:#174f8d; border-color:#174f8d; }
.btn-warning { background: var(--primary); border-color: var(--primary); color:#1e293b; }

.bh-public-nav {
    min-height: 78px;
    background: rgba(7,28,54,.96) !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.bh-public-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.bh-public-nav .navbar-nav .nav-link {
    margin: 0 .1rem;
    padding: 1.65rem .85rem;
    color: rgba(255,255,255,.72);
    font-size: .92rem;
    font-weight: 650;
    text-transform: none;
    position: relative;
}

.bh-public-nav .navbar-nav .nav-link::after {
    content:'';
    position:absolute;
    left:.85rem;
    right:.85rem;
    bottom:1.05rem;
    height:2px;
    background:var(--primary);
    transform:scaleX(0);
    transition:transform .18s ease;
}

.bh-public-nav .navbar-nav .nav-link:hover,
.bh-public-nav .navbar-nav .nav-link.active { color:#fff; }
.bh-public-nav .navbar-nav .nav-link.active::after,
.bh-public-nav .navbar-nav .nav-link:hover::after { transform:scaleX(1); }

.bh-nav-action { border-radius:999px; padding:.55rem 1rem; white-space:nowrap; }

.carousel-caption { background:linear-gradient(90deg,rgba(6,20,38,.82),rgba(6,20,38,.48),rgba(6,20,38,.64)); }
.carousel-caption > div { max-width:760px !important; }
.carousel-caption .display-3 { font-size:clamp(2.7rem,7vw,5.4rem); line-height:.98; letter-spacing:-.04em; }
.vh-100-carousel { min-height:620px; max-height:860px; }

.page-header-inner { background:linear-gradient(90deg,rgba(6,20,38,.84),rgba(6,20,38,.58)); }

.card, .service-item, .room-item {
    border-radius:1rem !important;
    overflow:hidden;
}

.service-item {
    box-shadow:0 10px 30px rgba(9,29,53,.08);
    border:1px solid var(--bh-border);
}

.room-item {
    box-shadow:0 10px 30px rgba(9,29,53,.08) !important;
    border:1px solid var(--bh-border);
}

.form-control, .form-select {
    min-height:48px;
    border-radius:.72rem;
    border-color:#d9dfe7;
    font-size:16px;
}
.form-control:focus, .form-select:focus { border-color:#7ba5d3; box-shadow:0 0 0 .22rem rgba(31,95,168,.16); }

.back-to-top {
    width:auto;
    min-width:54px;
    padding:0 1rem;
    right:18px;
    bottom:18px;
    border-radius:999px !important;
}

@media (max-width:991.98px) {
    .bh-public-nav { min-height:68px; }
    .bh-public-logo { height:48px; }
    .bh-public-nav .navbar-nav .nav-link { padding:.65rem .2rem; }
    .bh-public-nav .navbar-nav .nav-link::after { display:none; }
    .vh-100-carousel { height:72vh; min-height:540px; }
}

@media (max-width:575.98px) {
    .carousel-caption .p-3 { padding:1rem !important; }
    .carousel-caption .btn { width:100%; margin:.35rem 0 !important; }
    .section-title::before,.section-title::after { display:none; }
    .vh-100-carousel { height:68vh; min-height:500px; }
}
