@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #111;
    font-family: 'Poppins', 'Roboto', sans-serif;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: top center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
}

.hero-content {
    position: relative;
    padding: 0 2rem;
    max-width: 860px;
    color: #ffffff;
    opacity: 0;
}

.hero-slide.active .hero-content {
    animation: heroTextIn 1.4s ease 0.6s both;
}

.hero-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.6rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    color: #c8dff5;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.75;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(0,0,0,0.25);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    line-height: 1;
}

.hero-arrow:hover { background: rgba(0,0,0,0.55); }
.hero-arrow.prev { left: 1.5rem; }
.hero-arrow.next { right: 1.5rem; }

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    border: none;
    transition: background 0.3s;
    padding: 0;
}

.hero-dot.active { background: #ffffff; }

@media (max-width: 768px) {
    .hero { height: 380px; }
    .hero-content h2 { font-size: 1.8rem; }
    .hero-content h3 { font-size: 0.9rem; }
    .hero-content p  { font-size: 0.875rem; }
}
