/* ═══════════════════════════════════════════
   CEYDA ELEN LAW  —  style.css
   Palet: Navy · Beyaz · Gold
═══════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #0a1628;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── TOKENS ── */
:root {
  --navy:       #060e1c;
  --navy-mid:   #0d1f36;
  --navy-light: #122848;
  --gold:       #d4a332;
  --gold-light: #f0c96a;
  --gold-pale:  #faf0d8;
  --white:      #ffffff;
  --off-white:  #f8f6f2;
  --text-muted: rgba(255,255,255,0.55);
  --border:     rgba(255,255,255,0.1);
  --border-dark:rgba(0,0,0,0.1);
  --max-w:      1200px;
  --hh:         120px;          /* header height */
  --radius:     3px;
  --ease:       0.3s ease;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}


/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hh);
  z-index: 900;
  transition: background var(--ease), box-shadow var(--ease);
}

/* Lacivert — her zaman sabit */
.header { background: var(--navy); }

/* Scroll sonrası — gölge ekle */
.header.scrolled {
  background: var(--navy);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.header-inner {
  width: 100%;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: flex; align-items: center; }

.logo-img {
  height: 108px;
  width: auto;
  display: block;
}

/* ── Sağ taraf ── */
.header-right { display: flex; align-items: center; gap: 20px; }

/* TR/EN bayraklı switcher */
.lang-switch { display: flex; align-items: center; gap: 6px; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  color: rgba(255,255,255,0.6);
  padding: 4px 8px;
  border-radius: 3px;
  transition: color var(--ease), background var(--ease);
}
.lang-btn .flag-img { width: 16px; border-radius: 2px; }
.lang-btn.active, .lang-btn:hover { color: #fff; }
.lang-btn.active { color: var(--gold); }
.lang-sep { color: rgba(255,255,255,0.3); font-size: 13px; }

/* ── Hamburger ── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 30px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobil Nav ── */
.mobile-nav {
  position: fixed;
  top: var(--hh); left: 0; right: 0;
  background: rgba(6,14,28,0.97);
  backdrop-filter: blur(16px);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  z-index: 800;
  border-bottom: 1px solid rgba(197,146,42,0.2);
}
.mobile-nav.open {
  max-height: 600px;
  padding: 16px 0 28px;
}
.mobile-nav ul { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav ul li a {
  display: block;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: .02em;
  transition: color var(--ease), padding-left var(--ease);
}
.mobile-nav ul li a:hover { color: var(--gold); padding-left: 8px; }


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Hero arka plan — image1.jpg eklenince burası çalışır */
.hero-bg {
  position: absolute; inset: 0;
  background-color: var(--navy);
  background-image: url('image1.jpg');
  background-size: cover;
  background-position: center 25%;
}

/* Sahte doku katmanı (görsel olmadan güzel görünür) */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(197,146,42,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 70%, rgba(18,40,72,0.8) 0%, transparent 60%),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px,
      transparent 1px, transparent 60px
    );
}

/* Karartma overlay */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,14,28,0.95) 0%,
    rgba(6,14,28,0.70) 40%,
    rgba(6,14,28,0.50) 100%
  );
}

/* Hero içerik */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-bottom-left { flex: 1; max-width: 520px; }

.hero-desc {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.hero-text2-wrap { flex-shrink: 0; text-align: right; }
.hero-text2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.2;
}

/* Scroll çizgisi */
.hero-scroll-line {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-line span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(197,146,42,0.6));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:.3; transform: scaleY(.6); transform-origin: top; }
  50%      { opacity: 1; transform: scaleY(1);  transform-origin: top; }
}


/* ══════════════════════════════════════════
   GENEL BÖLÜM STİLLERİ
══════════════════════════════════════════ */
.section-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

section h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: #0a1628;
}


/* ══════════════════════════════════════════
   HAKKINDA
══════════════════════════════════════════ */
.section-about {
  padding: 100px 0;
  background: var(--off-white);
}
.about-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.about-tag {
  padding-top: 8px;
}
.about-tag span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.about-body h2 { margin-bottom: 24px; }
.about-body p {
  font-size: 15px;
  color: #444;
  line-height: 1.85;
  max-width: 640px;
}


/* ══════════════════════════════════════════
   DENEYİM
══════════════════════════════════════════ */
.section-experience {
  padding: 100px 0;
  background: var(--navy);
}
.section-experience .section-eyebrow { color: var(--gold); }
.section-experience h2 { color: #fff; margin-bottom: 24px; }

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.exp-left p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  max-width: 380px;
}
.exp-right { display: flex; flex-direction: column; gap: 0; }
.exp-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.exp-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.exp-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
  padding-top: 3px;
  letter-spacing: .1em;
}
.exp-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.exp-text p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }


/* ══════════════════════════════════════════
   HİZMETLER
══════════════════════════════════════════ */
.section-services {
  padding: 100px 0;
  background: #fff;
}
.services-head { margin-bottom: 32px; }

