/* ============================================
   INDEX.PHP — HERO + GRIDS + PLANS ONLY
=============================================== */

/* --------------------------------------------
   HERO WRAPPER
--------------------------------------------- */
.full-hero {
    width: 100%;
    height: 50vh;
    min-height: 460px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.full-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.55)
    );
    z-index: 1;
}

/* Title + subtitle area */
.full-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 2rem;
}

.full-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.full-hero-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
}

/* --------------------------------------------
   HERO VIDEO + FALLBACK
--------------------------------------------- */

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Fallback image (signed URL) */
#heroFallback,
.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -3;
    opacity: 1;
    transition: opacity 0.6s ease;
}

/* Play/Pause button */
.hero-video-toggle {
    position: absolute;
    bottom: 22px;
    right: 22px;
    z-index: 3;
    background: rgba(0,0,0,0.55);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 20px;
    padding: 8px 12px;
    cursor: pointer;
}

/* --------------------------------------------
   CTA BUTTONS
--------------------------------------------- */

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.hero-actions .btn {
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn.primary {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
}

.btn.ghost {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: #fff;
}

.btn:hover {
    filter: brightness(1.1);
}

/* --------------------------------------------
   SECTION TITLES
--------------------------------------------- */

.home-section-title {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* --------------------------------------------
   PHOTO + VIDEO GRID
--------------------------------------------- */

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.media-item {
    text-decoration: none;
    color: inherit;
}

.media-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

.media-thumb img.real-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.media-thumb img.overlay-protect {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.media-caption {
    margin-top: 10px;
}

.media-caption h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.media-caption p {
    font-size: 0.78rem;
    color: #aaa;
}

/* Hover */
.media-item:hover .media-thumb {
    transform: translateY(-3px);
    transition: 0.25s ease;
    box-shadow: 0 8px 26px rgba(0,0,0,0.5);
}

/* --------------------------------------------
   MEMBERSHIP PLANS GRID
--------------------------------------------- */

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.plan {
    background: rgba(15,15,15,0.95);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.06);
}

.plan-save {
    background: rgba(10,132,255,0.16);
    border: 1px solid rgba(10,132,255,0.45);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: #777;
    font-size: 0.85rem;
    margin-right: 6px;
}

.new-price {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
}
/* Lock icon bottom-right */
.lock-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.55);
    padding: 6px;
    border-radius: 50%;
    z-index: 5;
}
.lock-badge svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: white;
    stroke-width: 2;
}

/* Photo count top-left */
.photo-count-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0,0,0,0.55);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    z-index: 5;
}


/* --------------------------------------------
   CONTENT AREA
--------------------------------------------- */

.content {
    padding: 2.5rem 5vw 3.2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* --------------------------------------------
   MOBILE
--------------------------------------------- */

@media (max-width: 600px) {

    .full-hero {
        height: 54vh;
        min-height: 340px;
    }

    .full-hero-title {
        font-size: 2.2rem;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .media-grid {
    }

    .plans {
        grid-template-columns: 1fr;
    }
}
