/* =========================================================
   Temel değişkenler ve sıfırlama
   ========================================================= */
:root {
  --color-primary: #2a2520;
  --color-primary-dark: #171411;
  --color-secondary: #b58a5b;
  --color-accent: #d7b98d;
  --color-bg: #fbf8f2;
  --color-bg-soft: #f0e7da;
  --color-surface: #fffdf8;
  --color-text: #28231f;
  --color-muted: #756b60;
  --color-border: #ded0bf;
  --color-whatsapp: #2f8f5b;
  --color-phone: #8b6748;
  --shadow-soft: 0 14px 36px rgba(42, 37, 32, 0.08);
  --shadow-premium: 0 28px 80px rgba(23, 20, 17, 0.22);
  --shadow-card: 0 18px 48px rgba(42, 37, 32, 0.1);
  --radius: 8px;
  --container: 1180px;
  --header-height: 80px;
}

* {
  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.65;
  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: 96px 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.44), rgba(240, 231, 218, 0.92)),
    var(--color-bg-soft);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

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

.section-heading h2,
.about-content h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.08;
  color: var(--color-primary-dark);
}

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

/* =========================================================
   Navigasyon
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(251, 248, 242, 0.93);
  border-bottom: 1px solid rgba(222, 208, 191, 0.82);
  backdrop-filter: blur(14px);
}

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

.logo,
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  color: var(--color-primary-dark);
}

.logo__title,
.footer-logo__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
}

.logo__subtitle,
.footer-logo__subtitle {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav-link {
  display: inline-flex;
  padding: 10px 11px;
  border-radius: var(--radius);
  color: #4e453d;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary-dark);
  background: rgba(181, 138, 91, 0.14);
}

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

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

/* =========================================================
   Anasayfa
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(700px, calc(100vh - var(--header-height)), 760px);
  display: flex;
  align-items: center;
  padding: 104px 0 88px;
  background:
    linear-gradient(90deg, rgba(16, 14, 12, 0.88) 0%, rgba(32, 27, 23, 0.68) 34%, rgba(32, 27, 23, 0.22) 64%, rgba(32, 27, 23, 0.04) 100%),
    url("img/hero-bg.png") center right / cover no-repeat;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.hero__content > * {
  max-width: 690px;
}

.hero h1 {
  margin: 0;
  color: #fff8ec;
  font-size: clamp(2.55rem, 6vw, 5.35rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero__text {
  margin: 24px 0 0;
  color: #efe2d2;
  font-size: 1.12rem;
}

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

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

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

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

.btn--primary {
  color: #211b16;
  background: linear-gradient(135deg, #e2c497, var(--color-secondary));
  box-shadow: 0 18px 42px rgba(181, 138, 91, 0.34);
}

.btn--secondary {
  color: #fff8ec;
  background: rgba(255, 248, 236, 0.08);
  border-color: rgba(255, 248, 236, 0.34);
  backdrop-filter: blur(10px);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 248, 236, 0.24);
  list-style: none;
  color: #f2dfc5;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero__trust li {
  position: relative;
  padding-left: 18px;
}

.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* =========================================================
   Hakkımızda, hizmetler ve projeler
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 58px;
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 560px;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 253, 248, 0.54);
  pointer-events: none;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  object-fit: cover;
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.about-stats span {
  padding: 16px 14px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.88rem;
}

.about-stats strong {
  display: block;
  color: var(--color-primary-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

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

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

.service-card,
.contact-card,
.process-step {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow-card);
}

.service-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  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;
  border-top: 3px solid rgba(181, 138, 91, 0.72);
  opacity: 0.72;
}

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

.service-card:hover {
  border-color: rgba(181, 138, 91, 0.56);
  box-shadow: 0 26px 64px rgba(42, 37, 32, 0.14);
  transform: translateY(-6px);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(181, 138, 91, 0.34);
  border-radius: var(--radius);
  color: var(--color-secondary);
  background: #fbf3e7;
}

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

.service-card h3,
.contact-card h3,
.process-step h3 {
  margin: 20px 0 8px;
  font-size: 1.22rem;
  line-height: 1.22;
}

.service-card p,
.process-step 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.35;
  min-height: 270px;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(23, 20, 17, 0.86) 100%);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px;
  color: #fff8ec;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.gallery-item:hover img {
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.055);
}

/* =========================================================
   Çalışma süreci
   ========================================================= */
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  min-height: 250px;
  padding: 28px;
}

.process-step span {
  display: inline-block;
  color: var(--color-secondary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  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: #fff8ec;
  background: var(--color-primary);
}

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

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

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

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

/* =========================================================
   İletişim öncesi CTA şeridi
   ========================================================= */
.cta-strip {
  padding: 78px 0;
  background:
    linear-gradient(135deg, rgba(23, 20, 17, 0.94), rgba(61, 50, 40, 0.93)),
    url("img/hero-bg.png") center / cover no-repeat;
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 0;
}

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

.cta-strip h2 {
  margin: 0;
  max-width: 760px;
  color: #fff8ec;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.08;
}

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

.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(47, 143, 91, 0.24);
}

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

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

.contact-card {
  padding: 32px;
}

.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: 380px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  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(42, 37, 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: 58px 0 26px;
  color: #fff8ec;
  background: var(--color-primary-dark);
}

.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-logo {
  margin-bottom: 18px;
  color: #fff8ec;
}

.footer-logo__subtitle,
.footer-brand p,
.footer-column a,
.footer-bottom p {
  color: #d9c8b3;
}

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

.footer-brand p {
  max-width: 430px;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: #fff8ec;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
}

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

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

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

.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 rgba(255, 248, 236, 0.16);
  border-radius: var(--radius);
  color: #fff8ec;
  background: rgba(255, 248, 236, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link--instagram {
  background: linear-gradient(135deg, #b58a5b, #8b6748);
}

.social-link--facebook {
  background: #5b5148;
}

.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, 248, 236, 0.14);
}

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

/* =========================================================
   Responsive düzenlemeler
   ========================================================= */
@media (max-width: 1040px) {
  .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: var(--color-surface);
    box-shadow: var(--shadow-soft);
  }

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

  .nav-link {
    width: 100%;
  }

  .about-grid,
  .contact-grid,
  .cta-strip__inner {
    grid-template-columns: 1fr;
  }

  .about-media,
  .about-media img {
    min-height: 430px;
  }

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

  .service-grid,
  .gallery-grid,
  .process-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));
  }

  .section {
    padding: 66px 0;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .navbar {
    min-height: var(--header-height);
  }

  .logo__title {
    font-size: 1.25rem;
  }

  .logo__subtitle {
    font-size: 0.62rem;
  }

  .hero {
    min-height: 640px;
    align-items: flex-end;
    padding: 92px 0 54px;
    background:
      linear-gradient(90deg, rgba(16, 14, 12, 0.9) 0%, rgba(32, 27, 23, 0.72) 58%, rgba(32, 27, 23, 0.18) 100%),
      url("img/hero-bg.png") 62% center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(2.32rem, 13vw, 3.35rem);
  }

  .hero__text {
    font-size: 1rem;
  }

  .hero__actions,
  .cta-strip__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero__trust {
    gap: 8px 14px;
  }

  .about-media,
  .about-media img {
    min-height: 330px;
  }

  .about-stats,
  .service-grid,
  .gallery-grid,
  .process-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .contact-card,
  .process-step {
    padding: 24px;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-top: 28px;
    padding-top: 18px;
  }

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

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