/* ═══════════════════════════════════════════════════════════════
   Çam Vadisi Bungalov — style.css
   Palet: orman yeşili #2F4A3C · ahşap #8B5E3C · puslu göl #A9BFC4
          kırık beyaz #FAF6EF · köz turuncusu #C96F2E (yalnızca CTA)
   Tipografi: Fraunces (başlık) + Source Sans 3 (metin), latin-ext
   Mobil öncelikli: temel stiller 375px için, genişletmeler @media ile
   ═══════════════════════════════════════════════════════════════ */

:root {
  --green: #2F4A3C;
  --green-deep: #24382E;
  --wood: #8B5E3C;
  --mist: #A9BFC4;
  --cream: #FAF6EF;
  --ember: #C96F2E;
  --ink: #3A453F;
  --ink-soft: #5C6862;
  --line: rgba(47, 74, 60, 0.12);
  --tint: rgba(169, 191, 196, 0.18);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(47, 74, 60, 0.07);
  --shadow-lift: 0 10px 28px rgba(47, 74, 60, 0.14);
  --header-h: 64px;
}

/* ── Taban ─────────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--green);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}

p { margin: 0 0 1em; }

img {
  max-width: 100%;
  display: block;
}

a { color: var(--wood); }

::selection {
  background: var(--ember);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  width: min(100% - 2.5rem, 1100px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--green);
  color: var(--cream);
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Yer tutucu görseller: fotoğraf eklenince arka plan görünmez olur */
.ph {
  background-color: var(--mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 84'%3E%3Cg fill='%232F4A3C' fill-opacity='.25'%3E%3Cpath d='M32 4 18 28h28z'/%3E%3Cpath d='M32 20 12 50h40z'/%3E%3Cpath d='M32 38 8 72h48z'/%3E%3Cpath d='M28 72h8v10h-8z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 42%;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon[fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}

/* ── Butonlar ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--cta {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 3px 12px rgba(201, 111, 46, 0.35);
}

.btn--cta:hover {
  background: var(--wood);
}

.btn--ghost {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 2px currentColor;
}

.btn--ghost:hover {
  color: var(--wood);
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
}

.btn--lg {
  padding: 1rem 2.1rem;
  font-size: 1.1rem;
}

/* ── Üst menü ──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--green);
  margin-right: auto;
}

.brand__mark {
  width: 28px;
  height: 28px;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__name span {
  font-weight: 500;
  color: var(--wood);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.site-nav a:not(.btn) {
  display: block;
  padding: 0.9rem 0.25rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.site-nav a:not(.btn):hover {
  color: var(--wood);
}

/* Mobil: menü panel olarak açılır */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  padding: 0.5rem 1.25rem 1.25rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.site-header.nav-open .site-nav {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-nav__cta {
  margin-top: 0.75rem;
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.nav-open .nav-toggle__bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle__bar:nth-child(3) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle__bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 800px) {
  .site-nav {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
  }

  .site-nav a:not(.btn) {
    padding: 0.35rem 0;
  }

  .site-nav__cta {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: min(92svh, 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: auto 34%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(36, 56, 46, 0.62) 0%,
    rgba(36, 56, 46, 0.38) 55%,
    rgba(36, 56, 46, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 6.5rem 0 5rem;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  font-weight: 600;
  margin-bottom: 0.35em;
  text-wrap: balance;
}

.hero__tagline {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.2rem, 4.2vw, 1.6rem);
  color: var(--cream);
  margin-bottom: 0.9em;
}

.hero__sub {
  color: rgba(250, 246, 239, 0.88);
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 2.1em;
  font-size: clamp(1rem, 3.4vw, 1.1rem);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hero__scroll {
  color: rgba(250, 246, 239, 0.9);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 246, 239, 0.45);
  padding-bottom: 2px;
}

.hero__scroll:hover {
  color: #fff;
  border-color: #fff;
}

/* ── Bölümler & ayraç ──────────────────────────────────────── */

.section {
  padding: 4rem 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--tinted {
  background: var(--tint);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--wood);
  margin-bottom: 0.7rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 5.5vw, 2.5rem);
  margin-bottom: 0.4em;
}

.section-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

.divider {
  color: var(--wood);
  opacity: 0.55;
  max-width: 420px;
  margin: 0.5rem auto;
  padding: 0 1.5rem;
}

.divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Bungalov kartları ─────────────────────────────────────── */

.cards {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-lift);
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); }
}

.card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card__body {
  padding: 1.4rem 1.5rem 1.7rem;
}

.card__body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5em;
}

