/* ─── Premium enhancements ─── */

.page-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero */
.hero {
  align-items: end;
  padding-bottom: 8rem;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-image {
  animation: hero-ken 24s ease-in-out infinite alternate;
  transform: scale(1.06);
}

@keyframes hero-ken {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.12) translate(-1%, -1%); }
}

.hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 15, 46, 0.88) 0%,
    rgba(0, 23, 71, 0.72) 42%,
    rgba(0, 23, 71, 0.45) 100%
  );
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 80%, transparent 30%, rgba(0, 8, 25, 0.5) 100%);
  pointer-events: none;
}

.hero-layout {
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title {
  max-width: 12ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  max-width: 34rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-pills li {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 100px;
}

.hero-animate {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: calc(0.15s + var(--d, 0) * 0.1s);
}

.btn-whatsapp {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-ghost {
  backdrop-filter: blur(6px);
}

/* Trust bar */
.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
  padding: 0 1.25rem;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2.5rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 23, 71, 0.06);
  border-radius: var(--radius-lg);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.trust-icon {
  color: var(--gold);
  font-size: 0.65rem;
}

.trust-divider {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, transparent, rgba(0, 23, 71, 0.12), transparent);
  flex-shrink: 0;
}

/* Section headings */
.section-heading {
  position: relative;
  margin-bottom: 0.25rem;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .section-title::after {
  margin-inline: auto;
}

.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title-light::after {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.about-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.4;
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
}

.about {
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(201, 169, 98, 0.06), transparent 70%);
  pointer-events: none;
}

.about-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stats {
  background: linear-gradient(135deg, rgba(0, 23, 71, 0.03), transparent);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 23, 71, 0.06);
}

.stats strong {
  display: inline-block;
  padding-bottom: 0.08em;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Editorial section ornament — used between sections as a chapter divider */
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  max-width: 320px;
  margin: 0 auto;
  padding-top: clamp(3rem, 6vh, 4.5rem);
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease-out);
  /* Always span the full row when placed inside a CSS grid (e.g. faq-layout) */
  grid-column: 1 / -1;
}

.section-ornament.is-visible,
.reveal.is-visible .section-ornament,
.is-visible.section-ornament {
  opacity: 1;
  transform: translateY(0);
}

.section-ornament-line {
  height: 1px;
  width: 90px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 169, 98, 0.55) 60%,
    var(--gold) 100%
  );
}

.section-ornament-line:last-of-type {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    rgba(201, 169, 98, 0.55) 40%,
    transparent 100%
  );
}

.section-ornament-mark {
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0;
  flex-shrink: 0;
  transition: transform 0.6s var(--ease-out);
}

.section-ornament:hover .section-ornament-mark {
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .section-ornament {
    max-width: 220px;
    gap: 1rem;
    padding-bottom: 2rem;
  }
  .section-ornament-line {
    width: 60px;
  }
}

/* Rooms */
.rooms {
  background:
    linear-gradient(180deg, var(--cream) 0%, #f3f0e8 50%, var(--cream) 100%);
}

.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 23, 71, 0.06);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.05s);
}

.room-image-wrap {
  position: relative;
  overflow: hidden;
}

/* Clickable room image (room has a photo gallery) */
.room-image-wrap.is-clickable {
  cursor: zoom-in;
  outline: none;
}

.room-image-wrap.is-clickable:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.room-photo-count {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem 0.4rem 0.55rem;
  background: rgba(0, 23, 71, 0.78);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  pointer-events: none;
}

.room-photo-count svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.room-image-wrap.is-clickable .room-photo-count {
  opacity: 1;
  transform: translateY(0);
}

.room-image-wrap.is-clickable:hover .room-photo-count,
.room-image-wrap.is-clickable:focus-visible .room-photo-count {
  background: rgba(0, 23, 71, 0.92);
  transform: translateY(-2px);
}

.room-image {
  transition: transform 0.7s var(--ease-out);
}

.room-card:hover .room-image {
  transform: scale(1.06);
}

.room-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 23, 71, 0.35), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.room-card:hover .room-image-wrap::after {
  opacity: 1;
}

.room-body h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.room-features li {
  border: 1px solid rgba(0, 23, 71, 0.08);
}

