/* ============================================================
   LUXURY HERO — EverydayBae v5
   Professional build — zero overflow, pixel-perfect layout
   ============================================================ */

:root {
    --lux-gold:       #C9A96E;
    --lux-gold-deep:  #A17E3F;
    --lux-gold-light: #DBBF8A;
    --lux-cream:      #FAF6F1;
    --lux-ivory:      #F0EAE0;
    --lux-espresso:   #2D2118;
    --lux-soft:       #6B5B4E;
    --ease:           cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   SECTION
   marquee ≈ 40px  |  header ≈ 64px  |  adminbar ≈ 32px (WP)
   Total offset ≈ 136px — hero fills the rest of the viewport
   ============================================================ */

.hero-luxury {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 104px); /* marquee + header, no admin bar */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 3rem 2rem;
    overflow: hidden;
    background: linear-gradient(145deg,
        #FEFCF8 0%,
        #FAF6F1 35%,
        #F5E6C8 65%,
        #F0EAE0 85%,
        #FAF6F1 100%
    );
}

/* Admin bar compensation (WP adds 32px / 46px body margin) */
.admin-bar .hero-luxury {
    min-height: calc(100vh - 136px);
}

/* ── BACKGROUND LAYERS ── */
.hero-luxury-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.luxury-gradient-1 {
    position: absolute;
    width: 55vw; max-width: 700px;
    height: 55vw; max-height: 700px;
    background: radial-gradient(ellipse,
        rgba(201,169,110,.26) 0%,
        rgba(219,191,138,.14) 40%,
        transparent 70%);
    top: -15%; right: -10%;
    border-radius: 50%;
    filter: blur(60px);
    animation: bg1 20s ease-in-out infinite;
    will-change: transform;
}

.luxury-gradient-2 {
    position: absolute;
    width: 50vw; max-width: 650px;
    height: 50vw; max-height: 650px;
    background: radial-gradient(ellipse,
        rgba(201,169,110,.2) 0%,
        rgba(232,212,184,.11) 45%,
        transparent 70%);
    bottom: -15%; left: -10%;
    border-radius: 50%;
    filter: blur(70px);
    animation: bg2 26s ease-in-out infinite;
}

.luxury-ambient-orb {
    position: absolute;
    width: 42vw; max-width: 560px;
    height: 42vw; max-height: 560px;
    background: radial-gradient(circle,
        rgba(201,169,110,.13) 0%,
        transparent 70%);
    top: 50%; right: 28%;
    transform: translate(50%, -50%);
    border-radius: 50%;
    filter: blur(80px);
    animation: bg3 14s ease-in-out infinite;
}

@keyframes bg1 {
    0%,100% { transform: translate(0,0) scale(1); }
    40%      { transform: translate(-40px,50px) scale(1.07); }
    70%      { transform: translate(25px,-35px) scale(.96); }
}
@keyframes bg2 {
    0%,100% { transform: translate(0,0) scale(1); }
    55%      { transform: translate(50px,-45px) scale(1.1); }
}
@keyframes bg3 {
    0%,100% { opacity: .5; transform: translate(50%,-50%) scale(1); }
    50%      { opacity: 1;  transform: translate(50%,-50%) scale(1.18); }
}

/* ── PARTICLES ── */
.luxury-particles {
    position: absolute;
    inset: 0; z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

@keyframes rise-particle {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    8%   { opacity: 1; }
    90%  { opacity: .7; }
    100% { transform: translateY(-110vh) translateX(var(--tx,0px)) scale(.3); opacity: 0; }
}

/* ============================================================
   TWO-COLUMN GRID
   Left: text  |  Right: circular carousel
   The showcase column is limited so it never overflows
   ============================================================ */

.hero-luxury-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;    /* vertically center both columns to same midpoint */
    min-height: clamp(360px, 50vw, 560px); /* row height = showcase size */
}

/* ============================================================
   LEFT — CONTENT
   ============================================================ */

.hero-luxury-content {
    display: flex;
    flex-direction: column;
    animation: enter-left .9s var(--ease) .1s both;
}

@keyframes enter-left {
    from { opacity: 0; transform: translateX(-36px); }
    to   { opacity: 1; transform: translateX(0); }
}

.luxury-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: clamp(.58rem,.85vw,.7rem);
    letter-spacing: .38em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--lux-gold-deep);
    margin-bottom: 1.4rem;
}

