:root {
  --bg: #f5efe6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --text: #111111;
  --muted: #5c544d;
  --gold: #b7904f;
  --gold-soft: #d7ba85;
  --border: rgba(255, 255, 255, 0.32);
  --shadow: 0 18px 60px rgba(17, 17, 17, 0.12);
  --radius: 24px;
  --transition: 260ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 186, 133, 0.28), transparent 30%),
    linear-gradient(180deg, #f7f2ea 0%, #f3ebe0 52%, #efe5d7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(circle at bottom right, rgba(183, 144, 79, 0.12), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

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

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

button,
input,
select {
  font: inherit;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 1.2rem 1.25rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(rgba(17, 17, 17, 0.35), rgba(17, 17, 17, 0.42)),
    url("assets/hotel-main.png")
      center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(215, 186, 133, 0.25), transparent 28%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0.45));
}

.navbar,
.hero-content,
.section,
.contact-card {
  position: relative;
  z-index: 1;
}

.navbar {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--gold), #8f6b34);
  box-shadow: 0 10px 24px rgba(183, 144, 79, 0.35);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  color: #fff7ee;
}

.nav-links a {
  position: relative;
  transition: color var(--transition), transform var(--transition);
}

.nav-links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-content {
  width: min(780px, 100%);
  margin: auto auto 0;
  text-align: center;
  color: white;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero .eyebrow {
  color: #f2d7a2;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  margin: 0 0 1rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
}

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

h3 {
  font-size: 1.7rem;
}

.hero-copy,
.section-heading p:last-child,
.feature-card p,
.form-card p,
.contact-card p {
  color: inherit;
  line-height: 1.8;
}

.hero-copy {
  font-size: clamp(1rem, 2vw, 1.24rem);
  margin: 0 auto 2rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #8f6b34);
  box-shadow: 0 18px 35px rgba(143, 107, 52, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 22px 42px rgba(143, 107, 52, 0.38);
}

.btn:disabled {
  opacity: 0.8;
  cursor: wait;
  transform: none;
}

.btn-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.section {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0 1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  color: var(--text);
}

.section-heading p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card,
.contact-card,
.reservation-shell {
  border-radius: var(--radius);
}

.feature-card {
  padding: 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(17, 17, 17, 0.15);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.reservations-section {
  padding-top: 4rem;
}

.reservation-shell {
  padding: 1.2rem;
  overflow: hidden;
}

.toggle-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.5rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.toggle-highlight {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: calc(50% - 0.575rem);
  height: calc(100% - 1rem);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(183, 144, 79, 0.92), rgba(143, 107, 52, 0.92));
  box-shadow: 0 10px 24px rgba(183, 144, 79, 0.28);
  transition: transform 320ms ease;
}

.toggle-btn {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  transition: color var(--transition);
}

.toggle-btn.active {
  color: white;
}

.form-stage {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 520px;
}

.form-panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
}

.form-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.form-card {
  background: var(--surface-strong);
  border-radius: calc(var(--radius) - 6px);
  padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.form-card p {
  margin: 0 0 1.6rem;
  color: var(--muted);
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.input-grid label:last-child:nth-child(odd) {
  grid-column: span 2;
}

label {
  display: grid;
  gap: 0.5rem;
  color: #251f1a;
  font-size: 0.95rem;
}

label span {
  font-weight: 500;
}

input,
select {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(183, 144, 79, 0.8);
  box-shadow: 0 0 0 4px rgba(183, 144, 79, 0.12);
  transform: translateY(-1px);
}

.submit-btn {
  margin-top: 1.4rem;
}

.form-message {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-message.success {
  color: #356645;
}

.form-message.error {
  color: #a14141;
}

.contact-section {
  padding-bottom: 5rem;
}

.contact-card {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.contact-meta {
  display: grid;
  gap: 0.8rem;
  text-align: right;
  font-weight: 500;
}

.contact-meta a {
  color: #7d5d2d;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .feature-grid,
  .input-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card {
    display: grid;
  }

  .contact-meta {
    text-align: left;
  }

  .form-stage {
    min-height: 660px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 92vh;
  }

  .navbar {
    border-radius: 28px;
    padding: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .section {
    width: min(100% - 1.2rem, 1160px);
    padding-top: 4rem;
  }

  .reservation-shell,
  .form-card,
  .contact-card,
  .feature-card {
    border-radius: 20px;
  }

  .toggle-bar {
    grid-template-columns: 1fr;
  }

  .toggle-highlight {
    width: calc(100% - 1rem);
    height: calc(50% - 0.55rem);
  }

  .input-grid {
    grid-template-columns: 1fr;
  }

  .input-grid label:last-child:nth-child(odd) {
    grid-column: auto;
  }
}
