/* Portfoy detay sayfalari (tek sablon: _includes/portfoy-detay.njk). Hero gorseli sayfada inline. */
:root {
  --serif: 'Fraunces',serif;
  --sans: 'General Sans',sans-serif;
  --black: #0d0d0d;
  --white: #ffffff;
  --warm: #f7f6f1;
  --dark: #0f0f0f;
  --muted: #666;
  --border: #e5e1d8;
  --accent: #c8a96e;
  --accent-text: #7e6330;
  --r: 6px;
  --t: .24s ease;
  /* ── Type scale ── */
  --fs-display: clamp(42px,5.8vw,80px);
  --fs-mega: clamp(72px,13vw,200px);
  --fs-h3: clamp(24px,2.6vw,38px);
  --fs-h4: clamp(20px,2vw,28px);
  --fs-stat: clamp(36px,4.5vw,56px);
  --fs-lead: clamp(17px,1.6vw,22px);
  --fs-sub: clamp(15px,1.3vw,18px);
  --fs-eyebrow: clamp(13px,1.05vw,17px);
  --fs-h1: clamp(38px,5vw,72px);
  --fs-h2: clamp(30px,3.8vw,48px);
  --fs-body: clamp(16px,1.5vw,19px);
  --fs-small: 15px;
  --fs-caption: 13px;
  /* ── Radius ── */
  --r-pill: 999px;
  --r-card: 12px;
  --r-sm: var(--r);
  /* ── Spacing scale ── */
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 80px;
  --sp-9: 96px;
  --sp-10: 112px;
  --section-y: var(--sp-9);
  /* ── Tracking ── */
  --track-tight: -0.02em;
  --track-normal: 0em;
  --track-label: 0.12em;
  --track-wide: 0.2em;
}

.hamburger svg .mti-top {
  stroke-dasharray: 12 63;
  transition: stroke-dasharray .35s ease-in-out,stroke-dashoffset .35s ease-in-out;
}

.pd-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease;
}

footer {
  background: #090909;
  color: #fff;
  padding: 72px 52px 32px;
  margin-inline: 15px;
}

@media (max-width:768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  footer {
    padding: 48px 20px 28px;
  }
}

@media (max-width:900px) {
  .pd-body {
    grid-template-columns: 1fr;
  }

  .pd-right {
    position: static;
    padding: 0 24px 48px;
    border-top: 1px solid var(--border);
  }

  .pd-left {
    border-right: none;
    padding: 44px 24px 52px;
  }
}

@media (max-width:768px) {
  .pd-hero {
    min-height: 100svh;
  }

  .pd-hero-inner {
    padding: 20px;
  }

  .pd-hero-top {
    padding-top: 72px;
  }

  .pd-title {
    letter-spacing: -1px;
    margin-bottom: 20px;
  }

  .pd-actions {
    flex-direction: column;
    width: 100%;
  }

  .pd-btn-solid,
  .pd-btn-outline {
    width: 100%;
    justify-content: center;
  }

  .pd-crumb {
    padding: 16px 20px;
  }

  .pd-feats {
    grid-template-columns: repeat(2,1fr);
  }

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

  .pd-gallery-cell:first-child {
    grid-row: auto;
    aspect-ratio: 4/3;
  }

  .pd-map-sec {
    padding: 44px 20px;
  }

  .pd-similar {
    padding: 52px 20px 60px;
  }

  .pd-similar-grid {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 52px 20px 28px;
    margin-inline: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bot {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.snav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.snav-links {
  position: static!important;
  display: flex!important;
  align-items: center!important;
  justify-content: center!important;
  flex: 1!important;
  gap: 0!important;
  list-style: none!important;
  padding: 0!important;
  margin: 0!important;
  max-width: none!important;
  background: transparent!important;
  border: none!important;
  box-shadow: none!important;
}

.snav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: #c8a96e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

@media (max-width:860px) {
  .snav-links {
    display: none!important;
  }

  .snav-wa {
    display: none;
  }

  .site-nav {
    padding: 0 20px;
  }

  .snav-right {
    margin-left: auto;
  }
}

.fm-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: auto;
}

.fm-nav {
  position: static!important;
  top: auto!important;
  left: auto!important;
  right: auto!important;
  z-index: auto!important;
  padding: 0!important;
  justify-content: flex-start!important;
  align-items: stretch!important;
}

.fm-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .4s ease,transform .4s ease,color .22s;
}

.fm-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.22);
  letter-spacing: .08em;
  flex-shrink: 0;
  width: 24px;
  transition: color .22s ease;
}

.fm-title {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  color: #fff;
  letter-spacing: var(--track-tight);
  line-height: 1;
  transition: color .22s ease,transform .28s ease;
}

@media (max-width:860px) {
  .fullmenu {
    grid-template-columns: 1fr;
  }

  .fm-right {
    display: none;
  }

  .fm-left {
    padding: 0 22px calc(20px + env(safe-area-inset-bottom,0px));
  }

  .fm-eyebrow {
    margin-top: 16px;
    margin-bottom: 8px;
  }

  .fm-nav {
    margin-bottom: 0;
  }

  .fm-item {
    align-items: center;
    gap: 0;
    padding: 0;
    min-height: 54px;
    border-top: 1px solid rgba(255,255,255,.06);
  }

  .fm-item:last-child {
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .fm-num {
    display: none;
  }

  .fm-subtitle {
    display: none;
  }

  .fm-title {
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .01em;
    color: rgba(255,255,255,.92);
    line-height: 1.3;
  }

  .fm-item::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1.5px solid rgba(255,255,255,.28);
    border-right: 1.5px solid rgba(255,255,255,.28);
    transform: rotate(45deg);
    margin-left: auto;
    flex-shrink: 0;
    transition: border-color .2s ease;
  }

  .fm-item:hover .fm-title {
    transform: none;
    color: #fff;
  }

  .fm-item[aria-current="page"] .fm-title {
    color: #7e6330;
  }

  .fm-item[aria-current="page"]::after {
    border-color: rgba(200,169,110,.65);
  }

  .fm-left-bottom {
    margin-top: 26px;
    gap: 3px;
  }

  .fm-wa-mobile {
    display: flex;
  }
}

@media (max-width:768px) {
  .pd-feats,
  .pd-gallery {
    grid-template-columns: 1fr !important;
  }
}

footer {
  background: #090909;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-inline: 0;
}

nav.footer-nav-links,
nav.footer-bottom-nav {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  background: transparent;
  border: none;
  padding: 0!important;
  box-shadow: none;
  display: flex;
}

.footer-email-input::placeholder {
  color: rgba(255,255,255,.28);
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  justify-content: flex-start;
}

@media (max-width:768px) {
  .footer-container {
    padding: 48px 20px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 48px;
  }

  .footer-bottom {
    padding: 18px 20px 24px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}
