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

:root {
  --ocean: #0c4a6e;
  --ocean-deep: #082f49;
  --teal: #0d9488;
  --sand: #f5e6d3;
  --coral: #e07a5f;
  --gold: #d4a853;
  --cream: #faf8f5;
  --text: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(8, 47, 73, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ocean); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(8, 47, 73, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 47, 73, 0.45) 0%,
    rgba(8, 47, 73, 0.25) 40%,
    rgba(8, 47, 73, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 2.5rem;
}

.hero-dates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.date-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.date-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.date-sep {
  font-size: 1.5rem;
  opacity: 0.5;
  margin-top: 0.5rem;
}

.date-year {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  opacity: 0.7;
  align-self: flex-end;
  margin-bottom: 0.25rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  background: var(--coral);
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: #c96a52;
  color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-sub {
  margin-top: 0.75rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--ocean-deep);
  line-height: 1.2;
}

/* Trip */
.trip { background: var(--white); }

.trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.trip-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(12, 74, 110, 0.08);
}

.trip-card--highlight {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: var(--white);
  border: none;
}

.trip-card--highlight .trip-detail { opacity: 0.8; }

.trip-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.trip-icon svg { width: 100%; height: 100%; }

.trip-card h3 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.trip-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.trip-detail {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trip-card--highlight .trip-detail { color: rgba(255, 255, 255, 0.75); }

/* Pricing */
.pricing {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(212, 168, 83, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(12, 74, 110, 0.1);
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--ocean-deep);
}

.pricing-header h3 span {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-header p { color: var(--text-muted); margin-top: 0.25rem; }

.pricing-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ocean);
}

.price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price-note a {
  font-size: inherit;
  font-weight: 500;
}

.price-item--total {
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}

.price-item--total .price-value {
  font-size: 2rem;
  color: var(--coral);
}

.pricing-footnote {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.trip-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.trip-tip {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(12, 74, 110, 0.08);
}

.trip-tip h3 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

.trip-tip p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.trip-tip p:last-child { margin-bottom: 0; }

/* Villa */
.villa-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.villa-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0.35rem;
}

.villa-rating {
  color: var(--gold);
  font-size: 0.9rem;
  margin: 0.5rem 0 1.25rem;
  font-weight: 500;
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.villa-text p { margin-bottom: 1rem; color: var(--text-muted); }

.amenity-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: 1.5rem 0;
}

.amenity-list li {
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
}

.amenity-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.7rem;
  top: 0.15rem;
}

.link-external {
  font-weight: 500;
  font-size: 0.9rem;
}

.villa-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.villa-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.villa-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(8, 47, 73, 0.8));
  color: var(--white);
  font-size: 0.85rem;
}

/* Highlights */
.highlights { background: var(--ocean-deep); padding: 4rem 0; }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.highlight-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.highlight-body {
  padding: 1.5rem;
  color: var(--white);
}

.highlight-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.highlight-body p {
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.6;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  background: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide img { aspect-ratio: auto; height: 100%; }

/* Guests */
.guests { background: var(--white); }

.guests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.guest-group {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 74, 110, 0.1);
}

.guest-group--core {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(12, 74, 110, 0.06) 100%);
  border-color: rgba(13, 148, 136, 0.2);
}

.guest-group--invited {
  background: var(--cream);
}

.guest-group--maybe {
  background: rgba(212, 168, 83, 0.08);
  border-color: rgba(212, 168, 83, 0.25);
}

.guest-group h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.guest-list {
  list-style: none;
}

.guest-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.guest-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(12, 74, 110, 0.06);
}

.guest-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ocean-deep);
}

.spots-remaining {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.spots-bar {
  height: 6px;
  background: rgba(12, 74, 110, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.spots-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 3px;
  transition: width 0.5s ease;
}

.spots-remaining p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--teal) 100%);
  padding: 4rem 0;
}

.cta-inner {
  text-align: center;
  color: var(--white);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.cta p { opacity: 0.9; margin-bottom: 0.5rem; }

.cta-flights {
  margin: 2rem auto 0;
  max-width: 420px;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-flights h3 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.cta-flights-route {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.cta-flights-route span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  opacity: 0.75;
}

.cta-flights-dates,
.cta-flights-price,
.cta-flights-note {
  font-size: 0.95rem;
  opacity: 0.85;
}

.cta-flights-note {
  margin-top: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  opacity: 1;
}

.cta-flights-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ocean-deep);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-flights-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-contact { margin-top: 1.5rem; font-size: 1.1rem; }

/* Footer */
.footer {
  background: var(--ocean-deep);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}

.footer a { color: var(--gold); }
.footer-small { margin-top: 0.5rem; font-size: 0.75rem; opacity: 0.5; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 47, 73, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 1rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-close { top: 1rem; right: 1.5rem; font-size: 2.5rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .villa-layout { grid-template-columns: 1fr; }
  .villa-image { order: -1; }
  .villa-image img { aspect-ratio: 16/10; }

  .amenity-list { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; grid-row: span 1; }

  .pricing { padding: 1.5rem; }
  .pricing-header h3 { font-size: 2.25rem; }
}