/* =====================================================================
   La Luz Bozcaada — Modern katman (override)
   style.css'ten SONRA yüklenir. Marka: teal #004a4f + altın #a1820b/#fdb634,
   Merriweather (başlık) + Poppins (gövde). Palet/fontlar DEĞİŞMEZ.
   ===================================================================== */

:root {
  --ll-teal: #004a4f;
  --ll-teal-deep: #023b3f;
  --ll-teal-700: #013b40;
  --ll-gold: #a1820b;
  --ll-gold-bright: #fdb634;
  --ll-gold-text: #7a6108;   /* açık zeminde küçük METİN için AA-uyumlu koyu altın (~6:1) */
  --ll-ink: #35465a;
  --ll-ink-soft: #5c6b7a;
  --ll-cream: #f7f4ec;          /* sıcak kırık beyaz */
  --ll-cream-deep: #efe9dd;
  --ll-line: rgba(0, 74, 79, .12);
  --ll-line-soft: rgba(0, 74, 79, .07);

  /* teal-tonlu gölgeler (saf siyah değil) */
  --ll-sh-sm: 0 2px 10px rgba(0, 45, 49, .06);
  --ll-sh: 0 12px 32px -14px rgba(0, 45, 49, .22);
  --ll-sh-lg: 0 26px 60px -22px rgba(0, 45, 49, .32);
  --ll-sh-gold: 0 14px 34px -16px rgba(161, 130, 11, .40);

  /* rol-bazlı radius ölçeği (tek-tip değil) */
  --ll-r-sm: 10px;   /* thumbnail / chip */
  --ll-r: 14px;      /* galeri / harita / panel */
  --ll-r-lg: 18px;   /* kart / büyük görsel */

  --ll-t-fast: 180ms cubic-bezier(.22, .61, .36, 1);
  --ll-t: 280ms cubic-bezier(.22, .61, .36, 1);
  --ll-t-slow: 520ms cubic-bezier(.22, .61, .36, 1);

  --ll-container: 1240px;
}

/* ---------- Global ---------- */
html { scroll-behavior: smooth; }

body {
  color: var(--ll-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(161, 130, 11, .18); color: var(--ll-teal); }

/* erişilebilir odak halkası */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.menu__link:focus-visible {
  outline: 2px solid var(--ll-gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; }

/* başlıklar: daha oturaklı ritim + akışkan display ölçek */
.title {
  font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;   /* serif display negatif tracking ister */
  text-wrap: balance;
}
.title small {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

/* Bölüm başlığı bileşeni (eyebrow + başlık + altın çizgi) */
.section-head { margin-bottom: 56px; }
.section-head .title { margin-bottom: 0; }
.section-head small,
.section-head > small {
  display: inline-block;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ll-gold-text);
  font-family: "Poppins", sans-serif;
  margin-bottom: 14px;
}
.section-head.text-center .title::after {
  content: "";
  display: block;
  width: 54px; height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--ll-gold-bright), transparent);
}
.section-head--light .title { color: #fff; }
.section-head--light small { color: var(--ll-gold-bright); }

/* ---------- Butonlar ---------- */
.btn {
  border-radius: 999px;
  padding: .72rem 1.7rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: transform var(--ll-t-fast), box-shadow var(--ll-t), background var(--ll-t), color var(--ll-t), border-color var(--ll-t);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { padding: .95rem 2.3rem; font-size: 1.02rem; }

.btn-primary:hover { box-shadow: var(--ll-sh-gold); }
.btn-secondary:hover { box-shadow: var(--ll-sh-gold); }
.btn-outline-primary { border-width: 1.5px; }
.btn-outline-primary:hover { box-shadow: var(--ll-sh-gold); }
.btn-outline-white { border-width: 1.5px; backdrop-filter: blur(2px); }
.btn-outline-white:hover { box-shadow: 0 14px 34px -16px rgba(0,0,0,.5); }

/* ---------- Header / Menü ---------- */
.header { transition: box-shadow var(--ll-t), background var(--ll-t); }
.header--fixed { box-shadow: 0 6px 24px -14px rgba(0,45,49,.35); }

.menu__link {
  position: relative;
  padding-bottom: 4px;
}
.menu__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--ll-gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ll-t);
}
.menu__link:hover::after { transform: scaleX(1); }
.menu__link--rezervation::after { display: none; }

