/* =========================================================
   Premium Psikolog Sitesi - Özel Stiller
   Palet: Lacivert + Altın + Krem
   ========================================================= */

:root {
  --navy-900: #0f1830;
  --navy-800: #16223f;
  --navy-700: #1b2a4a;
  --navy-600: #243456;
  --gold-500: #d4af6a;
  --gold-400: #e0c184;
  --gold-300: #f0d9a8;
  --cream: #f4ecd8;
  --cream-soft: #faf6ec;
  --ink: #1a1f2e;
  --muted: #6b7280;
  --line: rgba(212, 175, 106, 0.25);
  --shadow-soft: 0 20px 60px -20px rgba(15, 24, 48, 0.45);
  --shadow-gold: 0 18px 50px -18px rgba(212, 175, 106, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream-soft);
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-900));
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
#preloader.hide { opacity: 0; visibility: hidden; }

.pre-mark {
  width: 84px; height: 84px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center;
  box-shadow: var(--shadow-gold);
  animation: floaty 2.4s var(--ease) infinite;
}
.pre-mark svg { width: 52px; height: 52px; }

.pre-title {
  margin-top: 22px;
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.9s 0.3s var(--ease) forwards;
}
.pre-sub {
  margin-top: 8px;
  color: var(--gold-400);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.9s 0.6s var(--ease) forwards;
}
.pre-bar {
  margin-top: 26px;
  width: 180px; height: 2px;
  background: rgba(244, 236, 216, 0.15);
  border-radius: 2px; overflow: hidden;
}
.pre-bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  animation: load 1.6s var(--ease) forwards;
}

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes load { to { width: 100%; } }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.5s var(--ease);
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(15, 24, 48, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(212,175,106,0.5);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { color: var(--cream); }
.brand-text b { display: block; font-family: 'Playfair Display', serif; font-size: 1.05rem; letter-spacing: 0.04em; }
.brand-text span { font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-400); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--cream); font-size: 0.9rem; font-weight: 500;
  position: relative; padding: 6px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--gold-500);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--gold-400); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900); font-weight: 600; font-size: 0.86rem;
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 55px -16px rgba(212,175,106,0.6); }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; color: var(--cream); font-size: 1.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/4173251/pexels-photo-4173251.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  transform: scale(1.12);
  will-change: transform;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,24,48,0.92) 0%, rgba(15,24,48,0.6) 50%, rgba(15,24,48,0.85) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 50px;
  border: 1px solid var(--line);
  background: rgba(244,236,216,0.06);
  color: var(--gold-300); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-eyebrow i { color: var(--gold-500); }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05; max-width: 880px;
  margin: 0 0 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero p {
  max-width: 560px; font-size: 1.08rem; line-height: 1.7;
  color: rgba(244,236,216,0.82); margin: 0 0 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900); font-weight: 600; font-size: 0.96rem;
  box-shadow: var(--shadow-gold);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -18px rgba(212,175,106,0.65); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 50px;
  border: 1px solid rgba(244,236,216,0.3);
  color: var(--cream); font-weight: 500; font-size: 0.96rem;
  transition: all 0.35s var(--ease);
}
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-400); transform: translateY(-3px); }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--cream); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0.7;
}
.hero-scroll .mouse {
  width: 22px; height: 36px; border: 1.5px solid rgba(244,236,216,0.5); border-radius: 12px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 2px; background: var(--gold-400);
  animation: scrollWheel 1.8s var(--ease) infinite;
}
@keyframes scrollWheel { 0% { opacity: 1; top: 7px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; } }

/* ---------- Section base ---------- */
section { padding: 110px 0; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-500); font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; width: 28px; height: 1px; background: var(--gold-500); opacity: 0.6;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 16px; color: var(--navy-900);
}
.section-head p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin: 0; }

/* ---------- About ---------- */
.about { background: var(--cream-soft); }
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center;
}
.about-img {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-img img { width: 100%; height: 560px; object-fit: cover; }
.about-img::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 60%, rgba(15,24,48,0.4));
}
.about-badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 3;
  background: rgba(15,24,48,0.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; color: var(--cream);
  display: flex; align-items: center; gap: 14px;
}
.about-badge i { font-size: 1.8rem; color: var(--gold-400); }
.about-badge b { display: block; font-family: 'Playfair Display', serif; font-size: 1.3rem; }
.about-badge span { font-size: 0.78rem; color: rgba(244,236,216,0.7); }

.about-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 0 0 8px; color: var(--navy-900); }
.about-text .lead { color: var(--gold-500); font-style: italic; font-family: 'Playfair Display', serif; font-size: 1.15rem; margin: 0 0 22px; }
.about-text p { color: #4b5563; line-height: 1.8; margin: 0 0 18px; }
.about-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 14px; color: #374151; }
.about-list i { color: var(--gold-500); font-size: 1.1rem; margin-top: 3px; }
.about-sign {
  margin-top: 30px; display: flex; align-items: center; gap: 18px;
}
.about-sign .name { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy-900); }
.about-sign .role { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Services ---------- */
.services { background: var(--navy-900); color: var(--cream); }
.services .section-head h2 { color: var(--cream); }
.services .section-head p { color: rgba(244,236,216,0.7); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  position: relative; padding: 40px 32px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(36,52,86,0.6), rgba(22,34,63,0.6));
  border: 1px solid rgba(212,175,106,0.18);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(212,175,106,0.5); box-shadow: 0 30px 60px -25px rgba(0,0,0,0.6); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(212,175,106,0.18), rgba(212,175,106,0.06));
  border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 22px;
}
.service-icon i { font-size: 1.6rem; color: var(--gold-400); }
.service-card h3 { font-size: 1.4rem; margin: 0 0 12px; color: var(--cream); }
.service-card p { color: rgba(244,236,216,0.72); line-height: 1.7; margin: 0; font-size: 0.96rem; }

