/* ==========================================================================
   PORTFOLIO 10: MOTION DIRECTOR (VERTICAL CANVAS, INDIGO/LIME)
   ========================================================================== */

:root {
    --primary: #0f172a;        /* Deep Slate */
    --indigo: #4338ca;         /* Electric Indigo */
    --lime: #a3e635;           /* Acid Lime Green */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --sidebar-width: 320px;    /* Width of the vertical menu */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 1.1rem; /* MEDIUM BASE SIZE */
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .logo { color: var(--primary); font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: clamp(2.5rem, 4vw, 3rem); margin-bottom: 15px; }
h3 { font-size: 1.4rem; margin-bottom: 5px; }
p { margin-bottom: 15px; }

.massive-title { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 25px; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; font-weight: 400; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 5%; }
img { max-width: 100%; display: block; border-radius: 12px; }
a { text-decoration: none; }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-white { color: white !important; }
.text-dark { color: var(--primary) !important; }
.indigo-text { color: var(--indigo); }
.lime-text { color: var(--lime); }
.lime-bg { background-color: var(--lime); padding: 0 10px; display: inline-block; color: var(--primary); transform: skew(-5deg); }
.bg-light { background-color: var(--bg-light); }
.bg-indigo { background-color: var(--indigo); }
.bg-lime { background-color: var(--lime); }

.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.border-right { border-right: 1px solid var(--border); }
.border-top-light { border-top: 1px solid rgba(255,255,255,0.2); }
.pb-4 { padding-bottom: 40px; } .pt-4 { padding-top: 40px; } .mt-4 { margin-top: 30px; } .mb-4 { margin-bottom: 30px; }

.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.eyebrow { font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 15px; }
.font-sm { font-size: 0.95rem; }
.font-md { font-size: 1.15rem; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; letter-spacing: 1px; }
.opacity-80 { opacity: 0.8; }

/* Banner */
.josef-preview-banner { background: var(--primary); color: white; text-align: center; padding: 10px; font-size: 14px; position: relative; z-index: 1000; }

/* =========================================================
   ARCHITECTURE 6 (THE VERTICAL CANVAS)
   ========================================================= */
.layout-wrapper { display: flex; min-height: 100vh; }

/* Fixed Left Sidebar */
.vertical-header { 
    width: var(--sidebar-width); 
    background: white; 
    height: 100vh; 
    position: sticky; 
    top: 0; 
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.header-content { padding: 50px 40px; display: flex; flex-direction: column; height: 100%; }
.logo { font-size: 2.5rem; margin-bottom: 60px; display: block; }

.vertical-nav { display: flex; flex-direction: column; gap: 25px; flex-grow: 1; }
.nav-link { font-size: 1.25rem; font-weight: 700; color: var(--primary); transition: color 0.2s; }
.nav-link:hover { color: var(--indigo); }

.nav-footer { margin-top: auto; }

/* Buttons */
.btn-indigo { background: var(--indigo); color: white; padding: 14px 0; width: 100%; text-align: center; border-radius: 8px; font-weight: 700; font-size: 1.1rem; display: inline-block; transition: background 0.2s; }
.btn-indigo:hover { background: #3730a3; }
.btn-lime { background: var(--lime); color: var(--primary); padding: 16px 36px; border-radius: 50px; font-weight: 800; font-size: 1.2rem; display: inline-block; transition: transform 0.2s; box-shadow: 0 10px 20px rgba(163, 230, 53, 0.3); }
.btn-lime:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(163, 230, 53, 0.4); }
.btn-outline { border: 2px solid var(--border); color: var(--primary); padding: 12px 28px; border-radius: 50px; font-weight: 700; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }

/* Main Scrolling Content Area */
.content-area { flex-grow: 1; width: calc(100% - var(--sidebar-width)); }

/* 1. Hero Section */
.kinetic-hero { padding: 100px 0; }
.hero-visual { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.hero-visual img { width: 100%; height: 500px; object-fit: cover; }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: white; color: var(--indigo); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.2); cursor: pointer; transition: transform 0.2s; }
.play-button:hover { transform: translate(-50%, -50%) scale(1.1); color: var(--lime); background: var(--primary); }

/* 2. Brand Ticker */
.brand-ticker { background: var(--bg-light); padding: 20px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; animation: ticker 25s linear infinite; }
.ticker-track span { margin: 0 30px; color: var(--primary); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 3. Selected Work */
.work-section { padding: 100px 0; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.large-card { grid-column: span 2; }
.work-card:hover .card-img { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(67, 56, 202, 0.15); }
.card-img { border-radius: 16px; overflow: hidden; height: 400px; margin-bottom: 20px; border: 1px solid var(--border); transition: all 0.3s ease; }
.large-card .card-img { height: 500px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-meta h3 { margin-bottom: 5px; font-size: 1.6rem; }
.card-meta span { color: var(--text-muted); font-weight: 600; font-size: 1.05rem; }

/* CSS Graphics for Cards */
.css-graphic { position: relative; }
.kinetic-circle { width: 150px; height: 150px; border: 15px solid var(--lime); border-radius: 50%; border-top-color: transparent; animation: spin 3s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.graphic-icon { font-size: 6rem; opacity: 0.9; }

/* 4. Manifesto */
.manifesto-section { padding: 100px 0; }

/* 5. Footer */
.vertical-footer { padding: 100px 0 40px 0; }
.socials { display: flex; gap: 20px; }
.socials a { font-weight: 600; font-size: 1.1rem; transition: color 0.2s; }
.socials a:hover { color: var(--lime) !important; }

/* Animations */
.fade-in-up { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile Adaptations */
@media (max-width: 992px) {
    .layout-wrapper { flex-direction: column; }
    .vertical-header { width: 100%; height: auto; position: relative; border-right: none; border-bottom: 1px solid var(--border); }
    .header-content { padding: 30px 5%; align-items: center; text-align: center; }
    .logo { margin-bottom: 30px; }
    .vertical-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
    .content-area { width: 100%; }
    .work-grid { grid-template-columns: 1fr; }
    .large-card { grid-column: span 1; }
    .hero-visual img { height: 350px; }
}