﻿:root {
    --spec-blue: #62b6ff;
    --spec-blue-2: #2f93f6;
    --spec-text: #0f172a;
}

.spec-hero {
    overflow: hidden;
    position: relative;
    background: #0b1220;
}

.spec-hero-fullbleed {
    width: 100%;
    margin: 0;
}

.spec-hero-img {
    height: clamp(320px, 42vw, 810px);
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
}

.spec-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 500px at 20% 40%, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05) 85%), linear-gradient(90deg, rgba(0,0,0,0.70), rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05));
    pointer-events: none;
}

.spec-hero-caption {
    left: 7%;
    right: 7%;
    bottom: 12%;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.spec-hero-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #0b1220;
    background: rgba(255,255,255,0.92);
    margin-bottom: 12px;
}

.spec-hero-title {
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 10px;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
}

.spec-hero-text {
    max-width: 60ch;
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    opacity: 0.95;
    margin-bottom: 18px;
}

.spec-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    background: var(--spec-blue-2);
    border-color: var(--spec-blue-2);
}

    .btn-primary:hover {
        background: #1f7fe0;
        border-color: #1f7fe0;
    }

.btn-outline-light {
    border-width: 2px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin: 0 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55));
}

.spec-mini-card {
    border-radius: 16px;
}

.spec-mini-title {
    font-weight: 700;
    color: var(--spec-text);
    margin-bottom: 6px;
}

.spec-mini-text {
    color: rgba(15,23,42,0.78);
    margin: 0;
}

.spec-hero-text {
    max-width: 40ch;
}
@media (max-width: 576px) {
    .spec-hero-caption {
        bottom: 10%;
    }

    .spec-hero-text {
        max-width: 40ch;
    }
}

/* Optional: Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none !important;
    }
}

.lang-pill {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.15);
    background: #fff;
    overflow: hidden;
    padding: 0;
    text-decoration: none;
}

    .lang-pill img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .lang-pill.active {
        outline: 2px solid rgba(0,0,0,0.25);
    }