/* =========================================================
   Temel değişkenler ve sıfırlama
   ========================================================= */
:root {
  --color-primary: #0789d6;
  --color-primary-dark: #075f96;
  --color-secondary: #35b56a;
  --color-accent: #0c405f;
  --color-bg: #ffffff;
  --color-bg-soft: #f1f9fc;
  --color-text: #17252d;
  --color-muted: #5d7079;
  --color-border: #d8eaf1;
  --color-whatsapp: #25d366;
  --color-phone: #0d6efd;
  --shadow-soft: 0 14px 35px rgba(7, 95, 150, 0.1);
  --shadow-premium: 0 24px 70px rgba(4, 47, 74, 0.18);
  --shadow-card: 0 18px 45px rgba(7, 95, 150, 0.1);
  --radius: 8px;
  --container: 1120px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

body.lightbox-open {
  overflow: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

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

button {
  font: inherit;
}

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

.section {
  padding: 86px 0;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.two-column h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.2;
}

.section-heading p:last-child {
  margin: 12px 0 0;
  color: var(--color-muted);
}

/* =========================================================
   Navigasyon
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo__mark {
  width: 158px;
  height: 58px;
  display: block;
}

.logo__mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #273235;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-dark);
  background: #dff4fb;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
}

/* =========================================================
   Anasayfa
   ========================================================= */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-start;
  padding-top: 58px;
  padding-bottom: 70px;
  background:
    radial-gradient(circle at 75% 25%, rgba(53, 181, 106, 0.24), transparent 32%),
    linear-gradient(90deg, rgba(4, 47, 74, 0.95) 0%, rgba(7, 95, 150, 0.82) 45%, rgba(7, 137, 214, 0.34) 100%),
    linear-gradient(0deg, rgba(4, 47, 74, 0.28), rgba(4, 47, 74, 0.28)),
    url("img/hero-bg.png") center / cover no-repeat;
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.04;
  text-wrap: balance;
}

.hero__text {
  max-width: 640px;
  margin: 22px 0 0;
  color: #d8e3e0;
  font-size: 1.12rem;
}

.hero .section-kicker {
  color: var(--color-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), #35b5e8);
  box-shadow: 0 14px 34px rgba(7, 137, 214, 0.28);
}

.btn--secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
}

.hero__panel {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(4, 47, 74, 0.18), rgba(4, 47, 74, 0.82)),
    url("bilgi.jpeg") center / cover no-repeat;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.quote-card__list {
  display: grid;
  width: 100%;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #eef7f5;
  font-weight: 700;
}

.quote-card__list li {
  position: relative;
  padding-left: 24px;
}

.quote-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-secondary);
}

/* =========================================================
   İçerik, hizmetler ve galeri
   ========================================================= */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.content-box {
  color: var(--color-muted);
}

.content-box p:first-child {
  margin-top: 0;
}

.service-grid,
.gallery-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.contact-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 253, 0.92));
  box-shadow: var(--shadow-card);
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(53, 181, 106, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  border-color: rgba(7, 137, 214, 0.28);
  box-shadow: 0 24px 60px rgba(7, 95, 150, 0.14);
  transform: translateY(-8px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 14px 30px rgba(7, 137, 214, 0.24);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3,
.contact-card h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: var(--color-muted);
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--color-primary-dark);
  font-weight: 800;
}

.service-card--image {
  display: flex;
  flex-direction: column;
}

.service-card--image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #ffffff;
}