/* ---------- Stats / Why ---------- */
.why { background: var(--cream-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 60px; }
.stat {
  text-align: center; padding: 36px 20px; border-radius: 16px;
  background: #fff; border: 1px solid #ece3cf;
  box-shadow: 0 10px 30px -18px rgba(15,24,48,0.2);
  transition: transform 0.4s var(--ease);
}
.stat:hover { transform: translateY(-6px); }
.stat .num { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--navy-900); }
.stat .num span { color: var(--gold-500); }
.stat .label { color: var(--muted); font-size: 0.86rem; letter-spacing: 0.08em; margin-top: 6px; }

.why-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature-ic {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; box-shadow: var(--shadow-soft);
}
.feature-ic i { color: var(--gold-400); font-size: 1.2rem; }
.feature h4 { margin: 0 0 6px; color: var(--navy-900); font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.94rem; }

/* ---------- Contact / WhatsApp form ---------- */
.contact { background: linear-gradient(180deg, var(--cream-soft), #fff); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.contact-info h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 0 0 16px; color: var(--navy-900); }
.contact-info p { color: var(--muted); line-height: 1.8; margin: 0 0 30px; }
.contact-items { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.contact-items li { display: flex; gap: 16px; align-items: center; }
.contact-items .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center;
}
.contact-items .ic i { color: var(--gold-400); }
.contact-items b { display: block; color: var(--navy-900); font-size: 1.02rem; }
.contact-items span { color: var(--muted); font-size: 0.9rem; }

.wa-direct {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: 50px;
  background: #25d366; color: #fff; font-weight: 600;
  box-shadow: 0 18px 40px -16px rgba(37,211,102,0.6);
  transition: transform 0.3s var(--ease);
}
.wa-direct:hover { transform: translateY(-3px); }

.contact-form {
  background: #fff; border-radius: 20px; padding: 40px;
  box-shadow: var(--shadow-soft); border: 1px solid #ece3cf;
}
.contact-form h3 { margin: 0 0 6px; color: var(--navy-900); font-size: 1.5rem; }
.contact-form .sub { color: var(--muted); font-size: 0.92rem; margin: 0 0 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; color: var(--navy-800); font-weight: 600; margin-bottom: 8px; letter-spacing: 0.04em; }
.field label i { color: var(--gold-500); margin-right: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid #e4dcc4; background: var(--cream-soft);
  font-family: inherit; font-size: 0.96rem; color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212,175,106,0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.wa-submit {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 12px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #25d366, #1ebe5a); color: #fff;
  font-weight: 600; font-size: 1rem; font-family: inherit;
  box-shadow: 0 18px 40px -16px rgba(37,211,102,0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wa-submit:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -16px rgba(37,211,102,0.7); }
.form-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin: 14px 0 0; }

/* ---------- Location ---------- */
.location { background: var(--navy-900); color: var(--cream); }
.location .section-head h2 { color: var(--cream); }
.location .section-head p { color: rgba(244,236,216,0.7); }
.location-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: stretch; }
.location-card {
  background: linear-gradient(160deg, rgba(36,52,86,0.6), rgba(22,34,63,0.6));
  border: 1px solid rgba(212,175,106,0.18); border-radius: 18px; padding: 36px;
}
.location-card h3 { color: var(--cream); margin: 0 0 20px; font-size: 1.4rem; }
.loc-row { display: flex; gap: 16px; margin-bottom: 22px; }
.loc-row .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(212,175,106,0.12); border: 1px solid var(--line); display: grid; place-items: center; }
.loc-row .ic i { color: var(--gold-400); }
.loc-row b { display: block; color: var(--cream); margin-bottom: 4px; }
.loc-row span { color: rgba(244,236,216,0.7); font-size: 0.92rem; line-height: 1.6; }
.loc-map {
  border-radius: 18px; overflow: hidden; min-height: 380px;
  border: 1px solid rgba(212,175,106,0.2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.loc-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: #0a1124; color: rgba(244,236,216,0.7); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand-text b { color: var(--cream); }
.footer p { line-height: 1.7; font-size: 0.92rem; margin: 16px 0 0; max-width: 320px; }
.footer h5 { color: var(--cream); font-family: 'Playfair Display', serif; font-size: 1.1rem; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: rgba(244,236,216,0.7); font-size: 0.92rem; transition: color 0.3s; }
.footer ul a:hover { color: var(--gold-400); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(244,236,216,0.06); border: 1px solid rgba(244,236,216,0.1);
  display: grid; place-items: center; color: var(--cream);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(244,236,216,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.84rem;
}
.footer-bottom a { color: var(--gold-400); }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 18px 40px -12px rgba(37,211,102,0.6);
  transition: transform 0.35s var(--ease);
}
.fab-wa::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: pulse 2s var(--ease) infinite;
}
.fab-wa:hover { transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .contact-grid, .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; right: 24px;
    background: rgba(15,24,48,0.97); padding: 20px 26px; border-radius: 14px; gap: 18px;
    border: 1px solid var(--line);
  }
}
@media (max-width: 620px) {
  section { padding: 80px 0; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; justify-content: center; }
  .contact-form { padding: 28px 22px; }
  .about-img img { height: 420px; }
}