/* Hybrid Start Feature Page - Art Deco Industrial */

/* ============================================
   PAGE WRAPPER
   ============================================ */
.hybrid-start-page {
    position: relative;
}

.hybrid-start-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(var(--theme-primary-rgb, 0, 169, 160), 0.02) 0px,
            transparent 1px,
            transparent 60px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(var(--theme-primary-rgb, 0, 169, 160), 0.02) 0px,
            transparent 1px,
            transparent 60px
        );
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hybrid-hero {
    position: relative;
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg,
        var(--theme-bg-primary) 0%,
        var(--theme-bg-secondary) 50%,
        var(--theme-bg-primary) 100%
    );
    overflow: hidden;
}

.hybrid-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 75%, rgba(var(--theme-primary-rgb, 0, 169, 160), 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(var(--theme-primary-rgb, 0, 169, 160), 0.06) 0%, transparent 40%);
    pointer-events: none;
}

/* Decorative Art Deco sunburst lines behind the hero */
.hybrid-hero-pattern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background:
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            rgba(var(--theme-primary-rgb, 0, 169, 160), 0.03) 0deg 5deg,
            transparent 5deg 15deg
        );
    pointer-events: none;
    opacity: 0.5;
}

.hybrid-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hybrid-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--theme-primary-rgb, 0, 169, 160), 0.12);
    border: 1px solid rgba(var(--theme-primary-rgb, 0, 169, 160), 0.25);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--theme-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hybrid-hero-badge i {
    font-size: 0.875rem;
}

.hybrid-hero-title {
    font-family: 'Karla', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--theme-text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hybrid-hero-subtitle {
    font-size: 1.125rem;
    color: var(--theme-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.hybrid-hero-image-wrapper {
    margin-top: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hybrid-hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 10px 20px -5px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(var(--theme-primary-rgb, 0, 169, 160), 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hybrid-hero-image:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 12px -2px rgba(0, 0, 0, 0.12),
        0 16px 32px -8px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(var(--theme-primary-rgb, 0, 169, 160), 0.15);
}

@media (max-width: 768px) {
    .hybrid-hero {
        padding: 3rem 0 2.5rem;
    }

    .hybrid-hero-title {
        font-size: 1.75rem;
    }

    .hybrid-hero-subtitle {
        font-size: 1rem;
    }

    .hybrid-hero-image-wrapper {
        margin-top: 2rem;
    }

    .hybrid-hero-image {
        border-radius: 8px;
    }
}

/* ============================================
   FEATURE SECTIONS (scroll-reveal)
   ============================================ */
.hybrid-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--theme-border-color);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hybrid-section:last-of-type {
    border-bottom: none;
}

.hybrid-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.hybrid-section-header {
    margin-bottom: 2rem;
}

.hybrid-section-label {
    display: inline-block;
    font-family: 'Karla', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--theme-primary);
    margin-bottom: 0.5rem;
}

.hybrid-section-title {
    font-family: 'Karla', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--theme-text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

/* ============================================
   MODE CARDS (Tee Time / Shotgun side-by-side)
   ============================================ */
.hybrid-modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.hybrid-mode-card {
    position: relative;
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hybrid-mode-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(var(--theme-primary-rgb, 0, 169, 160), 0.12);
}

/* Decorative top border accent */
.hybrid-mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-primary-hover, #008f88));
}

.hybrid-mode-card--shotgun::before {
    background: linear-gradient(90deg, #FFB347, #FF6B6B);
}

.hybrid-mode-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--theme-primary-rgb, 0, 169, 160), 0.1);
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

.hybrid-mode-card--shotgun .hybrid-mode-icon {
    background: rgba(255, 179, 71, 0.12);
}

.hybrid-mode-icon i {
    font-size: 1.375rem;
    color: var(--theme-primary);
}

.hybrid-mode-card--shotgun .hybrid-mode-icon i {
    color: #FFB347;
}

.hybrid-mode-card h3 {
    font-family: 'Karla', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    margin: 0 0 0.5rem;
}

.hybrid-mode-card .mode-time {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: rgba(var(--theme-primary-rgb, 0, 169, 160), 0.08);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--theme-primary);
    margin-bottom: 1rem;
}

.hybrid-mode-card--shotgun .mode-time {
    background: rgba(255, 179, 71, 0.1);
    color: #e09a30;
}

[data-bs-theme="dark"] .hybrid-mode-card--shotgun .mode-time {
    color: #FFB347;
}

.hybrid-mode-card p {
    font-size: 0.9375rem;
    color: var(--theme-text-secondary);
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.hybrid-mode-card p:last-child {
    margin-bottom: 0;
}

/* Mode card image */
.hybrid-mode-image-frame {
    border-radius: 10px;
    overflow: hidden;
    background: var(--theme-bg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hybrid-mode-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .hybrid-modes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hybrid-mode-card {
        padding: 1.5rem;
    }
}

/* ============================================
   PLUS CONNECTOR (between the two mode cards)
   ============================================ */
.hybrid-modes-connector {
    display: none;
}

@media (min-width: 769px) {
    .hybrid-modes-grid {
        position: relative;
    }

    .hybrid-modes-connector {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 48px;
        height: 48px;
        background: var(--theme-primary);
        border-radius: 50%;
        z-index: 2;
        box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 0, 169, 160), 0.3);
    }

    .hybrid-modes-connector i {
        font-size: 1.125rem;
        color: white;
    }
}

