/* ==========================================================================
   Erotik-Zimmer — Redesign
   ========================================================================== */

:root {
  --bg: #150a14;
  --bg-alt: #1e0f1c;
  --surface: #271527;
  --surface-2: #2f1a2d;
  --accent: #c9a35f;
  --accent-soft: #e4c88a;
  --wine: #7d2142;
  --wine-soft: #a13457;
  --text: #f5ecef;
  --text-muted: #cbb7c4;
  --border: rgba(201, 163, 95, 0.25);
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0,0,0,0.45);
  --maxw: 1180px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: #fff; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; color: var(--accent-soft); }
p { margin: 0 0 1em; color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--accent);
  margin-bottom: .8em;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid var(--accent);
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,163,95,.3); color: var(--bg); }
.btn-outline {
  background: transparent;
  color: var(--accent-soft);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 24px 14px; max-width: var(--maxw); margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.3rem; color: #fff; letter-spacing: .04em; margin-bottom: 10px; }
.logo span { color: var(--accent); }
.logo-img { height: 96px; width: auto; border-radius: 0; }
nav.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; align-items: center; justify-content: center; }
nav.main-nav a { color: var(--text); font-size: .95rem; }
nav.main-nav a:hover { color: var(--accent-soft); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 130%; left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease; box-shadow: var(--shadow);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 8px 12px; border-radius: 6px; }
.dropdown-menu a:hover { background: var(--surface-2); }
.burger { position: absolute; top: 20px; right: 24px; display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 880px) {
  .logo-img { height: 68px; }
  nav.main-nav { position: fixed; inset: 0 0 0 30%; background: var(--bg-alt); transform: translateX(100%); transition: transform .25s ease; padding: 100px 24px 24px; overflow-y: auto; }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; margin-top: 8px; }
  .dropdown.open .dropdown-menu { display: block; }
  .burger { display: block; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(21,10,20,.55), rgba(21,10,20,.92)), var(--hero-img, linear-gradient(135deg, #2a1428, #150a14)) center/cover no-repeat;
}
.hero-content { max-width: 640px; }
.hero .btn { margin-right: 12px; margin-top: 10px; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { border-radius: 0; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 22px; }
.card-body p { margin-bottom: 1.2em; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery-grid a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; }
.gallery-grid img { aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 1.4em 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: .95rem; }
th { color: var(--accent-soft); font-family: var(--serif); font-weight: 600; background: var(--surface-2); }
tr:last-child td { border-bottom: none; }

/* Info blocks */
.info-block { display: grid; grid-template-columns: 40px 1fr; gap: 16px; margin-bottom: 28px; }
.info-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.1rem; border: 1px solid var(--border); }

/* Form */
.booking-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: .82rem; color: var(--text-muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--text);
  font-family: var(--sans); font-size: .95rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; min-height: 100px; }
.field { margin-bottom: 16px; }
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: 10px; }

/* Booking wizard */
.booking-steps {
  display: flex; justify-content: center; gap: 6px;
  list-style: none; padding: 0; margin: 0 0 36px;
}
.step-dot {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--serif); font-size: 1rem; color: var(--text-muted);
  width: 90px; position: relative;
}
.step-dot::before {
  content: ""; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.step-dot { counter-reset: none; }
.step-dot span { font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.step-dot.active::before { border-color: var(--accent); background: var(--accent); }
.step-dot.done::before { border-color: var(--accent); background: transparent; }

fieldset.form-step { border: none; margin: 0; padding: 0; display: none; }
fieldset.form-step.active { display: block; }
fieldset.form-step legend { font-family: var(--serif); font-size: 1.2rem; color: #fff; margin-bottom: 18px; padding: 0; }

.room-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.room-card {
  display: block; cursor: pointer; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; text-align: center; transition: all .18s ease;
}
.room-card img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 10px; }
.room-card h4 { margin: 0 0 4px; font-size: 1rem; color: #fff; }
.room-card .price { font-size: .8rem; color: var(--accent-soft); }
.room-card:hover { border-color: var(--accent-soft); transform: translateY(-2px); }
.room-card:has(input:checked), .room-card.selected { border-color: var(--accent); background: var(--surface-2); box-shadow: 0 0 0 2px var(--accent) inset; }
.room-card-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.room-icon { font-size: 2.4rem; margin-bottom: 10px; }

.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.step-next:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.summary-box strong { color: #fff; }
.summary-box div { margin-bottom: 4px; }

/* Notice / placeholder banner */
.notice {
  background: rgba(201,163,95,.1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Footer */
footer.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 50px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--accent-soft); font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-muted); }
.social-icons { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.social-icons svg { width: 26px; height: 26px; fill: var(--text-muted); transition: fill .2s ease; }
.social-icons a:hover svg { fill: var(--accent-soft); }
.social-icons img { height: 58px; width: auto; border-radius: 0; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; font-size: .82rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent-soft); }

/* Page header (inner pages) */
.page-hero {
  padding: 120px 0 50px;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
}

.badge { display: inline-block; background: var(--surface-2); color: var(--accent-soft); border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px; font-size: .78rem; margin-bottom: 10px; }

.legal p, .legal li { color: var(--text-muted); }
.legal h2 { margin-top: 1.6em; font-size: 1.3rem; }
.legal ul { color: var(--text-muted); }
