/* Accommodation Page Styles */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================
   Breadcrumbs
   =========================== */

.breadcrumbs {
    background: var(--light-bg);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs-list li + li::before {
    content: '›';
    color: var(--text-light);
}

.breadcrumbs-list a {
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.breadcrumbs-list a:hover {
    color: var(--secondary-cyan);
}

.breadcrumbs-list .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===========================
   Hero
   =========================== */

.page-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.page-hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.28), transparent 32%),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.12), transparent 22%),
        linear-gradient(135deg, rgba(4, 25, 44, 0.35), rgba(0, 102, 204, 0.2)),
        linear-gradient(180deg, #02111f 0%, #053563 48%, #0b6cc2 100%);
    z-index: 1;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.84), rgba(0, 102, 204, 0.52));
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    padding: 2rem;
}

.page-hero-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-cyan);
    margin-bottom: 1rem;
}

.page-hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.page-hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.96;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.page-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Shared Section Layout
   =========================== */

.accom-intro,
.accom-categories,
.accom-comparison,
.accom-meal-plans,
.accom-faq,
.accom-cta {
    padding: 5rem 0;
}

.accom-intro,
.accom-meal-plans,
.accom-faq {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f1ff 100%);
}

.accom-categories,
.accom-comparison {
    background: white;
}

/* ===========================
   Introduction
   =========================== */

.intro-text {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================
   Accommodation Cards
   =========================== */

.accom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Reusable accommodation card component — also used in build-my-dive-holiday.html */
.accom-card {
    background: white;
    border: 1px solid rgba(0, 102, 204, 0.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(10, 25, 41, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(10, 25, 41, 0.14);
}

.accom-card-image {
    min-height: 200px;
    position: relative;
}

.accom-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 28%, rgba(10, 25, 41, 0.4) 100%);
}

/* Individual card image placeholders */
.accom-img-basic {
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2), transparent 22%),
        radial-gradient(circle at 75% 18%, rgba(0, 212, 255, 0.32), transparent 18%),
        linear-gradient(180deg, #03213c 0%, #065391 52%, #0a7cc7 100%);
}

.accom-img-standard {
    background:
        radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.18), transparent 20%),
        radial-gradient(circle at 78% 24%, rgba(0, 212, 255, 0.24), transparent 18%),
        linear-gradient(180deg, #04192d 0%, #0a3b66 52%, #0d6bb1 100%);
}

.accom-img-premium {
    background:
        radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.18), transparent 18%),
        radial-gradient(circle at 80% 18%, rgba(255, 140, 66, 0.32), transparent 16%),
        linear-gradient(180deg, #031525 0%, #082c4a 46%, #0c5f96 100%);
}

.accom-img-deluxe {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 20%),
        radial-gradient(circle at 78% 20%, rgba(255, 107, 53, 0.38), transparent 18%),
        linear-gradient(180deg, #021020 0%, #06213f 46%, #0a527e 100%);
}

.accom-card-body {
    padding: 1.75rem;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
}

.accom-card-kicker {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-blue);
}

.accom-card-body h3 {
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 0;
}

.accom-card-desc {
    color: var(--text-light);
    font-size: 0.975rem;
    margin: 0;
}

.accom-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.accom-card-features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.accom-card-features li::before {
    content: '✓';
    color: #2ba84a;
    font-weight: 700;
    flex-shrink: 0;
}

.accom-card-actions {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* ===========================
   Comparison Table
   =========================== */

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(10, 25, 41, 0.08);
}

.comparison-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    vertical-align: middle;
    font-size: 0.93rem;
}

.comparison-table thead th {
    color: white;
    background: linear-gradient(135deg, #0066cc, #00549e);
    font-weight: 700;
}

.comparison-table thead th:first-child {
    background: linear-gradient(135deg, #0a1929, #15314e);
    text-align: left;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) td {
    background: #f9fbff;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.check {
    color: #2ba84a;
    font-size: 1.2rem;
    font-weight: 700;
}

.dash {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===========================
   Meal Plans
   =========================== */

.meal-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.meal-plan-card {
    background: white;
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 12px 30px rgba(10, 25, 41, 0.06);
    text-align: center;
}

.meal-plan-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.meal-plan-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.meal-plan-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0;
}

.meal-plans-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.975rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   FAQ Preview
   =========================== */

.faq-list {
    max-width: 900px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f1ff 100%);
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 1rem;
    color: #0a1929;
    transition: all 0.3s ease;
    list-style: none;
}

.faq-item[open] .faq-question {
    background: linear-gradient(135deg, #0066cc, #00549e);
    color: white;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e8f1ff 0%, #d9e9ff 100%);
}

.faq-item[open] .faq-question:hover {
    background: linear-gradient(135deg, #0052a3, #004080);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #e8e8e8;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.faq-more-link {
    text-align: center;
}

/* ===========================
   Final CTA
   =========================== */

.cta-panel {
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #0a1929, #00549e);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 22px 60px rgba(10, 25, 41, 0.18);
}

.cta-kicker {
    margin-bottom: 0.8rem;
    color: var(--secondary-cyan);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    font-weight: 700;
}

.cta-panel h2 {
    color: white;
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.cta-panel p {
    max-width: 650px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.88);
}

.mobile-sticky-cta {
    display: none;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
    .page-hero {
        min-height: 60vh;
    }

    .page-hero-title {
        font-size: 2.25rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .page-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .accom-intro,
    .accom-categories,
    .accom-comparison,
    .accom-meal-plans,
    .accom-faq,
    .accom-cta {
        padding: 4rem 0;
    }

    .accom-card-body {
        padding: 1.5rem;
    }

    .cta-panel h2 {
        font-size: 1.9rem;
    }

    .mobile-sticky-cta {
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        z-index: 998;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.95rem 1.25rem;
        border-radius: 999px;
        background: linear-gradient(135deg, #ff6b35, #ff8c42);
        color: white;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 16px 30px rgba(255, 107, 53, 0.28);
    }

    /* Raise WhatsApp button above the mobile sticky CTA (base styles in global.css) */
    .whatsapp-button {
        bottom: 5.25rem;
    }
}

@media (max-width: 480px) {
    .page-hero-content {
        padding: 2rem 1.25rem;
    }

    .page-hero-title {
        font-size: 1.9rem;
    }

    .accom-card-image {
        min-height: 170px;
    }

    .comparison-table {
        min-width: 620px;
    }

    .cta-panel {
        padding: 2.5rem 1.25rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 1rem;
    }
}
