﻿/* ============================================================
   ENTERPRISE AG SUMMIT â€” LANDING / GATEWAY PAGE STYLES v2.0
   One viewport. Nothing to scroll. Pure luxury gateway.
   ============================================================ */

/* ---------- HERO â€” VIDEO BACKGROUND / FALLBACK ---------- */
.es__hero--landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*
       Video poster / mobile fallback image.
       Aerial panorama of Seascape Beach Resort at dusk.
       Source: seascaperesort.com (official)
    */
    background-image: url('https://framerusercontent.com/images/lhteMlh47uz75AtCzHY2JwcNurE.jpg');
    background-size: cover;
    background-position: center 60%;
}

/* ---------- HIDE EMPTY THEME HEADER (landing only) ---------- */
.enterprise-summit-landing header,
.enterprise-summit-landing #masthead,
.enterprise-summit-landing .site-header,
.enterprise-summit-landing .ast-header-wrap,
.enterprise-summit-landing .main-header-bar,
.enterprise-summit-landing .elementor-location-header,
.enterprise-summit-landing #ast-desktop-header,
.enterprise-summit-landing #ast-mobile-header,
.enterprise-summit-landing .ast-above-header-wrap,
.enterprise-summit-landing .ast-primary-header-bar,
.enterprise-summit-landing .ast-below-header-wrap,
.enterprise-summit-landing .site-header-primary-section-left,
.enterprise-summit-landing .site-header-primary-section-right,
.enterprise-summit-landing .site-primary-header-wrap {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Hard kill any residual top header wrapper/space on landing */
body.enterprise-summit-landing,
body.enterprise-summit-landing #page,
body.enterprise-summit-landing #content,
body.enterprise-summit-landing .site,
body.enterprise-summit-landing .site-content,
body.enterprise-summit-landing main,
body.enterprise-summit-landing #primary,
body.enterprise-summit-landing .content-area,
body.enterprise-summit-landing .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Shortcode mode: remove WP/Astra page title/entry header wrappers that can leave a top strip */
body.enterprise-summit-landing .entry-header,
body.enterprise-summit-landing .page-header,
body.enterprise-summit-landing .page-title,
body.enterprise-summit-landing .entry-title,
body.enterprise-summit-landing .ast-title-bar-wrap,
body.enterprise-summit-landing .ast-page-title-wrap,
body.enterprise-summit-landing .ast-breadcrumbs-wrapper,
body.enterprise-summit-landing .ast-single-post-order,
body.enterprise-summit-landing .ast-header-breadcrumb,
body.enterprise-summit-landing .ast-breadcrumb,
body.enterprise-summit-landing .entry-meta,
body.enterprise-summit-landing .post-thumbnail {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Remove theme container offsets around shortcode content */
body.enterprise-summit-landing .ast-container,
body.enterprise-summit-landing .site-content > .ast-container,
body.enterprise-summit-landing .content-area,
body.enterprise-summit-landing .site-main,
body.enterprise-summit-landing article,
body.enterprise-summit-landing .post,
body.enterprise-summit-landing .page,
body.enterprise-summit-landing .inside-article,
body.enterprise-summit-landing .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

body.enterprise-summit-landing .es__hero--landing {
    margin-top: 0 !important;
    top: 0;
    position: relative;
}

/* Remove leftover top gap from theme wrappers */
.enterprise-summit-landing #page,
.enterprise-summit-landing #content,
.enterprise-summit-landing .site,
.enterprise-summit-landing .site-content,
.enterprise-summit-landing main,
.enterprise-summit-landing #primary,
.enterprise-summit-landing .content-area,
.enterprise-summit-landing .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Top hero wordmark (replaces empty theme header with branded luxury text) */
.es__hero-top-brand {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    font-family: var(--es-font-script);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    line-height: 1.08;
    color: var(--es-gold-light);
    letter-spacing: 0.012em;
    text-shadow: 0 4px 40px rgba(201, 168, 76, 0.42), 0 4px 24px rgba(0, 0, 0, 0.52);
    white-space: nowrap;
    pointer-events: none;
}

/* Desktop/laptop: ensure live video fully covers top header zone */
@media (min-width: 769px) {
    .enterprise-summit-landing .es__hero--landing {
        background-image: none !important;
        background-color: var(--es-bg-dark);
    }

    .enterprise-summit-landing .es__hero-video-wrap {
        display: block !important;
        top: -10vh !important;
        bottom: -10vh !important;
        left: 0 !important;
        right: 0 !important;
    }

    .enterprise-summit-landing .es__hero-video-wrap .es__yt-iframe {
        width: 128vw;
        height: 72vw;
        min-height: 136vh;
        min-width: 241.78vh;
    }

    .enterprise-summit-landing .es__hero-top-brand {
        top: 12px;
        padding-bottom: 6px;
    }
}

/* On mobile: video is hidden, static poster shows via base background-image */
@media (max-width: 768px) {
    .es__hero--landing {
        background-position: center 50%;
    }

    .enterprise-summit-landing .es__hero-video-wrap {
        display: block !important;
    }

    .enterprise-summit-landing .es__mute-btn {
        display: flex !important;
    }
}

/* Slightly lighter center of overlay on landing to reveal more image */
.es__hero--landing .es__hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(4, 4, 4, 0.16) 0%,
        rgba(8, 8, 8, 0.12) 34%,
        rgba(8, 8, 8, 0.14) 66%,
        rgba(4, 4, 4, 0.42) 100%
    );
}

