.hero-banner {
    width: 100%;
    background: linear-gradient(135deg, #1e1f22 0%, #2b2d31 50%, #1e1f22 100%);
    border-bottom: 4px solid transparent;
    padding: 2.5rem 2rem 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: visible;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: heroZoomIn 1.2s ease-out forwards;
}

.hero-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-image-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-layer.active {
    opacity: 1;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(0deg, rgba(188, 163, 59, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(188, 163, 59, 0.03) 1px, transparent 1px),
        rgba(30, 31, 34, 0.82);
    background-size: 40px 40px, 40px 40px, cover;
    pointer-events: none;
    z-index: 1;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        transparent 100%);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 2;
}

@keyframes heroZoomIn {
    0% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes contentZoomOut {
    0% {
        opacity: 0;
        transform: scale(1.15);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content {
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    animation: contentZoomOut 1.2s ease-out forwards;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 0 20px rgba(188, 163, 59, 0.4))
            drop-shadow(0 0 40px rgba(188, 163, 59, 0.2));
}

.hero-text-logo {
    width: 280px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    opacity: 0.95;
}

.hero-tagline {
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.01em;
    max-width: 100%;
    padding: 0 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5),
                 0 4px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 2rem 1rem 2rem;
        margin-bottom: 2rem;
        min-height: 300px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-logo {
        width: 90px;
        margin-bottom: 1.25rem;
    }

    .hero-text-logo {
        width: 220px;
        margin-bottom: 1.25rem;
    }

    .hero-tagline {
        font-size: var(--font-size-lg);
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 1.5rem 0.75rem 1.5rem;
        margin-bottom: 1.5rem;
        min-height: 250px;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-logo {
        width: 70px;
        margin-bottom: 1rem;
    }

    .hero-text-logo {
        width: 180px;
        margin-bottom: 1rem;
    }

    .hero-tagline {
        font-size: var(--font-size-base);
        padding: 0;
    }
}

.hero-banner[data-has-image="true"] {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.hero-banner[data-has-image="true"]::before {
    background: rgba(30, 31, 34, 0.85);
}

@media (max-width: 768px) {
    .hero-banner[data-has-image="true"] {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-banner[data-has-image="true"] {
        min-height: 250px;
    }
}
