/* ═══════════════════════════════════════════════
   ZAITA TOURS — Custom Page & Card Styles
   ═══════════════════════════════════════════════ */

/* ── TOUR CARDS ── */
.tour-card-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .3s, box-shadow .3s;
}
.tour-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,.13);
}
.tour-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.tour-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.tour-card-item:hover .tour-card-img img {
    transform: scale(1.08);
}
.tour-badge {
    position: absolute;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    color: #fff;
    z-index: 2;
}
.tour-badge.sale {
    top: 14px; left: 14px;
    background: #ef4444;
}
.tour-badge.duration {
    bottom: 14px; left: 14px;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    font-weight: 500;
}
.tour-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tour-card-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.tour-card-locations span {
    font-size: 11px;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tour-card-locations span i { color: var(--primary-color1); font-size: 12px; }
.tour-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
    flex: 1;
}
.tour-card-title a {
    color: var(--title-color);
    text-decoration: none;
    transition: color .2s;
}
.tour-card-title a:hover { color: var(--primary-color1); }
.tour-card-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.tour-card-price .label {
    display: block;
    font-size: 11px;
    color: var(--text-color);
    margin-bottom: 2px;
}
.tour-card-price .amount {
    font-size: 14px;
    line-height: 1.2;
}
.tour-card-price .amount del {
    color: #999;
    font-size: 12px;
    margin-right: 4px;
}
.tour-card-price .amount strong {
    font-size: 20px;
    color: var(--primary-color1);
    font-weight: 800;
}
.tour-card-price .per {
    display: block;
    font-size: 10px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-top: 2px;
}
.tour-card-btn {
    display: inline-block;
    background: var(--primary-color1);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
}
.tour-card-btn:hover {
    background: #4d8e33;
    color: #fff;
}

/* ── HOTEL HERO ── */
.hotel-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-width: 100vw;
    background: linear-gradient(135deg, var(--navy) 0%, #1e1a3d 100%);
}
.hotel-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}
.hotel-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18,16,41,.4) 0%, rgba(18,16,41,.82) 100%);
    z-index: 2;
}
.hotel-hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 0;
    text-align: center;
}
.hotel-hero-breadcrumb {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    font-size: 13px;
}
.hotel-hero-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.hotel-hero-breadcrumb .sep { color: rgba(255,255,255,.4); }
.hotel-hero-breadcrumb .current { color: var(--gold); font-weight: 600; }
.hotel-hero-kicker {
    font-family: var(--font-satisfy);
    font-size: 20px;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}
.hotel-hero-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(28px, 4.5vw, 46px);
    margin-bottom: 14px;
    line-height: 1.2;
}
.hotel-hero-subtitle {
    color: rgba(255,255,255,.85);
    font-size: clamp(14px, 1.8vw, 17px);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── HOTEL CARDS ── */
.hotel-card-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .3s, box-shadow .3s;
}
.hotel-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,.13);
}
.hotel-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.hotel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.hotel-card-item:hover .hotel-card-img img {
    transform: scale(1.08);
}
.hotel-card-stars {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(18,16,41,.75);
    backdrop-filter: blur(4px);
    color: var(--gold, #d4af37);
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 2;
    display: flex;
    gap: 2px;
}
.hotel-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hotel-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-color);
    margin-bottom: 10px;
}
.hotel-card-location i { color: var(--primary-color1); font-size: 12px; }
.hotel-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
    flex: 1;
}
.hotel-card-title a {
    color: var(--title-color);
    text-decoration: none;
    transition: color .2s;
}
.hotel-card-title a:hover { color: var(--primary-color1); }
.hotel-card-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}
.hotel-card-price .label {
    display: block;
    font-size: 11px;
    color: var(--text-color);
    margin-bottom: 2px;
}
.hotel-card-price .amount {
    font-size: 20px;
    color: var(--primary-color1);
    font-weight: 800;
    line-height: 1.2;
}
.hotel-card-price .per {
    display: block;
    font-size: 10px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-top: 2px;
}
.hotel-card-btn {
    display: inline-block;
    background: var(--primary-color1);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
}
.hotel-card-btn:hover {
    background: #4d8e33;
    color: #fff;
}

