/* ============================================
   Alp İnşaat — Koyu tema (kartvizit paleti: lacivert + turuncu)
   ============================================ */

/* ---------- Yazı tipleri (siteyle birlikte barındırılır, SIL OFL) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.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: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.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: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-700-normal.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; }

:root {
  --bg: #0b0f17;
  --bg-alt: #101725;
  --surface: #162033;
  --surface-2: #1d2a42;
  --navy: #2a3550;          /* kartvizitteki lacivert */
  --line: #25324a;
  --text: #ecebe8;
  --muted: #98a2b3;
  --accent: #f07d1a;        /* kartvizitteki turuncu */
  --accent-strong: #ff9230;
  --accent-ink: #14100a;

  --radius: 8px;
  --container: 1160px;
  --header-h: 72px;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -.025em; }
h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 18ch; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 38px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent));
  flex: none;
}

/* ---------- Marka (logo) ---------- */
.brand { display: inline-flex; align-items: baseline; gap: .3rem; line-height: 1; }
.brand-alp {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: .02em;
  color: var(--text);
}
.brand-ins {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}
.brand-lg .brand-alp { font-size: 3.6rem; }
.brand-lg .brand-ins { font-size: 1.6rem; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-strong); }
.btn-ghost { border-color: #34435f; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Üst menü ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  background: rgba(11, 15, 23, .7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.scrolled { background: rgba(11, 15, 23, .95); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a:not(.btn) {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--text); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Giriş ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 190px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 85% 25%, rgba(240,125,26,.12), transparent 65%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(42,53,80,.55), transparent 70%),
    var(--bg);
}
/* Beton dokusu */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .6 0 0 0 0 .65 0 0 0 0 .75 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero-lead { max-width: 52ch; font-size: 1.08rem; color: #c3c9d4; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: var(--muted); font-size: .88rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: .55rem; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--accent); transform: rotate(45deg); }

/* Kartvizit */
.vcard {
  background: linear-gradient(180deg, #e9e7e2 0%, #f5f3ef 100%);
  color: #1b2336;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(-1.6deg);
  transition: transform .4s;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.vcard:hover { transform: rotate(0); }
.vcard-top { padding: 26px 8px 44px 26px; }
.vcard .brand-lg .brand-alp { font-size: 3rem; }
.vcard .brand-lg .brand-ins { font-size: 1.25rem; }
.vcard .brand-alp, .vcard .brand-ins { color: #1d2740; }
.orn { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--accent); }
.orn svg { flex: none; width: 64px; height: auto; }
.orn span { flex: 1; height: 1.5px; background: var(--accent); opacity: .85; }
.vcard-body { padding: 26px 26px 44px 8px; text-align: right; }
.vcard-name { font-size: 1.15rem; font-weight: 600; margin: 0 0 .5rem; color: #1b2336; }
.vcard-phone {
  display: flex; align-items: center; justify-content: flex-end; gap: .5rem;
  font-size: .98rem; font-weight: 500; letter-spacing: .01em; color: #1b2336; line-height: 1.75; white-space: nowrap;
}
.vcard-phone:hover { color: var(--accent); }
.vcard-phone-hl { }
.vcard-phone-hl svg { color: #1b2336; }
.vcard-foot {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 26px 30px 24px;
  background: var(--navy);
  color: #f1efe9;
  font-size: .86rem;
  font-weight: 500;
}
.vcard-foot::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -22px;
  height: 44px;
  background: var(--navy);
  border-top: 3px solid var(--accent);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.4) translateY(10px);
}
.vcard-foot span { position: relative; padding-left: 1rem; }
.vcard-foot span::before { content: "•"; position: absolute; left: 0; color: #f1efe9; }

/* Dalga ayracı */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; z-index: 1; }
.wave-fill { fill: var(--bg-alt); }
.wave-line { fill: none; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }

/* ---------- Bölümler ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 3rem; }
#hizmetler { padding-top: 70px; }

/* Hizmetler */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px 32px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.service-card::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.service-card:hover { border-color: #3a4a6a; transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-num {
  position: absolute; top: 14px; right: 22px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 4.2rem; line-height: 1;
  color: var(--surface-2);
}
.service-icon { color: var(--accent); margin-bottom: 1.3rem; }
.service-card h3 { font-size: 1.4rem; margin-bottom: .6em; }
.service-card p { color: #b7bfcc; font-size: .95rem; }

.ticks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .5rem; font-size: .92rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 9px; height: 9px;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}

/* Neden biz */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.why-text p { color: #b7bfcc; max-width: 50ch; }
.why-text .eyebrow { color: var(--accent); max-width: none; }
.why-text .btn { margin-top: .6rem; }
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.why-item { background: var(--bg); padding: 28px 24px; }
.why-ico { display: inline-flex; color: var(--accent); margin-bottom: .8rem; }
.why-item h3 { margin-bottom: .35em; }
.why-item p { color: var(--muted); margin: 0; font-size: .9rem; }

/* Uygulama alanları */
.areas {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.areas li {
  position: relative;
  padding: 18px 20px 18px 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .2s, color .2s;
}
.areas li::before {
  content: "";
  position: absolute; left: 20px; top: 50%;
  width: 10px; height: 10px;
  border: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}
.areas li:hover { border-color: var(--accent); }

/* Süreç */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 52px; height: 2px; background: var(--accent); }
.step-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 3rem; line-height: 1;
  color: var(--accent);
  margin-bottom: .5rem;
}
.step p { color: var(--muted); margin: 0; font-size: .93rem; }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { margin: 0; }
.shot img, .shot-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.shot-ph {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 14px, transparent 14px 28px),
    var(--surface);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 500;
}
.shot figcaption { margin-top: .6rem; font-size: .85rem; font-weight: 600; color: var(--muted); }

/* SSS */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s;
}
.faq details[open] { border-color: #3a4a6a; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-weight: 600;
  font-size: .98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 24px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: #b7bfcc; font-size: .94rem; }

/* İletişim */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-list li {
  display: grid; grid-template-columns: 120px 1fr; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 1px solid var(--line); }
.c-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
.c-value { font-weight: 600; }
.c-value a:hover, a.c-value:hover { color: var(--accent); }
.c-value.muted { font-weight: 500; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid; gap: 1rem;
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: .1em; }
.contact-form label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font: inherit; font-size: .98rem; font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem .9rem;
  transition: border-color .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .invalid { border-color: #e5484d; }
.form-hint { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form-hint.error { color: #ff6b6e; }

/* Alt bilgi */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand p { margin: .8rem 0 0; font-size: .88rem; }
.footer-links, .footer-contact { display: grid; gap: .5rem; font-size: .92rem; font-weight: 500; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-copy { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; }

/* Mobil alt çubuk */
.mobile-bar { display: none; }

/* Görünme animasyonu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .vcard { max-width: 480px; }
  .services { grid-template-columns: 1fr; max-width: 640px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .why, .contact { grid-template-columns: 1fr; gap: 48px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .3s, visibility .3s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-cta { margin-top: 18px; padding: .9rem 1rem; font-size: .95rem; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding-bottom: 150px; }
  .wave { height: 80px; }
  .hero-actions .btn { width: 100%; }
  .brand-lg .brand-alp { font-size: 3rem; }
  .areas, .gallery, .steps, .why-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  .contact-form { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; }

  /* Mobil alt çubuk */
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--bg);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: 15px 10px;
    font-weight: 700; font-size: .95rem;
  }
  .mb-call { background: var(--accent); color: var(--accent-ink); }
  .mb-wa { background: #1fa855; color: #fff; }
  body { padding-bottom: 54px; }
}

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

/* Dar ekranda kartvizit tek sütun */
@media (max-width: 520px) {
  .vcard { grid-template-columns: 1fr; }
  .vcard-top { padding: 24px 24px 6px; }
  .vcard-body { padding: 8px 24px 40px; }
  .vcard-phone { justify-content: flex-end; }
}

/* ---------- Logo: büyük, turuncu-beyaz akan geçiş ---------- */
.site-header .brand-alp,
.site-header .brand-ins,
.site-footer .brand-alp,
.site-footer .brand-ins {
  background-image: linear-gradient(90deg, #f07d1a 0%, #ffffff 50%, #f07d1a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: logo-flow 4.5s linear infinite;
}
.site-header .brand-alp { font-size: 3rem; letter-spacing: .03em; }
.site-header .brand-ins { font-size: 1.55rem; }
.site-header .brand { gap: .4rem; }
@keyframes logo-flow { to { background-position: 200% 0; } }

@media (max-width: 640px) {
  .site-header .brand-alp { font-size: 2.5rem; }
  .site-header .brand-ins { font-size: 1.3rem; }
  .eyebrow { font-size: 1.35rem; }
}

/* ---------- Telefon düzeltmeleri ---------- */
@media (max-width: 640px) {
  /* Başlık etiketi: çizgi satırın başında değil, üstünde; çok satırlı yazı kenara itilmesin */
  .eyebrow { display: block; }
  .eyebrow::before { display: block; margin-bottom: .7rem; }
}

@media (max-width: 520px) {
  /* Kartvizit: beyaz alan dolu dursun — isim solda, telefonlar sağda */
  .vcard-top { padding: 22px 22px 10px; }
  .vcard-body {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 4px 22px 40px;
    text-align: left;
  }
  .vcard-name { grid-row: 1 / span 2; margin: 0; font-size: 1.05rem; text-align: left; }
  .vcard-phone { grid-column: 2; justify-content: flex-end; font-size: .95rem; }
}

@media (max-width: 340px) {
  .vcard-body { grid-template-columns: 1fr; }
  .vcard-name { grid-row: auto; margin-bottom: .3rem; }
  .vcard-phone { grid-column: 1; justify-content: flex-start; }
}

/* ---------- Giriş bölümü: rozet (sadece telefonda görünür) ---------- */
.hero-badge { display: none; }
.hero-actions .btn svg { flex: none; }

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(240,125,26,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(240,125,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,125,26,0); }
}

/* ---------- Giriş bölümü: telefon düzeni ---------- */
@media (max-width: 640px) {
  .hero { padding: calc(var(--header-h) + 30px) 0 120px; min-height: 0; }
  .hero-bg {
    background:
      radial-gradient(ellipse 90% 45% at 100% 0%, rgba(240,125,26,.20), transparent 70%),
      radial-gradient(ellipse 80% 40% at 0% 100%, rgba(42,53,80,.7), transparent 70%),
      var(--bg);
  }
  .hero-inner { gap: 38px; }

  /* Uzun turuncu satır yerine kısa rozet */
  .hero-copy .eyebrow { display: none; }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1.3rem;
    padding: .5rem 1rem .5rem .85rem;
    border: 1px solid rgba(240,125,26,.4);
    border-radius: 999px;
    background: rgba(240,125,26,.08);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: #ffd2a3;
  }
  .hero-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s infinite;
  }

  .hero h1 { font-size: clamp(2.3rem, 10.6vw, 3rem); line-height: 1.04; margin-bottom: .45em; }
  .hero-lead { font-size: 1rem; margin-bottom: 1.6rem; }

  /* İki buton yan yana */
  .hero-actions { flex-wrap: nowrap; gap: .7rem; margin-bottom: 1.6rem; }
  .hero-actions .btn { flex: 1 1 0; width: auto; padding: .95rem .6rem; font-size: .9rem; }

  /* Üç madde: ince şerit */
  .hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(22,32,51,.55);
    overflow: hidden;
  }
  .hero-points li {
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
    padding: 14px 6px;
    text-align: center;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.3;
    color: #c3c9d4;
  }
  .hero-points li + li { border-left: 1px solid var(--line); }

  /* Kartvizit: turuncu ışık + iki sütun hizmet listesi */
  .vcard {
    transform: rotate(-1deg);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 70px rgba(240,125,26,.16), 0 0 0 1px rgba(255,255,255,.06);
  }
  .vcard-foot { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem .6rem; padding: 26px 22px 22px; }

  .wave { height: 70px; }
  #hizmetler { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge .dot { animation: none; }
}

/* Hero etiketi: dört hizmet tek satıra sığsın */
.hero-copy .eyebrow { font-size: 1.38rem; }

/* ============================================================
   Telefon: ikonlu üç madde + koyu kartvizit (sadece ≤640 px)
   ============================================================ */
.ph-ico { display: none; }

/* Üç madde: bilgisayarda da telefondakiyle aynı ikonlar */
.hero-points li { gap: .7rem; }
.hero-points li::before { display: none; }
.pt-ico { display: block; flex: none; color: var(--accent); }
.hero-points { gap: .8rem 2rem; }

@media (max-width: 640px) {

  /* ---- Üç madde: ikonlu, iki sütun ---- */
  .hero-points {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    border: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
  }
  .hero-points li {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: .65rem;
    padding: 0;
    text-align: left;
    font-size: .88rem;
    font-weight: 600;
    color: #d6dae2;
  }
  .hero-points li + li { border-left: 0; }
  .hero-points li::before { display: none; }
  .pt-ico { display: block; flex: none; color: var(--accent); }

  /* ---- Kartvizit: koyu, ortalı ---- */
  .vcard {
    display: block;
    transform: none;
    background: linear-gradient(165deg, #182033 0%, #0d121b 100%);
    color: #fff;
    border: 1px solid rgba(240,125,26,.55);
    border-radius: 16px;
    box-shadow: 0 24px 50px -18px rgba(0,0,0,.8), 0 0 60px rgba(240,125,26,.14), inset 0 0 0 1px rgba(255,255,255,.04);
    text-align: center;
  }
  .vcard:hover { transform: none; }

  .vcard-top { padding: 28px 22px 4px; }
  .vcard .brand-lg { justify-content: center; }
  .vcard .brand-alp, .vcard .brand-ins {
    background-image: linear-gradient(90deg, #f07d1a 0%, #ffffff 50%, #f07d1a 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: logo-flow 4.5s linear infinite;
  }

  /* Ayraç: çizgi — elmas — çizgi */
  .orn { justify-content: center; gap: 12px; margin-top: 14px; }
  .orn svg { display: block; width: 84px; }
  .orn span { height: 1.5px; opacity: 1; }

  .vcard-body {
    display: block;
    padding: 18px 22px 44px;
    text-align: center;
  }
  .vcard-name {
    margin: 0 0 .7rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: .01em;
    color: #fff;
    text-align: center;
  }
  .vcard-phone {
    justify-content: center;
    gap: .6rem;
    font-size: 1.02rem;
    font-weight: 500;
    color: #f3f1ec;
    line-height: 1.9;
  }
  .vcard-phone svg { color: var(--accent); }
  .ph-ico { display: block; }
  .vcard-phone-hl svg { color: var(--accent); }

  .vcard-foot { text-align: left; }
}

@media (max-width: 340px) {
  .hero-points { grid-template-columns: 1fr; }
}

/* Telefon: üç madde gerçek yazı tipiyle de tek satır kalsın */
@media (max-width: 640px) {
  .hero-points { grid-template-columns: max-content max-content; justify-content: space-between; gap: 14px 10px; }
  .hero-points li { gap: .55rem; font-size: .84rem; white-space: nowrap; }
}
@media (max-width: 340px) {
  .hero-points { grid-template-columns: 1fr; }
}

/* ============================================================
   Galeri: yana kaydırılan fotoğraf şeridi
   Her fotoğraf kendi oranına göre boyutlanır (--ar = genişlik / yükseklik)
   ============================================================ */
.car-hint { margin: -.2rem 0 0; font-size: .92rem; }

.carousel {
  --slide-h: 440px;
  --gap: 16px;
  position: relative;
}
.car-track {
  display: flex;
  align-items: flex-start;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  padding: 4px 4px 22px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  /* Kenar solması: başta/sonda kapanır (JS --fl ve --fr değerlerini ayarlar) */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 22px)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 22px)), transparent 100%);
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }

