/**
 * Hero Section & Animations CSS
 *
 * @package EarphonesShop
 */

/* =========================
   IMPROVED HERO SECTION
   ========================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0B4F6C 0%, #1a7a9f 50%, #20B2AA 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Animated Background Elements */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 20s ease-in-out infinite;
}

.hero-circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-circle-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 15%;
    animation-delay: 2s;
}

.hero-circle-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,90.7C672,85,768,107,864,122.7C960,139,1056,149,1152,133.3C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    animation: wave 15s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-30px) translateX(20px);
    }

    50% {
        transform: translateY(-50px) translateX(-10px);
    }

    75% {
        transform: translateY(-30px) translateX(15px);
    }
}

@keyframes wave {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-50px);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
}

/* Animated Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 20px;
    animation: rotate 3s linear infinite;
}

.badge-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes rotate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-10deg);
    }
}

/* Headlines */
.hero-headline {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--color-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subheadline {
    font-size: 22px;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 10px 40px rgba(230, 126, 34, 0.3);
}

.btn-hero-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(230, 126, 34, 0.4);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-icon {
    transform: translateX(5px);
}

/* Trust Badges */
.trust-badges-hero {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* =========================
   ANIMATIONS
   ========================= */

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

.animation-delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animation-delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.animation-delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* =========================
   HEADER IMPROVEMENTS
   ========================= */

.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.site-header.sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.site-title a:hover {
    color: var(--color-accent);
}

.btn-header-cta {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-header-cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* =========================
   RESPONSIVE - HERO
   ========================= */

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
        padding: 100px 0 60px;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-subheadline {
        font-size: 18px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .trust-badges-hero {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-circle-1,
    .hero-circle-2,
    .hero-circle-3 {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 28px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
}