/* ============================================================
   site.css — Shared styles for Bahn Productions
   Typography, hero, buttons, sections, reveal
   Nav bar & social icons handled by Tailwind in default.html
   ============================================================ */

/* Base font size — scales all rem units - ADJUST FOR OVERALL SCREEN ADAPTABILITY */
html { font-size: 16px; }

@media (min-width: 1920px) {
    html { font-size: 18px; }
}

@media (min-width: 2560px) {
    html {
        font-size: 20px;
    }
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}


body {
    background: #080808;
    color: #e0e0e0;
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

h1, h2, h3, h4, h5 {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1;
    margin: 0;
}

a { color: inherit; }

.mono, code {
    font-family: 'Share Tech Mono', monospace;
}


/* ── SOCIAL SIDEBAR ── */
.social-sidebar {
    position: fixed;
    top: 5.5rem;
    right: 1rem;
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .social-sidebar { display: flex; }
}

.social-sidebar-label {
    align-self: flex-end;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.social-sidebar-line {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.12);
}

.social-sidebar a {
    color: rgba(255,255,255,0.35);
    transition: color 0.2s, transform 0.2s;
    display: flex;
}

.social-sidebar a:hover {
    color: #0ea5e9;
    transform: scale(1.1);
}

.social-sidebar svg {
    width: 1.35rem;
    height: 1.35rem;
}

/* ── HAMBURGER ANIMATION ── */
.menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.menu-open .menu-line-1 {
    transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-line-2 {
    opacity: 0;
}

.menu-open .menu-line-3 {
    transform: translateY(-8px) rotate(-45deg);
}


/* ── HERO ── */
.hero {
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-grid {
    position: fixed;
    inset: 0;
    background-image:
            linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

.hero-glow {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/fx/hero-glow-corner-blue.png') top right / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

.hero-scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.01) 2px,
            rgba(255,255,255,0.01) 4px
    );
    pointer-events: none;
}

.hero-subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 0.9;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-title span {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: #0ea5e9;
    margin: 1.5rem 0;
}

/* Center-aligned hero variant */
.hero .text-center .hero-divider,
.text-center .hero-divider {
    margin: 1.5rem auto;
}

.hero-eyebrow {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1rem;
}

.hero-bio,
.hero-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
}

.hero-bio { max-width: 480px; }


/* ── SECTION LABELS ── */
.section-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0ea5e9;
    opacity: 0.7;
}

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
}


/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: #0ea5e9;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: #38bdf8;
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    transform: translateY(-1px);
}


/* ── BACK LINK ── */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: #0ea5e9;
}


/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}