.slide {
  flex: none;
  margin: 0;
  scroll-snap-align: start;
  /* Genişlik fotoğrafın oranından gelir; çok geniş fotoğraflar ekrandan taşmaz */
  width: min(calc(var(--ar) * var(--slide-h)), 86vw);
  /* Konum yazısı fotoğrafın üstünde görünsün */
  display: flex;
  flex-direction: column-reverse;
}
.slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  -webkit-user-drag: none;
  user-select: none;
}
.slide figcaption {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .8rem;
  font-size: .95rem;
  font-weight: 600;
  color: #d6dae2;
}
.slide .pin { flex: none; color: var(--accent); }

/* Oklar (bilgisayar) */
.car-btn {
  position: absolute;
  top: calc(var(--slide-h) / 2 + 13px); /* yazı satırı kadar aşağıda: fotoğrafın ortası */
  z-index: 2;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,15,23,.78);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: var(--text);
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s, transform .2s;
}
.car-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.car-btn:active { transform: scale(.94); }
.car-prev { left: 10px; }
.car-next { right: 10px; }
.car-btn[disabled] { opacity: 0; pointer-events: none; }

/* İlerleme çizgisi */
.car-progress {
  height: 3px;
  margin-top: 2px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.car-progress span {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: 3px;
  background: var(--accent);
  transition: width .15s linear, margin-left .1s linear;
}

@media (max-width: 1000px) { .carousel { --slide-h: 400px; } }

@media (max-width: 640px) {
  /* Telefonda şerit ekran kenarına kadar uzansın */
  .carousel { --slide-h: 360px; --gap: 12px; margin: 0 -20px; }
  .car-track { padding-left: 20px; padding-right: 20px; scroll-padding-inline: 20px; }
  .car-progress { margin: 2px 20px 0; }
  .slide img { border-radius: 10px; }
}

/* Dokunmatik cihazda ok gerekmiyor */
@media (hover: none) { .car-btn { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .car-track { scroll-behavior: auto; }
}

/* Alt çizgi: solda telif, sağda web tasarım kredisi */
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1.5rem;
}
.footer-copy .credit strong { color: var(--text); font-weight: 600; }
.footer-copy .credit a { color: var(--text); font-weight: 600; border-bottom: 1px solid rgba(240,125,26,.5); transition: color .2s, border-color .2s; }
.footer-copy .credit a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 640px) {
  .footer-copy { flex-direction: column; align-items: flex-start; }
}
