/* -------------------------------------------------------------
   EKAIVA JEWELS - LUXURY DESIGN SYSTEM (2026 award-winning edition)
   ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --bg-white: #1C0605; /* Deep dark burgundy maroon background */
    --text-charcoal: #F7F4EF; /* Cream/white text color */
    --gold-accent: #C8A25A;
    --gold-secondary: #E7D4AA;
    --light-beige: #2C0A07; /* Dark burgundy for sub-elements and cards */
    --dark-neutral: #120302; /* Darkest black-burgundy for overlays, footers, headers */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-lux: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-lux: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 30px 60px rgba(200, 162, 90, 0.2);
}

/* Base Settings */
html,
body {
    background-color: var(--bg-white);
    color: var(--text-charcoal);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: auto;
    /* Managed by Lenis */
}

/* Universal Responsive Media & Image Reset */
img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
}
img {
    object-fit: cover;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light-beige);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-accent);
    border-radius: var(--radius-sm);
}

/* Lenis Smooth Scroll Configuration */
html.lenis {
    height: auto;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    overflow: clip;
}

.lenis-smooth iframe {
    pointer-events: none;
}

/* Large Typographic Rules */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-charcoal);
}

.editorial-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 1.1;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--text-charcoal);
}

.editorial-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
}

.luxury-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(247, 244, 239, 0.8);
}

.luxury-paragraph strong {
    color: var(--gold-accent);
    font-weight: 600;
}


/* Glow Follower Effect */
.glow-follower {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 212, 170, 0.15) 0%, rgba(247, 244, 239, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(40px);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    z-index: 9999;
}

.scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--gold-accent), var(--gold-secondary));
}

/* Premium Layout & Bento system */
.lux-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.bento-item {
    background-color: var(--light-beige);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(200, 162, 90, 0.1);
    transition: var(--transition-lux);
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-accent);
}

/* Floating Elements & Particles */
.floating-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--gold-secondary) 0%, rgba(200, 162, 90, 0) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Luxury Page Loader */
.lux-loader {
    position: fixed;
    inset: 0;
    background-color: var(--dark-neutral);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-logo {
    width: 120px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s ease;
}

.loader-progress-wrap {
    width: 200px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--gold-accent);
}

/* Premium Buttons & Interactive Hover Elements */
.btn-lux {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-charcoal);
    background-color: transparent;
    border: 1px solid var(--gold-accent);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-lux);
    text-decoration: none;
}

.btn-lux::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--gold-accent);
    border-radius: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-lux:hover {
    color: var(--bg-white);
    border-color: var(--gold-accent);
}

.btn-lux:hover::before {
    width: 300px;
    height: 300px;
}

.btn-lux.btn-dark-lux {
    color: var(--bg-white);
    background-color: var(--gold-accent);
    border-color: var(--gold-accent);
}

.btn-lux.btn-dark-lux::before {
    background-color: var(--text-charcoal);
}

.btn-lux.btn-dark-lux:hover {
    color: var(--light-beige);
}

.btn-lux.btn-dark-lux:hover::before {
    background-color: var(--text-charcoal);
}

/* Magnetic Button Helper Container */
.magnetic-btn-wrap {
    display: inline-block;
    cursor: pointer;
}

/* Text Underline Hover Link */
.lux-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.lux-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--gold-accent);
    transition: var(--transition-fast);
}

.lux-link:hover::after {
    width: 100%;
}

/* Parallax Image Wrapper */
.parallax-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.parallax-image-wrap img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    margin-top: -10%;
    transition: transform 0.1s linear;
}

/* GSAP Scroll Trigger Hidden Reveal Classes */
.gsap-reveal {
    opacity: 0;
    transform: translateY(40px);
}

.gsap-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.gsap-reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

.gsap-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}

/* Cinematic Scroll Hero Additions */
.hero-comp-card {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s;
    cursor: pointer;
}

.hero-comp-card.border-gold {
    border: 1px solid rgba(200, 162, 90, 0.3);
}

.hero-comp-card.border-gold:hover {
    border-color: var(--gold-accent);
}

.light-sweep-overlay {
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 2;
}

.char-span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotate(5deg);
    filter: blur(5px);
}

.scroll-wheel-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    z-index: 10;
    pointer-events: none;
}

.wheel-icon {
    width: 20px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    position: relative;
}

.wheel-dot {
    width: 4px;
    height: 6px;
    background-color: var(--gold-accent);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.8s infinite ease-in-out;
}

@keyframes wheelScroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    50% {
        top: 18px;
        opacity: 0;
    }

    100% {
        top: 6px;
        opacity: 0;
    }
}

.lux-glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

.lux-glow-circle.circle-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(200, 162, 90, 0.2) 0%, rgba(247, 244, 239, 0) 70%);
    top: 15%;
    left: 5%;
}

.lux-glow-circle.circle-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(231, 212, 170, 0.25) 0%, rgba(247, 244, 239, 0) 70%);
    bottom: 10%;
    right: 15%;
}