/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep: #070E0A;
  --bg-dark: #0A1410;
  --bg-card: #0D1A14;
  --bg-card-hover: #111F18;
  --emerald: #0B3D2E;
  --emerald-light: #1A5C45;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --cream: #F5F0E8;
  --cream-muted: #C8BFB0;
  --cream-dim: rgba(245, 240, 232, 0.06);
  --text-primary: #F5F0E8;
  --text-secondary: #A89F91;
  --text-muted: #6B6358;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Preloader ─── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-deep);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.15em;
}
.loader-bar {
  width: 120px; height: 2px;
  background: var(--cream-dim); border-radius: 2px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0; background: var(--gold);
  animation: loadBar 1.2s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ─── Navbar ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(7, 14, 10, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.08);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  height: 72px; gap: 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem;
  color: var(--cream);
  transition: color var(--transition);
}
.nav-logo:hover { color: var(--gold); }
.nav-logo-icon { flex-shrink: 0; }
.nav-links {
  margin-left: auto;
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--cream-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:not(.nav-cta):hover { color: var(--cream); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: 10px 22px;
  background: var(--gold);
  color: var(--bg-deep) !important;
  border-radius: 100px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  margin-left: auto; padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--cream);
  transition: var(--transition); transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  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(
    135deg,
    rgba(7, 14, 10, 0.92) 0%,
    rgba(11, 61, 46, 0.80) 50%,
    rgba(7, 14, 10, 0.88) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 780px; padding: 120px 24px 80px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; margin-bottom: 28px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 100px;
  font-size: 0.8rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
}
.hero-content h1 .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream-muted);
  max-width: 560px; margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex; justify-content: center; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.75rem; font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-stat-divider {
  width: 1px; height: 32px;
  background: rgba(201, 168, 76, 0.2);
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  font-size: 0.9rem; font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-deep);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(245, 240, 232, 0.25);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(245, 240, 232, 0.06);
}
.btn-ghost-light {
  background: transparent;
  border: 1px solid rgba(11, 61, 46, 0.5);
  color: var(--emerald);
  padding: 10px 24px; font-size: 0.85rem;
}
.btn-ghost-light:hover {
  border-color: var(--emerald);
  background: rgba(11, 61, 46, 0.08);
}
.btn-full { width: 100%; justify-content: center; }

/* ─── Section shared ─── */
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--cream);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto;
}
.gold { color: var(--gold); }

/* ─── About ─── */
#about { padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-image { position: relative; }
.about-image img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-image-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 160px; height: 160px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; line-height: 1.2;
  color: var(--cream);
  margin-bottom: 24px;
}
.about-content p {
  color: var(--text-secondary);
  font-size: 1rem; line-height: 1.8;
  margin-bottom: 16px;
}
.about-highlights {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.highlight-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--cream);
}

/* ─── Amenities ─── */
#amenities {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative;
}
#amenities::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.2), transparent);
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.amenity-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}
.amenity-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.amenity-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.amenity-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.amenity-card p {
  font-size: 0.9rem; color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Location ─── */
#location { padding: 120px 0; }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: stretch;
}
.location-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; line-height: 1.2;
  color: var(--cream);
  margin-bottom: 20px;
}
.location-content > p {
  color: var(--text-secondary);
  font-size: 1rem; line-height: 1.8;
  margin-bottom: 36px;
}
.location-details { display: flex; flex-direction: column; gap: 24px; }
.location-detail {
  display: flex; align-items: flex-start; gap: 16px;
}
.location-detail svg { flex-shrink: 0; margin-top: 2px; }
.location-detail strong {
  display: block;
  font-size: 0.85rem; font-weight: 600;
  color: var(--cream); margin-bottom: 4px;
}
.location-detail span,
.location-detail a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.location-detail a:hover { color: var(--gold); }
.location-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 400px; }

/* ─── Contact ─── */
#contact {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative;
}
#contact::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.2), transparent);
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; line-height: 1.2;
  color: var(--cream);
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--text-secondary);
  font-size: 1rem; line-height: 1.8;
  margin-bottom: 36px;
}
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-method:hover {
  border-color: rgba(201, 168, 76, 0.2);
  background: var(--bg-card-hover);
}
.contact-method-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.contact-method strong {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  color: var(--gold); margin-bottom: 2px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.contact-method span,
.contact-method a {
  font-size: 0.95rem; color: var(--text-secondary);
  transition: color var(--transition);
}
.contact-method a:hover { color: var(--gold); }

.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  color: var(--cream-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-deep);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { background: var(--bg-dark); color: var(--cream); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(11, 61, 46, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  min-height: 400px;
}
.form-success.active { display: flex; }
.success-icon {
  width: 72px; height: 72px;
  background: rgba(11, 61, 46, 0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--cream); margin-bottom: 12px;
}
.form-success p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ─── Footer ─── */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem; line-height: 1.7;
  margin-top: 16px; max-width: 300px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem;
  color: var(--cream);
  transition: color var(--transition);
}
.footer-logo:hover { color: var(--gold); }
.footer-links h4,
.footer-contact h4 {
  font-size: 0.75rem; font-weight: 600;
  color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-links ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--cream); }
.footer-contact span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(245, 240, 232, 0.05);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Scroll Reveals ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(7, 14, 10, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }
  .nav-links.open { transform: translateY(0); }
  .about-grid,
  .location-grid,
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 320px; }
  .about-image-accent { display: none; }
  .about-highlights { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 28px; }
  .contact-success { padding: 40px 28px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
