/* ==========================================================================
   Points of Interest — St. Croix USVI
   Prince Taxi Safari Tours
   White Theme & Compact 4-Column Grid Styling
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO BANNER (Clean White & Caribbean Atmosphere)
   -------------------------------------------------------------------------- */
.poi-hero-banner {
    position: relative;
    padding: 110px 0 60px;
    background: #f8fafc;
    overflow: hidden;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.poi-hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0.16;
}

.poi-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.04);
    filter: brightness(1.05) contrast(1.1) saturate(1.2);
    animation: poiHeroZoom 25s ease-in-out infinite alternate;
}

@keyframes poiHeroZoom {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.10); }
}

.poi-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(248, 250, 252, 0.75) 0%,
        rgba(255, 255, 255, 0.94) 100%
    );
}

.poi-hero-container {
    position: relative;
    z-index: 2;
}

.poi-hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.poi-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #ea580c;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
}

.poi-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #ea580c;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(234, 88, 12, 0.6);
    animation: poiPulse 1.8s infinite;
}

@keyframes poiPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(234, 88, 12, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.poi-main-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.poi-highlight {
    background: linear-gradient(135deg, #F37021 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.poi-subtitle {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.poi-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 500;
}

.poi-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.poi-breadcrumb a:hover {
    color: #F37021;
}

/* --------------------------------------------------------------------------
   2. STATS STRIP (White & Crisp)
   -------------------------------------------------------------------------- */
.poi-stats-strip {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    position: relative;
    z-index: 3;
}

.poi-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
}

.poi-stat-card {
    padding: 8px 12px;
    position: relative;
}

.poi-stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e2e8f0;
}

.poi-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ea580c;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    line-height: 1.2;
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.poi-stat-label {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   3. FILTER BAR (Strictly 1 Single Row)
   -------------------------------------------------------------------------- */
.poi-section {
    padding: 45px 0 80px;
    background: #f8fafc;
    min-height: 800px;
}

.poi-container {
    max-width: 1400px;
    padding: 0 20px;
    margin: 0 auto;
}

.poi-filter-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 34px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.poi-filter-wrapper::-webkit-scrollbar {
    display: none;
}

.poi-filter-bar {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
}

.poi-filter-btn {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.poi-filter-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.poi-filter-btn.active {
    background: linear-gradient(135deg, #F37021 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(243, 112, 33, 0.28);
}

/* --------------------------------------------------------------------------
   4. 4-COLUMN CARDS GRID (White Theme & Centered Rows)
   -------------------------------------------------------------------------- */
.poi-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.poi-card {
    flex: 0 0 calc((100% - (3 * 22px)) / 4);
    max-width: calc((100% - (3 * 22px)) / 4);
    width: calc((100% - (3 * 22px)) / 4);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.03);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease,
                opacity 0.3s ease;
}

.poi-card:hover {
    transform: translateY(-5px);
    border-color: #ea580c;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(243, 112, 33, 0.25);
}

/* Card Media Header */
.poi-card-media {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #f1f5f9;
}

.poi-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.poi-card:hover .poi-img {
    transform: scale(1.06);
}

.poi-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.18) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.22) 100%
    );
    pointer-events: none;
}

/* Compact Number Badge (White Card Style) */
.poi-number-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(243, 112, 33, 0.45);
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 2;
    letter-spacing: -0.01em;
}

.poi-num-prefix {
    color: #ea580c;
    font-size: 0.72rem;
    font-weight: 900;
}

