/* ============================================================
   Kireçtepe Hukuk Bürosu — style.css
   Renkler: Dark Navy #0E1A2B / White #FFFFFF / Off-white #F7F7F5 / Gold #B89B5E
   Fontlar: Playfair Display (başlıklar) + Inter (gövde)
   ============================================================ */

:root {
  --navy: #0E1A2B;
  --navy-light: #16263d;
  --white: #FFFFFF;
  --offwhite: #F7F7F5;
  --gold: #B89B5E;
  --gold-dark: #9c8148;
  --text: #2b3442;
  --text-muted: #5b6575;
  --border: #e4e2dc;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --container: 1160px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(14, 26, 43, 0.10);
  --transition: all 0.25s ease;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-dark);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Yardımcılar ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--offwhite);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-label::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .section-label::after {
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2000;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--navy);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(184, 155, 94, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-logo img {
  height: 52px;
  width: auto;
}

.header-logo-text {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.3;
  white-space: nowrap;
}

.header-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--gold);
}

.header-actions .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* Mobil menü içi butonlar (desktop'ta gizli) */
.mobile-menu-actions {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/giris-bg.jpg") center/cover no-repeat;
  opacity: 0.35;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 26, 43, 0.92) 0%, rgba(14, 26, 43, 0.55) 60%, rgba(14, 26, 43, 0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 120px;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Güven Bandı ---------- */
.trust-band {
  background: var(--navy);
  border-top: 1px solid rgba(184, 155, 94, 0.25);
  padding: 34px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-item .trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.05rem;
}

/* ---------- Split bölümler (görsel + metin) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

.split-media::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.split-content h3 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.split-content .btn {
  margin-top: 26px;
}

/* ---------- Hizmet kartları ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card h3 a {
  color: var(--navy);
}

.service-card h3 a:hover {
  color: var(--gold);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-card .card-link {
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.service-card .card-link::after {
  content: " →";
}

/* ---------- İşletme bölümü ---------- */
.business {
  background: var(--navy);
  color: var(--white);
  position: relative;
}

.business .container {
  position: relative;
  z-index: 2;
}

.business-inner {
  max-width: 780px;
}

.business h2 {
  color: var(--white);
}

.business p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.business .btn {
  margin-top: 28px;
}

.business::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 155, 94, 0.12) 0%, rgba(14, 26, 43, 0) 55%);
}

/* ---------- İlkeler ---------- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.principle-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: var(--transition);
}

.principle-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.principle-card .principle-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.principle-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.principle-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Blog kartları ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-body .blog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.blog-card-body h3 a {
  color: var(--navy);
}

.blog-card-body h3 a:hover {
  color: var(--gold);
}

.blog-card-body .card-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
}

.blog-card-body .card-link::after {
  content: " →";
}

.section-more {
  text-align: center;
  margin-top: 44px;
}

/* ---------- Son CTA ---------- */
.cta-final {
  position: relative;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/cta-bg.jpg") center/cover no-repeat;
  opacity: 0.25;
}

.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 43, 0.72);
}

.cta-final .container {
  position: relative;
  z-index: 2;
}

.cta-final h2 {
  color: var(--white);
}

.cta-final p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cta-final .hero-cta {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-top: 70px;
  padding-bottom: 50px;
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184, 155, 94, 0.4);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-contact li {
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-contact strong {
  color: var(--white);
  font-weight: 600;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* ---------- Mobil sabit bar ---------- */
.mobile-cta-bar {
  display: none;
}

/* ---------- Reveal animasyonu ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   RESPONSIVE — breakpoint: 900px
   ============================================================ */
@media (max-width: 900px) {
  .section {
    padding: 64px 0;
  }

  /* Header */
  .header-inner {
    height: 66px;
  }

  .header-logo img {
    height: 42px;
  }

  .header-logo-text {
    font-size: 0.92rem;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(184, 155, 94, 0.3);
    padding: 18px 24px 26px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  }

  .main-nav.is-open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav.is-open li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.is-open a {
    display: block;
    padding: 13px 4px;
    font-size: 1rem;
  }

  .main-nav.is-open a::after {
    display: none;
  }

  .mobile-menu-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
  }

  .mobile-menu-actions .btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.88rem;
  }

  /* Hero */
  .hero-inner {
    padding-top: 84px;
    padding-bottom: 76px;
  }

  /* Güven bandı */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  /* Split */
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-media::before {
    top: -10px;
    left: -10px;
  }

  /* Gridler */
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-top: 54px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  /* Mobil sabit CTA barı */
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--navy);
    border-top: 1px solid rgba(184, 155, 94, 0.4);
    padding: 8px 10px;
    gap: 10px;
  }

  .mobile-cta-bar .btn {
    flex: 1;
    padding: 11px 8px;
    font-size: 0.88rem;
  }

  body {
    padding-bottom: 58px; /* sabit bar içeriği kapatmasın */
  }
}

@media (max-width: 560px) {
  .trust-grid,
  .principles-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta .btn {
    width: 100%;
  }
}