/* Full-page layout â€” hero takes all viewport, footer fits below */
.enterprise-summit-landing .es {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.enterprise-summit-landing .es__hero--landing {
    flex: 1;
}

/* ---------- TITLE â€” ENTRANCE TIMING OVERRIDE (landing) ---------- */
.enterprise-summit-landing .es__title {
    animation-delay: 0.8s;
}

.enterprise-summit-landing .es__hero-badge {
    animation-delay: 0.65s;
}

/* ---------- GATEWAY CARDS â€” GLASS-MORPHISM ---------- */
.es__gateway-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 48px;
    opacity: 0;
    animation: es-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
}

.es__gateway-card {
    display: block;
    width: 300px;
    /* Glass effect */
    background: var(--es-glass-bg);
    backdrop-filter: blur(var(--es-glass-blur));
    -webkit-backdrop-filter: blur(var(--es-glass-blur));
    border: 1px solid var(--es-glass-border);
    text-decoration: none;
    transition: all var(--es-transition-slow);
    overflow: hidden;
    position: relative;
}

/* Gold top-line reveal on hover */
.es__gateway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--es-gold-light), transparent);
    opacity: 0;
    transition: opacity var(--es-transition-slow);
}

/* Shimmer sweep on hover */
.es__gateway-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(201,168,76,0.10) 50%, transparent 60%);
    background-size: 300% 100%;
    opacity: 0;
    pointer-events: none;
}

.es__gateway-card:hover {
    border-color: rgba(201, 168, 76, 0.55);
    background: rgba(20, 16, 8, 0.75);
    box-shadow: 0 12px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201, 168, 76, 0.12);
    transform: translateY(-8px) scale(1.02);
    color: inherit;
}

.es__gateway-card:hover::before {
    opacity: 1;
}

.es__gateway-card:hover::after {
    opacity: 1;
    animation: es-shimmer-slide 0.8s ease;
}

/* ---------- CARD INNER ---------- */
.es__gateway-card-inner {
    padding: 40px 28px 36px;
    text-align: center;
}

/* ---------- CARD ICON ---------- */
.es__gateway-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    color: var(--es-gold);
    opacity: 0.75;
    transition: opacity var(--es-transition), transform var(--es-transition-slow);
}

.es__gateway-icon svg {
    width: 100%;
    height: 100%;
}

.es__gateway-card:hover .es__gateway-icon {
    opacity: 1;
    transform: scale(1.08);
}

/* ---------- CARD TEXT ---------- */
.es__gateway-label {
    display: block;
    font-family: var(--es-font-body);
    font-size: 0.72rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--es-text-muted);
    margin-bottom: 8px;
}

.es__gateway-title {
    font-family: var(--es-font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--es-gold);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    transition: color var(--es-transition);
}

.es__gateway-card:hover .es__gateway-title {
    color: var(--es-gold-light);
}

.es__gateway-desc {
    font-size: 0.86rem;
    color: var(--es-text-body);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 22px;
}

/* ---------- CARD ARROW ---------- */
.es__gateway-arrow {
    display: inline-block;
    font-size: 1.3rem;
    color: var(--es-gold);
    transition: transform var(--es-transition), color var(--es-transition);
}

.es__gateway-card:hover .es__gateway-arrow {
    transform: translateX(8px);
    color: var(--es-gold-light);
}

/* ---------- FOOTER IS COMPACT ON LANDING ---------- */
.enterprise-summit-landing .es__footer {
    padding: 32px;
    background: rgba(4, 4, 4, 0.95);
}

.enterprise-summit-landing .es__footer-brand {
    font-size: 1.6rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .es__gateway-cards {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 36px;
    }

    .es__hero--landing .es__hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(4, 4, 4, 0.20) 0%,
            rgba(8, 8, 8, 0.20) 34%,
            rgba(8, 8, 8, 0.22) 66%,
            rgba(4, 4, 4, 0.48) 100%
        );
    }

    .es__hero-top-brand {
        top: 18px;
        font-size: clamp(2.4rem, 11vw, 4.4rem);
    }

    .es__gateway-card {
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 480px) {
    .es__gateway-card-inner {
        padding: 32px 22px 28px;
    }

    .es__gateway-icon {
        width: 44px;
        height: 44px;
    }
}

