/* ═══════════════════════════════════════════
 * Angueur Hero Slider — Frontend Styles
 * ═══════════════════════════════════════════ */

/* ── Reset & Container ── */
.ahs-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    font-family: 'Jost', sans-serif;
    --ahs-gold: #C4A265;
    --ahs-gold-light: #E2D1A8;
    --ahs-cream: #FAF6F0;
    --ahs-dark: #1A1714;
}

/* ── Slides ── */
.ahs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    transform: scale(1.06);
    z-index: 0;
}

.ahs-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.ahs-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ahs-slide__overlay {
    position: absolute;
    inset: 0;
    --ahs-overlay-start: rgba(26, 23, 20, 0.78);
    --ahs-overlay-end: rgba(26, 23, 20, 0.15);
    background: linear-gradient(
        135deg,
        var(--ahs-overlay-start) 0%,
        rgba(26, 23, 20, 0.35) 40%,
        var(--ahs-overlay-end) 70%,
        rgba(26, 23, 20, 0.45) 100%
    );
}

/* Grain texture */
.ahs-slide__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

/* ── Content ── */
.ahs-slide__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8vw;
    max-width: 1400px;
    margin: 0 auto;
}

.ahs-slide__tag {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ahs-gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}

.ahs-slide.active .ahs-slide__tag {
    opacity: 1;
    transform: translateY(0);
}

.ahs-slide__title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.05;
    color: var(--ahs-cream);
    max-width: 700px;
    margin: 0;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease 0.5s;
}

.ahs-slide.active .ahs-slide__title {
    opacity: 1;
    transform: translateY(0);
}

.ahs-slide__title em {
    font-style: italic;
    color: var(--ahs-gold-light);
    font-weight: 300;
}

.ahs-slide__desc {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(250, 246, 240, 0.7);
    max-width: 480px;
    margin-top: 1.8rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease 0.7s;
}

.ahs-slide.active .ahs-slide__desc {
    opacity: 1;
    transform: translateY(0);
}

/* ── CTA Buttons ── */
.ahs-slide__cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.9s;
}

.ahs-slide.active .ahs-slide__cta {
    opacity: 1;
    transform: translateY(0);
}

.ahs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.ahs-btn--primary {
    background-color: var(--ahs-gold);
    color: var(--ahs-dark);
}

.ahs-btn--primary:hover {
    background-color: var(--ahs-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 162, 101, 0.3);
}

.ahs-btn--ghost {
    background: transparent;
    color: var(--ahs-cream);
    border: 1px solid rgba(250, 246, 240, 0.3);
}

.ahs-btn--ghost:hover {
    border-color: var(--ahs-gold);
    color: var(--ahs-gold);
}

.ahs-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.ahs-btn:hover svg {
    transform: translateX(3px);
}

/* ── Navigation Dots ── */
.ahs-slider__nav {
    position: absolute;
    right: 3vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.ahs-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(250, 246, 240, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
}

.ahs-slider__dot.active {
    border-color: var(--ahs-gold);
    background: var(--ahs-gold);
    transform: scale(1.3);
}

.ahs-slider__dot:hover {
    border-color: var(--ahs-gold-light);
}

.ahs-slider__line {
    width: 1px;
    height: 40px;
    background: rgba(250, 246, 240, 0.15);
}

/* ── Counter ── */
.ahs-slider__counter {
    position: absolute;
    left: 4vw;
    bottom: 2.5rem;
    z-index: 10;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: rgba(250, 246, 240, 0.4);
    letter-spacing: 0.1em;
}

.ahs-slider__counter .ahs-current {
    color: var(--ahs-gold);
    font-size: 1.8rem;
    font-weight: 500;
}

/* ── Info Bar ── */
.ahs-infobar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 1.8rem 4vw;
    background: linear-gradient(to top, rgba(26, 23, 20, 0.7), transparent);
    border-top: 1px solid rgba(250, 246, 240, 0.06);
}

.ahs-infobar__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    opacity: 0.7;
}

.ahs-infobar__icon {
    font-size: 18px;
    color: var(--ahs-gold);
    display: flex;
    align-items: center;
}

.ahs-infobar__icon i {
    color: var(--ahs-gold);
}

.ahs-infobar__icon svg {
    width: 20px;
    height: 20px;
    fill: var(--ahs-gold);
}

.ahs-infobar__text {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ahs-cream);
}

/* ── Scroll Hint ── */
.ahs-scroll-hint {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
}

.ahs-scroll-hint__mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid var(--ahs-cream);
    border-radius: 11px;
    position: relative;
}

.ahs-scroll-hint__wheel {
    width: 3px;
    height: 8px;
    background: var(--ahs-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: ahsScrollWheel 2s ease-in-out infinite;
}

@keyframes ahsScrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

.ahs-scroll-hint__text {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ahs-cream);
    font-family: 'Jost', sans-serif;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .ahs-slide__content {
        padding: 0 6vw;
    }

    .ahs-infobar {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: 1.2rem 3vw;
    }

    .ahs-infobar__text {
        font-size: 0.65rem;
    }

    .ahs-slider__nav {
        right: 1.5vw;
    }

    .ahs-scroll-hint {
        display: none;
    }

    .ahs-slide__cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .ahs-slider__counter {
        bottom: auto;
        top: 1.5rem;
        left: auto;
        right: 4vw;
    }
}
