/* ========================================================
   THE STUDIO VISUALS CREATIVE PORTFOLIO CORE
   ======================================================== */

:root {
    /* Cinematic Minimalist Palette */
    --bg-dark: #0B0C0E;              /* Obsidian Midnight Black */
    --bg-light: #F5F5F7;             /* Gallery Warm White */
    --surface-card: #14161A;         /* Velvet Dark Surfaces */
    --border-clean: rgba(255, 255, 255, 0.06);
    
    --accent-creative: #FFFFFF;      /* High-Contrast Pure White */
    --text-pure: #FFFFFF;
    --text-muted: #8E8E93;           /* Editorial Platinum Gray */

    /* Typography Built for Readability & Style */
    --font-header: 'Syne', sans-serif;  /* Artistic, modern headline font */
    --font-body: 'Inter', sans-serif;    /* Clean, highly readable body text */

    /* Fluid Vibe Transitions */
    --ease-creative: cubic-bezier(0.25, 1, 0.5, 1);
    --t-fast: 250ms;
    --t-normal: 600ms;
}

/* ========================================================
   BASE CANVAS CONFIGURATIONS
   ======================================================== */
html, body {
    margin: 0; padding: 0; width: 100%;
    background-color: var(--bg-dark);
    color: var(--text-pure);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { width: 88%; max-width: 1300px; margin: 0 auto; }

/* ========================================================
   INITIAL SITE ENTRANCE CURTAIN
   ======================================================== */
.load-curtain {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: #000000; z-index: 10000; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
    transform-origin: top; transform: scaleY(1);
    transition: transform 700ms var(--ease-creative);
}
.load-curtain.is-loaded { transform: scaleY(0); }
.curtain-text { font-family: var(--font-header); font-size: 1.8rem; font-weight: 700; color: var(--text-pure); letter-spacing: 2px; }

/* ========================================================
   SMOOTH SCROLL VIBE REVEALS
   ======================================================== */
.reveal {
    opacity: 0; transform: translateY(20px);
    will-change: transform, opacity;
    transition: opacity 900ms var(--ease-creative), transform 900ms var(--ease-creative);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 150ms; }
.delay-2 { transition-delay: 300ms; }

/* ========================================================
   MINIMALIST HEADER
   ======================================================== */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
    background: rgba(11, 12, 14, 0.7);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 2rem 0; transition: padding var(--t-fast) ease;
}
.site-header.scrolled { padding: 1.2rem 0; background: #0B0C0E; }

.header-grid { display: flex; justify-content: space-between; align-items: center; }
.brand-anchor { text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.brand-mark { background: var(--text-pure); width: 6px; height: 6px; border-radius: 50%; }
.brand-text { font-family: var(--font-header); font-size: 1.2rem; font-weight: 700; color: var(--text-pure); letter-spacing: 1px; }

.navigation-links { display: flex; gap: 2.5rem; }
.navigation-links a {
    text-decoration: none; color: var(--text-muted); font-size: 0.85rem; font-weight: 500;
    letter-spacing: 1px; text-transform: uppercase; transition: color var(--t-fast) ease;
}
.navigation-links a:hover, .navigation-links a.active { color: var(--text-pure); }

/* ========================================================
   CREATIVE BUTTON INTERFACES
   ======================================================== */
.btn-action {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2.5rem; font-family: var(--font-header); font-size: 0.85rem;
    font-weight: 600; letter-spacing: 1px; text-decoration: none; text-transform: uppercase;
    border-radius: 50px; transition: all var(--t-fast) ease;
}

/* White Solid Button */
.btn-safety { background: var(--text-pure); color: #000000; border: 1px solid var(--text-pure); }
.btn-safety:hover { background: transparent; color: var(--text-pure); transform: scale(1.03); }

/* Minimal Outline Button */
.btn-structural { background: transparent; color: var(--text-pure); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-structural:hover { border-color: var(--text-pure); background: rgba(255,255,255,0.05); }

/* ========================================================
   CINEMATOGRAPHY HERO VIEWPORT
   ======================================================== */
.hero-viewport {
    height: 100vh; display: flex; align-items: center; position: relative;
    overflow: hidden; background: #000000;
}
.hero-canvas-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-canvas-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-gradient-shield {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(11,12,14,0.3) 0%, #0B0C0E 95%);
}

.hero-layout-box { position: relative; z-index: 5; max-width: 800px; text-align: left; }
.hero-badge {
    display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 1rem; border-radius: 30px; font-size: 0.75rem; text-transform: uppercase; 
    letter-spacing: 1.5px; color: var(--text-pure); margin-bottom: 1.5rem;
}
.hero-layout-box h1 { font-family: var(--font-header); font-size: 4.5rem; font-weight: 700; line-height: 1.1; margin: 0 0 1.5rem; letter-spacing: -2px; }
.hero-layout-box p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 3rem; max-width: 550px; }
.hero-button-row { display: flex; gap: 1rem; }

/* ========================================================
   MEDIUMS & CAPABILITIES SUMMARY
   ======================================================== */
.spec-section { padding: 8rem 0; background: #0B0C0E; }
.grid-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.spec-card { background: var(--surface-card); border: 1px solid var(--border-clean); padding: 3rem; border-radius: 12px; transition: all var(--t-fast) ease; }
.spec-card h3 { font-family: var(--font-header); font-size: 1.3rem; margin: 0 0 1rem; color: var(--text-pure); letter-spacing: 0.5px; }
.spec-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.spec-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.15); }

/* ========================================================
   GALLERY PAGE ARCHITECTURE (PORTFOLIO GRID)
   ======================================================== */
.subpage-banner { padding: 12rem 0 4rem; background: #0B0C0E; border-bottom: 1px solid var(--border-clean); }
.subpage-banner h2 { font-family: var(--font-header); font-size: 3rem; font-weight: 700; margin: 0 0 1rem; }
.subpage-banner p { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0; }

.structural-systems-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 2rem; padding: 5rem 0; }

/* PORTFOLIO CARD HOVER EFFECT - ZOOM IMAGE, SMOOTH LIFT */
.system-card {
    background: var(--surface-card); border-radius: 16px; border: 1px solid var(--border-clean);
    position: relative; overflow: hidden; height: 500px; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 2.5rem; box-sizing: border-box; text-decoration: none;
    transition: all var(--t-normal) var(--ease-creative);
}
.system-card-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; transition: transform var(--t-normal) var(--ease-creative); }
.system-card-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity var(--t-fast) ease; }
.system-card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; background: linear-gradient(to top, #0B0C0E 15%, rgba(0,0,0,0) 70%); }

.system-card-contents { position: relative; z-index: 3; transform: translateY(10px); transition: transform var(--t-normal) var(--ease-creative); }
.system-card-contents h4 { font-family: var(--font-header); font-size: 1.6rem; margin: 0 0 0.5rem; color: var(--text-pure); }
.system-card-contents p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* Hover Vibe Activation */
.system-card:hover { border-color: rgba(255,255,255,0.3); }
.system-card:hover .system-card-bg { transform: scale(1.04); }
.system-card:hover .system-card-bg img { opacity: 0.8; }
.system-card:hover .system-card-contents { transform: translateY(0); }

/* ========================================================
   VIBE RATE CALCULATOR SLOT
   ======================================================== */
.interactive-calc-slot { background: #14161A; border: 1px dashed rgba(255, 255, 255, 0.15); padding: 3rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.calc-icon { font-size: 2rem; margin-bottom: 1rem; color: var(--text-pure); }
.interactive-calc-slot h4 { font-family: var(--font-header); font-size: 1.5rem; margin: 0 0 0.5rem; }
.interactive-calc-slot p { color: var(--text-muted); font-size: 0.85rem; max-width: 260px; margin: 0 0 1.5rem; line-height: 1.5; }

/* ========================================================
   CREATIVE INQUIRY FORM
   ======================================================== */
.portal-split-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; padding: 5rem 0; }
.estimation-form { display: flex; flex-direction: column; gap: 2rem; }
.form-field-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field-group label { font-family: var(--font-header); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.form-field-group input, .form-field-group select, .form-field-group textarea {
    background: var(--surface-card); border: 1px solid var(--border-clean); padding: 1.2rem;
    color: var(--text-pure); font-family: var(--font-body); font-size: 0.95rem; border-radius: 8px;
    transition: all var(--t-fast) ease;
}
.form-field-group input:focus, .form-field-group select:focus, .form-field-group textarea:focus { outline: none; border-color: rgba(255,255,255,0.4); }

.side-info-panel { background: var(--surface-card); border: 1px solid var(--border-clean); padding: 3.5rem; border-radius: 12px; height: fit-content; }
.side-info-panel h5 { font-family: var(--font-header); font-size: 1.2rem; margin: 0 0 1.5rem; letter-spacing: 0.5px; }
.contact-meta-row { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.meta-block span { display: block; font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 0.25rem; }
.meta-block p { margin: 0; font-size: 1rem; font-weight: 500; color: var(--text-pure); }
.meta-block a { color: var(--text-pure); text-decoration: none; }

/* ========================================================
   MINIMAL FOOTER
   ======================================================== */
.footer-wrapper { background: #000000; border-top: 1px solid var(--border-clean); padding: 5rem 0 2.5rem; }
.footer-layout { display: grid; grid-template-columns: 2fr repeat(2, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-column p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; max-width: 350px; margin-top: 1rem; }
.footer-column h6 { font-family: var(--font-header); font-size: 0.85rem; margin: 0 0 1.2rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-pure); }
.footer-column ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-column ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color var(--t-fast) ease; }
.footer-column ul li a:hover { color: var(--text-pure); }

.footer-bottom-bar { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-clean); padding-top: 2rem; font-size: 0.8rem; color: var(--text-muted); }

/* ========================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ======================================================== */
@media (max-width: 1024px) {
    .hero-layout-box h1 { font-size: 3.2rem; }
    .grid-three-col, .portal-split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
    .hero-layout-box h1 { font-size: 2.4rem; }
    .navigation-links { display: none; }
    .structural-systems-grid { grid-template-columns: 1fr; }
}