.menu__link--rezervation {
  border-radius: 999px;
  padding: 12px 26px;            /* base'in asimetrik 30/4 padding'ini ez → metin dikey ortalı */
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: transform var(--ll-t-fast), box-shadow var(--ll-t), background var(--ll-t);
}
.menu__link--rezervation:hover { transform: translateY(-2px); box-shadow: var(--ll-sh-gold); }

/* ---------- Hero (Vimeo korunur, sadece rötuş) ---------- */
.hero__title { letter-spacing: -0.02em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero__text { opacity: .95; letter-spacing: .01em; }
.hero__content .btn-outline-white { padding: .85rem 2.2rem; }

/* Rezervasyon widget'ı — nefes payı */
#hr_search_widget { border-radius: 0; }

/* ---------- home-about ---------- */
.home-about { align-items: stretch; }
.home-about__img { overflow: hidden; position: relative; }
.home-about__img img { transition: transform var(--ll-t-slow); }
.home-about:hover .home-about__img img { transform: scale(1.04); }
.home-about__content { padding: clamp(30px, 5vw, 72px); }
.home-about__content .title { margin-bottom: 22px; }
.home-about__content .text-content { color: var(--ll-ink-soft); max-width: 62ch; }
.home-about__content .flex-start { margin-top: 12px; gap: 12px; }

/* ---------- Oda kartları (ferah + hover) ---------- */
.home-rooms { padding-top: 96px; }
.home-rooms .title { margin-bottom: 64px; }

.room {
  background: #fff;
  border-radius: var(--ll-r-lg);
  overflow: hidden;
  box-shadow: var(--ll-sh-sm);
  border: 1px solid var(--ll-line-soft);
  transition: transform var(--ll-t), box-shadow var(--ll-t), border-color var(--ll-t);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.room:hover {
  transform: translateY(-8px);
  box-shadow: var(--ll-sh-lg);
  border-color: transparent;
}
.room__img {
  margin-bottom: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.room__img a { display: block; width: 100%; height: 100%; }
.room__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--ll-t-slow);
}
.room:hover .room__img img { transform: scale(1.07); }
.room__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,45,49,.28));
  opacity: 0; transition: opacity var(--ll-t);
}
.room:hover .room__img::after { opacity: 1; }

.room__content { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.room__title { align-items: flex-start; margin-bottom: 12px; gap: 12px; }
.room__title a { font-size: 1.28rem; line-height: 1.25; }
.room__title a small { font-size: .74rem; letter-spacing: .04em; }
.room:hover .room__title a { color: var(--ll-gold-text); }

.room__person {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,74,79,.07);
  color: var(--ll-teal);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .8rem;
  font-weight: 500;
}
.room__person .bi { top: 0; }

.room__text {
  color: var(--ll-ink-soft);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* "Detayları gör" mikro-CTA */
.room__content .room__more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "Poppins", sans-serif;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ll-teal);
  text-decoration: none;
}
.room__more svg { transition: transform var(--ll-t); }
.room:hover .room__more { color: var(--ll-gold-text); }
.room:hover .room__more svg { transform: translateX(5px); }

/* slider nefes payı — dikey padding gölge için, overflow HIDDEN (yatay taşmayı önler) */
.rooms-slider.swiper, #rooms-slider.swiper { padding: 8px 4px 42px; overflow: hidden; }
.rooms-slider .swiper-slide { height: auto; }
/* mobil swipe akıcılığı: görselin native sürüklemesi swipe'ı kesmesin */
.rooms-slider img, .gallery-slider img { -webkit-user-drag: none; user-select: none; }
.rooms-slider, .gallery-slider { touch-action: pan-y; cursor: grab; }
.rooms-slider:active, .gallery-slider:active { cursor: grabbing; }

