/* The Holiday Special - Brand Styling */
:root {
    --ths-primary: #dc2626;
    --ths-primary-dark: #b91c1c;
    --ths-yellow: #facc15;
    --ths-dark: #0f172a;
    --ths-gray: #64748b;
    --ths-light-gray: #f8fafc;
    --ths-border: #e2e8f0;
    --ths-radius: 14px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    background-color: #fdfdfd;
}

/* Hide Default Theme Page Header on Front Page */
.home .page-header, 
.home .entry-title,
.page-header {
    display: none !important;
}

/* Hero Background Slider & Video Support */
.ths-hero-slider-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 60px 24px;
    margin-top: 25px;
    margin-bottom: 35px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.ths-hero-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.ths-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6s linear;
    transform: scale(1.04);
}
.ths-hero-slide.active {
    opacity: 1;
    transform: scale(1);
}
.ths-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.ths-hero-video.active {
    opacity: 1;
}
.ths-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.45) 0%, rgba(15,23,42,0.7) 100%);
    z-index: 2;
}
.ths-hero-content {
    position: relative;
    z-index: 3;
    max-width: 880px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ths-hero-badge {
    background: #facc15;
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(250,204,21,0.3);
}
.ths-hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.18;
    margin: 0 0 16px;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}
.ths-hero-sub {
    font-size: 16px;
    max-width: 680px;
    margin: 0 0 36px;
    color: #f8fafc;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Slider Controls */
.ths-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
}
.ths-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.ths-dot.active {
    background: #facc15;
    width: 26px;
    border-radius: 10px;
}

/* Quick Search Bar */
.ths-search-bar {
    background: #ffffff;
    border-radius: 50px;
    padding: 10px 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.28);
    max-width: 860px;
    width: 100%;
    color: #334155;
}
.ths-search-item {
    flex: 1;
    min-width: 170px;
    text-align: left;
    padding: 6px 18px;
}
.ths-search-item:not(:last-of-type) {
    border-right: 1px solid #e2e8f0;
}
.ths-search-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ths-search-bar select,
.ths-search-bar input,
.ths-search-select,
.ths-search-input {
    width: 100% !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    font-family: inherit !important;
    padding: 3px 0 !important;
    margin: 0 !important;
    cursor: pointer;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}
.ths-search-bar input[type="date"]::-webkit-inner-spin-button,
.ths-search-bar input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.ths-search-bar input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.ths-search-select option {
    background: #ffffff;
    color: #0f172a;
    font-weight: 500;
}
.ths-search-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(220,38,38,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.ths-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(220,38,38,0.45);
}

/* Trusted & Safe Section Matching Image 1 */
.ths-trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 10px;
    margin: 25px 0 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
@media (max-width: 900px) {
    .ths-trust-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }
}
.ths-trust-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
}
.ths-trust-card:not(:last-child) {
    border-right: 1px solid #f1f5f9;
}
@media (max-width: 900px) {
    .ths-trust-card:not(:last-child) {
        border-right: none;
    }
}
.ths-trust-icon-box {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
}
.ths-trust-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}
.ths-trust-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Destinations Grid Matching Image 1 */
.ths-destinations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 20px 0 45px;
}
@media (max-width: 1024px) {
    .ths-destinations-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
.ths-dest-card {
    height: 310px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.ths-dest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}
.ths-dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 90%);
    pointer-events: none;
}
.ths-dest-info {
    position: relative;
    z-index: 2;
    width: 100%;
}
.ths-dest-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 2px;
    color: #ffffff;
}
.ths-dest-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    font-weight: 500;
}
.ths-dest-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 8px;
}
.ths-dest-desc-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}
.ths-dest-arrow {
    background: rgba(255, 255, 255, 0.2);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.ths-dest-card:hover .ths-dest-arrow {
    background: #dc2626;
}

/* Packages Grid Matching Image 1 */
.ths-packages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 20px 0 45px;
}
@media (max-width: 1150px) {
    .ths-packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}
.ths-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.ths-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}
.ths-card-thumb {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 10px;
}
.ths-card-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.ths-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ths-card-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.25;
}
.ths-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ths-card-title a:hover {
    color: #dc2626;
}
.ths-card-sub {
    font-size: 11px;
    color: #64748b;
    margin: 0 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ths-card-loc {
    font-size: 12px;
    color: #475569;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}
.ths-card-price-row {
    margin-top: auto;
    margin-bottom: 4px;
}
.ths-card-price {
    font-size: 18px;
    font-weight: 800;
    color: #dc2626;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.ths-card-price .currency {
    font-size: 16px;
    font-weight: 700;
}
.ths-card-price strong {
    font-size: 20px;
    font-weight: 800;
}
.ths-card-price .per {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    margin-left: 2px;
}
.ths-card-dur-row {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 14px;
}
.ths-card-btn {
    display: block;
    text-align: center;
    padding: 8px 14px;
    background: #ffffff;
    color: #dc2626;
    border: 1.5px solid #dc2626;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ths-card-btn:hover {
    background: #dc2626;
    color: #ffffff;
}

/* Tour Single Layout Elements */
.ths-single-tour-header {
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 18px;
    padding: 60px 40px;
    color: #ffffff;
    margin-bottom: 30px;
}
.ths-single-tour-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.3) 100%);
    border-radius: 18px;
}
.ths-single-header-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}
.ths-single-badge {
    background: var(--ths-yellow);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}
.ths-single-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.15;
}
.ths-single-tagline {
    font-size: 20px;
    color: var(--ths-yellow);
    margin-bottom: 15px;
    font-weight: 600;
}
.ths-single-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 25px;
}
.ths-single-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
}
.ths-single-features div {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}
