/* DOA Suites — beyaz tema, Akdeniz butik otel */
:root {
  --white: #ffffff;
  --surface: #f6f7f9;
  --surface-2: #eef1f4;
  --border: #e4e7ec;
  --text: #1a1d21;
  --text-muted: #5c6570;
  --accent: #1e5a6b;
  --accent-hover: #164352;
  --gold: #a67c52;
  --gold-soft: #c9a06b;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --hero-fallback: url("https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?auto=format&fit=crop&w=2000&q=85");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

.text-accent {
  color: var(--accent);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}

/* Yuvarlak logo — butik / lüks görünüm */
.logo-circle {
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.site-header .logo-circle {
  border-color: rgba(30, 90, 107, 0.12);
}

.brand-logo {
  width: 48px;
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
}

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--accent);
}

/* Dil / para — header .btn--light ile aynı dil */
.locale-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
  margin-left: 0.15rem;
}

.nav .locale-toolbar {
  flex-shrink: 0;
}

.locale-select {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 2.1rem 0.6rem 0.95rem;
  min-height: 2.45rem;
  min-width: 5.75rem;
  max-width: 10rem;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231e5a6b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 11px 11px;
  box-sizing: border-box;
}

.locale-select:hover {
  background-color: var(--surface);
  color: var(--accent-hover);
  border-color: rgba(30, 90, 107, 0.35);
}

.locale-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 90, 107, 0.18);
}

.locale-select:focus-visible {
  outline: none;
}

/* IE edge: option list still native; closed state matches site */
.locale-select option {
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
}

html[dir="rtl"] .nav {
  justify-content: flex-start;
}

html[dir="rtl"] .locale-toolbar {
  margin-left: 0;
  margin-right: 0.15rem;
}

html[dir="rtl"] .locale-select {
  text-align: right;
  padding: 0.6rem 0.95rem 0.6rem 2.1rem;
  background-position: left 0.7rem center;
}

@media (max-width: 900px) and (min-width: 769px) {
  .locale-toolbar {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .nav .locale-toolbar {
    flex-basis: 100%;
  }

  .locale-select {
    max-width: none;
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .locale-toolbar {
    gap: 0.22rem;
    flex-shrink: 1;
    min-width: 0;
  }

  .locale-select {
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.28rem 1.05rem 0.28rem 0.38rem;
    min-height: 1.62rem;
    min-width: 3.15rem;
    max-width: 4.2rem;
    border-radius: 5px;
    background-size: 7px 7px;
    background-position: right 0.32rem center;
  }

  html[dir="rtl"] .locale-select {
    padding: 0.28rem 0.38rem 0.28rem 1.05rem;
    background-position: left 0.32rem center;
  }

  .brand-text {
    min-width: 0;
  }

  .site-header .brand-name {
    font-size: 1.02rem;
    letter-spacing: 0.04em;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  color: var(--white);
  background: var(--accent);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--accent);
  border: 1px solid var(--border);
}

.btn--light:hover {
  background: var(--surface);
  color: var(--accent-hover);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #2a3a42;
  background-image: var(--hero-fallback);
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 30, 0.45) 0%,
    rgba(15, 23, 30, 0.55) 50%,
    rgba(15, 23, 30, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.hero-logo-wrap {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: min(168px, 44vw);
  height: min(168px, 44vw);
  max-width: none;
  margin: 0 auto;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.4));
  border-width: 3px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero .lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34em;
  margin: 0 auto 2rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero-cta-wrap {
  margin: 1.25rem 0 0;
  text-align: center;
}

.hero-cta-wrap .btn {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Trust strip */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}

.trust-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust-strip span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-strip span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-soft);
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section--muted {
  background: var(--surface);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-align: center;
  margin: 0 0 0.65rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 38rem;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
}

.section-kicker {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.about-text p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
}

.about-accent {
  border-left: 3px solid var(--gold-soft);
  padding-left: 1.25rem;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

/* Room cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  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-lg);
  transform: translateY(-4px);
}

.card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__media .room-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.card__media .room-gallery__track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.card__media .room-gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.card__media .room-gallery__dots {
  position: absolute;
  bottom: 0.45rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: none;
  z-index: 2;
}

.card__media .room-gallery__dot {
  pointer-events: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.card__media .room-gallery__dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.card__body {
  padding: 1.5rem 1.35rem 1.65rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.85rem !important;
}

.card-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.card p:last-child {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.features li {
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-muted);
  box-shadow: var(--shadow);
}

.features li strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

/* Location */
.location-box {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .location-box {
    grid-template-columns: 1fr;
  }
}

.location-info {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.location-info p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.location-info p:last-child {
  margin-bottom: 0;
}

.map-wrap {
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* Reservation */
.reservation {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.reservation-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin-top: 2rem;
}

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

.field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 90, 107, 0.12);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.form-actions .btn {
  min-width: 220px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
}

/* Footer */
.site-footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  border-top: none;
}

.site-footer p {
  margin: 0.4rem 0;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
  color: #fff;
}

.site-footer .muted {
  opacity: 0.55;
  font-size: 0.72rem;
}

/* Fallback notice */
#site-fallback-notice {
  margin: 0;
  padding: 1rem;
  text-align: center;
  background: #fde8e8;
  color: #7f1d1d;
  font-size: 0.9rem;
}

#site-fallback-notice code {
  font-size: 0.85em;
}

/* Mobile: alt menü + üstte yalnızca dil/para (tam nav gizli) */
@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    margin: 0;
  }

  .nav > a {
    display: none !important;
  }

  .nav .locale-toolbar {
    margin-left: auto;
    width: auto;
    justify-content: flex-end;
  }

  .site-header .brand {
    flex-shrink: 0;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  max-width: 420px;
  margin: 0 auto;
}

.mobile-nav a {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .mobile-nav {
    display: block;
  }

  body {
    padding-bottom: 4.25rem;
  }
}

/* Sabit WhatsApp (ayar: yönetim paneli » Site ayarları » WhatsApp; boşsa iletişim telefonu) */
.doa-wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(18, 140, 72, 0.45), 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 10000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
  flex-shrink: 0;
}
.doa-wa-float:hover {
  color: #fff !important;
  transform: scale(1.07);
  box-shadow: 0 6px 22px rgba(18, 140, 72, 0.55), 0 4px 12px rgba(0, 0, 0, 0.15);
}
.doa-wa-float svg {
  display: block;
  flex-shrink: 0;
}
.doa-wa-float[hidden] {
  display: none !important;
}
@media (max-width: 768px) {
  .doa-wa-float {
    bottom: calc(4.25rem + 0.85rem + env(safe-area-inset-bottom, 0px));
  }
  body.booking-page .doa-wa-float {
    bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Hero + rezervasyon kartı üstünde gereksiz boşluk azaltma (mobil) */
@media (max-width: 560px) {
  .hero {
    min-height: min(88vh, 820px);
    padding: calc(var(--header-h) + 1rem) 1rem 2.25rem;
  }

  .hero-badge {
    margin-bottom: 0.5rem;
    font-size: 0.62rem;
    padding: 0.28rem 0.65rem;
  }

  .hero-logo-wrap {
    margin-bottom: 0.55rem;
  }

  .hero-logo {
    width: min(120px, 38vw);
    height: min(120px, 38vw);
  }

  .hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.45rem, 6.5vw, 2rem);
    line-height: 1.12;
  }

  .hero .lead {
    font-size: 0.9rem;
    margin: 0 auto 0.65rem;
    line-height: 1.5;
  }
}
