/* ═══════════════════════════════════════════
   Lochlea Elements — Frontend Styles
   ═══════════════════════════════════════════ */

/* ── Hero Video ── */
.le-hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh; /* Small viewport height — accounts for mobile browser chrome */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: #0a0a14;
}

.le-hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.le-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.le-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    width: 100%;
}

.le-hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.le-hero-logo img {
    width: 280px;
    max-width: 60vw;
    height: auto;
}

.le-hero-logo.le-invert img {
    filter: brightness(0) invert(1);
}

/* Scroll arrow */
.le-hero-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    text-decoration: none;
    animation: le-bounce 2s ease infinite;
}

.le-hero-arrow svg {
    width: 40px;
    height: 40px;
    stroke: #FFFFFF;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.le-hero-arrow:hover svg {
    opacity: 1;
}

@keyframes le-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ── Glass Card ── */
.le-glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

a.le-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.le-glass-card-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: #C4B99A;
}

.le-glass-card-icon i {
    font-size: inherit;
}

.le-glass-card-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.le-glass-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 12px;
    line-height: 1.3;
}

.le-glass-card-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}


/* ── Glass Button ── */
a.le-glass-btn,
button.le-glass-btn,
.le-glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    text-decoration: none !important;
    font-weight: 600;
    line-height: 1;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.le-glass-btn:hover {
    transform: translateY(-2px);
}

.le-glass-btn:active {
    transform: translateY(0) scale(0.97);
}

/* Sizes */
.le-glass-btn--sm { padding: 10px 20px; font-size: 13px; }
.le-glass-btn--md { padding: 14px 28px; font-size: 15px; }
.le-glass-btn--lg { padding: 18px 36px; font-size: 17px; }

/* Preset: Light Glass — white bg, #506D74 text → hover reverses */
a.le-glass-btn--light,
.le-glass-btn--light,
.le-glass-btn--light:visited {
    background: rgba(255, 255, 255, 0.85);
    color: #506D74 !important;
    border-color: rgba(255, 255, 255, 0.6);
}
a.le-glass-btn--light:hover,
.le-glass-btn--light:hover {
    background: rgba(80, 109, 116, 0.85);
    color: #FFFFFF !important;
    border-color: rgba(80, 109, 116, 0.6);
    box-shadow: 0 8px 24px rgba(80, 109, 116, 0.25);
}

/* Preset: Dark Glass — #506D74 bg, white text → hover reverses */
a.le-glass-btn--dark,
.le-glass-btn--dark,
.le-glass-btn--dark:visited {
    background: rgba(80, 109, 116, 0.75);
    color: #FFFFFF !important;
    border-color: rgba(80, 109, 116, 0.5);
}
a.le-glass-btn--dark:hover,
.le-glass-btn--dark:hover {
    background: rgba(55, 80, 86, 0.85);
    color: #FFFFFF !important;
    border-color: rgba(55, 80, 86, 0.7);
    box-shadow: 0 8px 24px rgba(80, 109, 116, 0.25);
}

/* Preset: Accent Glass */
a.le-glass-btn--accent,
.le-glass-btn--accent,
.le-glass-btn--accent:visited {
    background: rgba(196, 163, 90, 0.2);
    color: #C4A35A !important;
    border-color: rgba(196, 163, 90, 0.35);
}
a.le-glass-btn--accent:hover,
.le-glass-btn--accent:hover {
    background: rgba(196, 163, 90, 0.35);
    border-color: rgba(196, 163, 90, 0.55);
    box-shadow: 0 8px 24px rgba(196, 163, 90, 0.15);
    color: #C4A35A !important;
}

/* Preset: Outline Only */
a.le-glass-btn--outline,
.le-glass-btn--outline,
.le-glass-btn--outline:visited {
    background: transparent;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
a.le-glass-btn--outline:hover,
.le-glass-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #FFFFFF !important;
}

/* Icon */
.le-glass-btn-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.le-glass-btn-icon i { font-size: inherit; }
.le-glass-btn-icon svg { width: 1em; height: 1em; fill: currentColor; }


/* ── Scroll Reveal Text ── */
.le-scroll-reveal {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.le-scroll-reveal[data-le-reveal="fade-up"] {
    transform: translateY(40px);
}

.le-scroll-reveal[data-le-reveal="fade-in"] {
    transform: none;
}

.le-scroll-reveal[data-le-reveal="slide-left"] {
    transform: translateX(-60px);
}

.le-scroll-reveal[data-le-reveal="slide-right"] {
    transform: translateX(60px);
}

.le-scroll-reveal.le-revealed {
    opacity: 1;
    transform: none;
}

/* Word by word */
.le-reveal-words .le-reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.le-reveal-words.le-revealed .le-reveal-word {
    opacity: 1;
    transform: none;
}


/* ── Marquee ── */
.le-marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.le-marquee-track {
    display: inline-flex;
    gap: 0;
    animation: le-marquee-scroll linear infinite;
    will-change: transform;
}

.le-marquee-reverse .le-marquee-track {
    animation-direction: reverse;
}

.le-marquee-pause:hover .le-marquee-track {
    animation-play-state: paused;
}

.le-marquee-text {
    padding: 0 16px;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.le-marquee-sep {
    padding: 0 16px;
    opacity: 0.5;
    font-size: 48px;
}

@keyframes le-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ── Parallax Image ── */
.le-parallax {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.le-parallax::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.le-parallax-img {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}


/* ── Fix Elementor forcing background-attachment:scroll on tablet ── */
/* Elementor removes fixed on mobile/tablet — this restores it for tablet. */
/* iOS will naturally ignore fixed and fallback to scroll, which is fine. */
@media (min-width: 768px) {
    .e-con[style*="background-attachment"] {
        background-attachment: fixed !important;
    }
}


/* ── Batch Number (Cart) ── */
.le-batch-number {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C4B99A;
    margin-top: 2px;
    font-weight: 500;
}

/* Full cart page batch number */
.woocommerce-cart-form .le-batch-number {
    font-size: 12px;
    margin-top: 4px;
}


/* ── Social Icons (SVG override) ── */
.le-social-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.le-social-svg svg {
    width: 1em;
    height: 1em;
    display: block;
}

/* Hide the ::before pseudo-element (UICore icon font) when SVG is injected */
.uicore-social-icon.le-social-svg::before {
    display: none !important;
    content: '' !important;
}

/* Hide header social icons on tablet and below */
@media (max-width: 1111px) {
    #wrapper-navbar .uicore-socials,
    .uicore-header-wrapper .uicore-socials,
    .uicore-extra .uicore-socials {
        display: none !important;
    }
}


/* ── Responsive ── */
@media (max-width: 767px) {
    .le-hero-video {
        height: 100svh;
    }

    .le-hero-logo img {
        max-width: 50vw;
    }

    .le-hero-arrow {
        bottom: 24px;
    }

    .le-hero-arrow svg {
        width: 28px;
        height: 28px;
    }

    .le-marquee-text,
    .le-marquee-sep {
        font-size: 28px;
    }
}
