/* =============================================
   ROOT VARIABLES & RESET
   ============================================= */
:root {
    --black: #050706;
    --gold: #C5A059;
    --red: #7d0404;
    --white: #ffffff;
    --muted: rgba(255,255,255,0.6);
    --font: 'Outfit', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--black);
    font-family: var(--font);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Gold scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

h1, h2, h3 { text-transform: uppercase; letter-spacing: 3px; }

/* =============================================
   INTRO SPLASH
   ============================================= */
#intro-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer; /* entire splash is clickable */
    user-select: none;
}

#intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    text-align: center;
}

#intro-logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 60px rgba(197,160,89,0.4), 0 0 120px rgba(197,160,89,0.15);
}

#intro-title {
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: 3rem;
    text-indent: 3rem;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

#intro-tagline {
    font-size: 1.1rem;
    font-weight: 200;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

#scroll-prompt {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255,255,255,0.25);
    font-size: 0.7rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

.chevron {
    width: 18px;
    height: 18px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    animation: bounce 1.3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.8; }
    50%       { transform: rotate(45deg) translate(5px,5px); opacity: 0.3; }
}

/* =============================================
   MAIN CONTENT (hidden during intro)
   ============================================= */
#main-content {
    opacity: 0;
    /* GSAP will set this to 1 after intro exits */
}

/* =============================================
   SECTION BG
   ============================================= */
.section-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.parallax-bg {
    background-attachment: fixed;
    filter: brightness(0.55);
}

/* =============================================
   HERO
   ============================================= */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero .section-bg {
    filter: brightness(0.45);
}

.hero-text {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 9rem;
    font-weight: 900;
    background: linear-gradient(to right, #fff 30%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.hero-text p {
    font-size: 1.5rem;
    font-weight: 200;
    letter-spacing: 0.3rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
}

/* =============================================
   SPLIT SECTIONS
   ============================================= */
.split-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10vh 5vw;
    background: var(--black);
}

.split-section.flip .split-inner { flex-direction: row-reverse; }

.split-inner {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.split-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.split-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.split-text p {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.9;
}

.split-image {
    flex: 1;
    height: 65vh;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

/* =============================================
   FULL IMAGE SECTIONS
   ============================================= */
.full-image-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.overlay-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 4rem;
    background: rgba(0,0,0,0.5);
    border-left: 3px solid var(--gold);
    border-radius: 2px;
    backdrop-filter: blur(4px);
}

.overlay-text.centered { text-align: center; border-left: none; border-top: 3px solid var(--gold); }

.overlay-text h2 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.overlay-text p {
    font-size: 1.15rem;
    font-weight: 200;
    color: var(--muted);
    line-height: 1.9;
}

/* =============================================
   FOOTER
   ============================================= */
#company {
    background: #000;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.6;
}

.footer-inner h2 {
    font-size: 2rem;
    color: var(--white);
}

.footer-inner p {
    color: var(--muted);
    font-weight: 200;
    font-size: 1rem;
}

.footer-year {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.2rem;
}

/* =============================================
   GSAP REVEAL HELPERS (initial hidden state)
   ============================================= */
.reveal-up   { opacity: 0; transform: translateY(60px); }
.reveal-left { opacity: 0; transform: translateX(-80px); }
.reveal-right{ opacity: 0; transform: translateX(80px); }
.delay-1     { transition-delay: 0.3s; }
