/* Custom hero carousel — replaces Revolution Slider on the homepage/header.
   Hand-coded, no plugin dependency. Revert: reactivate the "Revolution Slider"
   plugin and this block in header-part.php automatically stops rendering. */
.gl-custom-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    max-height: 760px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.gl-custom-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: glHeroFade 18s infinite;
}

.gl-custom-hero-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.gl-custom-hero-slide-1 { animation-delay: 0s; }
.gl-custom-hero-slide-2 { animation-delay: 6s; }
.gl-custom-hero-slide-3 { animation-delay: 12s; }

@keyframes glHeroFade {
    0%    { opacity: 0; }
    3%    { opacity: 1; }
    30%   { opacity: 1; }
    36%   { opacity: 0; }
    100%  { opacity: 0; }
}

.gl-custom-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
    color: #ffffff;
}

.gl-custom-hero-content h2 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 20px;
}

.gl-custom-hero-content p {
    font-size: 18px;
    color: #f0f0f0;
    margin: 0 0 28px;
}

.gl-custom-hero-btn {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: default;
}

@media (max-width: 767px) {
    .gl-custom-hero { height: 60vh; min-height: 340px; }
    .gl-custom-hero-content h2 { font-size: 30px; }
    .gl-custom-hero-content p { font-size: 15px; }
    .gl-custom-hero-btn { padding: 10px 24px; font-size: 13px; }
}
