/* =========================================================
   Göçükçü Mehmet Usta — stylesheet
   ========================================================= */

:root {
  --ink: #14161c;
  --ink-soft: #4a4e5a;
  --paper: #ffffff;
  --paper-alt: #f5f6f9;
  --line: #e6e7ec;

  --dark: #14161c;
  --dark-2: #1d2029;

  --brand: #ff6b1a;
  --brand-dark: #e2570f;
  --brand-light: #ffe4d1;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(20, 22, 28, 0.18);
  --shadow-lg: 0 25px 60px -20px rgba(20, 22, 28, 0.35);

  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

.accent { color: var(--brand); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(255, 107, 26, 0.55);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark);
  color: #cfd2db;
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 40px;
  overflow: hidden;
}
.topbar-item { display: flex; align-items: center; gap: 7px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar-item svg { width: 14px; height: 14px; fill: var(--brand); flex-shrink: 0; }
.topbar-hours { margin-left: auto; opacity: 0.85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
/* Blur lives on a pseudo-element (not the header itself) so backdrop-filter
   doesn't create a containing block for the fixed-position mobile nav inside it. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 42px; height: 42px; color: var(--brand); flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.02rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text small {
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--brand-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background: linear-gradient(180deg, #fff 0%, var(--paper-alt) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
}
.blob-1 { width: 420px; height: 420px; background: var(--brand); top: -160px; right: -100px; }
.blob-2 { width: 320px; height: 320px; background: #ffd08a; bottom: -140px; left: -80px; opacity: 0.4; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #d9dbe3 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.55) 40%, transparent 85%);
  opacity: .5;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  font-weight: 800;
  margin: 6px 0 20px;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-badges li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--ink-soft);
}
.hero-badges svg { width: 18px; height: 18px; fill: var(--brand); }

/* Before/After image slider */
.hero-visual { position: relative; z-index: 1; }
.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  user-select: none;
  touch-action: pan-y;
}
.ba-frame {
  position: absolute; inset: 0;
  background: var(--dark);
}
.ba-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.ba-before .ba-img { object-position: center 82%; }
.ba-before {
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}
.ph-content { text-align: center; }
.ph-icon { width: 54px; height: 54px; margin: 0 auto 10px; opacity: .55; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ph-content p { margin: 0; font-size: 0.85rem; font-weight: 600; opacity: .8; }
.ba-label {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #fff;
  padding: 5px 12px; border-radius: 999px;
}
.ba-label-before { background: rgba(20, 22, 28, 0.65); }
.ba-label-after { background: var(--brand); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 44px; margin-left: -22px;
  display: flex; align-items: center; justify-content: center;
  cursor: ew-resize;
  touch-action: none;
  z-index: 3;
}
.ba-handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: #fff; transform: translateX(-50%);
}
.ba-handle svg {
  width: 34px; height: 34px; padding: 8px;
  background: #fff; border-radius: 50%; box-shadow: var(--shadow);
  fill: var(--ink); position: relative; z-index: 1;
}
.ba-hint { text-align: center; font-size: 0.8rem; color: var(--ink-soft); margin-top: 16px; }

/* ---------- Value strip ---------- */
.value-strip { background: var(--dark); color: #fff; padding: 34px 0; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-item { display: flex; align-items: center; gap: 14px; }
.value-item svg { width: 30px; height: 30px; fill: var(--brand); flex-shrink: 0; }
.value-item strong { display: block; font-size: 0.95rem; }
.value-item span { display: block; font-size: 0.8rem; color: #aeb1bd; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--dark); color: #fff; padding-bottom: 0; }
.section-dark .contact-info p,
.section-dark .eyebrow { color: #b8bac4; }
.section-dark .eyebrow { background: rgba(255,107,26,0.15); color: #ffb27a; }

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-light);
  border-radius: 14px;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 16px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags li {
  font-size: 0.76rem; font-weight: 600;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.service-card-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.service-card-cta h3 { margin-bottom: 10px; }
.service-card-cta p { color: rgba(255,255,255,0.88); }
.service-card-cta .btn { align-self: flex-start; background: #fff; color: var(--brand-dark); box-shadow: none; }
.service-card-cta .btn:hover { background: var(--dark); color: #fff; }

/* ---------- Eğitim ---------- */
.egitim-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.egitim-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.egitim-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e2570f'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.egitim-copy p { color: var(--ink-soft); margin: 16px 0 26px; }
.egitim-copy .btn { margin-top: 8px; }

/* ---------- Placeholder boxes ---------- */
.ph-box {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  border: 2px dashed var(--line);
  background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: border-color .2s ease, color .2s ease;
}
.ph-box:hover { border-color: var(--brand); color: var(--brand-dark); }
.ph-box.tall { aspect-ratio: 3/4; }
.ph-box .ph-content, .ph-box { text-align: center; }
.ph-box .ph-icon { fill: none; stroke: currentColor; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
.about-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.about-card h3 { margin-bottom: 20px; font-size: 1.1rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table td.closed { color: #d64545; }
.about-card-cta { margin-top: 22px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.gallery-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.gallery-photo[data-type="video"]::after {
  content: "";
  position: absolute; bottom: 8px; right: 8px; z-index: 2;
  width: 24px; height: 24px;
  border-radius: 50%;
  background-color: rgba(20, 22, 28, 0.65);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  pointer-events: none;
}
.gallery-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .35s ease;
}
.gallery-photo:hover img { transform: scale(1.08); }
/* Portrait source photos need a manual focal point so the square crop doesn't center on empty floor/ceiling */
.gallery-grid .gallery-photo:nth-child(5) img { object-position: center 32%; }
.gallery-grid .gallery-photo:nth-child(6) img { object-position: center 8%; }
.gallery-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 22, 28, 0);
  transition: background .25s ease;
}
.gallery-photo:hover .gallery-overlay { background: rgba(20, 22, 28, 0.45); }
.gallery-overlay svg {
  width: 28px; height: 28px;
  fill: #fff;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery-photo:hover .gallery-overlay svg { opacity: 1; transform: scale(1); }
.gallery-follow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 12px 24px -10px rgba(255, 107, 26, 0.45);
  transition: transform .2s ease;
}
.gallery-follow-btn:hover { transform: translateY(-2px); }
.gallery-follow-btn svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* ---------- YouTube block ---------- */
.youtube-block { margin-top: 56px; }
.youtube-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.youtube-heading svg { width: 26px; height: 26px; fill: #FF0000; }
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.youtube-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--dark);
  padding: 0;
  cursor: pointer;
}
.youtube-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.youtube-card:hover img { transform: scale(1.06); }
.youtube-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(20, 22, 28, 0.55);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.youtube-card:hover .youtube-play { background: #FF0000; transform: translate(-50%, -50%) scale(1.08); }
.youtube-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 2px; }
.youtube-title {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 11, 15, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
}
.lightbox-media {
  width: 100%;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
}
.lightbox-img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}
.lightbox-iframe {
  width: 100%;
  height: 78vh;
  max-height: 700px;
  border: 0;
  display: block;
  background: #fff;
}
.lightbox.lightbox-wide .lightbox-inner { max-width: 900px; }
.lightbox-iframe-youtube {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 78vh;
  background: #000;
}
.lightbox-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background .2s ease;
}
.lightbox-link:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-link svg { width: 16px; height: 16px; fill: #fff; }

/* ---------- Accordion ---------- */
.accordion { max-width: 760px; margin: 0 auto; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--paper);
}
.acc-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: none; border: none;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  text-align: left;
  color: var(--ink);
}
.acc-trigger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; transition: transform .25s ease; }
.acc-item.open .acc-trigger svg { transform: rotate(180deg); color: var(--brand); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.acc-panel p { padding: 0 24px 22px; margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.acc-item.open .acc-panel { max-height: 400px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  padding-bottom: 90px;
}
.contact-info p { color: #b8bac4; margin: 16px 0 30px; max-width: 420px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 0.94rem; }
.contact-list svg { width: 20px; height: 20px; fill: var(--brand); flex-shrink: 0; }
.contact-socials { display: flex; gap: 12px; }
.social-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background .2s ease, transform .2s ease;
}
.social-btn svg { width: 18px; height: 18px; fill: #fff; }
.social-btn:hover { background: var(--brand); transform: translateY(-3px); }

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--paper-alt);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.form-note { font-size: 0.76rem; color: var(--ink-soft); text-align: center; margin: 14px 0 0; }

.map-wrap { width: 100%; height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.15); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-2); color: #9aa; padding: 34px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #8a8d99; }
.footer-copy { font-size: 0.82rem; color: #7d8090; margin: 0; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand); }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; margin: 0 auto; }
  .egitim-grid { grid-template-columns: 1fr; }
  .egitim-visual { max-width: 360px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; padding-bottom: 60px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .topbar-hours { display: none; }
  .brand-text small { display: none; }
  .header-actions .btn-sm span { display: none; }
  .header-actions .btn-sm { padding: 11px; }
  .main-nav {
    /* 40px topbar + 76px header = 116px, so the overlay starts right below both */
    position: fixed;
    inset: 116px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .25s ease;
    height: calc(100vh - 116px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text strong { font-size: 0.84rem; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .youtube-grid { grid-template-columns: 1fr; }
  .topbar-address { display: none; }
  .topbar-inner { justify-content: center; }
}
