/* MAIN THEME CSS: LUXURY TRAVEL & HOSPITALITY */

/* HEADER */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-topbar {
    background: #0f172a;
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.topbar-left i, .topbar-right i {
    color: #38bdf8;
}
.topbar-right a {
    color: #e2e8f0;
}
.topbar-right a:hover {
    color: #38bdf8;
}
.topbar-right .sep {
    color: #334155;
}
.header-main {
    padding: 14px 0;
}
.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}
.brand-icon {
    font-size: 26px;
    color: #0284c7;
}
.brand-logo strong {
    color: #0284c7;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 26px;
    align-items: center;
}
.nav-menu a {
    color: #1e293b;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 0;
    position: relative;
}
.nav-menu a:hover {
    color: #0284c7;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #0f172a;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
    font-size: 14px;
}
.btn-primary {
    background: #0284c7;
    color: #ffffff;
}
.btn-primary:hover {
    background: #0369a1;
    color: #ffffff;
}
.btn-secondary {
    background: #0f766e;
    color: #ffffff;
}
.btn-secondary:hover {
    background: #115e59;
    color: #ffffff;
}
.btn-outline {
    background: transparent;
    border-color: #cbd5e1;
    color: #334155;
}
.btn-outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}
.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}
.btn-block {
    width: 100%;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* HERO SECTION & DUAL SEARCH BOX */
.hero-section {
    position: relative;
    padding: 90px 0 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%);
    color: #ffffff;
}
.hero-text-wrap {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 40px;
}
.hero-badge {
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.25);
}
.hero-title {
    color: #ffffff;
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 16px;
}
.hero-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.5;
}
.booking-search-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 12px 24px 24px;
    color: #0f172a;
    max-width: 1100px;
    margin: 0 auto;
}
.search-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
    padding-bottom: 10px;
}
.tab-btn {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.tab-btn.active {
    color: #0284c7;
    background: #f0f9ff;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.search-form-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1.5fr;
    gap: 16px;
    align-items: flex-end;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.form-control, input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="month"], select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #0f172a;
    background: #fff;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}
.form-control:focus, input:focus, select:focus, textarea:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* CARDS GRID */
.hotel-grid, .tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card-thumb {
    position: relative;
    height: 220px;
    background: #e2e8f0;
    overflow: hidden;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .card-img {
    transform: scale(1.05);
}
.card-placeholder-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #94a3b8;
    background: #f1f5f9;
}
.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
}
.stars-badge {
    background: rgba(15, 23, 42, 0.8);
    color: #f59e0b;
}
.duration-badge {
    background: rgba(15, 118, 110, 0.9);
    color: #ffffff;
}
.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-location {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
}
.card-title {
    font-size: 18px;
    margin-bottom: 8px;
}
.card-title a {
    color: #0f172a;
}
.card-title a:hover {
    color: #0284c7;
}
.card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
}
.card-footer-info {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-box .price-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
}
.price-value {
    font-size: 18px;
    font-weight: 800;
    color: #dc2626;
}
.price-value .unit {
    font-size: 12px;
    font-weight: normal;
    color: #64748b;
}

/* FEATURES SECTION */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}
.feature-box:hover {
    border-color: #0284c7;
    transform: translateY(-3px);
}
.feature-icon {
    font-size: 32px;
    color: #0284c7;
    margin-bottom: 14px;
}
.feature-box h3 {
    font-size: 17px;
    margin-bottom: 8px;
}
.feature-box p {
    font-size: 14px;
    color: #64748b;
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, #0284c7, #0f766e);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
.cta-box h2 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 8px;
}

/* SINGLE HOTEL / ROOMS */
.hotel-content-layout, .tour-content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}
.search-dates-bar {
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}
.dates-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 16px;
    align-items: flex-end;
}
.room-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    display: grid;
    grid-template-columns: 200px 1fr 180px;
    gap: 20px;
    margin-bottom: 16px;
}
.room-thumb {
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f1f5f9;
}
.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.room-amenities-tags {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
    margin: 8px 0;
}
.room-policy-note {
    font-size: 12px;
    color: #0f766e;
    font-weight: 600;
}
.contact-box-sticky, .tour-booking-widget-sticky, .order-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-sm);
}

/* TIMELINE ITINERARY */
.itinerary-timeline {
    border-left: 2px solid #0284c7;
    margin-left: 10px;
    padding-left: 20px;
}
.timeline-item {
    position: relative;
    margin-bottom: 24px;
}
.timeline-badge {
    display: inline-block;
    background: #0284c7;
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}
.timeline-title {
    font-size: 17px;
    margin-bottom: 6px;
}
.timeline-desc {
    font-size: 14px;
    color: #475569;
}

/* CHECKOUT STEPPER */
.checkout-stepper {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.step {
    font-weight: 700;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}
.step.active {
    color: #0284c7;
}
.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}
.step.active .step-num {
    background: #0284c7;
    color: #fff;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}
.form-section-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
}
.form-card-title {
    font-size: 18px;
    margin-bottom: 16px;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.payment-method-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.payment-method-option.active {
    border-color: #0284c7;
    background: #f0f9ff;
}
.method-title {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
}
.method-desc {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

/* SUMMARY BOX */
.summary-dates-table {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin: 16px 0;
}
.breakdown-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}
.breakdown-row.total-row {
    font-size: 18px;
    font-weight: 800;
    color: #dc2626;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 12px;
}
.deposit-highlight {
    background: #ecfdf5;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px dashed #10b981;
    margin-top: 10px;
}

/* MODAL */
.tb-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.tb-modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.modal-icon-success {
    font-size: 54px;
    color: #10b981;
    margin-bottom: 12px;
}
.booking-code-pill {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 24px;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    letter-spacing: 1px;
    border: 1px dashed #0284c7;
}
.bank-transfer-info-box {
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 14px;
}

/* FOOTER */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.footer-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}
.footer-links, .contact-list {
    list-style: none;
}
.footer-links li, .contact-list li {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-links a {
    color: #94a3b8;
}
.footer-links a:hover {
    color: #38bdf8;
}
.newsletter-form {
    display: flex;
    gap: 6px;
    margin: 14px 0;
}
.newsletter-form input {
    background: #1e293b;
    border-color: #334155;
    color: #fff;
}
.payment-icons .pay-tag {
    display: inline-block;
    background: #1e293b;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
    margin: 2px;
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 13px;
}
.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-links a {
    color: #94a3b8;
    margin-left: 14px;
    font-size: 16px;
}

/* HELPER UTILITIES */
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.py-60 { padding-top: 60px; padding-bottom: 60px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-10 { margin-bottom: 10px; }
.mb-16 { margin-bottom: 16px; }
.mb-30 { margin-bottom: 30px; }
.bg-light { background-color: #f1f5f9; }
.text-center { text-align: center; }
.text-success { color: #10b981; }
.text-muted { color: #64748b; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .search-form-grid, .dates-form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hotel-content-layout, .tour-content-layout, .checkout-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .room-item-card {
        grid-template-columns: 1fr;
    }
    .room-thumb {
        height: 200px;
    }
}
@media (max-width: 768px) {
    .header-topbar {
        display: none;
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .search-form-grid, .dates-form-grid, .form-row-2 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