.card__amenities {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.card__amenities li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.18rem 0;
}

.card__amenities li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wood);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.card__capacity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0.4em;
}

.card__price {
  font-family: var(--font-head);
  color: var(--green);
  font-size: 1.05rem;
  margin-bottom: 1.2em;
}

.card__price strong {
  font-size: 1.35rem;
  font-weight: 700;
}

.cards__note {
  margin-top: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-align: center;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

/* ── Olanaklar ─────────────────────────────────────────────── */

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.25rem;
}

.feature {
  text-align: center;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green);
  margin-bottom: 0.8rem;
}

.feature__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-family: var(--font-body);
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3em;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
  }
}

/* ── Galeri ────────────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery__item {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery__item:hover img { transform: scale(1.04); }
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* ── Lightbox ──────────────────────────────────────────────── */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 900px);
}

.lightbox::backdrop {
  background: rgba(36, 56, 46, 0.85);
}

.lightbox__img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox__caption {
  color: var(--cream);
  text-align: center;
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
}

.lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: 0.25rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--green);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: #fff;
}

/* ── Konum ─────────────────────────────────────────────────── */

.location {
  display: grid;
  gap: 2rem;
}

.location__list {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
}

.location__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(139, 94, 60, 0.35);
}

.location__time {
  font-weight: 700;
  color: var(--wood);
  white-space: nowrap;
}

.location__address {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 900px) {
  .location {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }
}

/* ── İletişim ──────────────────────────────────────────────── */

#iletisim .section-head {
  margin-inline: auto;
  text-align: center;
}

.contact-card {
  max-width: 640px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.contact-card__lead {
  font-size: 1.1rem;
  margin-bottom: 1.5em;
}

.contact-card__note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 1.4em 0 0;
}

.contact-card__channels {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px dashed rgba(139, 94, 60, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.contact-card__channels a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.contact-card__channels a:hover {
  color: var(--wood);
}

@media (min-width: 700px) {
  .contact-card {
    padding: 3rem 3rem 2.5rem;
  }

  .contact-card__channels {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
  }
}

/* ── Alt bilgi ─────────────────────────────────────────────── */

.site-footer {
  background: var(--green);
  color: rgba(250, 246, 239, 0.85);
  margin-top: 2rem;
  padding: 2.75rem 0 2.25rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.brand--footer {
  color: var(--cream);
}

.brand--footer .brand__name span {
  color: var(--mist);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
}

.footer-nav a {
  color: rgba(250, 246, 239, 0.85);
  text-decoration: none;
  font-size: 0.98rem;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9rem;
  color: rgba(250, 246, 239, 0.6);
  margin: 0;
}

/* ── Kaydırmada belirme (yalnızca JS varsa) ────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .cards .card.reveal:nth-child(2) { transition-delay: 0.08s; }
.js .cards .card.reveal:nth-child(3) { transition-delay: 0.16s; }
.js .features .feature.reveal:nth-child(2n) { transition-delay: 0.08s; }
.js .features .feature.reveal:nth-child(3n) { transition-delay: 0.14s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Geniş ekran ince ayarları ─────────────────────────────── */

@media (min-width: 800px) {
  .section {
    padding: 5.5rem 0;
  }

  .divider {
    margin: 1rem auto;
  }
}
