/* components/home/slider/index.css */

.hero-slider {
    position: relative;
    width: 100%;
    /* Exact calculation: 100% screen height minus 84px header height */
    height: calc(100vh - 84px);
    height: calc(100dvh - 84px);
    min-height: 550px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background-color: var(--primary-blue-dark, #0d1535);
    display: block;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

/* Overlay using global brand variables from main.css */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        rgba(13, 21, 53, 0.85) 0%, 
        rgba(25, 38, 91, 0.70) 50%,
        rgba(13, 21, 53, 0.90) 100%
    );
    z-index: 1;
}

.slide-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 90%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: 760px;
    color: var(--text-light, #ffffff);
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s ease-out 0.2s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-tagline {
    display: inline-block;
    color: var(--accent-gold, #C08829);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding: 6px 14px;
    background: rgba(192, 136, 41, 0.15);
    border-left: 3px solid var(--accent-gold, #C08829);
    border-radius: 0 4px 4px 0;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-light, #ffffff);
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.25rem;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-gold {
    background-color: var(--accent-gold, #C08829);
    color: var(--text-light, #ffffff);
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(192, 136, 41, 0.3);
    transition: var(--transition, all 0.3s ease);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover, #a37220);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 136, 41, 0.45);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--text-light, #ffffff);
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    transition: var(--transition, all 0.3s ease);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(13, 21, 53, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light, #ffffff);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition, all 0.3s ease);
    backdrop-filter: blur(4px);
}

.prev-arrow { left: 30px; }
.next-arrow { right: 30px; }

.slider-arrow:hover {
    background: var(--accent-gold, #C08829);
    color: #ffffff;
    border-color: var(--accent-gold, #C08829);
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
}


.slider-dots .dot.active {
    background: var(--accent-gold, #C08829);
    width: 30px;
    border-radius: 12px;
}

/* Mobile Breakpoints */
@media (max-width: 992px) {
    .hero-slider {
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px);
    }
    .hero-title { font-size: 2.5rem; }
    .hero-description { font-size: 1.05rem; }
    .slider-arrow { display: none; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem; }
    .hero-description { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-gold, .btn-outline-light { width: 100%; text-align: center; }
}