/* ============================================================
   Watkins Hero Slider — hero.css
   Matches original design: dark overlay, Cormorant Garamond,
   slide transitions, stats strip, scroll indicator, dots
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Montserrat:wght@300;400;500&display=swap');

/* ── SECTION ─────────────────────────────────────────────────── */
.whs-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #0a0a0a;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ── SLIDER CONTAINER ────────────────────────────────────────── */
.whs-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* ── INDIVIDUAL SLIDES ───────────────────────────────────────── */
.whs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
    z-index: 0;
}
.whs-slide.active {
    opacity: 1;
}
.whs-slide video,
.whs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    filter: brightness(0.22) contrast(1.1);
    display: block;
}

/* ── DARK VEILS ──────────────────────────────────────────────── */
.whs-veil1 {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.42) 55%,
        rgba(0,0,0,0.18) 100%
    );
    pointer-events: none;
    background: linear-gradient(to top, rgba(2, 2, 2, 1) 0%, rgba(2, 2, 2, 0.6) 35%, rgba(2, 2, 2, 0.25) 70%, rgba(2, 2, 2, 0.1) 100%);
}
.whs-veil2 {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.60) 0%,
        transparent 42%
    );
    pointer-events: none;
}
button.whs-dot {
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: white;
    writing-mode: vertical-rl;
    padding: 1px;
}
/* ── GRID LINES ──────────────────────────────────────────────── */
.whs-grid {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
.whs-gcol {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,0.06);
}
.whs-grow {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

/* ── SLIDE COUNTER ───────────────────────────────────────────── */
.whs-counter {
    position: absolute;
    top: 32px;
    right: 56px;
    z-index: 10;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 0.28em;
    color: rgba(255,255,255,0.3);
}

/* ── SLIDE CONTENT ───────────────────────────────────────────── */
.whs-content {
    position: absolute;
    left: 72px;
    bottom: 148px;
    z-index: 10;
    max-width: 580px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}
.whs-content.active {
    opacity: 1;
    pointer-events: auto;
}

/* ── EYEBROW ─────────────────────────────────────────────────── */
.whs-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.whs-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: rgba(255,255,255,0.4);
    flex-shrink: 0;
}

/* ── HEADLINE ────────────────────────────────────────────────── */
.whs-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 300;
    line-height: 1.02;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}
.whs-headline em {
    font-style: italic;
    font-weight: 300;
    font-family: 'Cormorant Garamond', serif;
}

/* ── RULE DIVIDER ────────────────────────────────────────────── */
.whs-rule {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.whs-rule-line {
    width: 28px;
    height: 1px;
    background: rgba(255,255,255,0.3);
}
.whs-rule-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
}

/* ── SUBTEXT ─────────────────────────────────────────────────── */
.whs-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255,255,255,0.52);
    max-width: 340px;
    margin-bottom: 36px;
    margin-top: 0;
    letter-spacing: 0.01em;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.whs-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.whs-btn-primary {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0a0a0a !important;
    background: rgba(255,255,255,0.93);
    padding: 14px 28px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.25s ease, color 0.25s ease;
    border: none;
    cursor: pointer;
}
.whs-btn-primary:hover {
    background: #ffffff;
    color: #000000 !important;
    text-decoration: none;
}
.whs-btn-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.25s ease;
}
.whs-btn-text::after {
    content: '';
    display: inline-block;
    width: 26px;
    height: 1px;
    background: rgba(255,255,255,0.35);
    transition: width 0.25s ease;
}
.whs-btn-text:hover {
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
}
.whs-btn-text:hover::after {
    width: 38px;
}

/* ── NAVIGATION DOTS ─────────────────────────────────────────── */
.whs-dots {
    position: absolute;
    right: 56px;
    bottom: 110px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.whs-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.2s ease;
    display: block;
}
.whs-dot.active {
    background: rgba(255,255,255,0.82);
    transform: scale(1.3);
}
.whs-dot:hover {
    background: rgba(255,255,255,0.5);
}

/* ── SCROLL INDICATOR ────────────────────────────────────────── */
.whs-scroll {
    position: absolute;
    bottom: 38px;
    left: 72px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}
.whs-scroll-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
}
.whs-scroll-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.18);
    position: relative;
    overflow: hidden;
}
.whs-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.65);
    animation: whsScrollPulse 2.4s ease-in-out infinite;
}
@keyframes whsScrollPulse {
    0%   { left: -100%; }
    50%  { left: 0%;    }
    100% { left: 100%;  }
}

/* ── STATS STRIP ─────────────────────────────────────────────── */
.whs-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.whs-stat {
    flex: 1;
    padding: 18px 0 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.07);
    opacity: 0;
    transform: translateY(12px);
    animation: whsFadeUp 0.7s ease forwards;
    animation-delay: calc(0.15s * var(--d, 0) + 0.5s);
}
.whs-stat:last-child {
    border-right: none;
}
.whs-stat-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 5px;
}
.whs-stat-key {
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}

/* ── ENTRANCE ANIMATIONS ─────────────────────────────────────── */
.whs-content.active .whs-eyebrow,
.whs-content.active .whs-headline,
.whs-content.active .whs-rule,
.whs-content.active .whs-sub,
.whs-content.active .whs-actions {
    animation: whsFadeUp 0.9s ease forwards;
}
.whs-content.active .whs-eyebrow  { animation-delay: 0.20s; opacity: 0; }
.whs-content.active .whs-headline { animation-delay: 0.36s; opacity: 0; }
.whs-content.active .whs-rule     { animation-delay: 0.50s; opacity: 0; }
.whs-content.active .whs-sub      { animation-delay: 0.62s; opacity: 0; }
.whs-content.active .whs-actions  { animation-delay: 0.74s; opacity: 0; }

@keyframes whsFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ── RESPONSIVE — TABLET ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .whs-content {
        left: 40px;
        bottom: 130px;
        max-width: 480px;
    }
    .whs-dots     { right: 32px; }
    .whs-counter  { right: 32px; }
    .whs-scroll   { left: 40px; }
    .whs-gcol:first-child { left: 32px !important; }
    .whs-gcol:last-child  { right: 32px !important; }
}

/* ── RESPONSIVE — MOBILE ─────────────────────────────────────── */
@media (max-width: 767px) {
    .whs-content {
        left: 24px;
        right: 24px;
        bottom: 110px;
        max-width: 100%;
    }
    .whs-headline {
        font-size: 40px;
    }
    .whs-dots   { display: none; }
    .whs-counter{ right: 24px; }
    .whs-scroll { left: 24px; }
    .whs-gcol   { display: none; }
    .whs-strip  { flex-wrap: wrap; }
    .whs-stat   {
        flex: 0 0 50%;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .whs-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .whs-sub { max-width: 100%; }
}