.luxury-eyebrow::before {
    content: '';
    width: 2.4rem; height: 1.5px;
    flex-shrink: 0;
    background: linear-gradient(90deg, var(--lux-gold-light), var(--lux-gold-deep));
    box-shadow: 0 0 10px rgba(201,169,110,.55);
    border-radius: 2px;
}

.luxury-heading {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.2rem, 4.2vw, 4.4rem);
    font-weight: 300;
    line-height: 1.07;
    color: var(--lux-espresso);
    margin-bottom: 2rem;
    letter-spacing: -.025em;
}

.luxury-accent {
    background: linear-gradient(125deg,
        var(--lux-gold-light) 0%,
        var(--lux-gold)       45%,
        var(--lux-gold-deep)  100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(201,169,110,.3));
}

.luxury-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.luxury-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95rem 2.2rem;
    border-radius: 999px;
    font-size: clamp(.72rem,.95vw,.82rem);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.luxury-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        transparent 30%,
        rgba(255,255,255,.14) 48%,
        transparent 66%);
    transform: translateX(-110%);
    transition: transform .55s var(--ease);
}
.luxury-btn:hover::after { transform: translateX(110%); }

.luxury-btn.primary {
    background: var(--lux-espresso);
    color: var(--lux-cream);
    box-shadow: 0 6px 28px rgba(45,33,24,.28), 0 2px 8px rgba(45,33,24,.18);
}
.luxury-btn.primary:hover {
    background: var(--lux-gold-deep);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(161,126,63,.42);
}

.luxury-btn.secondary {
    background: transparent;
    color: var(--lux-espresso);
    border: 1.5px solid rgba(201,169,110,.55);
}
.luxury-btn.secondary:hover {
    background: rgba(201,169,110,.1);
    border-color: var(--lux-gold);
    color: var(--lux-gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201,169,110,.22);
}

/* ============================================================
   RIGHT — 3D CIRCULAR SHOWCASE
   Key fix: explicit height so aspect-ratio doesn't blow up
   ============================================================ */

.hero-luxury-showcase {
    position: relative;
    width: 100%;
    /* Height matches the grid row — no more clamp mismatch */
    height: 100%;
    min-height: clamp(300px, 44vw, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: enter-right 1s var(--ease) .2s both;
}

@keyframes enter-right {
    from { opacity: 0; transform: translateX(44px) scale(.95); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ── OUTER AMBIENT HALO ── */
.hero-luxury-showcase::before {
    content: '';
    position: absolute;
    /* Sized relative to the showcase height */
    inset: -10%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(201,169,110,.2) 0%,
        rgba(219,191,138,.08) 50%,
        transparent 72%);
    filter: blur(36px);
    animation: halo-pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes halo-pulse {
    0%,100% { opacity: .65; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.1); }
}

/* ── ORBIT WRAPPER ──
   On desktop the grid is 2 equal columns inside 1320px max.
   Each column ≈ (100vw - gap) / 2 ≈ 46vw.
   We use 38vw for the circle so it always fits with breathing room.
   clamp prevents it going too small on tablet or too big on wide screens.
   ────────────────────────────────────────────────────────── */
.orbit-container {
    position: relative;
    width:  clamp(240px, 38vw, 460px);
    height: clamp(240px, 38vw, 460px);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-idle 6s ease-in-out infinite;
}

@keyframes float-idle {
    0%,100% { transform: translateY(0) rotate(0deg); }
    35%      { transform: translateY(-10px) rotate(.4deg); }
    65%      { transform: translateY(-5px) rotate(-.3deg); }
}

/* ── ORBIT RINGS ── */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orbit-ring-1 {
    inset: -7%;
    border: 1.5px dashed rgba(201,169,110,.38);
    animation: spin 22s linear infinite;
}

.orbit-ring-2 {
    inset: -15%;
    border: 1px solid rgba(201,169,110,.18);
    animation: spin 36s linear infinite reverse;
}

.orbit-ring-3 {
    inset: -24%;
    border: 1px dotted rgba(201,169,110,.09);
    animation: spin 50s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Orbiting gem dots */
.orbit-ring-1::after {
    content: '';
    position: absolute;
    width: 9px; height: 9px;
    background: radial-gradient(circle, #fff 0%, var(--lux-gold-light) 40%, var(--lux-gold) 100%);
    border-radius: 50%;
    top: 50%; left: -5px;
    margin-top: -4.5px;
    box-shadow: 0 0 10px 4px rgba(201,169,110,.75),
                0 0 24px 8px rgba(201,169,110,.35);
}

.orbit-ring-2::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    background: radial-gradient(circle, #fff, var(--lux-gold-light));
    border-radius: 50%;
    bottom: 50%; right: -3px;
    margin-bottom: -3px;
    box-shadow: 0 0 8px 3px rgba(255,255,255,.9),
                0 0 18px 6px rgba(201,169,110,.5);
}

/* ── GLASS SHIMMER LAYERS ── */
.glass-layer {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.glass-layer-1 {
    inset: 3%;
    background: radial-gradient(circle at 28% 22%, rgba(255,255,255,.18) 0%, transparent 55%);
    animation: glass1 9s ease-in-out infinite;
}

.glass-layer-2 {
    inset: 8%;
    background: radial-gradient(circle at 72% 78%, rgba(201,169,110,.12) 0%, transparent 55%);
    animation: glass2 12s ease-in-out infinite;
}

@keyframes glass1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(6px,-8px)} }
@keyframes glass2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-5px,7px)} }

