/* ============================================================
   TIMDARA SOLVISTA — banner.css
   Brand palette applied throughout
   ============================================================ */

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
    position: relative;
    height: calc(100vh - 78px);
    min-height: 500px;
    overflow: hidden;
    background: #0A0A0A; /* fallback if images fail to load */
}

.hero.default {
    height: 100vh;
}

/* Show controls & arrows on hover */
.hero:hover .slider-controls,
.hero:hover .slider-arrows {
    opacity: 1;
}

/* ── Slider wrapper ─────────────────────────────────────────── */
.hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;        /* sits at the back */
}

/* ── Individual slides ──────────────────────────────────────── */
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.slide.active { opacity: 1; }

/*
 * REMOVED: .slide::before dark overlay
 * Reason: it was painting a dark layer over every slide, hiding
 * the background images completely. The overlay is now handled
 * by the dedicated .slider-overlay div in the HTML, which sits
 * above all slides at z-index 2.
 */

/* ── Dark overlay div (sits above all slides) ───────────────── */
.slider-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10,  10,  10,  0.68) 0%,
        rgba(13,  31,  60,  0.48) 50%,
        rgba(232, 84,  10,  0.18) 100%
    );
    z-index: 2;          /* above slides, below content */
    pointer-events: none;
}

/* ── Particles ──────────────────────────────────────────────── */
.particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 3;          /* above overlay, below content */
    pointer-events: none;
}

/* Particles alternate between orange, dark blue, and gold */
.particle {
    position: absolute;
    background: rgba(232, 84, 10, 0.55);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.particle:nth-child(even)  { background: rgba(13,  31,  60,  0.70); }
.particle:nth-child(3n)    { background: rgba(200, 134, 10,  0.50); }

@keyframes float {
    0%, 100% {
        transform: translateY(0)     translateX(0)    scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 1;
    }
}

/* ── Hero Content ───────────────────────────────────────────── */
.hero-content {
    position: relative;
    z-index: 10;         /* above overlay (2) and particles (3) */
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-text {
    max-width: 800px;
    position: relative;
    padding: 50px 30px;
    background: rgba(13, 31, 60, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(232, 84, 10, 0.25);
    box-shadow: 0 20px 40px rgba(10, 10, 10, 0.4),
                0 0 0 1px rgba(255,255,255,0.04);
    animation: textEntrance 1.2s ease-out forwards;
}

@keyframes textEntrance {
    0%   { opacity: 0; transform: translateY(50px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0)    scale(1);   }
}

/* Sub-title badge */
.hero-sub-title {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(232, 84, 10, 0.25);
    border: 1px solid rgba(232, 84, 10, 0.4);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: subtitleEntrance 0.8s ease-out forwards 0.3s;
    opacity: 0;
    color: rgba(255,255,255,0.95);
}

@keyframes subtitleEntrance {
    0%   { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Headline — white to gold/orange gradient */
.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #FFAD70 60%, #E8540A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleEntrance 1s ease-out forwards 0.5s;
    opacity: 0;
    text-align: center;
}

@keyframes titleEntrance {
    0%   { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    animation: textEntrance 1s ease-out forwards 0.7s;
    opacity: 0;
    text-align: left;
}

/* CTA Button */
.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    min-width: 200px;
    background: linear-gradient(135deg, #E8540A, #FF6B1A);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(232, 84, 10, 0.3);
    position: relative;
    overflow: hidden;
    animation: btnEntrance 0.8s ease-out forwards 0.9s;
    opacity: 0;
}

@keyframes btnEntrance {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(232, 84, 10, 0.4);
}

.hero-btn:hover::before { left: 100%; }

/* ── Slider Controls / Dots ─────────────────────────────────── */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-dots { display: flex; gap: 10px; }

.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot.active {
    width: 32px;
    height: 10px;
    border-radius: 20px;
    background: linear-gradient(90deg, #E8540A, #C8860A);
}

/* ── Slider Arrows ──────────────────────────────────────────── */
.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.arrow {
    pointer-events: all;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(13, 31, 60, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(232, 84, 10, 0.3);
}

.arrow:hover {
    background: rgba(232, 84, 10, 0.5);
    border-color: #E8540A;
    transform: scale(1.1);
}

.arrow i { color: white; font-size: 20px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 2.4rem; }
    .hero-text p  { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    /* Hero — full screen height on mobile */
    .hero,
    .hero.default { min-height: 100vh; height: 100vh; }

    /* Hero content — full width, centered */
    .hero-content { padding: 0 14px; align-items: center; }

    /* Text card — fits screen with breathing room */
    .hero-text {
        padding: 28px 16px;
        max-width: 100%;
        border-radius: 14px;
        margin: 0;
    }

    .hero-text h1 { font-size: 1.85rem; line-height: 1.15; }
    .hero-text p  { font-size: 0.9rem; margin-bottom: 18px; }

    /* Arrows — move below content, small and out of the way */
    .slider-arrows {
        top: auto !important;
        bottom: 70px !important;
        transform: none !important;
        padding: 0 10px !important;
        align-items: center !important;
    }

    .arrow        { width: 34px !important; height: 34px !important; }
    .arrow i      { font-size: 13px !important; }

    /* Dots — sit at very bottom */
    .slider-controls { bottom: 18px; }
    .dot { width: 8px; height: 8px; }
    .dot.active { width: 24px; height: 8px; }
}