
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --navy: #122536;
  --gold: #C9A65D;
  --charcoal: #2a2a2a;
  --cream: #f9f6f1;
  --white: #ffffff;
  --text: #333333;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(18,37,54,0.95);
  backdrop-filter: blur(8px);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 20px;
  border-radius: 2px;
  font-weight: 600 !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; padding: 0;
  cursor: pointer; z-index: 210;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(18,37,54,0.4) 0%, rgba(18,37,54,0.55) 100%);
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 20px; }
.hero-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.05rem; font-weight: 300;
  opacity: 0.9; max-width: 500px; margin: 0 auto 36px;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: #b8924a; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
  margin-left: 12px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.hero-actions { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn-outline { margin-left: 0; }

/* SECTIONS */
section { padding: 90px 40px; }
.section-label {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; color: var(--navy); line-height: 1.2;
  margin-bottom: 20px;
}
.section-body {
  font-size: 1rem; font-weight: 300; color: #555;
  max-width: 540px; line-height: 1.8;
}
.divider {
  width: 50px; height: 2px;
  background: var(--gold); margin: 24px 0;
}
.container { max-width: 1200px; margin: 0 auto; }

/* PENTHOUSE SECTION — 4 photo grid */
.penthouse-section { background: var(--cream); }
.penthouse-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.penthouse-text {}
.penthouse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.penthouse-grid img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
  border-radius: 2px;
}

/* LOCATION */
.location-section { background: var(--navy); color: var(--white); }
.location-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.location-section .section-title { color: var(--white); }
.location-section .section-body { color: rgba(255,255,255,0.75); }
.location-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; }

/* EXPERIENCES GRID */
.experiences-section { background: var(--white); }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 50px;
}
.exp-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  display: block;
}
.exp-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.exp-card:hover img { transform: scale(1.06); }
.exp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,37,54,0.8) 0%, rgba(18,37,54,0.1) 60%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 28px;
}
.exp-label {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.exp-title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem; font-weight: 300;
  color: var(--white); line-height: 1.2;
}
.exp-arrow { color: var(--gold); margin-top: 10px; font-size: 1.1rem; opacity: 0; transition: opacity 0.3s; }
.exp-card:hover .exp-arrow { opacity: 1; }

/* SLIDER */
.slider-section { background: var(--charcoal); padding: 60px 0; overflow: hidden; }
.slider-track {
  display: flex; gap: 12px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.slider-track:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .slider-track { animation: none; } }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.slider-img {
  width: 360px; height: 240px; object-fit: cover;
  border-radius: 2px; flex-shrink: 0;
}

/* CONTACT */
.contact-section { background: var(--navy); color: var(--white); }
.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-section .section-title { color: var(--white); }
.contact-form { margin-top: 40px; display: grid; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-family: 'Inter', sans-serif;
  font-size: 0.9rem; border-radius: 2px;
  outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.contact-form select { font: inherit; }
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A65D' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form select option { background: var(--navy); color: var(--white); }
.field-date {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  transition: border-color 0.2s;
  cursor: pointer;
}
.field-date:focus-within { border-color: var(--gold); }
.field-date-label {
  font-size: 0.75rem; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.5); flex-shrink: 0;
  pointer-events: none;
}
.field-date input[type="date"] {
  flex: 1; min-width: 0; min-height: 24px;
  -webkit-appearance: auto; appearance: auto;
  border: none; background: transparent; padding: 0; margin: 0;
  color: var(--white); font-family: 'Inter', sans-serif; font-size: 16px;
  outline: none; color-scheme: dark;
}
.field-date input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field-date input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(72%) sepia(28%) saturate(560%) hue-rotate(1deg) brightness(92%);
  cursor: pointer;
}
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-submit {
  text-align: center; margin-top: 8px;
}

/* FOOTER */
footer {
  background: #0a1a27;
  color: rgba(255,255,255,0.5);
  padding: 40px;
  text-align: center;
  font-size: 0.8rem;
}
footer a { color: var(--gold); text-decoration: none; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; }

/* PAGE HERO (sub-pages) */
.page-hero {
  height: 65vh; position: relative;
  display: flex; align-items: flex-end;
  padding: 60px 40px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,37,54,0.85) 0%, rgba(18,37,54,0.2) 70%);
}
.page-hero-content { position: relative; z-index: 2; color: var(--white); }

/* TWO-COL */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.two-col img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }

/* GALLERY */
.gallery-section { background: var(--cream); padding: 80px 40px; }
.gallery-inner { max-width: 1200px; margin: 0 auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block; border-radius: 2px;
}

/* PACKAGES */
.packages-section { padding: 80px 40px; }
.packages-inner { max-width: 1200px; margin: 0 auto; }
.packages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.pkg-card {
  border: 1px solid #e8e0d5; padding: 36px 28px;
  border-radius: 2px; background: var(--white);
}
.pkg-name {
  font-family: 'Fraunces', serif; font-size: 1.3rem;
  color: var(--navy); margin-bottom: 12px;
}
.pkg-price { color: var(--gold); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 16px; }
.pkg-list { list-style: none; }
.pkg-list li { padding: 6px 0; font-size: 0.9rem; color: #555; border-bottom: 1px solid #f0ebe3; }
.pkg-list li::before { content: '— '; color: var(--gold); }

/* INCLUDES */
.includes-section { background: var(--navy); color: var(--white); padding: 80px 40px; }
.includes-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 40px; max-width: 1200px; margin: 40px auto 0; }
.inc-item { text-align: center; padding: 24px; }
.inc-icon { font-size: 2rem; margin-bottom: 12px; }
.inc-title { font-family: 'Fraunces', serif; font-size: 1rem; color: var(--gold); margin-bottom: 8px; }
.inc-text { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* CORP GRID */
.corp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 40px; }
.corp-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }

/* STAYS GALLERY */
.stays-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 40px; }
.stays-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 2px; }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(18,37,54,0.98);
    backdrop-filter: blur(8px);
    padding: 8px 20px 20px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
  .nav-cta { display: inline-block; margin-top: 12px; text-align: center; }

  section { padding: 60px 24px; }
  .penthouse-inner, .location-inner, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid, .includes-grid, .corp-grid { grid-template-columns: 1fr; }
  .gallery-grid, .stays-gallery { grid-template-columns: repeat(2, 1fr); }
  /* 16px minimum stops iOS auto-zooming the page on field focus */
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }

  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-sub { font-size: 0.95rem; max-width: 340px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .exp-overlay { padding: 14px 16px; }
  .exp-label { font-size: 0.55rem; letter-spacing: 0.12em; }
  .exp-title { font-size: 0.95rem; line-height: 1.15; }
  .exp-arrow { display: none; }

  .exp-card {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
  }
  .exp-card img { aspect-ratio: 4/3; height: auto; flex-shrink: 0; }
  .exp-overlay {
    position: static;
    background: var(--navy);
    background-image: none;
    flex: 1;
    justify-content: center;
    gap: 4px;
  }

  .footer-links { flex-wrap: wrap; row-gap: 10px; column-gap: 18px; }
  footer { padding: 40px 20px; }

  .slider-section { display: none; }
}

@media (max-width: 400px) {
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .exp-title { font-size: 0.95rem; }
}


/* Netlify form honeypot — must stay hidden from humans */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Thank-you page */
.ty-section { min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 100px; background: var(--cream); }
.ty-inner { max-width: 620px; }
.ty-inner .section-title { margin-bottom: 18px; }
.ty-inner p { color: var(--text); font-size: 1.05rem; line-height: 1.7; margin-bottom: 28px; }
