/**
 * Custom Theme Colors - Matching Admin Panel ERP Palette
 * Navy: #0a192f / #071324 / #132847
 * Accent / Gold: #f59e0b / #d97706 / #fbbf24
 */
:root {
    --theme-color: #f59e0b;
    --primary-color: #f59e0b;
    --theme-color2: #d97706;
    --title-color: #0a192f;
    --title-color2: #071324;
    --smoke-color: #f8fafc;
    --smoke-color2: #f1f5f9;
    --yellow-color: #f59e0b;
}

/* Hide demo switcher */
.color-scheme-wrap, .switchIcon {
    display: none !important;
}

/* Header customization - Dark Navy Luxury Theme */
.th-header {
    background: transparent;
}
.th-header:not(.header-absolute) {
    background: #0a192f;
    position: relative;
    z-index: 41;
}
.th-header:not(.header-absolute) .sticky-wrapper {
    background: #0a192f;
}
.header-layout3 .sticky-wrapper {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-layout3 .main-menu > ul > li > a {
    color: #e2e8f0 !important;
    font-weight: 500;
}
.header-layout3 .main-menu > ul > li > a:hover,
.header-layout3 .main-menu > ul > li.active > a,
.header-layout3 .main-menu > ul > li > a.active {
    color: #f59e0b !important;
}

.th-header .sub-menu {
    background-color: #0a192f;
    border: 1px solid #1e3a5f;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.th-header .sub-menu li a {
    color: #cbd5e1 !important;
}
.th-header .sub-menu li a:hover {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.1);
}

/* Buttons */
.th-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #071324 !important;
    font-weight: 600 !important;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}
.th-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    transform: translateY(-2px);
}
.th-btn.style2 {
    background: #0a192f !important;
    color: #f59e0b !important;
    border: 1px solid #f59e0b;
}
.th-btn.style2:hover {
    background: #f59e0b !important;
    color: #071324 !important;
}
.th-btn.style4 {
    background: #0a192f !important;
    color: #ffffff !important;
    border: 1px solid #1e3a5f !important;
}
.th-btn.style4:hover {
    background: #f59e0b !important;
    color: #071324 !important;
    border-color: #f59e0b !important;
}

/* Footer - Dark Navy */
.footer-wrapper.footer-layout2, .footer-wrapper {
    background: #071324 !important;
    border-top: 1px solid #152a4a;
}
.footer-wrapper .widget_title {
    color: #ffffff !important;
}
.footer-wrapper .widget_title:after {
    background: #f59e0b !important;
}
.footer-wrapper p, .footer-wrapper .info-box_link, .footer-wrapper .menu li a {
    color: #94a3b8 !important;
}
.footer-wrapper .info-box_link:hover, .footer-wrapper .menu li a:hover {
    color: #f59e0b !important;
}
.footer-wrapper .copyright-text {
    color: #64748b !important;
}
.footer-wrapper .copyright-text a {
    color: #f59e0b !important;
}

/* Rating Stars */
.star-rating, .tour-rating i, .testi-card_review {
    color: #f59e0b !important;
}

/* Badge & Icons */
.tour-box_price .currency {
    color: #f59e0b !important;
    font-weight: 700;
}
.sub-title {
    color: #d97706 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Search bar styling */
.hero-booking.style2 {
    background: rgba(10, 25, 47, 0.9) !important;
    border: 1px solid rgba(245, 158, 11, 0.25);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 24px;
}
.hero-booking.style2 label {
    color: #cbd5e1 !important;
    font-weight: 600;
}
.hero-booking.style2 .nice-select {
    background-color: #0f2744 !important;
    color: #f8fafc !important;
    border: 1px solid #1e3a5f !important;
    border-radius: 8px;
}
.hero-booking.style2 .nice-select .current {
    color: #f8fafc !important;
}
.hero-booking.style2 .nice-select:after {
    border-bottom: 2px solid #f59e0b;
    border-right: 2px solid #f59e0b;
}
.hero-booking.style2 .nice-select .list {
    background-color: #0a192f;
    border: 1px solid #1e3a5f;
    color: #cbd5e1;
}
.hero-booking.style2 .nice-select .option:hover,
.hero-booking.style2 .nice-select .option.selected {
    background-color: #1e3a5f;
    color: #f59e0b;
}
.hero-booking.style2 .icon i {
    color: #f59e0b !important;
}

/* Breadcrumb overlay / Top wrapper on inner pages */
.breadcumb-wrapper {
    background-color: #0a192f;
    position: relative;
    padding: 75px 0 65px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
@media (max-width: 991px) {
    .breadcumb-wrapper {
        padding: 55px 0 45px;
    }
}
.header-absolute + main .breadcumb-wrapper,
.header-absolute ~ main .breadcumb-wrapper {
    padding-top: 180px;
}
.breadcumb-wrapper:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 19, 36, 0.82) 0%, rgba(10, 25, 47, 0.94) 100%);
}
.breadcumb-wrapper .container {
    position: relative;
    z-index: 2;
}
.breadcumb-title {
    color: #ffffff !important;
}
.breadcumb-menu li, .breadcumb-menu li a {
    color: #94a3b8 !important;
}
.breadcumb-menu li a:hover, .breadcumb-menu li:last-child {
    color: #f59e0b !important;
}

/* Tour & Destination cards */
.tour-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}
.tour-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(10, 25, 47, 0.12);
    border-color: #f59e0b;
}
.tour-box .box-title a {
    color: #0a192f;
    transition: color 0.2s ease;
}
.tour-box .box-title a:hover {
    color: #f59e0b;
}

/* Modals */
.ems-modal-backdrop {
    background: rgba(7, 19, 36, 0.75);
    backdrop-filter: blur(8px);
}

/* Badge fixes - prevent theme .badge { top: 8px; right: 8px; } from stretching elements with bottom-0 or top-0 */
.badge {
    position: static;
    height: auto !important;
    min-height: unset !important;
    max-height: unset !important;
    width: auto !important;
    width: fit-content !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
}

.position-absolute.badge,
.tour-box_img .badge,
.tour-box .badge,
.destination-item_img .badge,
.global-img .badge {
    position: absolute !important;
    height: auto !important;
    width: auto !important;
    width: fit-content !important;
}

.position-absolute.badge.bottom-0,
.badge.bottom-0,
.tour-box_img .badge.bottom-0,
.global-img .badge.bottom-0 {
    top: auto !important;
    bottom: 0 !important;
}

.position-absolute.badge.top-0,
.badge.top-0,
.tour-box_img .badge.top-0,
.global-img .badge.top-0 {
    bottom: auto !important;
    top: 0 !important;
}

.position-absolute.badge.start-0,
.badge.start-0,
.tour-box_img .badge.start-0,
.global-img .badge.start-0 {
    right: auto !important;
    left: 0 !important;
}

.position-absolute.badge.end-0,
.badge.end-0,
.tour-box_img .badge.end-0,
.global-img .badge.end-0 {
    left: auto !important;
    right: 0 !important;
}

