/*
Theme Name: Cat Media House
Theme URI: https://catmediahouse.dk
Description: Premium one-page theme for Cat Media House
Author: Cat Media House
Version: 1.0
Text Domain: catmediahouse
*/

/* ─────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
───────────────────────────────────────────── */
:root {
  --black:      #080808;
  --dark:       #111111;
  --dark-card:  #161616;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --white:      #ffffff;
  --gray:       #999999;
  --gray-light: #cccccc;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

.site-nav.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(1);
  transition: opacity var(--transition);
}

.nav-logo img:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 48px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-contact-btn {
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 10px 24px;
  border-radius: 1px;
  transition: background var(--transition), color var(--transition) !important;
}

.nav-contact-btn:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

.nav-contact-btn::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 8, 8, 0.82) 0%,
    rgba(8, 8, 8, 0.60) 50%,
    rgba(8, 8, 8, 0.78) 100%
  );
}

/* Subtle grain texture overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 0.3s;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s forwards 0.5s;
}

.hero-title .gold { color: var(--gold); }

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
  opacity: 0;
  animation: fadeIn 0.8s forwards 0.9s;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards 0.8s;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s forwards 1.4s;
  cursor: pointer;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ─────────────────────────────────────────────
   SECTION UTILITIES
───────────────────────────────────────────── */
.section {
  padding: 120px 60px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.section-lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gray-light);
  max-width: 600px;
  line-height: 1.8;
}

/* Gold line decoration */
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 40px;
}

/* ─────────────────────────────────────────────
   OM OS SECTION
───────────────────────────────────────────── */
.about {
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray-light);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-visual {
  position: relative;
}

.about-img-frame {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--dark-card);
  overflow: hidden;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.85);
  transition: filter var(--transition), transform 0.6s ease;
}

.about-img-frame:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.03);
}

/* Gold corner accent */
.about-img-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  z-index: 1;
}

.about-img-frame::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ─────────────────────────────────────────────
   YDELSER SECTION
───────────────────────────────────────────── */
.services {
  background: var(--black);
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.services-header .section-lead {
  max-width: 100%;
}

.services-header .gold-line {
  margin: 0 auto 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--dark-card);
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover { background: #1c1c1c; }
.service-card:hover::before { transform: scaleX(1); }

.service-number {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  opacity: 0.7;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--gold);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
}

/* ─────────────────────────────────────────────
   QUOTE / MANIFESTO SECTION
───────────────────────────────────────────── */
.manifesto {
  background: var(--dark);
  padding: 100px 60px;
  text-align: center;
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
}

.manifesto blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  position: relative;
}

.manifesto blockquote::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -40px;
  left: -20px;
  line-height: 1;
}

.manifesto-author {
  display: inline-block;
  margin-top: 32px;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─────────────────────────────────────────────
   KONTAKT SECTION
───────────────────────────────────────────── */
.contact {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-item-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.contact-item-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray-light);
  line-height: 1.6;
}

.contact-item-text strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(153, 153, 153, 0.4);
}

.form-textarea { min-height: 140px; resize: vertical; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-submit svg {
  width: 16px;
  height: 16px;
  stroke: var(--black);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  padding: 48px 60px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 32px;
  width: auto;
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.footer-copy span { color: var(--gold); }

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 100px 40px; }
  .site-nav { padding: 24px 40px; }
  .site-nav.scrolled { padding: 16px 40px; }
  .about-grid { gap: 60px; }
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .contact-grid { gap: 60px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 24px; }
  .site-nav { padding: 20px 24px; }
  .site-nav.scrolled { padding: 14px 24px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 999;
  }

  .nav-links.open a {
    font-size: 1rem;
  }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-visual { order: -1; }
  .about-img-frame { aspect-ratio: 16/9; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 40px 28px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }

  .manifesto { padding: 80px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
}