/* Compact Feature Badge (White Card Style) */
.poi-feature-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #0f172a;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    max-width: 155px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Body */
.poi-card-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.poi-category-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.poi-category-pill {
    display: inline-block;
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #ffedd5;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

.poi-tag-text {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poi-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.poi-description {
    font-size: 0.81rem;
    line-height: 1.48;
    color: #475569;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6em;
}

/* Highlights Box (White Theme) */
.poi-highlights-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.poi-highlights-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ea580c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.poi-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.poi-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.74rem;
    color: #334155;
    line-height: 1.35;
}

.poi-check-bullet {
    color: #ea580c;
    font-weight: 800;
    font-size: 0.78rem;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Local Tip Box (White Theme Warm Accent) */
.poi-tip-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff7ed;
    border-left: 2.5px solid #ea580c;
    border-radius: 0 8px 8px 0;
    padding: 7px 10px;
    margin-bottom: 14px;
}

.poi-tip-icon {
    font-size: 0.88rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.poi-tip-text {
    font-size: 0.73rem;
    font-style: italic;
    color: #9a3412;
    line-height: 1.38;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.poi-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.btn-poi-book {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #F37021 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(243, 112, 33, 0.25);
    white-space: nowrap;
}

.btn-poi-book:hover {
    background: linear-gradient(135deg, #ff8533 0%, #c2410c 100%);
    box-shadow: 0 5px 18px rgba(243, 112, 33, 0.38);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-poi-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-poi-call:hover {
    background: #fff7ed;
    border-color: #ea580c;
    color: #ea580c;
}

/* --------------------------------------------------------------------------
   5. VIP CUSTOM ITINERARY BANNER (White Luxury Theme)
   -------------------------------------------------------------------------- */
.poi-vip-banner {
    padding: 20px 0 70px;
    background: #f8fafc;
}

.poi-vip-card {
    background: #ffffff;
    border: 1.5px solid #fed7aa;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 16px 36px -4px rgba(243, 112, 33, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.poi-vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(243, 112, 33, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.poi-vip-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    align-items: center;
}

.poi-vip-tag {
    display: inline-block;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #ea580c;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.poi-vip-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 14px;
}

.poi-vip-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 24px;
}

.poi-vip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.poi-vip-actions .btn-primary {
    background: linear-gradient(135deg, #F37021 0%, #ea580c 100%);
    border: none;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(243, 112, 33, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.25s ease;
}

.poi-vip-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(243, 112, 33, 0.5);
    color: #ffffff;
}

.poi-vip-actions .btn-outline {
    background: transparent;
    border: 1.5px solid #cbd5e1;
    color: #0f172a;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.poi-vip-actions .btn-outline:hover {
    border-color: #ea580c;
    color: #ea580c;
    background: #fff7ed;
}

.poi-vip-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.poi-vip-badge-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    position: relative;
    padding-left: 52px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.poi-vip-badge-item:hover {
    background: #ffffff;
    border-color: #fed7aa;
}

.poi-badge-icon {
    position: absolute;
    left: 16px;
    top: 15px;
    font-size: 1.35rem;
    line-height: 1;
}

.poi-vip-badge-item strong {
    display: block;
    color: #0f172a;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.poi-vip-badge-item p {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS (DESKTOP, TABLET & MOBILE)
   -------------------------------------------------------------------------- */

/* Large Tablets & Small Laptops (3 Columns Centered) */
@media (max-width: 1199px) and (min-width: 860px) {
    .poi-grid {
        gap: 18px;
    }
    .poi-card {
        flex: 0 0 calc((100% - (2 * 18px)) / 3);
        max-width: calc((100% - (2 * 18px)) / 3);
        width: calc((100% - (2 * 18px)) / 3);
    }
}

/* Tablets (2 Columns Centered) */
@media (max-width: 859px) and (min-width: 601px) {
    .poi-grid {
        gap: 18px;
    }
    .poi-card {
        flex: 0 0 calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
        width: calc((100% - 18px) / 2);
    }
    
    .poi-card-media {
        height: 200px;
    }

    .poi-vip-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Screens (<= 600px) */
@media (max-width: 600px) {
    .poi-hero-banner {
        padding: 95px 0 45px;
    }

    .poi-container {
        padding: 0 14px;
    }

    .poi-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .poi-stat-card:nth-child(2)::after {
        display: none;
    }

    .poi-stat-number {
        font-size: 1.4rem;
    }

    .poi-stat-label {
        font-size: 0.72rem;
    }

    /* Single Row Swipeable Filter Bar on Mobile */
    .poi-filter-wrapper {
        justify-content: flex-start;
        padding-left: 4px;
        padding-right: 4px;
        margin-bottom: 24px;
    }

    .poi-filter-bar {
        padding: 4px 6px;
    }

    .poi-filter-btn {
        padding: 7px 12px;
        font-size: 0.75rem;
    }

    /* 1 Column on Mobile */
    .poi-grid {
        gap: 16px;
        max-width: 440px;
        margin: 0 auto;
    }

    .poi-card {
        flex: 0 0 100%;
        max-width: 440px;
        width: 100%;
        border-radius: 14px;
    }

    .poi-card-media {
        height: 195px;
    }

    .poi-card-body {
        padding: 15px 14px 16px;
    }

    .poi-title {
        font-size: 1.08rem;
        min-height: auto;
    }

    .poi-description {
        min-height: auto;
    }

    .poi-vip-card {
        padding: 28px 18px;
        border-radius: 16px;
    }

    .poi-vip-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .poi-vip-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .poi-vip-actions .btn-primary,
    .poi-vip-actions .btn-outline {
        justify-content: center;
    }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
    .poi-stats-grid {
        grid-template-columns: 1fr;
    }

    .poi-stat-card::after {
        display: none !important;
    }
}
