/* =========================================
   global.css — Ortak stiller + Dark Mode
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }

/* ── LIGHT MODE (default) ───────────────── */
:root {
  --white:        #ffffff;
  --off-white:    #fafaf8;
  --cream:        #f4f1eb;
  --cream-mid:    #ede9e0;
  --cream-dark:   #ddd8cc;
  --stone:        #c4bfb2;
  --warm-gray:    #8a8479;
  --ink-light:    #5c574e;
  --ink:          #2c2820;
  --accent:       #b5976a;
  --accent-hover: #9a7c52;
  --accent-pale:  #f2ebde;

  /* Semantic tokens — bunlar dark modda değişir */
  --bg:           #fafaf8;
  --bg-secondary: #f4f1eb;
  --bg-card:      #ffffff;
  --bg-card-hover:#fafaf8;
  --border:       #ede9e0;
  --border-light: #ddd8cc;
  --text:         #2c2820;
  --text-muted:   #8a8479;
  --text-light:   #5c574e;
  --nav-bg:       rgba(250,250,248,0.88);
  --shadow-sm:    0 2px 12px rgba(44,40,32,0.06);
  --shadow-md:    0 8px 40px rgba(44,40,32,0.10);
  --shadow-lg:    0 24px 80px rgba(44,40,32,0.13);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
  --nav-h:        72px;
  --page-pad:     clamp(24px, 6vw, 96px);
  --radius-sm:    8px;
  --radius-md:    16px;
  --transition:   0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ── DARK MODE ──────────────────────────── */
html.dark {
  --white:        #1a1814;
  --off-white:    #141210;
  --cream:        #1f1c18;
  --cream-mid:    #2a2620;
  --cream-dark:   #353028;
  --stone:        #5a5650;
  --warm-gray:    #7a7570;
  --ink-light:    #a09890;
  --ink:          #e8e0d4;
  --accent:       #c8a97e;
  --accent-hover: #d4b98e;
  --accent-pale:  #2a2018;

  --bg:           #141210;
  --bg-secondary: #1a1814;
  --bg-card:      #1f1c18;
  --bg-card-hover:#252018;
  --border:       #2a2620;
  --border-light: #353028;
  --text:         #e8e0d4;
  --text-muted:   #7a7570;
  --text-light:   #a09890;
  --nav-bg:       rgba(20,18,16,0.92);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:    0 8px 40px rgba(0,0,0,0.4);
  --shadow-lg:    0 24px 80px rgba(0,0,0,0.5);
}

/* ── BASE ───────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--page-pad);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  gap: 32px;
  transition: box-shadow var(--transition), background 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 50px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--cream); }
.nav-links a.active { color: var(--bg); background: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta a.btn-nav {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 9px 22px;
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  transition: all var(--transition);
}
.nav-cta a.btn-nav:hover { background: var(--accent); color: var(--bg); }

/* ── DARK MODE TOGGLE ───────────────────── */
.dark-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  color: var(--text-muted);
  padding: 0;
}
.dark-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-pale);
  transform: rotate(15deg);
}
.dark-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all var(--transition);
  color: var(--text-muted);
}
.dark-toggle .icon-sun  { display: block; }
.dark-toggle .icon-moon { display: none; }
html.dark .dark-toggle .icon-sun  { display: none; }
html.dark .dark-toggle .icon-moon { display: block; }

/* ── HAMBURGER ──────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE WRAP ──────────────────────────── */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }

/* ── BUTONLAR ───────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 13px 32px;
  border-radius: 50px;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--text); transform: translateY(-2px); }

/* ── SECTION LABEL ──────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--accent);
  display: block;
}

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--text);
  color: var(--stone);
  padding: 48px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  transition: background 0.3s ease;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bg);
  font-weight: 600;
}
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  text-decoration: none;
  color: var(--stone);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--bg); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--warm-gray);
  width: 100%;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}

/* ── ANİMASYONLAR ───────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.4; transform: scale(0.7); }
}
@keyframes rotateRing { to { transform: rotate(360deg); } }
@keyframes glow {
  0%,100% { box-shadow: 0 0 0 3px rgba(74,222,128,0.25); }
  50%     { box-shadow: 0 0 0 6px rgba(74,222,128,0.12); }
}

.anim-fadeup  { animation: fadeUp 0.7s cubic-bezier(0.4,0,0.2,1) both; }
.anim-fadein  { animation: fadeIn 0.6s ease both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.35s; }
.anim-delay-4 { animation-delay: 0.5s; }

/* ── REVEAL ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
