/**
 * Hero Section Styles
 */

.hero {
    background: url('../../images/image_mobile.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 0;
    margin: 0;
    text-align: center;
    position: relative;
    margin-top: -100px;
    padding-top: 100px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 0;
    margin: 0;
    padding: 0;
}

/* Hero Logo Text - Top Left */
.hero-logo-text {
    position: absolute;
    top: 120px;
    left: 15%;
    z-index: 10;
    text-align: left;
    animation: fadeInLeft 1s ease-out;
}

.hero-logo-text h1 {
    font-family: 'Stencil Bash', 'Helvetica Neue', Arial, sans-serif;
    font-size: 3.3rem;
    margin: 0;
    line-height: 1.2;
    text-transform: lowercase;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.hero-logo-text .club-subtitle {
    font-family: 'Stencil Bash', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.21rem;
    color: var(--accent);
    text-transform: lowercase;
    margin-top: 0.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h2 {
    font-family: 'Black Troops Stencil', 'Helvetica Neue', Arial, sans-serif;
    font-size: 3rem;
    margin: 0 0 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-title-desktop {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 900;
    text-shadow: none;
}

.hero-title-off {
    color: #000;
}

.hero-title-mobile,
.hero-subtitle-mobile {
    display: none;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0 0 0;
}

/* Hero Button Overrides for Better Visibility */
.hero .button {
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero .button:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.hero .button.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero .button.secondary:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        background-image: url('../../images/image_mobile.png');
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        height: 100vh;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .hero-title-desktop,
    .hero-description {
        display: none;
    }

    .hero-title-mobile {
        display: block;
        font-family: 'Black Troops Stencil', 'Helvetica Neue', Arial, sans-serif;
        font-size: 2rem;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        animation: fadeInUp 1s ease-out;
    }

    .hero-subtitle-mobile {
        display: block;
        font-size: 1.2rem;
        margin-bottom: 2rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        font-weight: 700;
        color: #ff0000;
        animation: fadeInUp 1s ease-out 0.2s both;
    }

    .hero .button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        animation: fadeInUp 1s ease-out 0.4s both;
    }

    .hero-logo-text {
        top: 100px;
        left: 10%;
    }

    .hero-logo-text h1 {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
    }

    .hero-logo-text .club-subtitle {
        font-size: 0.99rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .hero {
        background-image: url('../../images/image_mobile.png');
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        height: 100vh;
    }

    .hero-title-desktop,
    .hero-description {
        display: none;
    }

    .hero-title-mobile {
        display: block;
        font-family: 'Black Troops Stencil', 'Helvetica Neue', Arial, sans-serif;
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        animation: fadeInUp 1s ease-out;
    }

    .hero-subtitle-mobile {
        display: block;
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        font-weight: 700;
        color: #ff0000;
        animation: fadeInUp 1s ease-out 0.2s both;
    }

    .hero .button {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .hero-buttons {
        animation: fadeInUp 1s ease-out 0.4s both;
    }

    .hero-logo-text {
        top: 90px;
        left: 5%;
    }

    .hero-logo-text h1 {
        font-size: 1.76rem;
        letter-spacing: 1px;
    }

    .hero-logo-text .club-subtitle {
        font-size: 0.88rem;
        letter-spacing: 1px;
    }
}

/* Hero CTA Wrapper - Side by Side Layout */
.hero-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0 0 0;
}

.hero-qr-link {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: block;
}

.hero-qr-link:hover {
    transform: translateY(-5px);
}

.hero-qr-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
}

.hero-qr-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.hero-qr-image {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: 8px;
    background: white;
}

.hero-qr-mobile-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 211, 102, 0.95);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
}

.hero-qr-mobile-overlay i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.hero-qr-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #333;
    text-align: center;
}

.hero-qr-text > i {
    font-size: 1.5rem;
    color: #25D366;
    margin-bottom: 0.25rem;
}

.hero-qr-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
}

.hero-qr-hint {
    font-size: 0.75rem;
    color: #666;
}

.hero-qr-hint.mobile-hint {
    display: none;
}

/* Mobile WhatsApp QR - Stack Vertical */
@media (max-width: 768px) {
    .hero-cta-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 0;
    }

    .hero-qr-divider {
        align-self: center;
        margin: 1.5rem 0;
        width: 100%;
        max-width: 300px;
        position: relative;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-qr-divider::before,
    .hero-qr-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 40%;
        height: 1px;
        background: rgba(255, 255, 255, 0.3);
    }

    .hero-qr-divider::before {
        left: 0;
    }

    .hero-qr-divider::after {
        right: 0;
    }

    .hero-qr-divider span {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        background: transparent;
        padding: 0 1rem;
        position: relative;
        z-index: 1;
    }

    .hero-whatsapp-qr {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-qr-hint.desktop-hint {
        display: none;
    }

    .hero-qr-hint.mobile-hint {
        display: block;
    }

    /* Show overlay on mobile */
    .hero-qr-link:hover .hero-qr-mobile-overlay,
    .hero-qr-link:active .hero-qr-mobile-overlay {
        display: flex;
    }

    .hero-qr-mobile-overlay {
        display: flex;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .hero-qr-link:hover .hero-qr-mobile-overlay,
    .hero-qr-link:active .hero-qr-mobile-overlay,
    .hero-qr-link:focus .hero-qr-mobile-overlay {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .hero-cta-wrapper {
        gap: 1rem;
    }

    .hero-qr-content {
        padding: 0.85rem;
        min-width: 120px;
    }

    .hero-qr-image {
        width: 100px;
        height: 100px;
    }

    .hero-qr-label {
        font-size: 0.85rem;
    }

    .hero-qr-hint {
        font-size: 0.7rem;
    }
}
