/* ================= NAV ================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--paper-on-dark);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.3rem;
}
.nav--solid {
  background: rgba(239, 240, 233, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: var(--hero-h, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper-on-dark);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* mobile: image crops left/right first — bias toward the village */
  object-position: 62% 50%;
}
@media (min-width: 768px) {
  .hero__media img {
    /* desktop: image crops top/bottom first — keep the village/valley band in view */
    object-position: center 56%;
  }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,30,27,var(--ov-1, 0.18)) 0%, rgba(14,30,27,var(--ov-2, 0.5)) 55%, rgba(14,30,27,var(--ov-3, 0.94)) 100%);
}
.hero__contours {
  position: absolute; inset: -10%; opacity: 0.22; mix-blend-mode: overlay; pointer-events: none;
  animation: driftContours 46s linear infinite alternate;
}

.hero__marker {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  transform: translate(-10px, -26px);
}
.hero__marker-pin-wrap { position: relative; width: 20px; height: 26px; flex-shrink: 0; }
.hero__marker-pin { width: 20px; height: 26px; display: block; filter: drop-shadow(0 3px 6px rgba(14, 30, 27, 0.4)); }
.hero__marker-ring {
  position: absolute; left: 10px; top: 25.5px; width: 8px; height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid var(--turquoise);
  animation: heroMarkerPulse 3.2s ease-out infinite;
}
.hero__marker-label {
  font-family: var(--font-display);
  font-size: calc(var(--step-caption) * 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(14, 30, 27, 0.85), 0 1px 10px rgba(14, 30, 27, 0.5);
  white-space: nowrap;
}
@keyframes heroMarkerPulse {
  0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0.55; }
  70%  { opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

.hero__content {
  position: relative; z-index: 1;
  padding-top: calc(var(--nav-height, 88px) + 4rem);
  padding-bottom: clamp(3.5rem, 9vw, 7rem);
}
.hero__content .eyebrow::before { display: none; }
.hero__content h1 { max-width: 15ch; margin-block: 1.3rem 1.4rem; }
.hero__desc { max-width: 46ch; color: rgba(239,240,233,0.86); margin-bottom: 2.4rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__actions .btn--ghost { color: var(--paper-on-dark); border-color: rgba(239,240,233,0.5); }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 2.2rem; z-index: 1;
  width: 1px; height: 60px; background: rgba(239,240,233,0.35);
}
.hero__scroll span {
  position: absolute; top: 0; left: -2.5px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--paper); animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes driftContours { from { transform: translate(0,0) scale(1); } to { transform: translate(-2.4%,-1.8%) scale(1.04); } }
@keyframes scrollDot { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ================= SECTION HEAD (shared) ================= */
.section__head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head h2 { margin-top: 0.9rem; }
.section__head .lede { margin-top: 1rem; }

/* ================= PROCESS ================= */
/* Same dark green as the hero's "KAYNAĞI KEŞFEDİN" button (--moss),
   used directly rather than a similar shade — all text goes white. */
.process { background: var(--process-bg, var(--moss)); color: #fff; }
.process .eyebrow { color: #fff; }
.process .eyebrow::before { display: none; }
.process .body-soft { color: rgba(255, 255, 255, 0.82); }

.process__timeline {
  position: relative;
  padding-left: 40px;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.process__line-track {
  position: absolute;
  left: 19px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 1px;
  overflow: hidden;
}
.process__line-fill {
  width: 100%;
  height: 0%;
  background: #fff;
  transition: height 120ms linear;
}
.process__list { display: flex; flex-direction: column; gap: clamp(2.75rem, 5vw, 4rem); }
.process__item { position: relative; }

.process__dot {
  position: absolute;
  left: -27px;
  top: 0.3em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--process-bg, var(--moss));
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.process__item.is-active .process__dot { background: #fff; border-color: #fff; }

.process__content h3 { font-size: var(--step-h3); margin-bottom: 0.7rem; max-width: 34ch; }
.process__content p { max-width: 52ch; }

@media (min-width: 768px) {
  .process .container { max-width: var(--wide-width, 1160px); }
}
@media (min-width: 1200px) {
  .process .section__head { max-width: 820px; }
  .process__content h3 { max-width: 640px; }
  .process__content p { max-width: 680px; }
}

/* ================= COMMERCIAL ================= */
.commercial { background: var(--paper); }
.commercial .section__head h2 { margin-top: 0; }

.info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.info__card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md, 20px);
  box-shadow: 0 16px 40px -26px rgba(23, 32, 28, 0.14);
  padding: 1.6rem 1.9rem;
}
.info__label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-caption);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.5rem;
}
.info__value {
  color: var(--ink);
  font-size: var(--step-lede);
  font-weight: 500;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
  .info__grid { grid-template-columns: 1fr 1fr; }
  .info__card--wide { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .commercial .container { max-width: var(--wide-width, 1160px); }
}

/* ================= FOOTER ================= */
.footer { background: var(--footer-bg, var(--basin)); color: rgba(239,240,233,0.7); padding-block: 1.5rem; }
.footer__copy { font-size: var(--step-caption); margin: 0; }

/* Yönetim panelinden "Açılış yazısı: ortada" seçilirse */
html[data-hero-align="center"] .hero__content { text-align: center; }
html[data-hero-align="center"] .hero__content .eyebrow { justify-content: center; }
html[data-hero-align="center"] .hero__content h1,
html[data-hero-align="center"] .hero__desc { margin-inline: auto; }
html[data-hero-align="center"] .hero__actions { justify-content: center; }

/* footer: contact details and social links (shown only when filled in the admin panel) */
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line-on-dark); }
.footer__contact { display: flex; flex-wrap: wrap; gap: 0.8rem 2.2rem; font-size: 0.9rem; }
.footer__contact a, .footer__contact p { margin: 0; display: flex; flex-direction: column; gap: 0.15rem; color: rgba(239, 240, 233, 0.9); max-width: 34ch; }
.footer__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__k { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.footer__social { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.5rem 1.4rem; font-size: 0.9rem; }
.footer__social a { color: rgba(239, 240, 233, 0.9); text-decoration: underline; text-underline-offset: 3px; }
.footer__social a:hover { color: #fff; }
