/* ═══════════════════════════════════════════════
   Homepage Hero — Plugin Styles
   ═══════════════════════════════════════════════ */

/* ── CSS Custom Properties ───────────────────── */
.hh-hero {
    --hh-gold: #C9A962;
    --hh-gold-light: #E8D5A3;
    --hh-gold-dark: #B8983F;
    --hh-white: #FFFFFF;
    --hh-black: #0A0A0A;
}

/* ── Hero Section — Full Viewport ────────────── */
.hh-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    background-color: #0A0A0A;
}

/* Reset any Elementor / theme interference */
.hh-hero *,
.hh-hero *::before,
.hh-hero *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Poster / Fallback Image ─────────────────── */
.hh-hero__poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ── Video Background ────────────────────────── */
.hh-hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hh-hero__video.hh-loaded {
    opacity: 1;
}

/* ── Overlay ─────────────────────────────────── */
.hh-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, var(--hh-ov-start, 0.4)) 0%,
        rgba(0, 0, 0, var(--hh-ov-mid, 0.1)) 40%,
        rgba(0, 0, 0, var(--hh-ov-end, 0.3)) 100%
    );
    z-index: 3;
}

/* ── Content Container ───────────────────────── */
.hh-hero__content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    gap: 2.5rem;
}

/* ── Main Text ───────────────────────────────── */
.hh-hero__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2rem;
    animation: hhFadeSlideUp 1.2s ease-out 0.6s both;
}

.hh-hero__headline {
    color: var(--hh-white);
    font-family: "Special Gothic Expanded One", sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem 0;
}

.hh-hero__tagline {
    color: var(--hh-white);
    font-family: "Special Gothic Expanded One", sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0;
}

/* ── Bottom Bar ──────────────────────────────── */
.hh-hero__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    animation: hhFadeSlideUp 1s ease-out 1.2s both;
}

/* ── Book Now Button (Redesigned) ────────────── */
.hh-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--hh-gold) 0%, var(--hh-gold-dark) 100%);
    color: var(--hh-black);
    padding: 1rem 2rem 1rem 1.5rem;
    text-decoration: none;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

/* Shimmer sweep on hover */
.hh-hero__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
    z-index: 0;
}

.hh-hero__cta:hover::before {
    left: 100%;
}

.hh-hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 169, 98, 0.35),
                0 4px 12px rgba(201, 169, 98, 0.2);
    color: var(--hh-black);
    text-decoration: none;
}

.hh-hero__cta:focus-visible {
    outline: 2px solid var(--hh-gold-light);
    outline-offset: 3px;
}

.hh-hero__cta-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.hh-hero__cta-icon svg {
    width: 20px;
    height: 20px;
    color: var(--hh-black);
}

.hh-hero__cta-label {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.hh-hero__cta-arrow {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hh-hero__cta-arrow svg {
    width: 18px;
    height: 18px;
    color: var(--hh-black);
}

.hh-hero__cta:hover .hh-hero__cta-arrow {
    transform: translateX(4px);
}

/* ── Social Links ────────────────────────────── */
.hh-hero__social {
    display: flex;
    gap: 0.75rem;
}

.hh-hero__social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

.hh-hero__social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--hh-white);
    transition: fill 0.3s ease;
}

.hh-hero__social-link:hover {
    background: var(--hh-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hh-hero__social-link:hover svg {
    fill: var(--hh-black);
}

.hh-hero__social-link:focus-visible {
    outline: 2px solid var(--hh-gold);
    outline-offset: 2px;
}

/* ── Scroll Indicator ────────────────────────── */
.hh-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: hhFadeIn 1s ease-out 1.5s both, hhBounce 2s ease-in-out 2.5s infinite;
    pointer-events: none;
}

.hh-hero__scroll span {
    color: var(--hh-white);
    font-family: "Special Gothic Expanded One", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
}

.hh-hero__scroll svg {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

/* ── Animations ──────────────────────────────── */
@keyframes hhFadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hhFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes hhBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ───────────────────────── */
@media (max-width: 1024px) {
    .hh-hero__content {
        padding: 2rem;
    }

    .hh-hero__text {
        padding-left: 0;
    }

    .hh-hero__headline {
        font-size: clamp(2.8rem, 9vw, 5.5rem);
    }
}

/* ── Mobile Landscape + Small Tablets (≤ 768px) ─ */
@media (max-width: 768px) {
    .hh-hero__content {
        padding: 1.5rem;
        gap: 2rem;
    }

    .hh-hero__headline {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 1rem;
    }

    .hh-hero__tagline {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
    }

    .hh-hero__bottom {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.75rem;
        align-items: flex-end;
    }

    .hh-hero__cta {
        padding: 0.7rem 1rem 0.7rem 1rem;
        font-size: 0.75rem;
        gap: 0.6rem;
    }

    .hh-hero__cta-icon {
        display: none;
    }

    .hh-hero__cta-arrow svg {
        width: 14px;
        height: 14px;
    }

    .hh-hero__social {
        margin-left: auto;
    }

    .hh-hero__social-link {
        width: 42px;
        height: 42px;
    }

    .hh-hero__social-link svg {
        width: 18px;
        height: 18px;
    }

    .hh-hero__scroll {
        display: none;
    }
}

/* ── Small Phones (≤ 480px) ──────────────────── */
@media (max-width: 480px) {
    .hh-hero__content {
        padding: 1rem;
        gap: 1.5rem;
    }

    .hh-hero__headline {
        font-size: clamp(2rem, 14vw, 3rem);
        margin-bottom: 0.75rem;
    }

    .hh-hero__tagline {
        font-size: 0.8rem;
    }

    .hh-hero__bottom {
        gap: 1.25rem;
    }

    .hh-hero__cta {
        padding: 0.55rem 0.85rem;
        font-size: 0.65rem;
        gap: 0.4rem;
        letter-spacing: 0.08em;
    }

    .hh-hero__cta-arrow svg {
        width: 13px;
        height: 13px;
    }

    .hh-hero__social {
        gap: 0.5rem;
    }

    .hh-hero__social-link {
        width: 36px;
        height: 36px;
    }

    .hh-hero__social-link svg {
        width: 14px;
        height: 14px;
    }
}

/* ── Short viewports (landscape phones) ──────── */
@media (max-height: 500px) {
    .hh-hero__text {
        padding-left: 0;
    }

    .hh-hero__headline {
        font-size: clamp(1.8rem, 6vh, 3rem);
        margin-bottom: 0.5rem;
    }

    .hh-hero__tagline {
        font-size: 0.85rem;
    }

    .hh-hero__content {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .hh-hero__scroll {
        display: none;
    }
}

/* ── Reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .hh-hero__video {
        transition: none;
    }

    .hh-hero__text,
    .hh-hero__bottom,
    .hh-hero__scroll {
        animation: none !important;
        opacity: 1;
        transform: none;
    }

    .hh-hero__cta:hover {
        transform: none;
    }

    .hh-hero__social-link:hover {
        transform: none;
    }
}
