/**
 * Haneen Nemer - Hero Section Styles
 * Made With Love By HOSSAM ALZYOD - Mr.Server | https://hossam.net | i@hossam.net
 * Legendary Hero Section with Tiger Theme
 */

/* ===== Hero Container ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%,   rgba(212, 175, 55, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 0%   100%, rgba(139, 90,  43, 0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 100% 100%, rgba(212, 175, 55, 0.07) 0%, transparent 45%),
        linear-gradient(180deg, #0f0d0a 0%, #0a0a0a 50%, #060606 100%);
    padding: calc(60px + var(--spacing-md)) var(--spacing-sm) var(--spacing-md);
}

/* ===== Animated Background ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image:
        radial-gradient(ellipse at 15% 25%, rgba(212, 175, 55, 0.14) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 75%, rgba(212, 175, 55, 0.09) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(139, 90, 43, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
}

/* Tiger Pattern Background */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(212, 175, 55, 0.03) 40px,
            rgba(212, 175, 55, 0.03) 45px,
            transparent 45px,
            transparent 50px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 35px,
            rgba(212, 175, 55, 0.02) 35px,
            rgba(212, 175, 55, 0.02) 38px,
            transparent 38px,
            transparent 75px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 60px,
            rgba(212, 175, 55, 0.015) 60px,
            rgba(212, 175, 55, 0.015) 62px
        );
    opacity: 0.6;
}

/* Floating Golden Sparkles */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, var(--primary-gold), transparent),
        radial-gradient(1px 1px at 60% 70%, var(--accent-bronze), transparent),
        radial-gradient(1px 1px at 50% 50%, var(--primary-gold-light), transparent),
        radial-gradient(1px 1px at 80% 10%, var(--primary-gold), transparent),
        radial-gradient(1px 1px at 90% 60%, var(--accent-bronze), transparent),
        radial-gradient(1px 1px at 33% 80%, var(--primary-gold), transparent),
        radial-gradient(2px 2px at 15% 60%, var(--primary-gold), transparent),
        radial-gradient(1px 1px at 75% 25%, var(--accent-bronze), transparent);
    background-size: 200% 200%;
    animation: sparkleFloat 20s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes sparkleFloat {
    0%, 100% {
        background-position: 0% 0%;
        opacity: 0.3;
    }
    50% {
        background-position: 100% 100%;
        opacity: 0.5;
    }
}

/* ===== Hero Content ===== */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    width: 100%;
    margin: 0 auto;
    margin-top: var(--spacing-lg);
}

/* ===== Hero Title ===== */
.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-family: var(--font-arabic);
    text-shadow:
        0 0 20px rgba(212, 175, 55, 0.4),
        0 0 40px rgba(212, 175, 55, 0.2);
    animation: titleGrandEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -1px;
}

@keyframes titleGrandEntrance {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-title .highlight {
    background: linear-gradient(
        135deg,
        var(--primary-gold) 0%,
        var(--primary-gold-light) 25%,
        var(--accent-bronze) 50%,
        var(--primary-gold-light) 75%,
        var(--primary-gold) 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: luxuryGradient 4s ease infinite;
    font-weight: 900;
    display: inline-block;
}

@keyframes luxuryGradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ===== Hero Tagline ===== */
.hero-tagline {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    color: var(--text-white);
    margin: var(--spacing-md) 0;
    line-height: 1.4;
    font-family: var(--font-arabic);
    font-weight: 600;
    animation: taglineElegantFade 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
    letter-spacing: 0.5px;
}

@keyframes taglineElegantFade {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ===== Hero Subtitle ===== */
.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.35rem);
    color: var(--primary-gold);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    font-family: var(--font-english);
    letter-spacing: 2px;
    font-weight: 300;
    font-style: italic;
    animation: subtitleSoftFade 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

@keyframes subtitleSoftFade {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* ===== Gold Divider ===== */
.hero-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-gold),
        var(--primary-gold-light),
        var(--primary-gold),
        transparent
    );
    margin: var(--spacing-lg) auto;
    border-radius: var(--radius-full);
    position: relative;
    animation: dividerExpand 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--primary-gold);
}

