/* ═══════════════════════════════════════════════════════════
   DEDEMAN BRAND — dedemansapanca.com uyumlu tasarım
   ═══════════════════════════════════════════════════════════ */

.theme-evi,
.theme-ucuz,
.theme-kiralik,
.theme-konaklama {
  --primary: #183047;
  --primary-light: #234a6b;
  --accent: #4aa3cc;
  --accent-hover: #3a8eb8;
  --bg-soft: #f4f6f8;
  --bg-page: #ffffff;
  --text: #616161;
  --text-dark: #183047;
  --hero-gradient: linear-gradient(to top, rgba(24, 48, 71, 0.45) 0%, rgba(24, 48, 71, 0.08) 40%, transparent 70%);
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-editorial: Georgia, 'Times New Roman', serif;
  --radius: 4px;
  --radius-lg: 6px;
  --container: 1200px;
}

body[class*='theme-'] {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-page);
}

body[class*='theme-'] h1,
body[class*='theme-'] h2,
body[class*='theme-'] h3,
body[class*='theme-'] .section-title h2 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 500;
}

/* Üst bar — ince bilgi şeridi */
.top-bar {
  background: #122436;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: #fff;
}

/* Header — resmi site lacivert */
.site-header {
  background: var(--primary);
  border-bottom: none;
  backdrop-filter: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
  padding: 0.65rem 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.logo-official {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 0;
  flex: 0 0 auto;
}

.logo-official img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-mark,
.logo-text,
.logo-main,
.logo-sub {
  display: none !important;
}

.main-nav {
  order: 1;
  flex: 1 1 100%;
  justify-content: center;
  gap: 0.15rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  font-size: 0.92rem;
  border-radius: 0;
  padding: 0.5rem 0.85rem;
  letter-spacing: 0.01em;
}

.main-nav a:hover,
.main-nav a.active {
  background: transparent;
  color: #fff;
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-cta {
  order: 2;
  position: absolute;
  right: max(4vw, calc((100vw - var(--container)) / 2 + 16px));
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
}

.header-cta:hover {
  background: var(--accent-hover);
  transform: translateY(calc(-50% - 1px));
}

.nav-toggle span {
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
}

.site-header .container.header-inner {
  position: relative;
}

/* Hero — tam genişlik slider görünümü */
.hero {
  min-height: 72vh;
  max-height: 820px;
  align-items: flex-end;
}

.hero-bg {
  animation: none;
  transform: none;
  transition: opacity 0.65s ease;
}

.hero-overlay {
  opacity: 1;
  background: var(--hero-gradient);
}

.hero-content {
  max-width: 680px;
  padding: 3rem 0 5rem;
  text-align: left;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  font-size: 1rem;
  opacity: 0.95;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.9rem 1.6rem;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  border-radius: 3px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-dark {
  background: var(--primary);
  border-radius: 3px;
}

/* Hero istatistik — rezervasyon bandı gibi */
.hero-stats {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: min(var(--container), 92vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(24, 48, 71, 0.12);
  border: 1px solid #e8edf2;
  overflow: hidden;
}

.hero-stats .stat-card {
  background: #fff;
  border: none;
  border-right: 1px solid #e8edf2;
  border-radius: 0;
  padding: 1.1rem 1rem;
  text-align: center;
}

.hero-stats .stat-card:last-child {
  border-right: none;
}

.hero-stats .stat-card strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.hero-stats .stat-card span {
  color: var(--text);
  font-size: 0.78rem;
}

/* Amenities ribbon — sade */
.amenities-ribbon {
  background: var(--bg-soft);
  color: var(--text);
  margin-top: 3.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid #e8edf2;
  border-bottom: 1px solid #e8edf2;
}

.amenities-track span {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Bölüm başlıkları */
.section-label {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: 0;
}

.stats-bar {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(24, 48, 71, 0.06);
}

.stat-item strong {
  color: var(--primary);
  font-family: var(--font-display);
}

.booking-strip {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(24, 48, 71, 0.08);
  color: var(--text);
}

.booking-strip h2 {
  color: var(--text-dark);
  font-family: var(--font-display);
}

.booking-strip .btn-primary {
  width: 100%;
  max-width: 280px;
}

.room-card,
.feature-card,
.review-card {
  border-radius: 6px;
  border: 1px solid #e8edf2;
  box-shadow: 0 4px 16px rgba(24, 48, 71, 0.05);
}

.room-card h3,
.feature-card h3 {
  font-family: var(--font-display);
  color: var(--text-dark);
}

.trust-strip {
  background: var(--bg-soft);
  border-top: 1px solid #e8edf2;
  border-bottom: 1px solid #e8edf2;
}

.premium-cta-band {
  background: var(--primary);
}

.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-brand .logo-main {
  display: block !important;
  color: #fff;
  font-family: var(--font-display);
}

/* Sanal tur & instagram */
.virtual-tour-section h2,
.instagram-strip-head h2 {
  font-family: var(--font-display);
  color: var(--text-dark);
}

/* Çark */
.spin-modal {
  border-top: 3px solid var(--accent);
  border-radius: 6px;
}

.spin-btn {
  background: var(--accent);
  border-radius: 3px;
}

.spin-title {
  font-family: var(--font-display);
  color: var(--text-dark);
}

/* Mobil */
@media (max-width: 900px) {
  .header-inner {
    justify-content: space-between;
  }

  .logo-official {
    order: 0;
  }

  .logo-official img {
    height: 42px;
  }

  .header-cta {
    position: static;
    transform: none;
    order: 3;
    font-size: 0.75rem;
    padding: 0.5rem 0.85rem;
  }

  .main-nav {
    order: 4;
    background: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    text-align: left;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    bottom: -1rem;
  }

  .hero-stats .stat-card {
    border-right: none;
    border-bottom: 1px solid #e8edf2;
  }

  .hero {
    min-height: 62vh;
  }
}

@media (min-width: 901px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .main-nav {
    flex: none;
    order: unset;
  }

  .main-nav {
    justify-self: start;
  }

  .logo-official {
    justify-self: center;
  }

  .header-cta {
    justify-self: end;
    position: static;
    transform: none;
  }

  .nav-toggle {
    display: none;
  }
}

/* design-pro / ultra-premium sadeleştirme */
.hero::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 45%);
}

.design-pro .hero h1 {
  font-family: var(--font-body);
}

.floating-cta .fc-book {
  background: var(--accent);
}

.floating-cta .fc-wa {
  background: #25d366;
}
