/* ==========================================================================
   İbar İnşaat — tasarım sistemi
   ========================================================================== */

:root {
  --navy: #173d73;
  --dark: #071a33;
  --blue: #2f65a7;
  --gold: #c89d5b;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #f6f8fb;
  --white: #ffffff;
  --line: rgba(15, 23, 42, 0.1);
  --shadow: 0 22px 55px rgba(2, 17, 37, 0.16);
  --shadow-sm: 0 14px 35px rgba(15, 23, 42, 0.07);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
}

p {
  margin: 0;
}

/* Ekran okuyucu için görünmez etiket */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 40px));
  }
}

.kicker {
  display: inline-block;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.section-title {
  margin-top: 8px;
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #0f172a;
}

.lead {
  max-width: 540px;
  font-size: 16px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .kicker {
    font-size: 13px;
  }
  .lead {
    font-size: 17px;
  }
}

/* --- Butonlar ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 999px;
  padding: 12px 21px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 61, 115, 0.24);
}

.btn-primary:hover {
  background: var(--blue);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: rgba(23, 61, 115, 0.22);
}

.btn-light:hover {
  background: #f8fafc;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe57;
}

.btn-block {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-block {
    width: auto;
  }
}

/* --- Üst şerit + header -------------------------------------------------- */

.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
}

.topbar {
  background: linear-gradient(to right, var(--dark), var(--navy));
  color: #e0f2fe;
  font-size: 10px;
  line-height: 1.2;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.topbar-note {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-site {
  flex-shrink: 0;
  text-align: right;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
}

.logo {
  height: 52px;
  width: auto;
  max-width: min(100%, 168px);
  object-fit: contain;
  object-position: left;
}

.logo-footer {
  height: 38px;
  width: auto;
  max-width: min(100%, 200px);
  object-fit: contain;
  object-position: left;
}

.main-nav {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 36px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #475569;
}

.main-nav a:hover {
  color: var(--navy);
}

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

.btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(23, 61, 115, 0.24);
  transition: background 0.2s ease;
}

.btn-quote:hover {
  background: var(--blue);
}

.menu-wrap {
  position: relative;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  cursor: pointer;
}

.menu-toggle svg {
  height: 20px;
  width: 20px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 40;
  margin-top: 8px;
  width: min(240px, calc(100vw - 2rem));
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  display: block;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.mobile-nav a:hover {
  background: #f8fafc;
}

@media (min-width: 640px) {
  .topbar {
    font-size: 14px;
    line-height: 1.6;
  }
  .topbar .container {
    padding: 8px 0;
  }
  .site-header .container {
    gap: 20px;
    padding: 14px 0;
  }
  .logo {
    height: 72px;
    max-width: 330px;
  }
  .logo-footer {
    height: 46px;
    max-width: 240px;
  }
  .btn-quote {
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
  }
  .menu-toggle {
    height: 48px;
    width: 48px;
  }
  .header-actions {
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
  .menu-wrap {
    display: none;
  }
  .logo {
    height: 84px;
    max-width: 400px;
  }
  .topbar-site {
    width: 11.25rem;
    text-align: center;
  }
  .btn-quote-wrap {
    display: flex;
    width: 11.25rem;
    justify-content: center;
  }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 780px);
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Üstten hizalı: dikey fotoğraf kırpılırken çatı ve gökyüzü kadrajda kalır */
  object-position: 70% top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 26, 51, 0.88),
    rgba(7, 26, 51, 0.78),
    rgba(7, 26, 51, 0.55)
  );
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 112px;
  /* Dipte tam --bg (alttaki bölümle dikişsiz birleşsin), yukarı doğru
     hızla saydamlaşır — düz eğim geniş bir parlak bant bırakıyordu.
     rgba değerleri --bg (#f6f8fb) ile aynı renktir. */
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(246, 248, 251, 0.45) 30%,
    rgba(246, 248, 251, 0) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 10;
  padding: 64px 0;
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e0f2fe;
}