/* ---------- Özellik bandı (SS1) — modüler + hizalı ---------- */
.home-features {
  display: block;
  margin: 0;
  padding: clamp(60px, 8vw, 104px) 0;
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(255,255,255,.06), transparent 60%),
    var(--ll-teal);
  position: relative;
}
.home-features::before,
.home-features::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253,182,52,.4), transparent);
}
.home-features::before { top: 0; }
.home-features::after { bottom: 0; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--ll-r-lg);
  overflow: hidden;
  background: rgba(255,255,255,.03);
}
.feature-cell {
  padding: clamp(30px, 4vw, 46px) 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,.12);
  transition: background var(--ll-t);
}
.feature-cell:first-child { border-left: 0; }
.feature-cell:hover { background: rgba(255,255,255,.05); }

.feature-cell__icon {
  width: 96px; height: 96px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(253,182,52,.10);
  border: 1px solid rgba(253,182,52,.28);
  transition: transform var(--ll-t), background var(--ll-t), border-color var(--ll-t);
}
.feature-cell:hover .feature-cell__icon {
  transform: translateY(-6px);
  background: rgba(253,182,52,.16);
  border-color: rgba(253,182,52,.5);
}
.feature-cell__icon img {
  width: 52px; height: 52px; object-fit: contain;
  filter: brightness(0) invert(1);
}
.feature-cell__title {
  display: block;
  color: #fff;
  font-family: "Merriweather", serif;
  font-size: 1.24rem;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: .005em;
}
.feature-cell__text {
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0;
  max-width: 34ch;
}

/* ---------- Home galeri slider ---------- */
.home-gallery { padding: clamp(64px, 9vw, 110px) 0; }
.gallery-slider.swiper { overflow: hidden; padding-bottom: 42px; }  /* altta pagination'a yer */
.gallery-slider .swiper-slide { height: auto; }
.gallery-slider .swiper-pagination { bottom: 6px; }
.gallery-slide {
  display: block; position: relative;
  border-radius: var(--ll-r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--ll-sh-sm);
}
.gallery-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--ll-t-slow), filter var(--ll-t);
}
.gallery-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,45,49,.42));
  opacity: 0; transition: opacity var(--ll-t);
}
.gallery-slide:hover img { transform: scale(1.06); }
.gallery-slide:hover::after { opacity: 1; }
.gallery-slide__zoom {
  position: absolute; z-index: 2;
  right: 14px; bottom: 14px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ll-teal);
  transform: scale(.6); opacity: 0;
  transition: transform var(--ll-t), opacity var(--ll-t);
}
.gallery-slide__zoom svg { width: 18px; height: 18px; }
.gallery-slide:hover .gallery-slide__zoom { transform: scale(1); opacity: 1; }

/* swiper okları/pagination — marka rengi */
.gallery-slider .swiper-button-next,
.gallery-slider .swiper-button-prev,
.rooms-slider .swiper-button-next,
.rooms-slider .swiper-button-prev {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--ll-teal);
  box-shadow: var(--ll-sh);
  transition: transform var(--ll-t-fast), background var(--ll-t), color var(--ll-t);
}
.gallery-slider .swiper-button-next:hover,
.gallery-slider .swiper-button-prev:hover,
.rooms-slider .swiper-button-next:hover,
.rooms-slider .swiper-button-prev:hover {
  background: var(--ll-teal); color: #fff; transform: scale(1.06);
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 1.05rem !important; font-weight: 700; }
.swiper-pagination-bullet { background: var(--ll-teal); opacity: .28; transition: opacity var(--ll-t), transform var(--ll-t); }
.swiper-pagination-bullet-active { background: var(--ll-gold); opacity: 1; transform: scale(1.25); }

