/* Hamiyet Ölmez — Manevi Danışmanlık & Eğitim
   Design system: minimal, bol beyaz alan, ince tipografi
   Palet: pudra pembe + sıcak beyaz + sıcak gri
   Tipo: Fraunces (serif başlık) + Inter (sans gövde)
*/

:root {
  /* Palet */
  --rose-50:  #fdf7f8;   /* hero/section bg whisper */
  --rose-100: #faeef0;   /* card panels */
  --rose-200: #f4dde2;   /* dividers / soft fills */
  --rose-300: #ebc5cd;   /* accent line */
  --rose-400: #d9a3ad;   /* hover */
  --rose-500: #c8848f;   /* CTA primary */
  --rose-700: #8a4f59;   /* deep accent (used sparingly) */

  --ink-900:  #2a2326;   /* near-black, warm */
  --ink-700:  #4d4348;
  --ink-500:  #7a6d72;
  --ink-300:  #b8acaf;
  --ink-200:  #d9d0d2;
  --ink-100:  #ece5e6;

  --paper:    #fbf9f9;   /* page bg */
  --paper-2:  #ffffff;   /* cards */

  --gold:     #b48a5c;   /* logo'daki bronz */

  /* Tipo */
  --f-serif: "Fraunces", "DM Serif Display", "Cormorant Garamond", Georgia, serif;
  --f-sans:  "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --f-script: "Cormorant Garamond", serif;

  /* Spacing */
  --container: 1240px;
  --gutter: 24px;
  --section-y: clamp(80px, 10vw, 160px);

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-xl: 999px;
  --shadow-soft: 0 30px 80px -40px rgba(138, 79, 89, 0.18), 0 4px 14px -8px rgba(138, 79, 89, 0.08);
  --shadow-card: 0 1px 0 rgba(0,0,0,0.02), 0 12px 30px -18px rgba(138, 79, 89, 0.18);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.4em;
  color: var(--ink-900);
  text-wrap: balance;
}

h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 4.5vw, 64px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
h4 { font-size: clamp(18px, 1.4vw, 22px); font-weight: 400; }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-700);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--rose-400);
  display: inline-block;
}

.serif-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
}

p { color: var(--ink-700); text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-700); line-height: 1.65; }

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-200), transparent);
  border: 0;
  margin: 0;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: backdrop-filter .3s, background .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(251, 249, 249, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(235, 197, 205, 0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-serif);
  font-size: 19px;
  letter-spacing: -0.01em;
}
.nav-brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.nav-brand small {
  display: block;
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-700);
  position: relative;
  transition: color .25s;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--rose-700); }
.nav-links a.active { color: var(--ink-900); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--rose-500);
}
.nav-cta {
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  background: var(--ink-900);
  color: white;
  letter-spacing: 0.04em;
  transition: background .25s, transform .25s;
}
.nav-cta:hover { background: var(--rose-700); transform: translateY(-1px); }

.nav-burger { display: none; }

/* Mobile menu — hidden by default; only shown on small screens with .open */
.mobile-menu {
  display: none !important;
}
@media (max-width: 880px) {
  .mobile-menu {
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 20px;
    background: rgba(251, 249, 249, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rose-200);
  }
  .mobile-menu a {
    padding: 12px 4px;
    font-size: 15px;
    color: var(--ink-700);
    border-bottom: 1px solid var(--ink-100);
  }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu.open { display: flex !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all .3s var(--ease-out);
  font-weight: 500;
}
.btn-primary {
  background: var(--ink-900);
  color: white;
}
.btn-primary:hover { background: var(--rose-700); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(138,79,89,.5); }
.btn-ghost {
  border: 1px solid var(--ink-200);
  color: var(--ink-900);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--rose-500); color: var(--rose-700); }
.btn-pink {
  background: var(--rose-500);
  color: white;
}
.btn-pink:hover { background: var(--rose-700); transform: translateY(-2px); }
.btn .arrow {
  width: 16px; height: 16px;
  transition: transform .3s;
}
.btn:hover .arrow { transform: translateX(4px); }

/* Footer */
.footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 80px 0 40px;
  margin-top: 80px;
}
.footer h4 {
  color: white;
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer a { color: var(--ink-200); transition: color .2s; }
.footer a:hover { color: var(--rose-300); }
.footer-brand {
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 300;
  color: white;
  margin-bottom: 12px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-300);
}
.footer-ayet {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-200);
  margin-bottom: 16px;
}
.footer-ayet small {
  display: block;
  font-family: var(--f-sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-300);
  margin-top: 8px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity;
}
.reveal.in { opacity: 1; transform: none; }

.reveal-soft {
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal-soft.in { opacity: 1; }

/* Decorative */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--rose-400);
  margin-bottom: 16px;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; flex: 1; max-width: 80px;
  background: linear-gradient(90deg, transparent, var(--rose-300), transparent);
}

/* Cards */
.card {
  background: var(--paper-2);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(235, 197, 205, 0.3);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--rose-300);
}

/* Image placeholders (for portraits to be added later) */
.placeholder-portrait {
  background:
    linear-gradient(135deg, var(--rose-100), var(--rose-200));
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-700);
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.placeholder-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,0.35) 18px 19px);
  opacity: 0.7;
}
.placeholder-portrait span {
  position: relative;
  background: rgba(255,255,255,0.65);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.6);
}

/* Subtle floating animation */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float { animation: float-slow 6s ease-in-out infinite; }

@keyframes shimmer {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.shimmer { animation: shimmer 4s ease-in-out infinite; }

@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -20px) rotate(8deg); }
  66% { transform: translate(-20px, 20px) rotate(-6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Page hero (for non-home pages) */
.page-hero {
  padding: 180px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--rose-50), transparent);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(56px, 8vw, 110px); margin-bottom: 20px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 17px; }
.page-hero::before {
  content: ""; position: absolute; left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(235, 197, 205, 0.4), transparent);
  filter: blur(40px);
  z-index: -1;
}

/* Crumb */
.crumb {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 24px;
}
.crumb a:hover { color: var(--rose-700); }

/* Tag */
.tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--rose-100);
  color: var(--rose-700);
  border-radius: var(--radius-xl);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Mobile */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
