/* =========================================================
   MAGNUM CATERING — Tasarım Sistemi
   Brand Gold #AA9264 + Cream + Charcoal Brown
   ========================================================= */

:root {
  /* Brand */
  --brand-gold: #AA9264;
  --brand-gold-light: #C9AE82;
  --brand-gold-dark: #8A7549;

  /* Trust & Analog */
  --trust-teal: #4A7B8C;
  --trust-teal-dark: #2F5260;
  --copper: #AA7E64;

  /* CTA */
  --cta-red: #C8412A;
  --cta-red-hover: #A5301E;

  /* Neutrals */
  --ink: #1A1612;
  --ink-soft: #3D2F22;
  --ink-muted: #6B5D4A;
  --surface: #FFFFFF;
  --surface-warm: #FBF7EF;
  --surface-warmer: #F4EFE6;
  --surface-soft: #FFFEF9;

  /* System */
  --success: #5A8A5A;

  /* Type */
  --font-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radii */
  --r-btn: 6px;
  --r-card: 12px;
  --r-img: 8px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 12px 32px -8px rgba(170, 146, 100, 0.25);
  --shadow-nav: 0 4px 16px rgba(26, 22, 18, 0.06);
  --shadow-cta: 0 8px 24px rgba(200, 65, 42, 0.35);
  --shadow-deep: 0 30px 80px -20px rgba(26, 22, 18, 0.4);

  /* Container */
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--surface-warm);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

::selection { background: var(--brand-gold); color: var(--surface-warm); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
h4 { font-size: 1.25rem; font-weight: 500; }
.gold-italic { color: var(--brand-gold); font-style: italic; }

p { color: var(--ink-soft); text-wrap: pretty; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta-red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--cta-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-secondary {
  background: transparent;
  color: var(--surface-warm);
  border-color: var(--brand-gold);
}
.btn-secondary:hover {
  background: var(--brand-gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--brand-gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--brand-gold-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--brand-gold);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 4px 0;
}

/* ---------- Section ---------- */
section { position: relative; }
.section-pad { padding: 96px 0; }
@media (max-width: 768px) { .section-pad { padding: 64px 0; } }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.divider-gold {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  margin: 24px auto 0;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Skip-to-content (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--surface-warm);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus {
  left: 16px;
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

/* ---------- Focus-visible (a11y) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 10px 0;
  transition: all 0.4s ease;
}

/* Subpages: nav stays transparent+blur at top (no shadow), gains
   krem-solid + shadow on scroll. Text/logo always ink so it stays
   readable over the krem hero — no white-on-white. */
body.subpage .nav {
  background: rgba(251, 247, 239, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(170, 146, 100, 0.08);
}
body.subpage .nav.scrolled {
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-nav);
  padding: 6px 0;
  border-bottom-color: transparent;
}
body.subpage .nav .nav-logo { color: var(--ink); }
body.subpage .nav .nav-logo-img,
body.subpage .nav img.nav-logo-img {
  filter: none;
  height: 52px !important;
  max-height: 52px !important;
}
body.subpage .nav.scrolled .nav-logo-img,
body.subpage .nav.scrolled img.nav-logo-img {
  height: 44px !important;
  max-height: 44px !important;
}
body.subpage .nav .nav-links a { color: var(--ink-soft); }
body.subpage .nav .nav-links a:hover,
body.subpage .nav .nav-links a.active { color: var(--brand-gold); }
body.subpage .nav .nav-burger span { background: var(--ink); }
@media (max-width: 768px) {
  body.subpage .nav .nav-logo-img { height: 42px !important; max-height: 42px !important; }
  body.subpage .nav.scrolled .nav-logo-img { height: 36px !important; max-height: 36px !important; }
}
.nav.scrolled {
  background: rgba(251, 247, 239, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-nav);
  padding: 6px 0;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex; align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 0;
}
.nav.scrolled .nav-logo { color: var(--ink); }
.nav .nav-logo-img,
.nav-logo .nav-logo-img,
img.nav-logo-img {
  height: 56px !important;
  width: auto !important;
  max-width: none !important;
  max-height: 56px !important;
  display: block;
  margin: 0;
  padding: 0;
  filter: brightness(0) invert(1);
  transition: filter 0.3s, height 0.3s;
}
.nav.scrolled .nav-logo-img,
.nav.scrolled img.nav-logo-img {
  filter: none;
  height: 48px !important;
  max-height: 48px !important;
}
@media (max-width: 768px) {
  .nav .nav-logo-img,
  img.nav-logo-img { height: 44px !important; max-height: 44px !important; }
  .nav.scrolled .nav-logo-img { height: 38px !important; max-height: 38px !important; }
}
.nav-links {
  display: none;
  gap: 32px;
  list-style: none;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--brand-gold-light); }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--brand-gold); }

.nav-cta {
  display: none;
  padding: 10px 18px;
  border-radius: var(--r-btn);
  background: var(--brand-gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}
@media (min-width: 768px) { .nav-cta { display: inline-block; } }
.nav-cta:hover { background: var(--cta-red); color: #fff; }

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
@media (min-width: 1024px) { .nav-burger { display: none; } }
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  transition: all 0.3s;
}
.nav.scrolled .nav-burger span { background: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video.portrait { display: none; }
@media (max-width: 768px) and (orientation: portrait) {
  .hero-video.landscape { display: none; }
  .hero-video.portrait { display: block; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(26,22,18,0.72) 0%,
    rgba(26,22,18,0.35) 45%,
    rgba(26,22,18,0.92) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 3;
  width: 100%;
  color: var(--surface-warm);
  padding-top: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(170, 146, 100, 0.6);
  border-radius: var(--r-pill);
  background: rgba(26, 22, 18, 0.35);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--brand-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(170,146,100,0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(170,146,100,0); }
}

.hero h1 {
  color: #fff;
  max-width: 14ch;
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 56ch;
  color: rgba(255, 254, 249, 0.88);
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  max-width: 720px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid rgba(170, 146, 100, 0.3);
  border-bottom: 1px solid rgba(170, 146, 100, 0.3);
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat .num {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-style: italic;
  color: var(--brand-gold);
  line-height: 1;
  display: block;
}
.hero-stat .label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 254, 249, 0.7);
  margin-top: 6px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 254, 249, 0.7);
}
.hero-scroll .arrow {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--brand-gold-light));
  position: relative;
  overflow: hidden;
}
.hero-scroll .arrow::after {
  content: '';
  position: absolute;
  top: -36px; left: 0;
  width: 100%; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--brand-gold));
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { top: -36px; }
  100% { top: 36px; }
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: var(--surface-warmer);
  padding: 18px 0;
  border-bottom: 1px solid rgba(170, 146, 100, 0.15);
  overflow: hidden;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.trust-strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip-inner .check {
  color: var(--brand-gold);
  font-weight: 700;
}
.trust-strip-inner .sep { color: var(--brand-gold); opacity: 0.5; }
@media (max-width: 768px) {
  .trust-strip-inner { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 24px; }
  .trust-strip-inner::-webkit-scrollbar { display: none; }
}

