/* ===== Fontlar (EB Garamond, yerel) ===== */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ebg-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ebg-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ebg-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ebg-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ebg-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ebg-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* ===== Renkler (kartvizitten) ===== */
:root {
  --navy: #1b2c58;
  --navy-deep: #111c3f;
  --gold: #c9a45c;
  --gold-light: #e2c88f;
  --gold-dark: #8a6634;
  --cream: #f6f1e8;
  --cream-deep: #e9dfcc;
  --ink: #1f2433;
  --muted: #5b5e6b;
  --white: #fffdf9;

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --radius: 12px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-deep); padding: 8px 14px; border-radius: 6px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.rule { width: 72px; height: 2px; margin: 20px 0; background: var(--gold); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .9rem; color: var(--gold-dark); margin-bottom: 10px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 28, 63, .97);
  border-bottom: 1px solid rgba(201, 164, 92, .3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-size: 1.3rem; font-weight: 500; letter-spacing: .01em; }
.brand-sub { font-size: .9rem; color: var(--gold-light); }

.site-nav { display: flex; gap: 32px; }
.site-nav a {
  color: var(--cream); text-decoration: none; font-size: 1.1rem; letter-spacing: .02em;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--gold-light); border-color: var(--gold); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(201, 164, 92, .5);
  border-radius: 8px; background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--gold-light); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ===== Butonlar ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 10px 26px; border-radius: 6px;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500; letter-spacing: .03em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(226, 200, 143, .7); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(201, 164, 92, .15); border-color: var(--gold-light); }
.btn-navy-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-navy-outline:hover { background: var(--navy); color: var(--cream); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(82vh, 720px); display: flex; align-items: center;
  padding: 96px 0;
  color: var(--cream);
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(90deg, rgba(17, 28, 63, .97) 0%, rgba(17, 28, 63, .9) 38%, rgba(17, 28, 63, .55) 70%, rgba(17, 28, 63, .35) 100%),
    url("../img/hero-ofis.jpg");
  background-image:
    linear-gradient(90deg, rgba(17, 28, 63, .97) 0%, rgba(17, 28, 63, .9) 38%, rgba(17, 28, 63, .55) 70%, rgba(17, 28, 63, .35) 100%),
    image-set(url("../img/hero-ofis.webp") type("image/webp"), url("../img/hero-ofis.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center right;
}
/* Arkada silik logo */
.hero::before {
  content: ""; position: absolute; z-index: -1;
  left: max(-60px, calc(50% - 760px)); top: 50%; transform: translateY(-50%);
  width: 560px; aspect-ratio: 480 / 488;
  background: url("../img/logo.webp") no-repeat center / contain;
  opacity: .07;
}
.hero-inner { position: relative; }
.hero-text { max-width: 640px; }
.hero-kicker { text-transform: uppercase; letter-spacing: .24em; font-size: .95rem; color: var(--gold-light); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--white); letter-spacing: .005em; }
.hero-sub { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--gold-light); margin-top: 8px; }
.hero-lead { font-size: 1.25rem; color: #d4d9e6; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ===== Bölümler ===== */
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3rem); color: var(--navy); }
.section-head .rule { margin: 18px auto 0; }

/* ===== Büro ===== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.about-text h2 { font-size: clamp(2.2rem, 4.5vw, 3rem); color: var(--navy); }
.about-text p:not(.eyebrow) { color: var(--muted); font-size: 1.2rem; }
.about-text p + p { margin-top: 14px; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.principles li {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 26px; background: var(--cream); border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.principles svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--gold-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.principles h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 4px; }
.principles p { color: var(--muted); font-size: 1.05rem; }

/* ===== Çalışma alanları ===== */
.areas { background: var(--cream); }
.area-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
}
.area {
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: var(--radius); padding: 32px 26px 30px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.area:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 36px rgba(17, 28, 63, .12); }
.area-icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px;
  border-radius: 50%; background: var(--navy);
}
.area-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.area h3 { font-size: 1.45rem; color: var(--navy); margin-bottom: 10px; }
.area p { font-size: 1.05rem; color: var(--muted); line-height: 1.55; }

/* ===== İletişim ===== */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
.contact-card {
  font-style: normal; background: var(--cream); color: var(--ink);
  border-radius: var(--radius); padding: 36px 32px; border: 1px solid var(--cream-deep);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { flex: none; width: 22px; height: 22px; margin-top: 5px; fill: var(--gold-dark); }
.contact-list div { display: flex; flex-direction: column; min-width: 0; }
.contact-list .label { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); }
.contact-list a { color: var(--navy); text-decoration: none; font-size: 1.2rem; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.map {
  min-height: 420px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--cream-deep); background: var(--cream); display: flex;
}
.map iframe { width: 100%; min-height: 420px; border: 0; flex: 1; }
.map-placeholder {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 32px; text-align: center; color: var(--navy);
}
.map-placeholder > svg { width: 48px; height: 48px; fill: var(--gold-dark); }
.map-placeholder p { font-size: 1.2rem; max-width: 320px; }
.map-placeholder .map-note { font-size: .95rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: #c9cfe0; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(201, 164, 92, .25); }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-light); margin-bottom: 6px; }
.footer-col a { color: #c9cfe0; text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .brand { color: var(--white); }
.footer-note { color: #a9b1c7; }
.footer-bottom { display: grid; gap: 10px; padding-top: 28px; text-align: center; justify-items: center; }
.disclaimer { max-width: 780px; font-size: .95rem; line-height: 1.55; color: #a9b1c7; }
.copy { font-size: .95rem; color: #8a93ad; }

/* ===== Yüzen WhatsApp ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float:hover { transform: scale(1.07); }

/* ===== 404 ===== */
.notfound { min-height: 100vh; }
.notfound-inner { display: grid; justify-items: center; gap: 20px; text-align: center; }
.notfound-inner img { width: 120px; }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); color: var(--white); }

/* ===== Duyarlı ===== */
@media (max-width: 980px) {
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { font-size: 1.125rem; }
  .brand img { width: 40px; }
  .brand-title { font-size: 1.15rem; }
  .brand-sub { font-size: .8rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--navy-deep); border-bottom: 1px solid rgba(201, 164, 92, .35);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(201, 164, 92, .18); }

  .hero {
    min-height: auto; padding: 72px 0 80px;
    background-image:
      linear-gradient(180deg, rgba(17, 28, 63, .78) 0%, rgba(17, 28, 63, .93) 60%),
      url("../img/hero-ofis.jpg");
    background-image:
      linear-gradient(180deg, rgba(17, 28, 63, .78) 0%, rgba(17, 28, 63, .93) 60%),
      image-set(url("../img/hero-ofis.webp") type("image/webp"), url("../img/hero-ofis.jpg") type("image/jpeg"));
    background-position: 60% center;
  }
  .hero::before { width: 340px; left: auto; right: -80px; }
  .hero-lead { font-size: 1.15rem; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .principles li { padding: 20px; }
  .contact-card { padding: 28px 22px; }
  .map, .map iframe { min-height: 340px; }
}

@media (max-width: 520px) {
  .area-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn, .contact-actions .btn { flex: 1 1 100%; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