/* ── MAIN CIRCLE ── */
.showcase-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 32% 28%,
        rgba(245,230,200,.95) 0%,
        rgba(219,191,138,.5) 50%,
        rgba(161,126,63,.6) 100%);
    animation: circle-glow 7s ease-in-out infinite;
}

@keyframes circle-glow {
    0%,100% {
        box-shadow:
            inset 0 2px 24px rgba(255,255,255,.35),
            0 0 0 2px   rgba(201,169,110,.45),
            0 0 35px 10px rgba(201,169,110,.32),
            0 0 90px 28px rgba(201,169,110,.14),
            0 50px 120px -20px rgba(45,33,24,.38);
    }
    50% {
        box-shadow:
            inset 0 2px 28px rgba(255,255,255,.45),
            0 0 0 3px   rgba(201,169,110,.75),
            0 0 60px 20px rgba(201,169,110,.48),
            0 0 130px 45px rgba(201,169,110,.22),
            0 50px 120px -20px rgba(45,33,24,.42);
    }
}

.showcase-inner {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

/* ── CAROUSEL ── */
.carousel-container {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: 50%;
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
    transform: scale(1.06);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.showcase-image {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
}

/* Metallic sweep */
.metallic-shine {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(120deg,
        transparent 25%,
        rgba(255,255,255,.22) 42%,
        rgba(255,255,255,.10) 50%,
        transparent 68%);
    animation: shine 6s ease-in-out infinite;
}

@keyframes shine {
    0%,100% { opacity: .45; transform: rotate(-12deg) scale(1.12); }
    50%      { opacity: 1;   transform: rotate(12deg)  scale(1.06); }
}

/* ── CAROUSEL DOTS ── */
.luxury-carousel-dots {
    position: absolute;
    /* Position below the orbit container */
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.luxury-carousel-dots .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(201,169,110,.25);
    border: 1.5px solid rgba(201,169,110,.35);
    cursor: pointer;
    transition: all .4s var(--ease);
    padding: 0;
}

.luxury-carousel-dots .dot:hover {
    background: rgba(201,169,110,.5);
    transform: scale(1.25);
}

.luxury-carousel-dots .dot.active {
    background: var(--lux-gold);
    border-color: var(--lux-gold);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(201,169,110,.75), 0 0 22px rgba(201,169,110,.4);
}

/* ── 3D TILT (JS-driven via CSS vars) ── */
.hero-luxury-showcase.parallax-active .orbit-container {
    animation: none;
    transition: transform .14s linear;
}

/* ============================================================
   FEATURES BAR
   ============================================================ */

.hero-features-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    flex-wrap: wrap;
    padding: 2rem 2rem 0;
    width: 100%;
    max-width: 1320px;
    animation: enter-up 1s var(--ease) .6s both;
}

@keyframes enter-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-features-bar .feature-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: clamp(.78rem, 1.1vw, .9rem);
    font-weight: 500;
    color: var(--lux-soft);
    letter-spacing: .04em;
    white-space: nowrap;
}

.hero-features-bar .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--lux-gold-light), var(--lux-gold-deep));
    color: #fff;
    border-radius: 50%;
    font-size: .66rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(201,169,110,.45), 0 0 22px rgba(201,169,110,.22);
}

