/* Hotel Ringblick — modern hotel site */
:root {
  --purple: #5c2d91;
  --purple-dark: #3d1d62;
  --purple-light: #7b4bb5;
  --gold: #c9a227;
  --cream: #faf8f5;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5c5c6f;
  --border: #e8e4df;
  --shadow: 0 8px 32px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 0.6rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}

.site-header.scrolled .logo { color: var(--purple); }

.logo-mark {
  width: 36px; height: 36px;
  background: var(--purple);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.site-header.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--purple);
  color: white;
}
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.btn-outline:hover { background: white; color: var(--purple); }

.btn-gold {
  background: var(--gold);
  color: var(--text);
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.site-header.scrolled .menu-toggle { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 10, 46, 0.35) 0%,
    rgba(26, 10, 46, 0.15) 40%,
    rgba(26, 10, 46, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 12rem;
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  color: white;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.hero-badge .score {
  background: var(--gold);
  color: var(--text);
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  color: white;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.hero-meta span { display: flex; align-items: center; gap: 0.4rem; }

/* ── Booking bar ── */
.booking-bar {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
  margin-bottom: 4rem;
}

.booking-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.booking-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.booking-field input,
.booking-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--cream);
  transition: border-color var(--transition);
}

.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: var(--purple);
}

/* ── Sections ── */
section { padding: 5rem 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
}

/* ── Highlights ── */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.highlight-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.highlight-card:hover { transform: translateY(-4px); }

.highlight-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
}

.highlight-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Rooms ── */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.room-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.room-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.room-card:hover .room-image img { transform: scale(1.05); }

.room-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--purple);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
}

.room-body { padding: 1.5rem 2rem 2rem; }

.room-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
  list-style: none;
}

.room-features li {
  font-size: 0.8rem;
  background: var(--cream);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  color: var(--text-muted);
}

.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

.room-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.room-price strong {
  display: block;
  font-size: 1.4rem;
  color: var(--purple);
  font-weight: 700;
}

/* ── Amenities ── */
.amenities-section {
  background: var(--purple-dark);
  color: white;
}

.amenities-section .section-label { color: var(--gold); }
.amenities-section .section-desc { color: rgba(255,255,255,0.7); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: background var(--transition);
}

.amenity-item:hover { background: rgba(255,255,255,0.14); }

.amenity-icon { font-size: 1.3rem; flex-shrink: 0; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 0.8rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item:first-child {
  grid-row: span 2;
  grid-column: span 2;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(92,45,145,0);
  transition: background var(--transition);
}

.gallery-item:hover::after { background: rgba(92,45,145,0.2); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ── Reviews ── */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.score-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.score-big {
  background: var(--purple);
  color: white;
  font-size: 2rem;
  font-weight: 700;
  width: 72px; height: 72px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}

.score-text strong { display: block; font-size: 1.1rem; }
.score-text span { font-size: 0.85rem; color: var(--text-muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.review-stars { color: var(--gold); margin-bottom: 0.8rem; font-size: 0.9rem; }

.review-text {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.5;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.8rem;
}

.rating-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.rating-bar-item {
  background: white;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rating-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.rating-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 3px;
}

/* ── Location ── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.location-info {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.location-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.contact-list li:last-child { border-bottom: none; }

.poi-list {
  list-style: none;
  margin-top: 1rem;
}

.poi-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ── Footer ── */
.site-footer {
  background: #111118;
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ── Legal pages ── */
.legal-page {
  padding: 8rem 0 4rem;
  max-width: 800px;
  margin: 0 auto;
  width: 92vw;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
  color: var(--purple);
}

.legal-page p, .legal-page li {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.legal-page ul { padding-left: 1.5rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .booking-card { grid-template-columns: 1fr 1fr; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow);
  }
  .menu-toggle { display: block; }
  .booking-card { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child { grid-row: span 1; grid-column: span 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-bars { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 10rem; }
}