/* ---------- Banner (alt sayfa hero) + yüzen kart ---------- */
.banner {
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(253,182,52,.10), transparent 55%),
    var(--ll-teal);
  position: relative;
}
.banner .title { position: relative; z-index: 2; }
.page-content {
  border-radius: var(--ll-r-lg);
  box-shadow: var(--ll-sh);
  padding: clamp(24px, 4vw, 46px);
}

/* ---------- Oda detay ---------- */
.room-detail-page .room-gallery__big {
  border-radius: var(--ll-r-lg);
  overflow: hidden;
  box-shadow: var(--ll-sh);
  aspect-ratio: 16 / 11;
}
.room-gallery__big a { display: block; width: 100%; height: 100%; }
.room-gallery__big img { transition: transform var(--ll-t-slow); }
.room-gallery__big:hover img { transform: scale(1.05); }
.row--gallery { margin-top: 12px; }
.col--gallery a {
  display: block; border-radius: var(--ll-r-sm); overflow: hidden;
  aspect-ratio: 1 / 1; box-shadow: var(--ll-sh-sm);
  transition: transform var(--ll-t-fast), box-shadow var(--ll-t);
}
.col--gallery a:hover { transform: translateY(-3px); box-shadow: var(--ll-sh); }
.col--gallery img { transition: transform var(--ll-t-slow); }
.col--gallery a:hover img { transform: scale(1.08); }

.room-content { gap: 6px; }
.room-title { letter-spacing: -.01em; }
.room-title span {
  color: var(--ll-gold-text);
  letter-spacing: .18em; text-transform: uppercase;
  font-size: .76rem !important; font-weight: 600 !important;
  font-family: "Poppins", sans-serif;
}
.room-content .text-content { color: var(--ll-ink-soft); }

/* room.blade inline <style> (column-count:3, li padding-left:20px) gövdede
   sonra geldiği için .room-detail-page ile specificity artırıp yeniyoruz */
.room-detail-page .feature-list {
  margin: 26px 0;
  padding: 26px 28px;
  background: var(--ll-cream);
  border-radius: var(--ll-r);
  border: 1px solid var(--ll-line-soft);
  column-count: 2;
  column-gap: 34px;
  font-size: .88rem;
}
.room-detail-page .feature-list li {
  padding-left: 32px; margin: 0 0 14px; font-size: .88rem; color: var(--ll-ink);
  break-inside: avoid;
}
@media (max-width: 575px) { .room-detail-page .feature-list { column-count: 1; } }
.feature-list .bi {
  color: #fff; background: var(--ll-gold);
  width: 20px; height: 20px; border-radius: 50%;
  padding: 3px; top: 1px;
}
.room-content .flex-start { gap: 12px; margin-top: 8px; }

/* ---------- Kutular (about / beach) ----------
   ÖNEMLİ: .box'a gap EKLEME — img(50%)+content(50%)+gap > 100% olur ve
   flex-wrap:wrap ile içerik görselin altına sarıp devasa boşluk yaratır.
   align-items:stretch → görsel içerik yüksekliğine uzar (object-fit cover), dengeli. */
.box { align-items: stretch; gap: 0; }   /* gap SIFIR: 50%+50%+gap>100% wrap'ini önler */
.box__img {
  overflow: hidden;
  border-radius: var(--ll-r-lg);
  box-shadow: var(--ll-sh);
  min-height: 320px;
}
.box__img img { transition: transform var(--ll-t-slow); }
.box:hover .box__img img { transform: scale(1.04); }
.box__content { display: flex; flex-direction: column; justify-content: center; }
.box__content .title { margin-bottom: 16px; }
.box__content .text-content { color: var(--ll-ink-soft); }
.about-page .page-content > img,
.about-page .w-100,
.about-page .container > .page-content img.w-100 { border-radius: var(--ll-r-lg); box-shadow: var(--ll-sh); }