.hero-features-bar .feature-item:not(:last-child)::after {
    content: '✦';
    margin-left: clamp(.8rem, 2vw, 1.8rem);
    color: rgba(201,169,110,.4);
    font-size: .55rem;
}

/* ============================================================
   LAZY LOADING
   ============================================================ */

.showcase-image.lazy-img { opacity: 0; transition: opacity .45s ease; }
.showcase-image.lazy-img.loaded { opacity: 1; }

/* ============================================================
   RESPONSIVE — TABLET  769–1024px
   ============================================================ */

@media (max-width: 1024px) {
    .hero-luxury {
        padding: 3rem 2rem 2rem;
        min-height: calc(100vh - 104px);
    }

    .hero-luxury-container {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-luxury-content {
        align-items: center;
        order: 1;
    }

    .hero-luxury-showcase {
        order: 2;
        height: clamp(280px, 55vw, 420px);
        min-height: unset;
    }

    .orbit-container {
        width: clamp(240px, 50vw, 380px);
        height: clamp(240px, 50vw, 380px);
    }

    .luxury-eyebrow { justify-content: center; }
    .luxury-cta-group { justify-content: center; }
    .luxury-heading { font-size: clamp(2rem, 5vw, 3.2rem); }

    .hero-features-bar { gap: 1.5rem; padding: 1.8rem 1.5rem 0; }
}

/* ============================================================
   RESPONSIVE — MOBILE  ≤768px
   ============================================================ */

@media (max-width: 768px) {
    .hero-luxury {
        padding: 2.5rem 1.25rem 1.5rem;
        min-height: auto;
    }

    .hero-luxury-container { gap: 1.8rem; min-height: auto; }

    .hero-luxury-showcase {
        height: clamp(240px, 70vw, 340px);
        min-height: unset;
    }

    .orbit-container {
        width: clamp(200px, 62vw, 300px);
        height: clamp(200px, 62vw, 300px);
    }

    .luxury-heading {
        font-size: clamp(1.8rem, 6.5vw, 2.5rem);
        margin-bottom: 1.4rem;
    }

    .luxury-btn { padding: .85rem 1.8rem; }

    /* Hide outer rings on mobile for clarity */
    .orbit-ring-2,
    .orbit-ring-3 { display: none; }

    .luxury-carousel-dots { gap: 7px; bottom: -24px; }
    .luxury-carousel-dots .dot { width: 7px; height: 7px; }

    .hero-features-bar {
        gap: 1rem;
        padding: 1.4rem 1rem 0;
    }

    .hero-features-bar .feature-item { font-size: .78rem; }

    .hero-features-bar .feature-item:not(:last-child)::after {
        margin-left: .7rem;
    }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  ≤480px
   ============================================================ */

@media (max-width: 480px) {
    .hero-luxury {
        padding: 2rem 1rem 1.5rem;
    }

    .hero-luxury-container { gap: 1.4rem; min-height: auto; }

    .hero-luxury-showcase {
        height: clamp(210px, 75vw, 280px);
        min-height: unset;
    }

    .orbit-container {
        width: clamp(180px, 68vw, 250px);
        height: clamp(180px, 68vw, 250px);
    }

    .luxury-eyebrow {
        font-size: .56rem;
        letter-spacing: .3em;
        margin-bottom: 1rem;
    }

    .luxury-heading {
        font-size: clamp(1.55rem, 7vw, 1.95rem);
        margin-bottom: 1.1rem;
    }

    .luxury-btn {
        padding: .78rem 1.45rem;
        font-size: .7rem;
    }

    .luxury-carousel-dots { gap: 6px; bottom: -20px; }
    .luxury-carousel-dots .dot { width: 6px; height: 6px; }

    .hero-features-bar {
        gap: .6rem;
        padding: 1.2rem .5rem 0;
    }

    .hero-features-bar .feature-item { font-size: .72rem; gap: .4rem; }

    .hero-features-bar .feature-icon { width: 18px; height: 18px; font-size: .58rem; }

    .hero-features-bar .feature-item:not(:last-child)::after {
        margin-left: .4rem;
        font-size: .45rem;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .hero-luxury *,
    .hero-luxury *::before,
    .hero-luxury *::after {
        animation: none !important;
        transition: none !important;
    }
    .carousel-slide {
        transition: opacity .3s ease !important;
    }
}