.feature-grid {
  display: grid;
  gap: 22px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 253, 0.92));
  box-shadow: var(--shadow-card);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: contain;
  border-radius: var(--radius);
  background: #ffffff;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--color-muted);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.gallery-item:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.07);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 88px;
  background: rgba(3, 16, 24, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox__image {
  max-width: min(100%, 1120px);
  max-height: calc(100vh - 144px);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(7, 95, 150, 0.74);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(7, 137, 214, 0.92);
  transform: translateY(-1px);
}

.lightbox__close {
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  width: 50px;
  height: 58px;
  border-radius: var(--radius);
  font-size: 2.1rem;
  transform: translateY(-50%);
}

.lightbox__nav:hover {
  transform: translateY(calc(-50% - 1px));
}

.lightbox__nav--prev {
  left: 22px;
}

.lightbox__nav--next {
  right: 22px;
}


/* =========================================================
   SSS accordion
   ========================================================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  color: var(--color-text);
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--color-muted);
}

.faq-item.active .faq-answer {
  max-height: 280px;
}

.faq-item.active .faq-question span {
  background: var(--color-accent);
}

/* =========================================================
   İletişim öncesi CTA şeridi
   ========================================================= */
.cta-strip {
  padding: 72px 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(53, 181, 106, 0.18), transparent 28%),
    linear-gradient(135deg, #043a5c, #075f96 58%, #0c405f);
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(16px);
}

.cta-strip .section-kicker {
  color: var(--color-secondary);
}

.cta-strip h2 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.16;
}

.cta-strip p:last-child {
  margin: 12px 0 0;
  max-width: 620px;
  color: #d8e3e0;
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.btn--whatsapp {
  color: #ffffff;
  background: var(--color-whatsapp);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.25);
}

.btn--call {
  color: #ffffff;
  background: var(--color-phone);
  box-shadow: 0 14px 34px rgba(13, 110, 253, 0.24);
}

/* =========================================================
   İletişim ve harita
   ========================================================= */
.contact-grid {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: stretch;
}

.contact-card {
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 253, 0.94));
}

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

.contact-list li {
  display: grid;
  gap: 4px;
  color: var(--color-muted);
}

.contact-list strong {
  color: var(--color-text);
}

.contact-list a {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.map-wrapper {
  min-height: 360px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}

/* =========================================================
   Sabit WhatsApp ve telefon butonları
   ========================================================= */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(8, 28, 32, 0.24);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.floating-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-3px);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
}

.floating-btn--whatsapp {
  background: var(--color-whatsapp);
}

.floating-btn--phone {
  background: var(--color-phone);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 54px 0 26px;
  color: #ffffff;
  background: #063653;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.7fr) minmax(170px, 0.7fr);
  gap: 34px;
  align-items: start;
}

.footer-brand p,
.footer-column ul,
.footer-bottom p {
  margin: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-logo__mark {
  width: 158px;
  height: 58px;
  display: block;
}

.footer-logo__mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.footer-brand p {
  max-width: 410px;
  color: #c9d7d3;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #c9d7d3;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--color-secondary);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af 78%, #515bd4);
}

.social-link--facebook {
  background: #1877f2;
}

.social-link:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.digital-signature {
  color: #c9d7d3;
  font-size: 0.94rem;
}

/* =========================================================
   Responsive düzenlemeler
   ========================================================= */
@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
  }

  .hero__grid,
  .two-column,
  .contact-grid,
  .cta-strip__inner {
    grid-template-columns: 1fr;
  }

  .cta-strip__actions {
    justify-content: flex-start;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .logo__mark {
    width: 124px;
    height: 48px;
  }

  .navbar {
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0;
  }

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

  .footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    gap: 34px;
  }

  .hero__panel,
  .service-card,
  .contact-card {
    padding: 22px;
  }

  .cta-strip__actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .service-grid--wide {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card img {
    aspect-ratio: 4 / 3;
  }

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

  .gallery-item {
    min-height: 180px;
  }

  .gallery-item img {
    min-height: 180px;
  }

  .lightbox {
    padding: 64px 18px;
  }

  .lightbox__image {
    max-height: calc(100vh - 128px);
    border-radius: var(--radius);
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 14px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .lightbox__nav:hover {
    transform: translateY(-1px);
  }

  .lightbox__nav--prev {
    left: 14px;
  }

  .lightbox__nav--next {
    right: 14px;
  }

  .cta-strip {
    padding: 56px 0;
  }

  .cta-strip__inner {
    padding: 24px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
  }
}