/* ── TOURS GRID ── */
.tours-archive-section { padding: 70px 0 90px; background: #f8f9fa; }
.tours-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 24px;
}
@media (max-width: 991px) { .tours-grid { --cols: 2; } }
@media (max-width: 575px) { .tours-grid { --cols: 1; } }
.tours-grid-item { display: flex; }
.tours-grid-item > * { width: 100%; }

/* ── DESTINATION CARDS ── */
.dest-card-item {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
}
.dest-card-link {
    display: block;
    position: relative;
    height: 100%;
    min-height: 280px;
    text-decoration: none;
}
.dest-card-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform .5s;
}
.dest-card-item:hover img {
    transform: scale(1.08);
}
.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
    transition: background .3s;
}
.dest-card-item:hover .dest-card-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 70%, transparent 100%);
}
.dest-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}
.dest-card-content h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}
.dest-tour-count {
    display: inline-block;
    background: var(--primary-color1);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
}

/* ── DESTINATIONS GRID ── */
.destinations-archive-section { padding: 70px 0 90px; background: #f8f9fa; }
.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .dest-grid { grid-template-columns: 1fr; } }
.dest-grid-item { display: flex; }
.dest-grid-item > * { width: 100%; }

/* ── DESTINATION DETAIL ── */
.dest-detail-section { padding: 70px 0 90px; background: #f8f9fa; }
.dest-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.dest-card-title {
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dest-card-title i { color: var(--primary-color1); font-size: 18px; }
.dest-map-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.dest-facts-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    background: #fff;
    border-radius: 18px;
    padding: 22px 30px;
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
    margin-top: -60px;
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
}
.dest-fact { display: flex; align-items: center; gap: 12px; }
.dest-fact i { font-size: 22px; color: var(--gold); }
.dest-fact strong { display: block; font-size: 17px; color: var(--navy); line-height: 1.2; }
.dest-fact span { display: block; font-size: 12px; color: var(--text-color); }
.dest-fact-cta { margin-left: auto; white-space: nowrap; }
@media (max-width: 767px) {
    .dest-facts-bar { margin-top: 0; }
    .dest-fact-cta { margin-left: 0; width: 100%; text-align: center; }
}

/* Rounded corners for images embedded in imported/rich-text content */
.blog-content-body img,
.content-body img {
    border-radius: 16px;
}

/* ── SIDEBAR SHARED ── */
.tours-sidebar { position: sticky; top: 100px; }
.sidebar-box {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    margin-bottom: 20px;
}
.sidebar-box h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.search-form {
    display: flex;
    gap: 8px;
}
.search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border .2s;
}
.search-form input:focus { border-color: var(--primary-color1); }
.search-form button {
    background: var(--primary-color1);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background .2s;
}
.search-form button:hover { background: #4d8e33; }

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-links li { margin-bottom: 6px; }
.sidebar-links li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--title-color);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: color .2s;
}
.sidebar-links li a:hover { color: var(--primary-color1); }
.sidebar-links .count {
    background: #f0f8ec;
    color: var(--primary-color1);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

/* ── SIDEBAR CTA ── */
.sidebar-cta {
    background: linear-gradient(135deg, #1a3a0a, #2d6e18);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
}
.sidebar-cta i {
    font-size: 32px;
    color: #25D366;
    display: block;
    margin-bottom: 12px;
}
.sidebar-cta h6 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 16px;
}
.sidebar-cta p {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    margin-bottom: 18px;
}
.sidebar-cta a {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}
.sidebar-cta a:hover { background: #1da851; }

/* ── PAGINATION ── */
.zaita-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.zaita-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--title-color);
    background: #fff;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
}
.zaita-pagination .page-link:hover {
    background: var(--primary-color1);
    border-color: var(--primary-color1);
    color: #fff;
}
.zaita-pagination .page-link.active {
    background: var(--primary-color1);
    border-color: var(--primary-color1);
    color: #fff;
    font-weight: 700;
    cursor: default;
}
.zaita-pagination .page-link.disabled {
    color: #ccc;
    border-color: #f0f0f0;
    background: #fafafa;
    cursor: not-allowed;
}
.zaita-pagination .page-link.dots {
    border: none;
    background: none;
    cursor: default;
    min-width: 24px;
    padding: 0;
    color: var(--text-color);
}
