/* =============================================
   Sawa Safaris - Pages CSS v2.0
   All new page styles, booking wizard, gallery,
   destinations, parks, fleet, blog, visa
   ============================================= */

/* =================== PAGE HERO =================== */
.page-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    text-align: center;
}

.page-hero-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    margin: 14px 0 16px;
    line-height: 1.2;
}

.page-hero-content p {
    color: rgba(255,255,255,0.82);
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    font-size: 0.85rem;
}

.breadcrumb a { color: var(--primary-color); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* =================== FILTER TABS =================== */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    padding: 9px 20px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-tab:hover { border-color: var(--primary-color); color: var(--primary-color); }
.filter-tab.active { background: var(--primary-color); border-color: var(--primary-color); color: var(--secondary-dark); }

/* =================== COUNTRIES =================== */
.country-section { margin-bottom: 60px; }

.country-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.country-flag { font-size: 2.2rem; }
.country-header h2 { font-family: 'Playfair Display', serif; color: var(--secondary-color); margin: 0; font-size: 1.8rem; }
.park-count { background: var(--primary-color); color: var(--secondary-dark); font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; }

/* =================== DESTINATION PAGE CARDS =================== */
.dest-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.dest-page-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dest-page-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.14); }

.dest-page-img-emoji {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.dest-page-body { padding: 20px; }
.dest-page-body h3 { font-size: 1.05rem; color: var(--secondary-color); margin-bottom: 8px; font-weight: 700; }
.dest-page-body p { font-size: 0.85rem; color: #666; margin-bottom: 12px; line-height: 1.5; }

.dest-highlights { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dest-highlight { font-size: 0.72rem; background: #f0f4f0; color: #2E4600; padding: 3px 10px; border-radius: 20px; font-weight: 600; }

.btn-sm { padding: 10px 18px; font-size: 0.83rem; }
.btn-block { width: 100%; text-align: center; display: block; }

/* =================== NATIONAL PARKS GRID =================== */
.parks-filter {
    background: #fff;
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid #f0f0f0;
}

.parks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.park-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.park-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.14); }

.park-card-img { position: relative; height: 160px; overflow: hidden; }

.park-card-img-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
}

.park-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: var(--secondary-dark);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.park-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.park-card-body h3 { font-size: 1.05rem; color: var(--secondary-color); margin-bottom: 8px; font-weight: 700; }
.park-card-body p { font-size: 0.83rem; color: #666; line-height: 1.55; margin-bottom: 14px; flex: 1; }

.park-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
}

.park-stat { display: flex; flex-direction: column; gap: 2px; font-size: 0.75rem; }
.park-stat i { color: var(--primary-color); margin-bottom: 2px; }
.park-stat strong { color: var(--secondary-color); font-size: 0.78rem; }

.park-wildlife { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.wildlife-tag { font-size: 0.7rem; background: rgba(212,175,55,0.15); color: var(--secondary-color); padding: 3px 10px; border-radius: 20px; font-weight: 600; border: 1px solid rgba(212,175,55,0.3); }

/* =================== BOOKING WIZARD =================== */
.booking-wizard-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ead8 100%);
    min-height: 100vh;
}

.wizard-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

.wizard-header {
    text-align: center;
    margin-bottom: 36px;
}

.wizard-header h1 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 12px 0 10px;
}

.wizard-header p { color: #666; font-size: 1rem; }

/* Step Indicators */
.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0 10px;
}

.step-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.35s ease;
}

.step-item.active .step-circle {
    background: var(--primary-color);
    color: var(--secondary-dark);
    box-shadow: 0 0 0 4px rgba(212,175,55,0.25);
    transform: scale(1.1);
}

.step-item.completed .step-circle {
    background: #22c55e;
    color: #fff;
}

.step-label { font-size: 0.72rem; color: #888; font-weight: 600; white-space: nowrap; }
.step-item.active .step-label { color: var(--primary-color); }
.step-item.completed .step-label { color: #22c55e; }

.step-connector {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    margin: 0 6px;
    margin-bottom: 22px;
    max-width: 60px;
    border-radius: 2px;
    transition: background 0.35s ease;
}

.step-connector.completed { background: #22c55e; }

/* Wizard Panel */
.wizard-panel {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.1);
    overflow: hidden;
}

.wizard-panel-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wizard-panel-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.wizard-panel-header h2 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin: 0 0 4px;
}

.wizard-panel-header p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.88rem; }

