﻿/* =========================================================
   Temel değişkenler ve sıfırlama
   ========================================================= */
:root {
  --color-primary: #D19A32;
  --color-primary-dark: #B47A16;
  --color-secondary: #E4B85A;
  --color-accent: #F1CC72;
  --color-bg: #ffffff;
  --color-bg-soft: #FFF9EC;
  --color-text: #102A4C;
  --color-muted: #667085;
  --color-border: #EADDBF;
  --color-whatsapp: #25d366;
  --color-phone: #102A4C;
  --shadow-soft: 0 14px 35px rgba(16, 42, 76, 0.1);
  --shadow-premium: 0 24px 70px rgba(13, 35, 66, 0.18);
  --shadow-card: 0 18px 45px rgba(16, 42, 76, 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);
}

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);
}

/* =========================================================
   Üst bar ve navigasyon
   ========================================================= */
.top-bar {
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.92rem;
}

.top-bar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar a {
  font-weight: 700;
  color: var(--color-secondary);
}

.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(8px);
}

.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: 110px;
  height: 100px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: #ffffff;
  overflow: hidden;
}

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

.logo__text {
  white-space: nowrap;
}

.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: var(--color-muted);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.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: 720px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 75% 25%, rgba(241, 204, 114, 0.22), transparent 32%),
    linear-gradient(90deg, rgba(13, 35, 66, 0.82) 0%, rgba(16, 42, 76, 0.68) 45%, rgba(16, 42, 76, 0.22) 100%),
    linear-gradient(0deg, rgba(13, 35, 66, 0.18), rgba(13, 35, 66, 0.18)),
    url("slider-optimized.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.96), transparent);
  pointer-events: none;
}

.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), var(--color-secondary));
  box-shadow: 0 14px 34px rgba(16, 42, 76, 0.28);
}

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

.hero__panel {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(10px);
}

.hero__panel strong {
  display: block;
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
}

.hero__panel p {
  margin: 0 0 18px;
  color: #d8e3e0;
}

.quote-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}

.quote-card__btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #ffffff;
  font-weight: 800;
}

.quote-card__btn--whatsapp {
  background: var(--color-whatsapp);
}

.quote-card__btn--phone {
  background: var(--color-phone);
}

.quote-card__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #eef7f5;
}

.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-accent);
}

.campaign-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0D2342;
  background: linear-gradient(135deg, #FFF3D2, var(--color-accent));
  font-size: 0.82rem;
  font-weight: 800;
}

/* =========================================================
   Güven rozetleri
   ========================================================= */
.trust-section {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 30px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(234, 221, 191, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(8px);
}

.trust-item {
  min-height: 92px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #FFF9EC);
  text-align: center;
}

.trust-item span {
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 900;
}

.trust-item strong {
  color: var(--color-text);
  font-size: 1.02rem;
}

/* =========================================================
   İç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-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(255, 249, 236, 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(241, 204, 114, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

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

.service-card:hover {
  border-color: rgba(209, 154, 50, 0.28);
  box-shadow: 0 24px 60px rgba(16, 42, 76, 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(16, 42, 76, 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);
}

.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);
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(4, 18, 22, 0.86) 100%);
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(4, 18, 22, 0.88), transparent);
  font-size: 1rem;
  font-weight: 800;
}

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

.gallery-item:hover::after {
  opacity: 1;
}

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

.lightbox.open {
  display: flex;
}

.lightbox__image {
  max-width: min(100%, 1120px);
  max-height: 86vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow-premium);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

/* =========================================================
   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: 180px;
}

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

/* =========================================================
   İletişim öncesi CTA şeridi
   ========================================================= */
.cta-strip {
  padding: 72px 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(241, 204, 114, 0.2), transparent 28%),
    linear-gradient(135deg, #0D2342, #102A4C 58%, #D19A32);
}

.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(8px);
}

.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(16, 42, 76, 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(255, 249, 236, 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(6, 27, 61, 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: #0D2342;
}

.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: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #0D2342;
  background: #ffffff;
  overflow: hidden;
}

.footer-logo__text {
  font-size: 1.2rem;
}

.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--facebook {
  background: #102A4C;
}

.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,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-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));
  }

  .top-bar__inner,
  .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;
  }

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

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .trust-section {
    margin-top: -26px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .trust-item {
    min-height: 78px;
  }

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

  .cta-strip__inner {
    padding: 24px;
  }

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

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

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

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

  .site-header,
  .btn--secondary,
  .hero__panel,
  .trust-grid,
  .cta-strip__inner {
    backdrop-filter: blur(4px);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

