/* ═══════════════════════════════════════════════════════════
   DESIGN PRO — Luxury Resort Web System
   Dedeman Village Sapanca · Expert UI Layer
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  --font-editorial: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --line-gold: linear-gradient(90deg, transparent, var(--gold, #c9a962), transparent);
}

/* ── Page load ── */
body {
  animation: pageIn 0.8s var(--ease-out-expo) both;
}
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Top bar refined ── */
.top-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-bottom: none;
}

/* ── Navigation ── */
.main-nav a {
  position: relative;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}
.main-nav a:not(.active)::after {
  content: '';
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s var(--ease-out-expo), left 0.35s var(--ease-out-expo);
  border-radius: 999px;
}
.main-nav a:not(.active):hover::after {
  width: 60%;
  left: 20%;
}

/* ── Hero: cinematic ── */
.hero {
  min-height: 94vh;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 70% 80%, transparent 0%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 35%);
  pointer-events: none;
}
.hero-overlay {
  background: var(--hero-gradient);
  opacity: 0.92;
}
.hero-content {
  max-width: 680px;
  padding: 6rem 0 5rem;
}
.hero h1 {
  font-family: var(--font-editorial);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.hero-lead {
  font-size: 1.08rem;
  line-height: 1.8;
  font-weight: 400;
  opacity: 0.92;
}
.hero-badge {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 0.5rem 1.15rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-actions .btn {
  padding: 1rem 2rem;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.hero-actions .btn-primary {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ── Amenities ribbon: luxury dark ── */
.amenities-ribbon {
  background: #0a0f0d;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}
.amenities-track {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  gap: 4rem;
  animation-duration: 45s;
}
.amenities-track span { opacity: 0.75; }
.amenities-track span::before {
  color: var(--gold, #c9a962);
  opacity: 1;
}

/* Hide legacy trust row when pro strip exists */
.trust-strip ~ .trust-row,
.trust-strip + * + .trust-row,
.amenities-ribbon ~ .container ~ .trust-row {
  display: none;
}
body:has(.trust-strip) .trust-row { display: none; }

/* ── Booking strip: concierge card ── */
.booking-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.25rem 2.5rem;
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #fff 0%, #faf9f6 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
  margin-top: -4rem;
}
.booking-strip h2 {
  font-family: var(--font-editorial);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.booking-icon {
  color: var(--accent);
  font-size: 0.85rem;
}
.booking-strip p {
  margin-bottom: 0;
  max-width: 480px;
  line-height: 1.65;
}
.booking-actions {
  flex-direction: column;
  align-items: stretch;
  min-width: 200px;
}
.booking-actions .btn {
  justify-content: center;
  width: 100%;
}
@media (max-width: 768px) {
  .booking-strip {
    grid-template-columns: 1fr;
    margin-top: -2.5rem;
    padding: 1.75rem;
  }
  .booking-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .booking-actions .btn { width: auto; flex: 1; }
}

/* ── Section editorial headers ── */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  position: relative;
  padding-left: 2.5rem;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-editorial);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.section-intro {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #5c6578;
}

/* ── Stats bar: luxury tiles ── */
.stats-bar {
  margin-top: 2rem;
  background: transparent;
  gap: 1rem;
  border: none;
  box-shadow: none;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 98, 0.15);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  padding: 2rem 1rem;
}
.stat-item strong {
  font-family: var(--font-editorial);
  font-size: 2.5rem;
  font-weight: 600;
}

/* ── Feature cards: editorial grid ── */
.features-grid {
  gap: 1.25rem;
}
.feature-card {
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--bg-soft), #fff);
  border: 1px solid rgba(201, 169, 98, 0.2);
  font-size: 1.6rem;
}
.feature-card h3 {
  font-family: var(--font-editorial);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ── Room cards: magazine style ── */
.rooms-grid {
  gap: 2rem;
}
.room-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08);
  border: none;
}
.room-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.room-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.room-card:hover .room-img-wrap::after { opacity: 1; }
.room-card .room-img {
  aspect-ratio: unset;
  height: 100%;
  transition: transform 0.8s var(--ease-out-expo);
}
.room-card:hover .room-img { transform: scale(1.06); }
.room-card .room-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.68rem;
  margin: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.room-body {
  padding: 1.75rem 1.75rem 2rem;
}
.room-body h3 {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.room-body .btn-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.room-body .btn-dark:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Experience split ── */
.experience-split .section-title { max-width: none; }
.experience-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.15);
}
.experience-list li {
  font-size: 0.92rem;
  padding: 1.15rem 0;
}
.experience-list li strong {
  font-family: var(--font-editorial);
  font-size: 1.1rem;
  color: var(--accent);
}

/* ── Gallery: editorial masonry ── */
.gallery-grid {
  gap: 1rem;
  grid-auto-rows: 220px;
  border-radius: var(--radius-lg);
}
.gallery-grid a {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  transition: background 0.4s;
}
.gallery-grid a:hover::after {
  background: rgba(15, 23, 42, 0.15);
}
.gallery-grid img { border-radius: 0; }

/* ── Reviews: testimonial luxury ── */
.reviews-section {
  position: relative;
}
.reviews-header {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 2.5rem;
}
.reviews-summary {
  background: #fff;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 98, 0.2);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  margin-top: 1rem;
}
.reviews-score {
  font-family: var(--font-editorial);
  font-size: 3.25rem;
  font-weight: 600;
}
.review-card {
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.04);
}
.review-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

/* ── Trust strip pro ── */
.trust-strip {
  background: linear-gradient(180deg, #fff 0%, #f9f8f5 100%);
}

/* ── Premium CTA band ── */
.premium-cta-band h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
}

/* ── Footer editorial ── */
.site-footer {
  background: #080c10;
}
.footer-brand .logo-main {
  font-family: var(--font-editorial);
  font-size: 1.5rem;
}

/* ── FAQ pro ── */
.faq-q {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ── Virtual tour section title ── */
.virtual-tour-section .section-title {
  font-family: var(--font-editorial);
  max-width: none;
}

/* ── Instagram strip ── */
.instagram-strip-section .section-title {
  font-family: var(--font-editorial);
}

/* ── Subpages hero if any ── */
.page-hero h1 {
  font-family: var(--font-editorial);
}

/* ── Responsive hero stats hide on tablet ── */
@media (max-width: 1100px) {
  .hero-stats { display: none; }
  .hero-scroll { bottom: 1.5rem; }
}

@media (max-width: 768px) {
  .hero { min-height: 88vh; }
  .hero h1 { font-size: 2.25rem; }
  .section-title { max-width: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .main-nav.open {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 1rem 0 1.5rem;
  }
  .main-nav.open a {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Spin wheel design pro harmony */
.spin-modal {
  font-family: var(--font-body);
}
.spin-title {
  font-family: var(--font-editorial);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .hero-scroll { animation: none; }
  .amenities-track { animation: none; }
}
