/*
Theme Name: KinoEye Child
Theme URI: https://kinoeye.studio
Description: Astra child theme for KinoEye — dark cinematic design
Author: Tom Hagen
Template: astra
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== GLOBAL DARK THEME ===== */
:root {
  --kk-black: #000000;
  --kk-dark: #0d1a0d;
  --kk-green: #66B964;
  --kk-white: #ffffff;
  --kk-muted: rgba(255,255,255,0.6);
  --kk-font: 'Inter', sans-serif;
}

html, body {
  background-color: var(--kk-black) !important;
  color: var(--kk-white) !important;
  font-family: var(--kk-font) !important;
}

/* Hide Astra's default header and footer site-wide */
.site-header,
#ast-desktop-header,
#ast-mobile-header,
.ast-above-header-wrap,
.ast-below-footer-wrap,
.site-footer {
  display: none !important;
}

/* Remove Astra page padding */
#page, .site {
  background: var(--kk-black) !important;
}

.ast-container, #content {
  max-width: 100% !important;
  padding: 0 !important;
}

.entry-content, .ast-article-single {
  padding: 0 !important;
  margin: 0 !important;
}

/* ===== KINOEYE NAV ===== */
#kk-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  font-family: var(--kk-font);
}

#kk-nav.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
}

.kk-logo {
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--kk-white);
  text-decoration: none;
}
.kk-logo strong { font-weight: 800; }
.kk-logo span { font-weight: 300; }

.kk-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}

.kk-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.kk-nav-links a:hover,
.kk-nav-links a.active {
  color: var(--kk-white);
}

.kk-nav-links a.kk-cta {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 8px 18px;
  color: var(--kk-white);
}
.kk-nav-links a.kk-cta:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== PAGE TRANSITIONS ===== */
.kk-page-wrap {
  opacity: 0;
  animation: kkFadeIn 0.4s ease forwards;
}
@keyframes kkFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== INNER PAGES ===== */
.kk-inner-page {
  padding-top: 80px;
  min-height: 100vh;
  font-family: var(--kk-font);
  color: var(--kk-white);
  background: var(--kk-black);
}

.kk-inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px;
}

.kk-inner-page h1, .kk-inner-page h2 {
  color: var(--kk-white);
  font-family: var(--kk-font);
}

.kk-inner-page p {
  color: var(--kk-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
#kk-footer {
  background: var(--kk-black);
  padding: 60px 32px 40px;
  font-family: var(--kk-font);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.kk-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.kk-footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.kk-footer-nav a {
  color: var(--kk-green);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s;
}
.kk-footer-nav a:hover { opacity: 0.7; }

.kk-footer-middle {
  text-align: center;
  margin-bottom: 40px;
}
.kk-footer-logo {
  font-size: 18px;
  color: var(--kk-white);
  margin-bottom: 8px;
}
.kk-footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.kk-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 12px;
}
.kk-footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: opacity 0.3s;
}
.kk-footer-bottom a:hover { opacity: 1; }

