/**
 * ThemeForge Pro Fashion — Hero Styles
 *
 * Premium fashion hero with image overlay, typography,
 * eyebrow dot, and responsive layout.
 *
 * @package ThemeForge_Pro_Fashion
 * @version 1.0.0
 */

/* ============================================================
   1. HERO WRAPPER
   ============================================================ */

.tf-hero {
    position: relative;
    min-height: 90vh;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
}

@media (max-width: 1023px) {
    .tf-hero {
        min-height: 85vh;
        background-attachment: scroll;
    }
}

@media (max-width: 767px) {
    .tf-hero {
        min-height: 80vh;
    }
}

/* ============================================================
   2. OVERLAY (gradient for text readability)
   ============================================================ */

.tf-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   3. INNER CONTENT
   ============================================================ */

.tf-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.tf-hero--left .tf-hero__inner {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.tf-hero--right .tf-hero__inner {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.tf-hero__content {
    max-width: 720px;
    margin: 0 auto;
}

.tf-hero--left .tf-hero__content {
    margin-left: 0;
}

.tf-hero--right .tf-hero__content {
    margin-right: 0;
}

/* ============================================================
   4. EYEBROW
   ============================================================ */

.tf-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
}

.tf-hero__eyebrow-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #f5576c;
    border-radius: 50%;
    animation: tf-hero-dot-pulse 2s ease infinite;
    box-shadow: 0 0 12px rgba(245, 87, 108, 0.8);
}

@keyframes tf-hero-dot-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.7;
    }
}

/* ============================================================
   5. TITLE
   ============================================================ */

.tf-hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   6. TEXT
   ============================================================ */

.tf-hero__text {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    line-height: 1.65;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.tf-hero--left .tf-hero__text {
    margin-left: 0;
}

.tf-hero--right .tf-hero__text {
    margin-right: 0;
}

/* ============================================================
   7. ACTIONS
   ============================================================ */

.tf-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tf-hero--left .tf-hero__actions {
    justify-content: flex-start;
}

.tf-hero--right .tf-hero__actions {
    justify-content: flex-end;
}

.tf-hero .tf-btn--light {
    background: #ffffff;
    color: #171717;
    border: 1px solid #ffffff;
    padding: 18px 40px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tf-hero .tf-btn--light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.tf-hero .tf-btn--light:hover::before {
    left: 100%;
}

.tf-hero .tf-btn--light:hover {
    background: #171717;
    color: #ffffff;
    border-color: #171717;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   8. SCROLL INDICATOR
   ============================================================ */

.tf-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    animation: tf-hero-bounce 2.4s ease infinite;
}

@keyframes tf-hero-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   9. TEXT REVEAL ANIMATION
   ============================================================ */

.tf-hero .tf-text-reveal {
    display: inline-block;
    overflow: hidden;
}

.tf-hero .tf-text-reveal > span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.tf-hero .tf-text-reveal.is-visible > span {
    transform: translateY(0);
}

/* ============================================================
   10. RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
    .tf-hero__inner {
        padding: 60px 20px;
    }

    .tf-hero__eyebrow {
        font-size: 0.625rem;
        letter-spacing: 0.25em;
        padding: 6px 14px;
    }

    .tf-hero__title {
        margin-bottom: 20px;
    }

    .tf-hero__text {
        margin-bottom: 32px;
    }

    .tf-hero .tf-btn--light {
        padding: 16px 32px;
    }

    .tf-hero__scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .tf-hero {
        min-height: 75vh;
    }

    .tf-hero__eyebrow {
        font-size: 0.5625rem;
    }
}

/* ============================================================
   11. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .tf-hero__eyebrow-dot,
    .tf-hero__scroll {
        animation: none;
    }

    .tf-hero .tf-text-reveal > span {
        transform: none;
    }
}