/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 60vh;
    overflow: hidden;
    z-index: 0;
    touch-action: pan-y;
}

/* SLIDES */
.slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* HERO CONTENT */
.hero-content {
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-text {
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    text-align: center;

    /* ⭐ ENDRET – bruker tekstfarge fra tema */
    color: var(--text-color);

    pointer-events: none;
}

/* HOVEDTEKST */
#hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    margin-bottom: 0.5rem;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

/* UNDERTEKST */
#hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    opacity: 0.9;
    transition: opacity 0.4s ease-in-out;
}

/* PILER – TEMA-STYRT */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    background: var(--accent);
    border: none;
    color: white;
    font-size: 2.2rem;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
}

.hero-slider:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background: var(--primary);
}

.hero-arrow.left {
    left: 1rem;
}

.hero-arrow.right {
    right: 1rem;
}

/* --- NEDTELLINGS-PRIKKER – TEMA-STYRT --- */
.hero-timer {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 70;
    display: flex;
    gap: 0.35rem;
}

.timer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.timer-dot.active {
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary);
}