/* ---------- Yorumlar (testimonials) ---------- */
.testimonials { padding: clamp(50px, 7vw, 90px) 0; background: var(--ll-cream); }
.comment {
  background: #fff; border-radius: var(--ll-r-lg);
  box-shadow: var(--ll-sh-sm);
  border: 1px solid var(--ll-line-soft);
  padding: 48px 40px;
  transition: transform var(--ll-t), box-shadow var(--ll-t);
  height: 100%;
}
.comment:hover { transform: translateY(-6px); box-shadow: var(--ll-sh); }
.comment__name { color: var(--ll-teal); font-family: "Merriweather", serif; font-size: 1.15rem; }
.comment__title { color: var(--ll-gold-text); }

/* ---------- İletişim ---------- */
.contact-box {
  align-items: center;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--ll-line-soft);
  border-radius: var(--ll-r);
  box-shadow: var(--ll-sh-sm);
  transition: transform var(--ll-t), box-shadow var(--ll-t), border-color var(--ll-t);
  gap: 16px;
}
.contact-box:hover { transform: translateY(-3px); box-shadow: var(--ll-sh); border-color: var(--ll-line); }
/* ikon dairesi — her tarayıcıda sabit 46px (svg width attr'ını + base .bi'yi ez) */
.contact-box .bi,
.contact-box svg {
  flex: 0 0 46px;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px; max-width: 46px;
  min-height: 46px; max-height: 46px;
  padding: 11px;
  background: rgba(0,74,79,.07);
  border-radius: 50%;
  box-sizing: border-box;
  overflow: hidden;
}
.contact-box__content { width: auto; flex: 1; }
.contact-box__phone { font-size: 1.4rem; }
.contact-box__phone:hover { color: var(--ll-gold); }
.map iframe { border-radius: var(--ll-r-lg); box-shadow: var(--ll-sh); }

/* ---------- Galeri sayfası grid ---------- */
.gallery-page .tab-nav { gap: 6px; flex-wrap: wrap; }
.gallery-page .tab-link { border-radius: 999px; }
.grid-wrapper > div {
  border-radius: var(--ll-r); overflow: hidden;
  box-shadow: var(--ll-sh-sm);
}
.grid-wrapper a { overflow: hidden; }
.grid-wrapper img { transition: transform var(--ll-t-slow); }
.grid-wrapper > div:hover img { transform: scale(1.07); }

/* ---------- Footer ---------- */
.footer__top .menu__link::after { background: var(--ll-gold-bright); }

/* ---------- Reveal (JS varsa) ---------- */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--ll-t-slow), transform var(--ll-t-slow);
  will-change: opacity, transform;
}
html.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-cell:nth-child(2) { border-left: 0; }
}
@media (max-width: 991px) {
  .section-head { margin-bottom: 40px; }
  .home-rooms .title { margin-bottom: 44px; }
}
@media (max-width: 767px) {
  .btn { padding: .78rem 1.6rem; }
  .btn-lg { padding: .9rem 2rem; }
  .feature-strip {
    grid-template-columns: 1fr;
    border-radius: var(--ll-r);
  }
  .feature-cell { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .feature-cell:first-child { border-top: 0; }
  .feature-cell__text { max-width: 42ch; }
  .room__content { padding: 20px 20px 22px; }
  .room__title a { font-size: 1.18rem; }
  .contact-box__phone { font-size: 1.3rem; }
  .home-about__content { padding: 34px 22px; }
  .comment { padding: 36px 26px; }
  /* mobilde dokunma hedefleri */
  .menu__link, .mobil-menu-link { padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 575px) {
  .section-head small { font-size: .68rem; }
  .gallery-slide, .room__img { aspect-ratio: 3 / 2; }
}

/* hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html.js-reveal .reveal { opacity: 1; transform: none; }
}