/* ============================================
   BENEFITS GRID
   ============================================ */
.hybrid-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.hybrid-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hybrid-benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hybrid-benefit-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--theme-primary-rgb, 0, 169, 160), 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.hybrid-benefit-icon i {
    font-size: 1.125rem;
    color: var(--theme-primary);
}

.hybrid-benefit-content h4 {
    font-family: 'Karla', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    margin: 0 0 0.375rem;
}

.hybrid-benefit-content p {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .hybrid-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hybrid-benefit-card {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hybrid-benefit-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================
   HOW TO JOIN STEPS
   ============================================ */
.hybrid-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
    counter-reset: step-counter;
}

.hybrid-step {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    counter-increment: step-counter;
}

.hybrid-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-hover, #008f88));
    border-radius: 50%;
    font-family: 'Karla', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb, 0, 169, 160), 0.25);
}

.hybrid-step h4 {
    font-family: 'Karla', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    margin: 0 0 0.5rem;
}

.hybrid-step p {
    font-size: 0.9375rem;
    color: var(--theme-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Connector arrows between steps (desktop only) */
.hybrid-step:not(:last-child)::after {
    content: '\f061';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 2rem;
    right: -1rem;
    width: 32px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--theme-text-tertiary, #999);
    transform: translateX(50%);
}

@media (max-width: 768px) {
    .hybrid-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hybrid-step {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 1.25rem;
        gap: 1rem;
        background: var(--theme-bg-secondary);
        border: 1px solid var(--theme-border-color);
        border-radius: 12px;
    }

    .hybrid-step-number {
        width: 44px;
        height: 44px;
        margin: 0;
        font-size: 1.125rem;
        flex-shrink: 0;
    }

    .hybrid-step-content {
        flex: 1;
    }

    .hybrid-step:not(:last-child)::after {
        display: none;
    }
}

/* ============================================
   FLIPPY CALLOUT (overrides for page context)
   ============================================ */
.hybrid-start-page .flippy-says-simple {
    margin-top: 2rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.hybrid-cta-section {
    padding: 2rem 0 4rem;
}

.hybrid-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg,
        rgba(var(--theme-primary-rgb, 0, 169, 160), 0.08) 0%,
        var(--theme-bg-secondary) 100%
    );
    border: 1px solid var(--theme-border-color);
    border-radius: 20px;
}

.hybrid-cta-content h3 {
    font-family: 'Karla', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    margin: 0 0 0.375rem;
}

.hybrid-cta-content p {
    font-size: 1rem;
    color: var(--theme-text-secondary);
    margin: 0;
}

.hybrid-cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .hybrid-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .hybrid-cta-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hybrid-cta-card {
        padding: 1.5rem;
    }

    .hybrid-cta-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hybrid-cta-actions .btn-theme-base {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   DARK MODE
   ============================================ */
[data-bs-theme="dark"] .hybrid-hero {
    background: linear-gradient(135deg,
        var(--theme-bg-primary) 0%,
        var(--surface-2, #1a1a2e) 50%,
        var(--theme-bg-primary) 100%
    );
}

[data-bs-theme="dark"] .hybrid-hero-pattern {
    background-image:
        radial-gradient(circle at 25% 75%, rgba(var(--theme-primary-rgb, 0, 169, 160), 0.12) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(var(--theme-primary-rgb, 0, 169, 160), 0.08) 0%, transparent 40%);
}

[data-bs-theme="dark"] .hybrid-mode-card {
    background: var(--surface-2, #1f1f2e);
}

[data-bs-theme="dark"] .hybrid-mode-image-frame {
    background: var(--surface-1, #16161e);
}

[data-bs-theme="dark"] .hybrid-benefit-card {
    background: var(--surface-2, #1f1f2e);
}

[data-bs-theme="dark"] .hybrid-benefit-icon {
    background: rgba(var(--theme-primary-rgb, 0, 169, 160), 0.15);
}

[data-bs-theme="dark"] .hybrid-mode-icon {
    background: rgba(var(--theme-primary-rgb, 0, 169, 160), 0.15);
}

[data-bs-theme="dark"] .hybrid-mode-card--shotgun .hybrid-mode-icon {
    background: rgba(255, 179, 71, 0.15);
}

[data-bs-theme="dark"] .hybrid-cta-card {
    background: linear-gradient(135deg,
        rgba(var(--theme-primary-rgb, 0, 169, 160), 0.12) 0%,
        var(--surface-2, #1f1f2e) 100%
    );
}

@media (max-width: 768px) {
    [data-bs-theme="dark"] .hybrid-step {
        background: var(--surface-2, #1f1f2e);
    }
}