.wizard-step-content { display: none; padding: 36px; }
.wizard-step-content.active { display: block; }

/* Service Type Grid */
.service-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

.service-type-card {
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.service-type-card:hover { border-color: var(--primary-color); transform: translateY(-3px); background: #fffbf0; }
.service-type-card.selected { border-color: var(--primary-color); background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.18)); box-shadow: 0 0 0 3px rgba(212,175,55,0.25); }

.service-type-card i { font-size: 2.2rem; color: var(--primary-color); margin-bottom: 10px; display: block; }
.service-type-card h4 { font-size: 0.95rem; color: var(--secondary-color); margin-bottom: 4px; font-weight: 700; }
.service-type-card p { font-size: 0.78rem; color: #888; margin: 0; }

/* Form Elements */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #444; margin-bottom: 8px; }
.form-group label i { color: var(--primary-color); margin-right: 4px; }
.required { color: #e53935; }

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    color: #333;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-control:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
.form-control.error { border-color: #e53935; box-shadow: 0 0 0 3px rgba(229,57,53,0.1); }

.input-group { display: flex; }
.input-prefix { background: #f8f9fa; border: 1.5px solid #e0e0e0; border-right: none; border-radius: 10px 0 0 10px; padding: 12px 14px; font-size: 0.9rem; font-weight: 600; color: #555; white-space: nowrap; }
.input-group .form-control { border-radius: 0 10px 10px 0; }

/* Vehicle Selector */
.vehicle-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.vehicle-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vehicle-card:hover { border-color: var(--primary-color); background: #fffbf0; }
.vehicle-card.selected { border-color: var(--primary-color); background: rgba(212,175,55,0.1); }
.vehicle-card i { font-size: 2rem; color: var(--primary-color); display: block; margin-bottom: 8px; }
.vehicle-card h5 { font-size: 0.85rem; color: var(--secondary-color); margin: 0 0 4px; font-weight: 700; }
.vehicle-card p { font-size: 0.72rem; color: #888; margin: 0 0 8px; }
.price-tag { font-size: 0.72rem; background: var(--secondary-color); color: #fff; padding: 2px 8px; border-radius: 10px; font-weight: 700; }

/* Signature Canvas */
.signature-section { margin: 28px 0; padding: 24px; background: #f8f9fa; border-radius: 16px; border: 1px solid #e0e0e0; }
.signature-section h3 { color: var(--secondary-color); margin-bottom: 8px; font-size: 1.1rem; }
.signature-section p { font-size: 0.85rem; color: #666; margin-bottom: 16px; }

.signature-canvas-wrapper {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    position: relative;
    height: 180px;
    cursor: crosshair;
    transition: border-color 0.25s;
}

.signature-canvas-wrapper.has-signature { border-color: var(--secondary-color); }

#signature-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.signature-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ccc;
    pointer-events: none;
    font-size: 0.9rem;
}

.signature-placeholder i { font-size: 2rem; }

.signature-actions { display: flex; gap: 12px; margin-top: 12px; }
.sig-btn { padding: 10px 20px; border-radius: 10px; font-family: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; border: 1.5px solid #e0e0e0; display: flex; align-items: center; gap: 8px; transition: all 0.2s; }
.sig-btn-clear { background: #fff; color: #666; }
.sig-btn-clear:hover { border-color: #e53935; color: #e53935; }
.sig-btn-save { background: var(--secondary-color); color: #fff; border-color: var(--secondary-color); }
.sig-btn-save:hover { opacity: 0.9; }

/* Booking Summary */
.booking-summary { background: #f8f9fa; border-radius: 16px; padding: 24px; margin-bottom: 24px; border: 1px solid #e0e0e0; }
.booking-summary h3 { color: var(--secondary-color); margin-bottom: 16px; font-size: 1.1rem; }

.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

.summary-item .label { font-size: 0.72rem; color: #888; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.summary-item .value { font-size: 0.9rem; color: var(--secondary-color); font-weight: 600; }

.summary-item.total-row { grid-column: span 2; background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark)); border-color: transparent; }
.summary-item.total-row .label { color: rgba(255,255,255,0.7); }
.summary-item.total-row .value { color: var(--primary-color); font-size: 1.3rem; font-weight: 800; }

/* Payment Methods */
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }

.payment-method {
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    padding: 18px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
}

.payment-method:hover { border-color: var(--primary-color); }
.payment-method.selected { border-color: var(--primary-color); background: rgba(212,175,55,0.06); }
.payment-method h4 { font-size: 0.95rem; color: var(--secondary-color); margin: 0 0 2px; }
.payment-method p { font-size: 0.78rem; color: #888; margin: 0; }

.payment-method-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.mpesa-icon { background: #00A651; color: #fff; }
.card-icon { background: #1A1F71; color: #fff; }

/* M-Pesa Form */
.mpesa-form, .card-form { display: none; padding: 20px; background: #f8f9fa; border-radius: 14px; border: 1px solid #e0e0e0; margin-top: 4px; }
.mpesa-form.active, .card-form.active { display: block; }

.mpesa-logo { text-align: center; margin-bottom: 16px; }
.mpesa-text { font-size: 1.8rem; font-weight: 900; color: #00A651; letter-spacing: -0.5px; }

.mpesa-steps { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.mpesa-steps h4 { font-size: 0.85rem; color: #15803d; margin-bottom: 8px; }
.mpesa-steps ol { padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.mpesa-steps li { font-size: 0.82rem; color: #166534; }

.stk-push-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00A651, #007A3D);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.stk-push-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.stk-push-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Confirmation */
.confirmation-card { padding: 40px 20px; text-align: center; }
.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 12px rgba(34,197,94,0.12);
    animation: confirmPulse 2s ease infinite;
}

@keyframes confirmPulse {
    0%, 100% { box-shadow: 0 0 0 12px rgba(34,197,94,0.12); }
    50% { box-shadow: 0 0 0 20px rgba(34,197,94,0.05); }
}

.booking-ref {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 14px 28px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 12px auto;
}

.confirmation-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

.whatsapp-share-btn {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s;
}

.whatsapp-share-btn:hover { background: #128c7e; transform: translateY(-2px); }

/* Wizard Nav */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 36px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.wizard-nav-right { display: flex; gap: 12px; margin-left: auto; }

/* =================== GALLERY PAGE =================== */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    background: #f0f0f0;
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay div {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    position: absolute;
    top: 12px;
    right: 12px;
}

.gallery-item-overlay span { font-size: 0.78rem; color: rgba(255,255,255,0.9); font-weight: 600; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    animation: lbFadeIn 0.3s ease;
}

@keyframes lbFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.lightbox-nav button, #lb-prev, #lb-next {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-nav button:hover, #lb-prev:hover, #lb-next:hover { background: rgba(255,255,255,0.3); }

/* =================== BLOG PAGE =================== */
.blog-featured { margin-bottom: 40px; border-radius: 20px; overflow: hidden; }
.blog-featured-img { min-height: 380px; padding: 50px 40px; display: flex; align-items: flex-end; }
.blog-featured-content { max-width: 600px; }
.blog-featured-content h2 { font-family: 'Playfair Display', serif; color: #fff; font-size: clamp(1.4rem,3vw,2rem); margin: 12px 0 10px; line-height: 1.3; }
.blog-featured-content p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-bottom: 12px; }

.blog-tag-label { padding: 5px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.blog-tag-label.wildlife { background: rgba(212,175,55,0.2); color: var(--primary-color); border: 1px solid rgba(212,175,55,0.4); }

.blog-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.blog-meta span { font-size: 0.8rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 5px; }
.blog-meta span i { color: var(--primary-color); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

.blog-img {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.blog-img-emoji { font-size: 3.5rem; }

.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.blog-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.blog-tag.wildlife { background: rgba(212,175,55,0.15); color: var(--secondary-color); }
.blog-tag.tips { background: #dbeafe; color: #1d4ed8; }
.blog-tag.parks { background: #dcfce7; color: #15803d; }
.blog-tag.conservation { background: #d1fae5; color: #065f46; }
.blog-tag.kenya { background: #fee2e2; color: #991b1b; }
.blog-tag.tanzania { background: #fef3c7; color: #92400e; }

.blog-meta-top { display: flex; gap: 12px; margin-bottom: 8px; }
.blog-meta-top span { font-size: 0.75rem; color: #999; display: flex; align-items: center; gap: 4px; }

.blog-body h3 { font-size: 1rem; color: var(--secondary-color); margin-bottom: 8px; font-weight: 700; line-height: 1.4; }
.blog-body > p { font-size: 0.84rem; color: #666; line-height: 1.55; margin-bottom: 12px; }

.blog-preview { background: #f8f9fa; border-radius: 10px; padding: 14px; margin-bottom: 14px; flex: 1; }
.blog-preview h4 { font-size: 0.82rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 8px; }
.blog-preview h5 { font-size: 0.78rem; font-weight: 700; margin-bottom: 4px; }
.blog-preview ul, .blog-preview ol { padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.blog-preview li { font-size: 0.8rem; color: #555; line-height: 1.45; }

.blog-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid #f0f0f0; margin-top: auto; }
.blog-read-more { font-size: 0.82rem; color: var(--primary-color); font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.blog-read-more:hover { color: var(--secondary-color); }

/* =================== VISA PAGE =================== */
.visa-country-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

.visa-tab {
    padding: 10px 20px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    color: #555;
}

.visa-tab.active { background: var(--secondary-color); color: #fff; border-color: var(--secondary-color); }
.visa-tab:hover:not(.active) { border-color: var(--secondary-color); color: var(--secondary-color); }

.visa-content { display: none; }
.visa-content.active { display: block; }

.visa-card {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.visa-card-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.visa-card-header h3 { color: #fff; font-size: 1.2rem; margin: 0; font-family: 'Playfair Display', serif; }

.visa-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.visa-badge.online { background: #22c55e; color: #fff; }
.visa-badge.arrival { background: #3b82f6; color: #fff; }

.visa-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.visa-info-item { background: #fff; padding: 14px; border-radius: 10px; border: 1px solid #f0f0f0; }
.vi-label { font-size: 0.72rem; color: #888; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.vi-value { font-size: 0.92rem; color: var(--secondary-color); font-weight: 700; }

.visa-requirements { padding: 20px 24px; }
.visa-requirements h4 { font-size: 0.95rem; color: var(--secondary-color); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.visa-requirements ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.visa-requirements li { font-size: 0.87rem; color: #555; display: flex; align-items: flex-start; gap: 10px; }
.visa-requirements li i.fa-check-circle { color: #22c55e; flex-shrink: 0; margin-top: 2px; }

.visa-free-note {
    margin: 0 24px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.visa-free-note i { color: #1d4ed8; flex-shrink: 0; margin-top: 2px; }
.visa-free-note div { font-size: 0.85rem; color: #1d4ed8; }

/* Park Fee Tables */
.fee-section { background: #fff; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); overflow: hidden; border: 1px solid #e0e0e0; }

.fee-section-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #fff;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 1rem;
}

.fee-table-wrapper { overflow-x: auto; }

.fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.fee-table th {
    background: #f8f9fa;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    border-bottom: 2px solid #e0e0e0;
}

.fee-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    vertical-align: top;
}

.fee-table tr:hover td { background: #fafafa; }

.fee-highlight {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

.permit-row td { background: #fffbf0; }

/* =================== PACKAGES PAGE =================== */
.packages-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.package-page-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.package-page-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.14); }
.package-page-card.featured { border-color: var(--primary-color); }

.pkg-img {
    height: 150px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.pkg-img-content { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }

.pkg-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    backdrop-filter: blur(4px);
}

.pkg-badge.budget { background: #22c55e; }
.pkg-badge.luxury { background: linear-gradient(135deg,#D4AF37,#b8962e); color: #1a1a2e; }
.pkg-badge.featured { background: var(--primary-color); color: var(--secondary-dark); }

.pkg-duration { font-size: 0.78rem; color: rgba(255,255,255,0.9); font-weight: 600; background: rgba(0,0,0,0.35); padding: 3px 10px; border-radius: 10px; }

.pkg-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.pkg-tag { font-size: 0.72rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }

.pkg-body h3 { font-size: 1.05rem; color: var(--secondary-color); margin-bottom: 8px; font-weight: 700; line-height: 1.35; }
.pkg-desc { font-size: 0.85rem; color: #666; margin-bottom: 14px; line-height: 1.5; }

.pkg-includes { background: #f8f9fa; border-radius: 12px; padding: 14px; margin-bottom: 16px; flex: 1; }
.pkg-includes h5 { font-size: 0.78rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.4px; }
.pkg-includes ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pkg-includes li { font-size: 0.82rem; color: #555; display: flex; align-items: center; gap: 8px; }
.pkg-includes li i.fa-check { color: #22c55e; }
.pkg-includes li i.fa-times.excluded { color: #e53935; }

.pkg-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid #f0f0f0; gap: 12px; }

.pkg-price { font-size: 0.85rem; color: #888; }
.pkg-price .currency { font-size: 1rem; color: var(--secondary-color); font-weight: 800; }
.pkg-price strong { font-size: 1.6rem; color: var(--secondary-color); font-weight: 900; }
.pkg-price .per { font-size: 0.72rem; display: block; }

/* =================== CAR HIRE PAGE =================== */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.fleet-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fleet-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.14); }

.fleet-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fleet-img-icon { font-size: 5rem; }
.fleet-badge { position: absolute; top: 14px; right: 14px; background: var(--primary-color); color: var(--secondary-dark); font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }

.fleet-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.fleet-body h3 { font-size: 1.1rem; color: var(--secondary-color); margin-bottom: 10px; font-weight: 700; }

.fleet-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.fleet-specs span { font-size: 0.72rem; background: #f0f4f0; color: #2E4600; padding: 4px 10px; border-radius: 20px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.fleet-specs span i { color: var(--primary-color); }

.fleet-desc { font-size: 0.84rem; color: #666; margin-bottom: 14px; line-height: 1.55; }

.fleet-features { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; flex: 1; }
.fleet-feature { font-size: 0.82rem; color: #555; display: flex; align-items: center; gap: 8px; }
.fleet-feature i { color: #22c55e; flex-shrink: 0; }

.fleet-pricing { background: #f8f9fa; border-radius: 12px; padding: 14px; margin-bottom: 16px; }
.price-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.85rem; }
.price-row:last-child { border-bottom: none; }
.price-row span { color: #666; }
.price-row strong { color: var(--secondary-color); font-weight: 700; }

/* Process Steps */
.process-step { text-align: center; padding: 24px 16px; background: #fff; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.process-num { width: 52px; height: 52px; background: linear-gradient(135deg,var(--primary-color),#b8962e); color: var(--secondary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 900; margin: 0 auto 14px; }
.process-step h4 { color: var(--secondary-color); margin-bottom: 8px; font-size: 1rem; font-weight: 700; }
.process-step p { font-size: 0.84rem; color: #666; line-height: 1.5; }

/* =================== SERVICES PAGE =================== */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-page-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.service-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    border-color: var(--card-accent, var(--primary-color));
}

.service-card-hero {
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-icon { font-size: 4rem; z-index: 1; position: relative; }

.service-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service-card-body h3 { font-size: 1.1rem; color: var(--secondary-color); margin-bottom: 10px; font-weight: 700; }
.service-card-body p { font-size: 0.85rem; color: #666; line-height: 1.55; margin-bottom: 14px; }

.service-card-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; flex: 1; }
.service-card-list li { font-size: 0.82rem; color: #555; display: flex; align-items: center; gap: 8px; }
.service-card-list li i { color: #22c55e; flex-shrink: 0; }

.service-card-footer { display: flex; gap: 10px; padding-top: 14px; border-top: 1px solid #f0f0f0; }
.service-card-footer .btn { flex: 1; text-align: center; justify-content: center; font-size: 0.8rem; padding: 10px 8px; }

.btn-outline-secondary {
    border: 1.5px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    transition: all 0.25s ease;
}
.btn-outline-secondary:hover { background: var(--secondary-color); color: #fff; }

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    background: transparent;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    transition: all 0.25s ease;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
    .gallery-page-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-item.wide, .gallery-item.tall { grid-column: unset; grid-row: unset; }
    .form-row { grid-template-columns: 1fr; }
    .packages-page-grid { grid-template-columns: 1fr; }
    .fleet-grid { grid-template-columns: 1fr; }
    .parks-grid { grid-template-columns: 1fr; }
    .dest-page-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .services-page-grid { grid-template-columns: 1fr; }
    .payment-methods { grid-template-columns: 1fr; }
    .summary-grid { grid-template-columns: 1fr; }
    .summary-item.total-row { grid-column: unset; }
    .wizard-steps { gap: 0; }
    .step-label { display: none; }
    .wizard-step-content { padding: 20px; }
    .wizard-nav { padding: 16px 20px; }
    .wizard-panel-header { padding: 20px; }
    .visa-info-grid { grid-template-columns: 1fr 1fr; }
    .fee-table { font-size: 0.75rem; }
    .fee-table th, .fee-table td { padding: 8px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-page-grid { grid-template-columns: repeat(2, 1fr); }
    .parks-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .gallery-page-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .service-type-grid { grid-template-columns: 1fr 1fr; }
    .vehicle-selector { grid-template-columns: 1fr 1fr; }
    .filter-tabs { gap: 5px; }
    .filter-tab { padding: 7px 14px; font-size: 0.78rem; }
}
