/* Home Landing Page - Hero Slider */

.hero-slider {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 480px;
    max-height: 720px;
    overflow: hidden;
    background: #1a2332;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-subtitle {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    margin-bottom: 12px;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn-hero-primary {
    background: var(--uaf-primary);
    color: #fff;
    border: 2px solid var(--uaf-primary);
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-hero-primary:hover {
    background: var(--uaf-primary-dark);
    border-color: var(--uaf-primary-dark);
    color: #fff;
}

.btn-hero-secondary {
    background: #fff;
    color: #222;
    border: 2px solid #fff;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
    color: #111;
}

/* Slider navigation arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 90, 150, 0.85);
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-nav:hover {
    background: var(--uaf-primary);
    transform: translateY(-50%) scale(1.05);
}

.hero-nav-prev {
    left: 24px;
}

.hero-nav-next {
    right: 24px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background: #fff;
}

/* Home page */
body.page-home .site-footer {
    margin-top: 0;
}

body.page-home main {
    padding: 0;
}

@media (max-width: 768px) {
    .hero-slider {
        height: calc(100vh - 120px);
        min-height: 420px;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-nav-prev {
        left: 12px;
    }

    .hero-nav-next {
        right: 12px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
    }
}