/* "Öne Çıkan" badge on featured room cards */
.room-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.85rem 0.4rem;
  background: rgba(0, 23, 71, 0.85);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 169, 98, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.room-badge--featured::before {
  content: "✦";
  display: inline-block;
  margin-right: 0.4em;
  color: var(--gold);
  font-size: 0.85em;
  vertical-align: -0.05em;
}

/* "Otelimizde X oda" indicator at the bottom of each card —
   pushed to bottom via margin-top: auto so every card aligns evenly. */
.room-availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(0, 23, 71, 0.12);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* room-availability needs an "auto-fill spacer" above it. The body becomes
   a flex column so margin-top: auto on the availability line pushes it down. */
.room-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.room-availability::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}

/* Tablet: 2 columns instead of 3 for the room grid */
@media (max-width: 1024px) and (min-width: 641px) {
  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section-cta .btn-outline {
  padding: 1rem 2.5rem;
}

/* Amenities */
.amenities-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.amenity-card {
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.amenity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 50%;
  font-size: 1rem;
}

.amenity-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  isolation: isolate;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 23, 71, 0.78) 0%, rgba(0, 23, 71, 0.18) 45%, transparent 75%);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover::after {
  opacity: 0.95;
}

.gallery-item:hover {
  transform: scale(1.015);
  box-shadow: 0 18px 38px -18px rgba(0, 23, 71, 0.55);
}

.gallery-item.placeholder-img {
  background-size: cover;
  background-position: center;
}

.gallery-caption {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 2;
  color: #fff;
  font-family: var(--font-display, serif);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  pointer-events: none;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.placeholder-img:not(.has-image) {
  background:
    linear-gradient(145deg, var(--navy-mid) 0%, var(--navy) 50%, #001030 100%);
}

.placeholder-img::before {
  background: none;
  background-image: radial-gradient(circle at 30% 20%, rgba(201, 169, 98, 0.15), transparent 50%);
}

/* CTA Banner */
.cta-banner {
  padding: 0 1.25rem;
  margin: 2rem 0 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3.5rem 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #002a6e 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 169, 98, 0.15), transparent 60%);
  pointer-events: none;
}

.cta-banner-text {
  position: relative;
  z-index: 1;
  max-width: 32rem;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Contact */
.contact-info {
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(0, 23, 71, 0.08);
  box-shadow:
    0 4px 6px rgba(0, 23, 71, 0.04),
    0 18px 42px -10px rgba(0, 23, 71, 0.1);
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
}

.map-placeholder {
  border: none;
  box-shadow:
    0 1px 2px rgba(0, 23, 71, 0.03),
    0 12px 32px -8px rgba(0, 23, 71, 0.07);
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-phones a {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}

.contact-phones a:hover {
  color: var(--gold);
}

.contact-map {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 0.65rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(0, 23, 71, 0.09),
    0 4px 6px rgba(0, 23, 71, 0.04),
    0 18px 42px -10px rgba(0, 23, 71, 0.12);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 23, 71, 0.11);
  background: var(--white);
  box-shadow: inset 0 1px 2px rgba(0, 23, 71, 0.04);
  isolation: isolate;
}

/* İnce altın vurgu — marka rengi, sert siyah değil */
.map-embed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(201, 169, 98, 0.55) 50%,
    transparent 95%
  );
  pointer-events: none;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  margin-left: 0.15rem;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  opacity: 0.75;
  border-bottom: 1px solid transparent;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.map-open-link:hover {
  opacity: 1;
  border-bottom-color: rgba(201, 169, 98, 0.55);
}

.map-open-link::after {
  content: "→";
  font-size: 0.9em;
  opacity: 0.7;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.map-open-link:hover::after {
  transform: translateX(3px);
  opacity: 1;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 3rem 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2.5rem, 72rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-inner {
  padding-top: 0.5rem;
}

/* WhatsApp pulse */
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: wa-pulse 2.5s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Stagger reveals */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.08s);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .trust-bar {
    margin-top: -2rem;
  }

  .trust-bar-inner {
    flex-direction: column;
    padding: 1.5rem;
    text-align: center;
  }

  .trust-divider {
    width: 3rem;
    height: 1px;
  }

  .trust-item {
    justify-content: center;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .cta-banner .btn {
    width: 100%;
  }

  .hero {
    align-items: flex-end;
    padding-bottom: 5rem;
  }

  .hero-content {
    padding-top: calc(var(--header-h) + 1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
  }

  .hero-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .whatsapp-float::before {
    animation: none;
  }
}