.services-intro {
  margin-bottom: 48px;
  max-width: 780px;
}
.services-intro p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 32px;
  align-items: stretch;
  padding: 32px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: background var(--ease);
  cursor: default;
}
.service-row:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.service-row:hover { background: rgba(197,146,42,0.03); }
.service-line {
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  transition: background var(--ease);
}
.service-row:hover .service-line { background: var(--gold); }
.service-content h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-content p { font-size: 13px; color: #666; line-height: 1.7; max-width: 600px; }


/* ══════════════════════════════════════════
   YAYINLAR
══════════════════════════════════════════ */
.section-publications {
  padding: 100px 0;
  background: var(--off-white);
}
.pub-head { margin-bottom: 48px; }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pub-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.pub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.pub-card-img { height: 160px; flex-shrink: 0; }
.pub-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pub-date { font-size: 11px; color: #999; margin-bottom: 10px; display: block; letter-spacing: .06em; }
.pub-card-body h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.pub-card-body p { font-size: 13px; color: #666; line-height: 1.7; flex: 1; margin-bottom: 16px; }
.pub-link { font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: .04em; }
.pub-link:hover { text-decoration: underline; }


/* ══════════════════════════════════════════
   ETKİNLİKLER
══════════════════════════════════════════ */
.section-events {
  padding: 100px 0;
  background: var(--navy);
}
.section-events .section-eyebrow { color: var(--gold); }
.section-events h2 { color: #fff; margin-bottom: 48px; }

.events-list { display: flex; flex-direction: column; gap: 0; }
.event-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.event-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.event-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  padding: 10px 0;
  border: 1px solid rgba(197,146,42,0.3);
  border-radius: 3px;
}
.ed-day {
  display: block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.ed-month {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.event-body h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.event-body p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }


/* ══════════════════════════════════════════
   İLETİŞİM
══════════════════════════════════════════ */
.section-contact {
  padding: 100px 0;
  background: #fff;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-eyebrow { color: var(--gold); }
.contact-info h2 { color: var(--navy); margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.ci strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 4px;
}
.ci a, .ci span { font-size: 14px; color: var(--navy); }
.ci a:hover { color: var(--gold); }

.contact-form {
  background: var(--off-white);
  padding: 44px;
  border-radius: 6px;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.cf-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #888;
}
.cf-group input,
.cf-group textarea {
  padding: 11px 14px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  background: #fff;
  transition: border-color var(--ease);
  resize: vertical;
}
.cf-group input:focus,
.cf-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.btn-contact {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background var(--ease);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-contact:hover { background: var(--gold); }


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); }

/* Bülten */
.footer-newsletter {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.fn-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.fn-text { flex: 1; min-width: 240px; }
.fn-text h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.fn-text p { font-size: 13px; color: rgba(255,255,255,0.5); }
.fn-form {
  display: flex;
  gap: 0;
  flex: 1;
  max-width: 440px;
  min-width: 260px;
}
.fn-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  border-radius: 3px 0 0 3px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--ease);
}
.fn-form input::placeholder { color: rgba(255,255,255,0.35); }
.fn-form input:focus { border-color: rgba(197,146,42,0.5); }
.fn-form button {
  padding: 12px 20px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 0 3px 3px 0;
  white-space: nowrap;
  transition: background var(--ease);
}
.fn-form button:hover { background: var(--gold-light); }

/* Accordion bölümleri */
.footer-accordions { padding: 8px 0; }
.footer-accordions .container { display: flex; flex-direction: column; }

.footer-acc { border-bottom: 1px solid rgba(255,255,255,0.07); }
.acc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: .02em;
  transition: color var(--ease);
  text-align: left;
}
.acc-toggle:hover { color: var(--gold); }
.acc-icon {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.footer-acc.open .acc-icon { transform: rotate(45deg); color: var(--gold); }

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.footer-acc.open .acc-body { max-height: 400px; padding-bottom: 20px; }
.acc-body ul { display: flex; flex-direction: column; gap: 2px; padding-left: 0; }
.acc-body ul li a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--ease), padding-left var(--ease);
}
.acc-body ul li a:hover { color: var(--gold-light); padding-left: 10px; }

/* Takip et */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-social-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.footer-li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.footer-li:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197,146,42,0.1);
}

/* Footer alt bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 0;
}
.fb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Dil seçici (footer altı — bayraklı) */
.footer-lang { display: flex; align-items: center; gap: 8px; }
.flang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  color: rgba(255,255,255,0.4);
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: all var(--ease);
}
.flang-btn img { width: 16px; border-radius: 2px; }
.flang-btn.active, .flang-btn:hover {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.15);
}

/* Legal linkler */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-legal a { transition: color var(--ease); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
.footer-legal-sep { opacity: .5; }

/* Copyright + scroll top */
.footer-copy-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.scroll-top-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
}
.scroll-top-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197,146,42,0.1);
}


/* ══════════════════════════════════════════
   FADE-IN ANİMASYONLARI
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }


/* ══════════════════════════════════════════
   RESPONSİVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
  .mobile-nav ul { padding: 0 24px; }
  .hero-content { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 24px 56px; }
  .hero-text2-wrap { text-align: left; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-tag span { writing-mode: initial; transform: none; }
  .exp-grid { grid-template-columns: 1fr; gap: 48px; }
  .pub-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 28px 20px; }
  .cf-row { grid-template-columns: 1fr; }
  .fn-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .fn-form { max-width: 100%; width: 100%; }
  .fb-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 600px) {
  section { padding: 72px 0; }
  .section-about, .section-services, .section-publications,
  .section-events, .section-contact, .section-experience { padding: 72px 0; }
  .fn-form { flex-direction: column; }
  .fn-form input { border-right: 1px solid rgba(255,255,255,0.12); border-radius: 3px; border-bottom: none; border-radius: 3px 3px 0 0; }
  .fn-form button { border-radius: 0 0 3px 3px; padding: 13px; }
  .footer-legal { flex-wrap: wrap; }
}
