/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero Blobs ── */
.hero-blob {
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 { animation-delay: 0s; }
.blob-2 { animation-delay: -3s; }
.blob-3 { animation-delay: -5s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Header ── */
#site-header {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(139, 95, 191, 0.08);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a575d6, #f0a832);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* ── Mobile Menu ── */
.mobile-link {
  position: relative;
}
.mobile-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a575d6, #f0a832);
  transition: width 0.3s ease;
}
.mobile-link:hover::after,
.mobile-link:focus::after {
  width: 100%;
}

/* ── Badges ── */
.badge-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a575d6;
  background: linear-gradient(135deg, rgba(165, 117, 214, 0.1), rgba(240, 168, 50, 0.1));
  border: 1px solid rgba(165, 117, 214, 0.2);
  padding: 0.4em 1em;
  border-radius: 100px;
}
.badge-sm {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7247a3;
  background: rgba(165, 117, 214, 0.1);
  border: 1px solid rgba(165, 117, 214, 0.2);
  padding: 0.3em 0.8em;
  border-radius: 100px;
}
.badge-amber {
  color: #c0500c;
  background: rgba(240, 168, 50, 0.12);
  border-color: rgba(240, 168, 50, 0.25);
}

/* ── Buttons ── */
.btn-primary, .btn-secondary, .btn-contact, .btn-cta-primary, .btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary {
  background: linear-gradient(135deg, #8b5fbf, #a575d6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 95, 191, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 95, 191, 0.45);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  color: #5c3982;
  border: 1.5px solid rgba(139, 95, 191, 0.25);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(139, 95, 191, 0.5);
  transform: translateY(-2px);
}
.btn-contact {
  background: linear-gradient(135deg, #f0a832, #f5a832);
  color: #fff;
  box-shadow: 0 4px 16px rgba(240, 168, 50, 0.3);
}
.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 168, 50, 0.45);
}
.btn-cta-primary {
  background: #fff;
  color: #5c3982;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ── Submit Button ── */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8b5fbf, #a575d6);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 20px rgba(139, 95, 191, 0.3);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 95, 191, 0.45);
}
.btn-submit:active {
  transform: translateY(0);
}

/* ── Inputs ── */
.input-field {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(139, 95, 191, 0.15);
  border-radius: 12px;
  background: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: #3d2954;
  transition: all 0.3s ease;
  outline: none;
}
.input-field::placeholder {
  color: #b8a4d4;
}
.input-field:focus {
  border-color: #a575d6;
  box-shadow: 0 0 0 4px rgba(165, 117, 214, 0.12);
}

/* ── Room Cards ── */
.room-card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.room-card:hover {
  transform: translateY(-6px);
}

/* ── Amenity Items ── */
.amenity-item {
  padding: 0.5rem 0;
}
.amenity-item:hover h4 {
  color: #a575d6;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .font-serif.text-5xl { font-size: 2.75rem; }
  .font-serif.text-4xl { font-size: 2.25rem; }
}
