/* ── REH 3D Hero Section – style.css ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

.reh3d-hero {
    --reh3d-bg-start: #0F172A;
    --reh3d-bg-end: #1C1008;
    --reh3d-accent: #DCA54A;
    --reh3d-accent-light: #F0C97A;
    --reh3d-cream: #FAF5E5;
    --reh3d-muted: #C8B99A;
    --reh3d-glass-bg: rgba(255,255,255,0.04);
    --reh3d-glass-border: rgba(220,165,74,0.18);
    --reh3d-ease: cubic-bezier(0.4, 0, 0.2, 1);

    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--reh3d-bg-start) 0%, #16100A 50%, var(--reh3d-bg-end) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

/* ── Ambient Orbs ── */
.reh3d-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: reh3d-float 8s ease-in-out infinite;
}
.reh3d-orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(220,165,74,0.12) 0%, transparent 70%);
    top: -150px; right: -100px;
    animation-delay: 0s;
}
.reh3d-orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(240,201,122,0.08) 0%, transparent 70%);
    bottom: -100px; left: 10%;
    animation-delay: -3s;
}
.reh3d-orb--3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(200,185,154,0.06) 0%, transparent 70%);
    top: 40%; left: 45%;
    animation-delay: -5s;
}

@keyframes reh3d-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* ── Grid Decoration ── */
.reh3d-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(220,165,74,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220,165,74,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ── Inner Layout ── */
.reh3d-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ── LEFT: Content ── */
.reh3d-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: reh3d-fadeup 1s var(--reh3d-ease) both;
}

@keyframes reh3d-fadeup {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reh3d-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    animation: reh3d-fadeup 1s var(--reh3d-ease) 0.1s both;
}
.reh3d-eyebrow__line {
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--reh3d-accent), transparent);
}
.reh3d-eyebrow__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--reh3d-accent);
}

.reh3d-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--reh3d-cream);
    margin: 0;
    animation: reh3d-fadeup 1s var(--reh3d-ease) 0.2s both;
}

.reh3d-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--reh3d-muted);
    max-width: 480px;
    margin: 0;
    animation: reh3d-fadeup 1s var(--reh3d-ease) 0.3s both;
}

/* ── CTAs ── */
.reh3d-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: reh3d-fadeup 1s var(--reh3d-ease) 0.4s both;
}

.reh3d-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s var(--reh3d-ease);
    position: relative;
    overflow: hidden;
}

.reh3d-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform 0.4s var(--reh3d-ease);
}
.reh3d-btn:hover::before { transform: translateX(0); }

.reh3d-btn-primary {
    background: var(--reh3d-accent);
    color: #0F172A;
    box-shadow: 0 8px 32px rgba(220,165,74,0.35), 0 2px 8px rgba(0,0,0,0.3);
}
.reh3d-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(220,165,74,0.5), 0 4px 16px rgba(0,0,0,0.4);
}

.reh3d-btn__arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--reh3d-ease);
}
.reh3d-btn-primary:hover .reh3d-btn__arrow { transform: translateX(4px); }

.reh3d-btn-secondary {
    background: transparent;
    color: var(--reh3d-cream);
    border: 1px solid rgba(250,245,229,0.3);
    backdrop-filter: blur(8px);
}
.reh3d-btn-secondary:hover {
    border-color: var(--reh3d-accent);
    color: var(--reh3d-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ── Stats ── */
.reh3d-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 8px;
    animation: reh3d-fadeup 1s var(--reh3d-ease) 0.5s both;
}
.reh3d-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.reh3d-stat__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--reh3d-accent);
    line-height: 1;
}
.reh3d-stat__label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--reh3d-muted);
}
.reh3d-stat__divider {
    width: 1px;
    height: 36px;
    background: rgba(220,165,74,0.25);
}

/* ── RIGHT: 3D Viewer ── */
.reh3d-viewer-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: reh3d-fadeup 1s var(--reh3d-ease) 0.3s both;
}

.reh3d-glass-panel {
    position: absolute;
    inset: -20px;
    background: var(--reh3d-glass-bg);
    border: 1px solid var(--reh3d-glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    pointer-events: none;
}

.reh3d-viewer-ring {
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    border: 1px solid rgba(220,165,74,0.1);
    animation: reh3d-spin-ring 20s linear infinite;
    pointer-events: none;
}
.reh3d-viewer-ring::before {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--reh3d-accent);
    box-shadow: 0 0 12px var(--reh3d-accent);
}
@keyframes reh3d-spin-ring {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.reh3d-viewer-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 80px;
    background: radial-gradient(ellipse, rgba(220,165,74,0.25) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    animation: reh3d-glow-pulse 3s ease-in-out infinite;
}
@keyframes reh3d-glow-pulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.15); }
}

.reh3d-model-viewer {
    width: 100%;
    height: 560px;
    background: transparent;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    transition: transform 0.5s var(--reh3d-ease), filter 0.5s var(--reh3d-ease);
    --progress-bar-color: var(--reh3d-accent);
    --progress-mask: transparent;
}

.reh3d-model-viewer.is-hovered {
    transform: scale(1.04);
    filter: drop-shadow(0 0 30px rgba(220,165,74,0.3)) brightness(1.08);
}

/* ── Loader ── */
.reh3d-model-loader {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}
.reh3d-loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--reh3d-accent), var(--reh3d-accent-light));
    animation: reh3d-loader 2s ease-in-out infinite;
}
@keyframes reh3d-loader {
    0% { width: 0%; margin-left: 0; }
    50% { width: 70%; margin-left: 0; }
    100% { width: 0%; margin-left: 100%; }
}

/* ── Viewer Badge ── */
.reh3d-viewer-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(15,23,42,0.7);
    border: 1px solid rgba(220,165,74,0.25);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--reh3d-accent);
    pointer-events: none;
}
.reh3d-viewer-badge svg {
    width: 14px; height: 14px;
    stroke: var(--reh3d-accent);
}

/* ── Scroll Hint ── */
.reh3d-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
    animation: reh3d-fadeup 1s var(--reh3d-ease) 0.8s both;
}
.reh3d-scroll-hint span {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(200,185,154,0.5);
}
.reh3d-scroll-hint__mouse {
    width: 22px; height: 34px;
    border: 1px solid rgba(200,185,154,0.3);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.reh3d-scroll-hint__wheel {
    width: 3px; height: 6px;
    background: var(--reh3d-accent);
    border-radius: 2px;
    animation: reh3d-scroll-wheel 1.8s ease-in-out infinite;
}
@keyframes reh3d-scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .reh3d-inner {
        grid-template-columns: 1fr;
        padding: 60px 40px;
        gap: 40px;
        text-align: center;
    }
    .reh3d-eyebrow { justify-content: center; }
    .reh3d-desc { max-width: 100%; }
    .reh3d-ctas { justify-content: center; }
    .reh3d-stats { justify-content: center; }
    .reh3d-model-viewer { height: 420px; }
}

@media (max-width: 768px) {
    .reh3d-inner { padding: 40px 24px; }
    .reh3d-headline { font-size: clamp(32px, 8vw, 52px); }
    .reh3d-model-viewer { height: 340px; }
    .reh3d-ctas { flex-direction: column; align-items: center; }
    .reh3d-btn { width: 100%; justify-content: center; max-width: 320px; }
    .reh3d-scroll-hint { display: none; }
}

@media (max-width: 480px) {
    .reh3d-model-viewer { height: 280px; }
    .reh3d-stats { gap: 16px; }
    .reh3d-stat__num { font-size: 22px; }
}
