/* FTEAL ÇALIŞTAY • OFFICIAL LIGHT TEASER STYLES */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Official Branding Colors (Extracted from vector logo & poster) */
  --color-gold-primary: #c49050;
  --color-gold-dark: #a97534;
  --color-gold-light: #dfb278;
  --color-gold-glow: rgba(196, 144, 80, 0.22);
  
  /* Light Theme Surfaces & Backgrounds */
  --bg-main: #faf7f2;
  --bg-surface: #ffffff;
  --border-light: rgba(196, 144, 80, 0.2);
  --border-hover: rgba(196, 144, 80, 0.45);
  
  /* Typography Colors */
  --text-headline: #1e1812;
  --text-body: #594d40;
  --text-muted: #827566;

  --font-cinzel: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Strict Box Model & Zero Horizontal Overflow */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  background-color: var(--bg-main);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Ambient Warm Light Atmosphere */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-1 {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 100vw);
  height: 500px;
  background: radial-gradient(circle, rgba(223, 178, 120, 0.25) 0%, rgba(196, 144, 80, 0.08) 60%, transparent 80%);
}

.ambient-glow-2 {
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 144, 80, 0.12) 0%, transparent 70%);
}

/* ========================================================
   HEADER STYLES
   ======================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 88px;
  z-index: 40;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .site-header {
    height: 96px;
  }
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-target {
  width: 1px;
  height: 1px;
}

.header-hidden {
  opacity: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.header-visible {
  opacity: 1;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(196, 144, 80, 0.06);
}

/* ========================================================
   SIGNATURE OPENING & HEARTBEAT LOGO ANIMATION
   ======================================================== */
.flying-logo {
  position: fixed;
  z-index: 60;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform, top, left, opacity;
  transition: top 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.8s ease;
}

/* 1. Initial State (Dead Center - Invisible) */
.flying-logo.state-initial {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.0);
  opacity: 0;
}

/* 2. Center State (Appears Dead Center) */
.flying-logo.state-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.15);
  opacity: 1;
}

/* 3. Glide Up State (Smoothly flies to header center) */
.flying-logo.state-glide-up {
  top: 44px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 1;
}

@media (min-width: 640px) {
  .flying-logo.state-glide-up {
    top: 48px;
    transform: translate(-50%, -50%) scale(0.64);
  }
}

/* 4. Heartbeat State (Pulses 3 times in header) */
.flying-logo.state-heartbeat {
  top: 44px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 1;
}

@media (min-width: 640px) {
  .flying-logo.state-heartbeat {
    top: 48px;
    transform: translate(-50%, -50%) scale(0.64);
  }
}

.flying-logo.state-heartbeat .logo-image {
  animation: heartbeat-three-times 1.65s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

/* 5. Docked State (Settled permanently in header) */
.flying-logo.state-docked {
  top: 44px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 1;
}

@media (min-width: 640px) {
  .flying-logo.state-docked {
    top: 48px;
    transform: translate(-50%, -50%) scale(0.64);
  }
}

/* The Vector SVG Image */
.logo-image {
  display: block;
  width: 320px;
  height: auto;
  max-width: 82vw;
  transform-origin: center center;
  filter: drop-shadow(0 6px 16px rgba(196, 144, 80, 0.2));
  user-select: none;
}

@media (min-width: 640px) {
  .logo-image {
    width: 380px;
  }
}

/* Heartbeat Animation Keyframes: 3 distinct beats */
@keyframes heartbeat-three-times {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 6px 16px rgba(196, 144, 80, 0.2));
  }
  
  /* BEAT 1 */
  5% {
    transform: scale(1.18);
    filter: drop-shadow(0 8px 24px rgba(196, 144, 80, 0.45));
  }
  10% {
    transform: scale(1.02);
  }
  15% {
    transform: scale(1.12);
    filter: drop-shadow(0 6px 20px rgba(196, 144, 80, 0.35));
  }
  22% {
    transform: scale(1);
    filter: drop-shadow(0 6px 16px rgba(196, 144, 80, 0.2));
  }

  /* BEAT 2 */
  37% {
    transform: scale(1.18);
    filter: drop-shadow(0 8px 24px rgba(196, 144, 80, 0.45));
  }
  42% {
    transform: scale(1.02);
  }
  47% {
    transform: scale(1.12);
    filter: drop-shadow(0 6px 20px rgba(196, 144, 80, 0.35));
  }
  54% {
    transform: scale(1);
    filter: drop-shadow(0 6px 16px rgba(196, 144, 80, 0.2));
  }

  /* BEAT 3 */
  69% {
    transform: scale(1.18);
    filter: drop-shadow(0 8px 24px rgba(196, 144, 80, 0.45));
  }
  74% {
    transform: scale(1.02);
  }
  79% {
    transform: scale(1.12);
    filter: drop-shadow(0 6px 20px rgba(196, 144, 80, 0.35));
  }
  88% {
    transform: scale(1);
    filter: drop-shadow(0 6px 16px rgba(196, 144, 80, 0.2));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 6px 16px rgba(196, 144, 80, 0.2));
  }
}

/* Heartbeat Ripple Rings */
.heartbeat-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  pointer-events: none;
}

.heartbeat-rings .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(196, 144, 80, 0.45);
  opacity: 0;
  pointer-events: none;
}

.state-heartbeat .ring-1 {
  animation: ring-shockwave 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) 0.05s forwards;
}

.state-heartbeat .ring-2 {
  animation: ring-shockwave 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) 0.58s forwards;
}

.state-heartbeat .ring-3 {
  animation: ring-shockwave 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) 1.11s forwards;
}

@keyframes ring-shockwave {
  0% {
    width: 60px;
    height: 60px;
    opacity: 0.8;
    border-width: 2.5px;
  }
  100% {
    width: 280px;
    height: 280px;
    opacity: 0;
    border-width: 0.5px;
  }
}

/* ========================================================
   MAIN CONTENT & SEQUENTIAL REVEAL
   ======================================================== */
.main-content {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 1.25rem 40px 1.25rem;
}

.content-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-hidden .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.content-revealed .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.content-revealed .reveal-1 { transition-delay: 0.05s; }
.content-revealed .reveal-2 { transition-delay: 0.22s; }
.content-revealed .reveal-3 { transition-delay: 0.38s; }

/* Typography */
.title-headline {
  font-family: var(--font-cinzel);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: var(--text-headline);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 1.25rem 0;
  text-wrap: balance;
}

.lead-text {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  margin: 0 0 2rem 0;
  max-width: 580px;
  text-wrap: balance;
}

.highlight-brand {
  color: var(--color-gold-primary);
  font-weight: 700;
}

/* Instagram Action Button */
.instagram-wrap {
  margin-top: 0.5rem;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: 9999px;
  color: var(--text-headline);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(196, 144, 80, 0.1);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-btn:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold-primary);
  box-shadow: 0 8px 24px rgba(196, 144, 80, 0.2);
  color: var(--color-gold-primary);
}

.instagram-btn:active {
  transform: translateY(0);
}

.instagram-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-gold-primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.instagram-btn:hover .instagram-icon {
  transform: scale(1.12);
}

.instagram-handle {
  letter-spacing: 0.01em;
}

.handle-highlight {
  font-weight: 700;
  color: var(--color-gold-primary);
}

.external-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--text-muted);
  flex-shrink: 0;
  opacity: 0.7;
}

.instagram-btn:hover .external-icon {
  color: var(--color-gold-primary);
  opacity: 1;
}