.hero-divider::before {
    left: -15px;
}

.hero-divider::after {
    right: -15px;
}

@keyframes dividerExpand {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 120px;
    }
}

/* ===== Hero Description ===== */
.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--bg-cream);
    line-height: 1.25;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    animation: descSmoothFade 2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
    font-weight: 300;
}

@keyframes descSmoothFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

/* ===== Hero CTA Buttons ===== */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    animation: ctaPowerFade 2.2s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

@keyframes ctaPowerFade {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-cta .btn {
    min-width: 240px;
    font-size: 1.125rem;
    padding: 16px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-cta .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-cta .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.hero-cta .btn:active {
    transform: translateY(-1px) scale(1.02);
}

.hero-cta .btn-secondary {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--primary-gold);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.hero-cta .btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--secondary-black);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-gold);
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator span {
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

/* ===== Features Grid (Below Hero) ===== */
.hero-features {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    animation: featuresStagger 2.4s cubic-bezier(0.16, 1, 0.3, 1) 1.2s backwards;
}

@keyframes featuresStagger {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-feature {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.03) 0%,
        rgba(212, 175, 55, 0.08) 100%
    );
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.1) 0%,
        transparent 70%
    );
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-feature:hover::before {
    transform: scale(1);
}

.hero-feature:hover {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.08) 0%,
        rgba(212, 175, 55, 0.15) 100%
    );
    border-color: var(--primary-gold);
    transform: translateY(-8px);
    box-shadow:
        0 15px 40px rgba(212, 175, 55, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-feature:active {
    transform: translateY(-4px);
}

.hero-feature i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    display: block;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-feature .hero-feature-icon-svg {
    width: 5rem;
    height: 5rem;
    filter: brightness(0) saturate(100%) invert(73%) sepia(56%) saturate(543%) hue-rotate(359deg) brightness(97%) contrast(90%);
    margin-bottom: var(--spacing-sm);
    display: block;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-feature:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-gold-light);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.hero-feature:hover .hero-feature-icon-svg {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(0) saturate(100%) invert(73%) sepia(56%) saturate(543%) hue-rotate(359deg) brightness(110%) contrast(95%) drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

.hero-feature h3,
.hero-feature .feature-title {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
    font-weight: 700;
}

.hero-feature:hover h3,
.hero-feature:hover .feature-title {
    color: var(--primary-gold);
    transform: scale(1.05);
}

.hero-feature p {
    color: var(--text-light);
    font-size: var(--fs-small);
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.hero-feature:hover p {
    color: var(--bg-cream);
}

/* ===== Responsive Design ===== */
@media (min-width: 480px) and (max-width: 767px) {
    /* Small Tablets - Keep Mobile Style */
    .hero-section {
        padding: calc(70px + var(--spacing-lg)) var(--spacing-lg) var(--spacing-lg);
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        padding: var(--spacing-md);
        max-width: 600px;
        order: 2;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-tagline {
        font-size: 1.3rem;
        margin-bottom: var(--spacing-xs);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-cta {
        order: 3;
        flex-direction: row;
        gap: var(--spacing-sm);
    }

    .hero-cta .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
        min-width: calc(50% - var(--spacing-xs));
        flex: 1;
    }

    .hero-features {
        padding: var(--spacing-lg) var(--spacing-md);
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        order: 4;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    /* iPad / Tablet Layout - Keep Mobile Style */
    .hero-section {
        padding: calc(70px + var(--spacing-lg)) var(--spacing-lg) var(--spacing-lg);
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        padding: var(--spacing-md);
        max-width: 700px;
        order: 2;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .hero-cta {
        margin-top: var(--spacing-lg);
        margin-bottom: var(--spacing-xl);
        order: 3;
        flex-direction: row;
        gap: var(--spacing-md);
    }

    .hero-cta .btn {
        min-width: 220px;
        flex: 1;
        max-width: 300px;
        font-size: 1.05rem;
        padding: 15px 32px;
    }

    .hero-features {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);
        padding: 0 var(--spacing-md);
        order: 4;
    }

    .hero-feature {
        padding: var(--spacing-lg);
    }

    .hero-feature i {
        font-size: 2.5rem;
    }

    .hero-feature h3,
    .hero-feature .feature-title {
        font-size: 1.1rem;
    }

    .hero-feature p {
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    /* Centered Single Column Layout */
    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    /* Enhanced Tiger Pattern for Desktop */
    .hero-background::before {
        background-image:
            repeating-linear-gradient(
                45deg,
                transparent,
                transparent 50px,
                rgba(212, 175, 55, 0.04) 50px,
                rgba(212, 175, 55, 0.04) 55px,
                transparent 55px,
                transparent 60px
            ),
            repeating-linear-gradient(
                -45deg,
                transparent,
                transparent 45px,
                rgba(212, 175, 55, 0.025) 45px,
                rgba(212, 175, 55, 0.025) 48px,
                transparent 48px,
                transparent 90px
            ),
            repeating-linear-gradient(
                90deg,
                transparent,
                transparent 70px,
                rgba(212, 175, 55, 0.02) 70px,
                rgba(212, 175, 55, 0.02) 73px
            );
        opacity: 0.8;
    }

    /* Center Content */
    .hero-content {
        max-width: 1200px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .hero-title {
        font-size: clamp(3rem, 5vw, 4.5rem);
        margin-bottom: var(--spacing-sm);
    }

    .hero-tagline {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        margin-bottom: 0;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 1.5vw, 1.25rem);
        margin-bottom: 0;
    }

    .hero-description {
        font-size: clamp(1rem, 1.2vw, 1.125rem);
        line-height: 1.25;
        max-width: 800px;
    }

    .hero-divider {
        margin: var(--spacing-md) auto;
        width: 120px;
    }

    .hero-cta {
        justify-content: center;
        width: 100%;
        margin-top: var(--spacing-lg);
    }

    /* Keep Features Below (Full Width) */
    .hero-features {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
        width: 100%;
    }

    .hero-cta .btn {
        min-width: 260px;
        font-size: 1.25rem;
        padding: 18px 48px;
    }


    .hero-feature i {
        font-size: 3.5rem;
    }

    .hero-feature h3,
    .hero-feature .feature-title {
        font-size: 1.35rem;
    }
}

@media (min-width: 1280px) {

    .hero-title {
        font-size: 5rem;
    }

    .hero-tagline {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.35rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }


    .hero-cta .btn {
        min-width: 300px;
        font-size: 1.35rem;
        padding: 20px 56px;
    }
}

@media (min-width: 1536px) {

    .hero-title {
        font-size: 5.5rem;
    }

    .hero-tagline {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }


    .hero-cta .btn {
        min-width: 320px;
        font-size: 1.5rem;
        padding: 22px 64px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: calc(75px + var(--spacing-xs)) var(--spacing-xs) 0;
        min-height: auto;
    }

    .hero-content {
        padding: var(--spacing-xs);
        order: 2;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-cta {
        margin-top: var(--spacing-md);
        margin-bottom: var(--spacing-md);
        order: 3;
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .hero-cta .btn {
        min-width: 100%;
        width: 100%;
        font-size: 0.95rem;
        padding: 12px 24px;
    }

    .hero-features {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-xs);
        padding-bottom: var(--spacing-xl);
        order: 4;
    }

    .hero-feature {
        padding: var(--spacing-md);
    }

    .hero-feature i {
        font-size: 2rem;
    }

    .hero-feature h3,
    .hero-feature .feature-title {
        font-size: 1rem;
    }

    .hero-feature p {
        font-size: 0.85rem;
    }
}

