/* ============================================================
   Plan Your Safari — Interactive homepage booking entry point
   Arusha Excursions
   ============================================================ */

.psf-wrapper {
    position: relative;
}

.psf-panel {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: 0 40px 90px rgba(13, 48, 52, 0.28), 0 8px 26px rgba(13, 48, 52, 0.12);
    isolation: isolate;
    padding: 5rem 2rem;
}

.psf-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.psf-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Subtle parallax: the image drifts slightly slower than the page scroll. */
    transform: translateZ(0) scale(1.08);
    transition: transform 0.6s ease-out;
    will-change: transform;
}

.psf-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 27, 29, 0.8) 0%, rgba(10, 27, 29, 0.74) 45%, rgba(10, 27, 29, 0.9) 100%);
}

.psf-content {
    color: #fff;
}

.psf-heading {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.psf-lead {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

/* ---------- Option cards ---------- */
.psf-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 2.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.5rem;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.psf-option-card:hover,
.psf-option-card:focus-visible {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.psf-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.psf-option-card:hover .psf-option-icon {
    transform: scale(1.1) rotate(-4deg);
}

.psf-option-icon svg {
    width: 28px;
    height: 28px;
}

.psf-icon-whatsapp {
    background: #25d366;
    color: #fff;
}

.psf-icon-email {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.psf-icon-custom {
    background: linear-gradient(135deg, #c9a24b, #a97f2c);
    color: #fff;
}

.psf-option-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.psf-option-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13.5px;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.psf-option-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
}

.psf-option-cta .hicon {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.psf-option-card:hover .psf-option-cta .hicon {
    transform: translateX(4px);
}

@media (max-width: 767.98px) {
    .psf-panel {
        padding: 3.25rem 1.5rem;
        border-radius: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .psf-bg img,
    .psf-option-card,
    .psf-option-icon,
    .qef-just-revealed {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* ---------- Custom Safari modal ---------- */
.psf-modal .modal-content {
    border: none;
    border-radius: 1.75rem;
    box-shadow: 0 40px 90px rgba(13, 48, 52, 0.3);
    overflow: hidden;
}

.psf-modal .modal-body {
    padding: 3rem 2.5rem 2.5rem;
}

@media (max-width: 575.98px) {
    .psf-modal .modal-body {
        padding: 2.5rem 1.5rem 1.75rem;
    }
}

.psf-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 5;
}
