/* ============================================================
   D'Berg Travel Co. — page-bvi-activities.css
   Sprocket Design Co. — 30 April 2026 — v1.0.0

   Page-specific styles for /what-to-do-in-the-bvi/ (page-id-991).
   Recovered from the v49 Additional CSS baseline:
     - Section 12 (page hero + navy gradient overlay)
     - Section 13 (CTA buttons + contacts row)
     - Section 14 (BVI activity cards — 3-up grid, image
                    zoom on hover, navy/cream card body)
     - Section 17 (responsive breakpoints)

   All page-scoped rules wrapped in .page-id-991 so this file
   can never bleed into any other page.

   Loaded by: functions.php → dberg_enqueue_page_specific_css()
   Version param must match the wp_enqueue_style call.
   ============================================================ */


/* ============================================================
   1. PAGE HERO — recovered from v49 Section 12
   ============================================================ */

.page-id-991 .dberg-page-hero {
    padding: 0 80px !important;
    max-width: 860px !important;
}
.page-id-991 .dberg-hero-eyebrow {
    display: block !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    color: #C4A35A !important;
    margin-bottom: 14px !important;
}
.page-id-991 .dberg-hero-h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(2rem, 5vw, 3.4rem) !important;
    font-weight: 600 !important;
    color: #fff !important;
    line-height: 1.12 !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero overlay — navy gradient over photo */
.page-id-991 .dberg-bvi-hero {
    position: relative !important;
    display: flex !important;
    align-items: flex-end !important;
}
.page-id-991 .dberg-bvi-hero > .vc_column-inner > .wpb_wrapper {
    position: relative !important;
    z-index: 2 !important;
}
.page-id-991 .dberg-bvi-hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(
        to bottom,
        rgba(12,27,46,0.22) 0%,
        rgba(12,27,46,0.55) 50%,
        rgba(12,27,46,0.97) 100%
    ) !important;
    pointer-events: none !important;
}


/* ============================================================
   2. INTRO BODY — recovered from v49 Section 14
   ============================================================ */

.page-id-991 .dberg-bvi-intro-body .vc_column_text p,
.page-id-991 .dberg-bvi-intro-body p {
    font-size: 1rem !important;
    color: #4b5563 !important;
    line-height: 1.85 !important;
}


/* ============================================================
   3. ACTIVITY CARDS — recovered from v49 Section 14
   3-up grid, white card body, navy serif title, slate body
   copy, image zoom on hover, lift + shadow.

   The shortcode renders two .dberg-activity-grid blocks back-
   to-back with a vc_empty_space between, so each block is
   already a self-contained 3-up grid. No structural changes
   needed beyond the grid container.
   ============================================================ */

.page-id-991 .dberg-activity-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 26px !important;
}

.page-id-991 .dberg-activity-card {
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid rgba(196,163,90,0.18) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.25s, box-shadow 0.25s !important;
}
.page-id-991 .dberg-activity-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 36px rgba(12,27,46,0.11) !important;
}

.page-id-991 .dberg-activity-card-img {
    height: 220px !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.5s ease !important;
}
.page-id-991 .dberg-activity-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}
.page-id-991 .dberg-activity-card:hover .dberg-activity-card-img {
    transform: scale(1.05) !important;
}
.page-id-991 .dberg-activity-card:hover .dberg-activity-card-img img {
    transform: scale(1.05) !important;
}

.page-id-991 .dberg-activity-card-body {
    padding: 24px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.page-id-991 .dberg-activity-card-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #0C1B2E !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}
.page-id-991 .dberg-activity-card-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    color: #6b7a8d !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}


/* ============================================================
   4. CTA SECTION — recovered from v49 Section 13
   ============================================================ */

.page-id-991 .dberg-cta-body p,
.page-id-991 .dberg-cta-body .vc_column_text p {
    font-size: 0.95rem !important;
    color: rgba(255,255,255,0.52) !important;
    max-width: 460px !important;
    margin: 0 auto 32px !important;
    line-height: 1.7 !important;
}
.page-id-991 .dberg-cta-btns {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-bottom: 0 !important;
}
.page-id-991 .dberg-cta-btns .dberg-cta,
.page-id-991 .dberg-cta-btns .dberg-btn-gold,
.page-id-991 .dberg-cta-btns .dberg-btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.page-id-991 .dberg-cta-btns .dberg-cta,
.page-id-991 .dberg-cta-btns .dberg-btn-gold {
    padding: 13px 26px !important;
    background: #C4A35A !important;
    color: #0C1B2E !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}
.page-id-991 .dberg-cta-btns .dberg-cta:hover,
.page-id-991 .dberg-cta-btns .dberg-btn-gold:hover {
    opacity: 0.88 !important;
    color: #0C1B2E !important;
}
.page-id-991 .dberg-cta-btns .dberg-btn-outline {
    padding: 13px 26px !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.28) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.04em !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
}
.page-id-991 .dberg-cta-btns .dberg-btn-outline:hover {
    background: rgba(255,255,255,0.16) !important;
    color: #fff !important;
}


/* ============================================================
   5. RESPONSIVE — recovered from v49 Section 17
   ============================================================ */

@media (max-width: 1000px) {
    .page-id-991 .dberg-activity-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 860px) {
    .page-id-991 .dberg-page-hero {
        padding: 0 32px !important;
    }
    .page-id-991 .dberg-bvi-grid {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

@media (max-width: 600px) {
    .page-id-991 .dberg-page-hero {
        padding: 0 20px !important;
    }
    .page-id-991 .dberg-activity-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   END OF FILE — page-bvi-activities.css v1.0.0
   ============================================================ */