.hero h1 {
  margin-top: 16px;
  max-width: 730px;
  font-size: clamp(34px, 9vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-desc {
  margin-top: 16px;
  max-width: 620px;
  font-size: 16px;
  color: #e2e8f0;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-stats {
  margin-top: 32px;
  display: grid;
  gap: 12px;
  max-width: 768px;
}

.stat {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  backdrop-filter: blur(4px);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .hero {
    min-height: 650px;
  }
  /* Geniş ekranda kırpma sertleşir; %22 çatı hizasını kadraja getirir
     (tam üst hizalama gökyüzünde kalıp binayı kadraj dışında bırakıyor) */
  .hero-bg {
    object-position: center 22%;
  }
  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(7, 26, 51, 0.94),
      rgba(7, 26, 51, 0.76),
      rgba(7, 26, 51, 0.18)
    );
  }
  .hero-fade {
    height: 160px;
  }
  .hero-inner {
    padding: 80px 0;
  }
  .hero h1 {
    margin-top: 20px;
    line-height: 0.98;
  }
  .hero-desc {
    margin-top: 20px;
    font-size: 18px;
  }
  .hero-actions {
    margin-top: 32px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .hero-stats {
    margin-top: 44px;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .stat {
    padding: 18px;
  }
  .stat b {
    font-size: 28px;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 720px;
  }
  .hero-inner {
    padding: 96px 0;
  }
  .hero-desc {
    font-size: 19px;
  }
}

/* --- Bölüm aralıkları ---------------------------------------------------- */

.section {
  padding: 56px 0;
  scroll-margin-top: 144px;
}

.section-white {
  background: #fff;
}

@media (min-width: 640px) {
  .section {
    padding: 70px 0;
    scroll-margin-top: 176px;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 90px 0;
  }
}

.section-head {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 34px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
}

/* --- Hakkımızda ---------------------------------------------------------- */

.about-grid {
  display: grid;
  align-items: center;
  gap: 32px;
}

.about-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
}

.about-card p + p {
  margin-top: 16px;
}

.about-lead {
  margin-top: 16px;
  max-width: 540px;
  font-size: 16px;
  color: var(--muted);
}

.about-body {
  font-size: 14px;
  color: #475569;
}

.feature-grid {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.feature {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 16px;
}

.feature strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.feature span {
  font-size: 14px;
  color: var(--muted);
}

.about-link {
  margin-top: 24px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.about-link:hover {
  color: var(--blue);
}

.about-media {
  display: grid;
  gap: 12px;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .about-card {
    border-radius: 24px;
    padding: 32px;
  }
  .about-lead {
    font-size: 17px;
  }
  .about-body {
    font-size: 16px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .feature {
    padding: 18px;
  }
  .about-media {
    gap: 16px;
  }
  .about-media img {
    border-radius: 28px;
    border-width: 6px;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 38px;
  }
}

/* --- Kartlar (hizmet / süreç) -------------------------------------------- */

.card-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .card-grid {
    gap: 22px;
  }
}

@media (min-width: 768px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.service-icon {
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  height: 48px;
  width: 48px;
  border-radius: 16px;
  background: linear-gradient(to bottom right, var(--navy), var(--blue));
  color: #fff;
  font-size: 24px;
}

.service h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.service p {
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .service {
    min-height: 240px;
    border-radius: 24px;
    padding: 30px;
  }
  .service-icon {
    margin-bottom: 20px;
    height: 54px;
    width: 54px;
  }
  .service h3 {
    font-size: 22px;
  }
  .service p {
    font-size: 16px;
  }
}

.step-grid {
  display: grid;
  gap: 12px;
}

.step {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
}

.step-num {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  color: rgba(23, 61, 115, 0.15);
}

.step h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.step p {
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .step {
    border-radius: 24px;
    padding: 26px;
  }
  .step-num {
    margin-bottom: 20px;
    font-size: 36px;
  }
  .step p {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .step-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Proje galerisi ------------------------------------------------------ */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0;
}

.tab {
  flex-shrink: 0;
  border-radius: 999px;
  border: 0;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  background: #fff;
  color: #334155;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab:hover {
  background: #f8fafc;
}

.tab[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}

.gallery {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.gallery[hidden] {
  display: none;
}

.gallery figure {
  margin: 0;
}

/* Görsel kutusu: sabit oran ve kırpma burada; başlık bu kutunun dışında
   kaldığı için kırpılmaz. */
.gallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.gallery figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

/* Kat planları fotoğraf değil; kırpılmadan, tam görünsün */
.gallery figure.plan .gallery-media {
  background: var(--white);
}

.gallery figure.plan img {
  object-fit: contain;
  padding: 10px;
}

@media (min-width: 640px) {
  .tab {
    padding: 8px 16px;
    font-size: 14px;
  }
  .gallery {
    margin-top: 32px;
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-media {
    border-radius: 24px;
  }
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Görsel büyütme (lightbox) ------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
  background: rgba(7, 26, 51, 0.93);
  animation: lightbox-in 0.25s ease;
}

.lightbox[hidden] {
  display: none;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}

.lightbox-btn[hidden] {
  display: none;
}

.lightbox-close {
  top: 14px;
  right: 14px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

@media (min-width: 640px) {
  .lightbox {
    padding: 64px 72px;
  }
  .lightbox-prev {
    left: 20px;
  }
  .lightbox-next {
    right: 20px;
  }
  .lightbox img {
    border-radius: 18px;
  }
}

/* --- CTA ----------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  color: #fff;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7, 26, 51, 0.94),
    rgba(23, 61, 115, 0.84)
  );
}

.cta .container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta h2 {
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 800;
  line-height: 1.06;
  color: #fff;
}

.cta p {
  margin-top: 12px;
  max-width: 620px;
  font-size: 14px;
  color: #e0f2fe;
}

@media (min-width: 640px) {
  .cta {
    padding: 78px 0;
  }
  .cta p {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .cta .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }
}

/* --- İletişim ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  gap: 20px;
}

.panel {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.panel h2 {
  margin-top: 8px;
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 800;
  color: #0f172a;
}

.info-list {
  margin-top: 24px;
}

.info-row {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row b {
  display: block;
  color: #0f172a;
}

.info-row .value {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.info-row a {
  color: var(--muted);
  word-break: break-word;
}

.info-row a:hover {
  color: var(--navy);
}

.info-address {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.phone-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Numaranın üstünde kişi adı */
.phone-list li.phone-named {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.phone-name {
  font-weight: 600;
  color: #0f172a;
}

.wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  width: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  transition: background 0.2s ease;
}

.wa-icon:hover {
  background: #1ebe57;
}

.wa-icon svg {
  height: 14px;
  width: 14px;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s ease;
}

.btn-directions:hover {
  background: var(--blue);
}

@media (min-width: 640px) {
  .contact-grid {
    gap: 30px;
  }
  .panel {
    border-radius: 24px;
    padding: 32px;
  }
  .info-row .value {
    font-size: 16px;
  }
  .info-address {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  .btn-directions {
    align-self: center;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* --- Form ---------------------------------------------------------------- */

.contact-form {
  scroll-margin-top: 144px;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 12px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px var(--navy);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.form-note strong {
  color: #334155;
}

@media (min-width: 640px) {
  .contact-form {
    scroll-margin-top: 176px;
  }
  .form-actions {
    flex-direction: row;
  }
}

/* --- Harita -------------------------------------------------------------- */

.map-wrap {
  margin-top: 32px;
}

.map-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  display: block;
  height: 280px;
  width: 100%;
  border: 0;
}

.map-foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 16px;
}

.map-pin {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: flex-start;
  gap: 12px;
}

.map-pin-icon {
  margin-top: 2px;
  display: grid;
  place-items: center;
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(to bottom right, var(--navy), var(--blue));
  color: #fff;
}

.map-pin-icon svg {
  height: 20px;
  width: 20px;
}

.map-pin .label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.map-pin .name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.map-pin .addr {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.map-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.map-actions .btn {
  padding: 12px 16px;
  font-size: 14px;
}

@media (min-width: 640px) {
  .map-wrap {
    margin-top: 40px;
  }
  .map-card {
    border-radius: 24px;
  }
  .map-card iframe {
    height: 360px;
  }
  .map-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 20px;
  }
  .map-actions {
    display: flex;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .map-card iframe {
    height: 440px;
  }
}

/* --- Alt sayfa başlığı --------------------------------------------------- */

.page-hero {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero .container {
  padding: 40px 0;
}

.page-hero h1 {
  margin-top: 8px;
  max-width: 768px;
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
}

.page-hero p {
  margin-top: 16px;
  max-width: 672px;
  font-size: 16px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .page-hero .container {
    padding: 56px 0;
  }
  .page-hero p {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .page-hero .container {
    padding: 80px 0;
  }
}

/* --- Hakkımızda sayfası -------------------------------------------------- */

.prose-grid {
  display: grid;
  gap: 40px;
}

.prose-grid .intro {
  font-size: 18px;
  line-height: 1.7;
  color: #334155;
}

.prose-grid .detail,
.prose-grid .extra {
  margin-top: 20px;
  line-height: 1.7;
  color: var(--muted);
}

.mv-grid {
  display: grid;
  gap: 24px;
}

.mv-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 32px;
}

.mv-card p {
  margin-top: 16px;
  line-height: 1.7;
  color: #334155;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 64px 0;
}

@media (min-width: 1024px) {
  .prose-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 32px 0;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover {
  color: #fff;
}

@media (min-width: 640px) {
  .site-footer .container {
    flex-direction: row;
    align-items: center;
  }
  .footer-right {
    align-items: flex-end;
  }
}