/* ===== HOMEPAGE SPECIFIC ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --green-accent: #66B964;
            --hero-tint: rgba(102, 185, 100, 0.15);
            --work-bg: #0d1a0d;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.5;
            color: #ffffff;
            background-color: #000000;
            overflow-x: hidden;
        }
        
        a {
            color: inherit;
            text-decoration: none;
        }
        
        ul {
            list-style: none;
        }
        
        img {
            max-width: 100%;
            height: auto;
        }
        
        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
        }
        
        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            padding: 16px 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
        }
        
        nav.scrolled {
            background-color: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
        }
        
        .logo {
            font-size: 18px;
            letter-spacing: 0.02em;
        }
        
        .logo-bold {
            font-weight: 800;
        }
        
        .logo-light {
            font-weight: 300;
        }
        
        .nav-links {
            display: flex;
            align-items: center;
            gap: 32px;
        }
        
        .nav-links a {
            font-size: 14px;
            font-weight: 500;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }
        
        .nav-links a:hover {
            opacity: 1;
        }
        
        .social-icons {
            display: flex;
            gap: 16px;
            margin-left: 16px;
        }
        
        .social-icons svg {
            width: 20px;
            height: 20px;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }
        
        .social-icons svg:hover {
            opacity: 1;
        }
        
        /* Hero Section */
        .hero {
            padding: 80px 24px 40px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
        }
        
        .hero-rectangle {
            width: 100%;
            min-height: 65vh;
            border-radius: 24px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, rgba(15,30,15,0.9) 0%, rgba(40,80,40,0.6) 40%, rgba(20,50,20,0.8) 100%);
        }
        
        .hero-rectangle::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 1px, transparent 1px),
                radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 1px, transparent 1px);
            background-size: 40px 40px;
            opacity: 0.3;
        }
        
        .hero-content {
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 2;
        }
        
        h1 {
            font-size: 96px;
            font-weight: 900;
            line-height: 0.95;
            letter-spacing: -0.02em;
            text-transform: uppercase;
            color: #ffffff;
            padding: 40px;
        }
        
        .hero-subtitle {
            font-size: 15px;
            opacity: 0.7;
            max-width: 340px;
            padding: 0 40px 40px;
        }
        
        .reel-button {
            position: absolute;
            top: 40px;
            right: 40px;
            border: 1.5px solid rgba(255, 255, 255, 0.5);
            border-radius: 100px;
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            color: white;
            font-size: 14px;
            display: flex;
            gap: 8px;
            align-items: center;
            cursor: pointer;
            transition: background 0.3s ease;
            z-index: 3;
        }
        
        .reel-button:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        /* Work Section */
        .work {
            margin: 24px 24px;
        }
        
        .work-container {
            background-color: var(--work-bg);
            border-radius: 24px;
            padding: 32px;
        }
        
        .section-label {
            font-size: 12px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            opacity: 0.5;
            margin-bottom: 24px;
        }
        
        .filter-tabs {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        
        .filter-pills {
            display: flex;
            gap: 8px;
        }
        
        .filter-pill {
            padding: 6px 16px;
            border-radius: 100px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .filter-pill.active {
            background-color: white;
            color: black;
        }
        
        .filter-pill:not(.active) {
            opacity: 0.5;
        }
        
        .filter-pill:not(.active):hover {
            opacity: 0.8;
        }
        
        .work-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin-top: 32px;
        }
        
        .work-card {
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            position: relative;
        }
        
        .work-card-image {
            aspect-ratio: 16/9;
            border-radius: 16px;
            position: relative;
            overflow: hidden;
        }
        
        .work-card-tag {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 11px;
            background: rgba(255, 255, 255, 0.15);
            padding: 4px 10px;
            border-radius: 100px;
            backdrop-filter: blur(4px);
        }
        
        .work-card-content {
            padding: 12px 0;
        }
        
        .work-card-title {
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .work-card-client {
            font-size: 13px;
            opacity: 0.5;
        }
        
        .see-more {
            display: flex;
            justify-content: center;
            margin-top: 40px;
        }
        
        .see-more-button {
            border: 1.5px solid rgba(255, 255, 255, 0.3);
            border-radius: 100px;
            padding: 14px 32px;
            background: transparent;
            color: white;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .see-more-button:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        /* Clients Section */
        .clients {
            padding: 60px 32px;
        }
        
        .clients-label {
            font-size: 12px;
            opacity: 0.4;
            margin-bottom: 40px;
            display: block;
        }
        
        .client-logos {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }
        
        .client-logos::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
        }
        
        .client-name {
            font-size: 18px;
            font-weight: 500;
            opacity: 0.4;
            padding: 20px 0;
            position: relative;
            transition: opacity 0.3s ease;
        }
        
        .client-name:hover {
            opacity: 1;
        }
        
        .client-name:not(:last-child)::after {
            content: '';
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 20px;
            background: rgba(255, 255, 255, 0.2);
        }
        
        /* Marquee Section */
        .marquee {
            width: 100%;
            padding: 20px 0;
            background: #000;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
        }
        
        .marquee-content {
            display: flex;
            animation: marquee 20s linear infinite;
            white-space: nowrap;
        }
        
        .marquee-text {
            font-size: 15px;
            font-weight: 400;
            padding-right: 40px;
        }
        
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        
        /* Footer */
        footer {
            background: #000;
            padding: 60px 32px 40px;
        }
        
        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .footer-nav {
            display: flex;
            gap: 32px;
        }
        
        .footer-nav a {
            font-size: 15px;
            font-weight: 500;
            color: var(--green-accent);
            transition: opacity 0.3s ease;
        }
        
        .footer-nav a:hover {
            opacity: 0.8;
        }
        
        .footer-social {
            display: flex;
            gap: 16px;
        }
        
        .footer-middle {
            text-align: center;
            margin-bottom: 32px;
        }
        
        .footer-address {
            font-size: 13px;
            opacity: 0.5;
            margin-top: 16px;
        }
        
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            opacity: 0.4;
            padding-top: 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .footer-bottom-links {
            display: flex;
            gap: 24px;
        }
        
        .footer-bottom-links a {
            transition: opacity 0.3s ease;
        }
        
        .footer-bottom-links a:hover {
            opacity: 0.8;
        }
        
        /* GSAP fade-in animations */
        .gsap-fade-in {
            opacity: 0;
            transform: translateY(30px);
        }
        
        /* Responsive */
        @media (max-width: 1024px) {
            .work-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            h1 {
                font-size: 72px;
            }
            
            .client-logos {
                flex-wrap: wrap;
                justify-content: center;
                gap: 24px;
            }
            
            .client-name:not(:last-child)::after {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                padding: 80px 16px 40px;
            }
            
            h1 {
                font-size: 48px;
                padding: 24px;
            }
            
            .hero-subtitle {
                padding: 0 24px 24px;
            }
            
            .reel-button {
                top: 24px;
                right: 24px;
            }
            
            .work {
                margin: 16px 16px;
            }
            
            .work-grid {
                grid-template-columns: 1fr;
            }
            
            .filter-tabs {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }
            
            .nav-links {
                display: none;
            }
            
            .footer-top {
                flex-direction: column;
                gap: 24px;
                align-items: flex-start;
            }
            
            .footer-nav {
                flex-wrap: wrap;
                gap: 16px;
            }
            
            .footer-bottom {
                flex-direction: column;
                gap: 16px;
                align-items: flex-start;
            }
        }