/* ==========================================================================
   SVM STANDALONE CINEMATIC INTRO V2 STYLE
   ========================================================================== */

@import url("responsiveintro.css");

:root {
    --bg-primary: #0D2417;     /* Dark Forest Green */
    --bg-secondary: #0A1B11;   /* Ultra Dark Forest */
    --color-gold: #D4AF37;     /* High-End Gold */
    --color-bronze: #C5A059;   /* Premium Bronze */
    --color-emerald: #10B981;  /* Emerald Glow */
    --color-text: #FFFFFF;     /* Soft White */
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
}

/* ==========================================================================
   RESET & SETUP
   ========================================================================== */
#cinematic-container *, #cinematic-container *::before, #cinematic-container *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   THEATRE FRAMEWORK
   ========================================================================== */
#cinematic-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, var(--bg-primary) 0%, #000000 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 1;
    will-change: opacity;
    color: var(--color-text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#intro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Camera space allows smooth slow push-in zoom and orbit sway */
#camera-space {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transform-origin: center;
    will-change: transform;
}

/* ==========================================================================
   ELEMENT LAYOUTS
   ========================================================================== */

/* --- RIPPLE WAVE --- */
.ripple-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    box-shadow: 0 0 40px var(--color-emerald), inset 0 0 20px var(--color-gold);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    will-change: transform, opacity;
}

/* --- Scene 1: WOMAN & WELCOME CONTAINER --- */
.woman-welcome-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
    width: 90%;
    max-width: 600px;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.woman-image-wrapper {
    position: relative;
    width: clamp(200px, 35vh, 280px);
    height: clamp(200px, 35vw, 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 2;
}

.woman-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.5));
    will-change: transform;
}

/* Soft gold aura behind the image */
.woman-aura-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(220px, 38vw, 320px);
    height: clamp(220px, 38vw, 320px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(16, 185, 129, 0.08) 50%, rgba(0, 0, 0, 0) 70%);
    filter: blur(12px);
    z-index: 1;
    pointer-events: none;
    will-change: transform, opacity;
}

.welcome-text-new {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.0rem, 5vw, 3.2rem);
    letter-spacing: clamp(0.4rem, 1.2vw, 1.0rem);
    color: var(--color-gold);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    margin: 0;
    will-change: transform, opacity;
}

/* ==========================================================================
   LOGO & LOCKUP V2
   ========================================================================== */
.logo-brand-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    width: 95%;
    max-width: 950px;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Outer wrapper for centering the logo and glow ring */
.logo-outer-wrapper {
    position: relative;
    width: clamp(220px, 35vw, 300px);
    height: clamp(220px, 35vw, 300px);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glow Ring behind Hero Logo */
.logo-glow-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.3), inset 0 0 30px rgba(212, 175, 55, 0.2);
    z-index: 1;
    will-change: transform, opacity;
    animation: rotateRing 40s linear infinite;
    transform-origin: center;
}

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

/* Logo Wrapper containing the centered logo image */
.logo-wrapper {
    position: relative;
    width: 82%;
    height: 82%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, rgba(13, 36, 23, 0.8) 0%, rgba(0, 0, 0, 0) 80%);
    z-index: 2;
    will-change: transform, opacity;
}

.hero-logo {
    width: 76%;
    height: 76%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.35));
}

/* Shine Sweep highlight */
.shine-sweep {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    transform: skewX(-30deg);
    z-index: 3;
    pointer-events: none;
}

/* --- BRAND TEXTS LAYOUT --- */
.brand-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0 10px;
}

/* Line 1: Company Title (Forced on a single line) */
.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.25rem, 3.2vw, 2.5rem); /* Responsive single-line size */
    letter-spacing: clamp(0.12rem, 0.4vw, 0.45rem);
    line-height: 1.2;
    margin: 0;
    white-space: nowrap; /* Forces text to remain on one single line */
    background: linear-gradient(135deg, #FFFFFF 0%, var(--color-bronze) 50%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
    will-change: transform, opacity;
}

/* Stretched gold divider */
.brand-divider {
    align-self: center;
    width: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
    margin: 18px auto 30px auto;
    will-change: scaleX, opacity;
}

/* Line 2: Tagline (Tracked gold text) */
.brand-tagline {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.85rem, 1.8vw, 1.25rem);
    letter-spacing: clamp(0.25rem, 0.6vw, 0.65rem);
    text-transform: none;
    color: var(--color-gold);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
    margin: 0;
    will-change: transform, opacity;
}

/* ==========================================================================
   ALIGNMENT AND SPACING CORRECTIONS (PRELOADER OVERLAY)
   ========================================================================== */

/* Responsive margins for tagline spacing overrides */
@media (max-width: 768px) {
    .brand-divider {
        margin-bottom: 27px !important;
    }
}
@media (max-width: 480px) {
    .brand-divider {
        margin-bottom: 18px !important;
    }
}
@media (max-width: 390px) {
    .brand-divider {
        margin-bottom: 16px !important;
    }
}
@media (max-width: 320px) {
    .brand-divider {
        margin-bottom: 15px !important;
    }
}