/* ---------- Logo Bar ---------- */
.logo-bar {
  background: var(--surface-warm);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.logo-bar-head {
  text-align: center;
  margin-bottom: 40px;
}
.logo-bar-head .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.logo-bar-head .sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.logo-marquee {
  display: flex;
  width: max-content;
  animation: scrollLogos 50s linear infinite;
  will-change: transform;
}
.logo-bar:hover .logo-marquee { animation-play-state: paused; }
.logo-track {
  display: flex;
  gap: 80px;
  padding-right: 80px;
  flex-shrink: 0;
}
@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { animation: none; }
}
.logo-item {
  height: 64px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  filter: grayscale(0.3);
  opacity: 0.85;
  transition: all 0.3s;
}
.logo-item:hover { filter: none; opacity: 1; }
.logo-item img {
  max-height: 64px;
  width: auto;
  mix-blend-mode: multiply;
}
.logo-item.dark-bg {
  background: transparent;
  border-radius: 0;
  padding: 0;
  height: 64px;
}

/* ---------- About ---------- */
.about {
  background: var(--surface-warm);
  padding: 120px 0;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
}
.about-media {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}
.about-media video, .about-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--brand-gold);
  color: var(--ink);
  padding: 14px 20px;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.about-badge .num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  display: block;
  line-height: 1;
}
.about-badge .lbl {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}
.about-content h2 {
  margin: 16px 0 24px;
  max-width: 18ch;
}
.about-content p { font-size: 1.05rem; margin-bottom: 16px; max-width: 56ch; }

.about-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 32px 0;
}
@media (min-width: 640px) { .about-pills { grid-template-columns: repeat(3, 1fr); } }
.about-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid rgba(170, 146, 100, 0.2);
  border-radius: var(--r-card);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.about-pill .ico {
  width: 36px; height: 36px;
  background: var(--surface-warmer);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-gold);
  flex-shrink: 0;
}
