﻿:root {
  --bg: #0a1017;
  --surface: #111a24;
  --surface-2: #162333;
  --text: #edf2f7;
  --muted: #b3c2d1;
  --accent: #d9b46a;
  --accent-2: #f5d89a;
  --danger: #ff8b8b;
  --ok: #8fe3b4;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #17263a 0%, var(--bg) 48%);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(10, 16, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 216, 154, 0.15);
}

.brand {
  font-family: "Cinzel", serif;
  letter-spacing: 0.03em;
  font-weight: 700;
  color: var(--accent-2);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 216, 154, 0.2);
}

.hero-bg {
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 30% 30%, rgba(217, 180, 106, 0.3), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(33, 99, 176, 0.35), transparent 38%);
  animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translateY(-2%) scale(1);
  }
  to {
    transform: translateY(2%) scale(1.08);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 92%);
  text-align: center;
  padding: 2rem 0;
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
}

p {
  margin: 0 0 0.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.cta,
button {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta {
  display: inline-block;
  margin-top: 0.8rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1a1a;
}

.cta-secondary {
  background: rgba(245, 216, 154, 0.15);
  color: var(--text);
  border: 1px solid rgba(245, 216, 154, 0.35);
}

.cta:hover,
button:hover {
  transform: translateY(-2px);
}

.section {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 2.4rem 0;
}

.section-intro {
  color: var(--muted);
  max-width: 760px;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 1rem;
}

.card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(245, 216, 154, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 216, 154, 0.45);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

details {
  margin-top: 0.5rem;
}

summary {
  color: var(--accent-2);
  cursor: pointer;
}

.price {
  color: var(--accent-2);
  font-weight: 700;
}

.assistant-status {
  margin-top: 1rem;
  color: var(--muted);
}

.badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 216, 154, 0.2);
  color: var(--accent-2);
  font-size: 0.75rem;
}

.assistant .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.chip {
  background: rgba(245, 216, 154, 0.15);
  color: var(--text);
  border: 1px solid rgba(245, 216, 154, 0.35);
}

.quiz-box,
.booking-form {
  background: linear-gradient(160deg, rgba(17, 26, 36, 0.95), rgba(22, 35, 51, 0.95));
  border: 1px solid rgba(245, 216, 154, 0.2);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.quiz-grid,
.booking-form {
  display: grid;
  gap: 0.8rem;
}

.quiz-actions {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.4rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.94rem;
}

input,
select {
  width: 100%;
  border: 1px solid rgba(245, 216, 154, 0.3);
  border-radius: 10px;
  background: #0f1823;
  color: var(--text);
  padding: 0.65rem 0.7rem;
}

input:focus,
select:focus {
  outline: 2px solid rgba(217, 180, 106, 0.55);
  outline-offset: 0;
}

.booking-form button,
.quiz-actions button,
.chat-form button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
}

.result {
  min-height: 1.2rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  padding: 1.2rem 1rem 2.4rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(245, 216, 154, 0.15);
}

.chat-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #141414;
  box-shadow: var(--shadow);
}

.chat-widget {
  position: fixed;
  right: 1rem;
  bottom: 4.6rem;
  width: min(92vw, 380px);
  background: #0f1925;
  border: 1px solid rgba(245, 216, 154, 0.32);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: none;
  z-index: 40;
}

.chat-widget.open {
  display: block;
}

.chat-widget header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(217, 180, 106, 0.15);
  padding: 0.6rem 0.8rem;
}

.chat-widget header button {
  background: transparent;
  color: var(--text);
  padding: 0.2rem 0.5rem;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.message {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.message.user {
  justify-self: end;
  background: #24415f;
}

.message.bot {
  justify-self: start;
  background: #1a2b3d;
}

.message.system {
  justify-self: center;
  background: rgba(245, 216, 154, 0.14);
  color: var(--accent-2);
  font-size: 0.8rem;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.7rem;
  border-top: 1px solid rgba(245, 216, 154, 0.2);
}

.error {
  color: var(--danger);
}

.success {
  color: var(--ok);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
