/********** Header / Navbar / Banner / Footer / Global CSS **********/

/* ===== Root Variables ===== */
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
    
    /* Additional variables */
    --plum-soft: #6c757d;
    --plum: #103741;
    --radius-lg: 15px;
    --radius-sm: 8px;
    --shadow-soft: 0 5px 25px rgba(0, 0, 0, 0.08);
    --shadow-pop: 0 15px 35px rgba(0, 0, 0, 0.15);
    --cream: #FFF5F3;
    --cream-2: #f8f0ea;
    --coral: #FE5D37;
    --coral-2: #FE5D37;
    --sun-2: #FE5D37;
    --mint-2: #4E9A3B;
    --peach-2: #D9531E;
    --sky-2: #8B1F82;
}

/* ===== Inline SVG Icons ===== */
svg {
    vertical-align: -0.125em;
}

/* ===== Wobble Underline Color Variants ===== */
.wobble-coral {
    --underline-color: var(--coral);
}

.wobble-sun {
    --underline-color: var(--sun-2);
}

.wobble-mint {
    --underline-color: var(--mint-2);
}

.wobble-peach {
    --underline-color: var(--peach-2);
}

.wobble-sky {
    --underline-color: var(--sky-2);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

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

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

/* ===== Heading ===== */
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

/* ===== Section Head / Eyebrow (global) ===== */
.section-head .eyebrow {
    display: inline-block;
    background: var(--cream, #FFF5F3);
    color: var(--coral, #FE5D37);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 4px 18px;
    border-radius: 50px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-head h2 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--plum, #103741);
}

.wobble {
    position: relative;
    display: inline-block;
}

.wobble::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 6px;
    background: var(--underline-color, var(--coral, #FE5D37));
    border-radius: 4px;
}

/* ===== Header: Logo ===== */
.navbar-brand .logo-img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

@media (max-width: 768px) {
    .navbar-brand .logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .navbar-brand .logo-img {
        height: 32px;
    }
}

/* ===== Navbar ===== */
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

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

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    margin-left: 6px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

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

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }

    .navbar.sticky-top {
        z-index: 1050;
    }

    body.drawer-open {
        overflow: hidden;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1045;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        margin: 0;
        padding: 80px 25px 30px;
        background: #FFFFFF;
        box-shadow: -5px 0 25px rgba(0, 0, 0, .15);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .35s ease;
        display: block !important;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        transform: translateX(0);
    }

    .navbar-collapse:not(.show):not(.collapsing) {
        transform: translateX(100%);
    }

    .navbar-collapse.collapsing {
        height: 100vh !important;
    }

    .navbar-nav.mx-auto {
        margin: 0 !important;
    }

    .navbar-collapse .btn.btn-primary {
        display: block !important;
        margin-top: 20px;
        text-align: center;
    }

    .navbar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .4);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s ease;
    }

    .navbar-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--light);
        color: var(--dark);
        font-size: 18px;
        border: none;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* ===== Banner / Header Carousel ===== */
.header-carousel {
    width: 100%;
    overflow: hidden;
}

.header-carousel .owl-carousel-item {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.header-carousel .owl-carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

.container-fluid.p-0.mb-5 {
    padding-top: 0 !important;
    margin-bottom: 30px !important;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
}

.header-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: .3s;
    display: inline-block;
    flex: 0 0 auto;
}

.header-carousel .owl-dots .owl-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.header-carousel .owl-dots .owl-dot:hover {
    background: var(--primary);
}

.header-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: .3s;
}

.header-carousel .owl-dots .owl-dot.active {
    background: var(--primary);
}

.header-carousel .owl-dots .owl-dot:hover {
    background: var(--primary);
}

.header-carousel .owl-nav button {
    z-index: 2;
    position: relative;
}

.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item {
    height: 100% !important;
}

.header-carousel .owl-stage-outer {
    overflow: hidden;
}

/* ===== Header Decorative Overlays ===== */
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/banner/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/banner/bg-header-bottom.png) center center repeat-x;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/banner/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

/* ===== Responsive adjustments ===== */
@media (max-width: 992px) {
    .header-carousel .owl-carousel-item {
        min-height: 400px;
    }
    
    .header-carousel .owl-carousel-item img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        min-height: 300px;
    }
    
    .header-carousel .owl-carousel-item img {
        height: 300px;
        object-fit: cover;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .header-carousel .owl-nav {
        right: 5%;
    }
    
    .header-carousel .owl-dots {
        bottom: 10px;
    }
    
    .header-carousel .owl-dots .owl-dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .header-carousel .owl-carousel-item {
        min-height: 200px;
    }
    
    .header-carousel .owl-carousel-item img {
        height: 200px;
        object-fit: cover;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 28px;
        height: 28px;
        font-size: 13px;
        margin: 4px 0;
    }
    
    .header-carousel .owl-dots .owl-dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}

/* ===== Footer ===== */
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

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

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

.footer .btn.btn-link::before {
    position: relative;
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid currentColor;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    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: #FFFFFF;
}

.footer .copyright a:hover {
    color: var(--primary) !important;
}

/* ===== Footer Photo Gallery ===== */
.footer-gallery-grid .gallery-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #FFFFFF;
    padding: 3px;
}

.footer-gallery-grid .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: .4s;
}

.footer-gallery-grid .gallery-thumb:hover img {
    transform: scale(1.1);
    opacity: .85;
}

/* ===== Footer Map ===== */
.footer-map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: .3s;
}

.footer-map-wrapper iframe {
    border: 0;
    display: block;
}

.footer-map-wrapper:hover {
    border-color: var(--primary) !important;
}

.footer-map-wrapper iframe {
    filter: grayscale(20%) brightness(0.95);
    transition: .3s;
}

.footer-map-wrapper:hover iframe {
    filter: grayscale(0%) brightness(1);
}