/* ═══════════════════════════════════════════
   MARINA DEL RAY — Main Stylesheet
   Full Stack Lombok © 2026
═══════════════════════════════════════════ */

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

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --navy:       #0a1628;
  --navy-mid:   #0f2040;
  --deep:       #061020;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim:   rgba(201,168,76,0.2);
  --cream:      #f5f0e8;
  --white:      #ffffff;
  --muted:      rgba(245,240,232,0.55);
  --muted2:     rgba(245,240,232,0.35);
  --text-dark:  #1a1a2e;
  --text-gray:  #6b7280;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--deep);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
.display { font-family: 'Cormorant Garamond', serif; }
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 300; line-height: 1.1; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  transition: all 0.4s ease;
}

.navbar.transparent {
  background: linear-gradient(to bottom, rgba(6,16,32,0.9) 0%, transparent 100%);
}

.navbar.solid {
  background: rgba(6,16,32,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 1rem 3rem;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo span { color: var(--gold); }

.nav-logo-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  color: var(--navy) !important;
  background: var(--gold);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: background var(--transition), transform 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6,16,32,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--cream);
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav .mob-cta {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--gold);
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  margin-top: 0.5rem;
}

/* ── PAGE HERO (non-home) ── */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,16,32,0.4) 0%, rgba(6,16,32,0.85) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem 3.5rem;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.page-hero-badge::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
}

/* ── SECTIONS ── */
.section {
  padding: 6rem 3rem;
}

.section-light {
  background: var(--cream);
  color: var(--text-dark);
}

.section-mid {
  background: var(--navy);
}

.section-dark {
  background: var(--deep);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
}
.section-light .section-label { color: var(--gold); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1.2rem;
}
.section-light .section-title { color: var(--navy); }
.section-mid .section-title { color: var(--white); }

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 520px;
}
.section-light .section-subtitle { color: var(--text-gray); }

/* ── GOLD DIVIDER ── */
.gold-line {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.95rem 2.2rem;
  border-radius: 2px;
  transition: background var(--transition), transform 0.25s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(201,168,76,0.2);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.3s, gap 0.3s;
}
.btn-ghost:hover { color: var(--gold-light); gap: 0.9rem; }

/* ── CARDS ── */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.card-light {
  background: var(--white);
  border: 1px solid #e8e0d0;
  color: var(--text-dark);
}

/* ── STATS BAR ── */
.stats-bar {
  background: rgba(201,168,76,0.06);
  border-top: 1px solid rgba(201,168,76,0.18);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  display: flex;
  justify-content: center;
}

.stat-item {
  flex: 1;
  max-width: 220px;
  padding: 1.8rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.12);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── ICON BOX ── */
.icon-box {
  width: 52px; height: 52px;
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  transition: background var(--transition), border-color var(--transition);
}
.card:hover .icon-box {
  background: var(--gold-dim);
  border-color: var(--gold);
}

/* ── TABLE ── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(201,168,76,0.15);
}
.price-table th {
  background: var(--navy-mid);
  padding: 1rem 1.4rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.price-table td {
  padding: 1rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.price-table tr:hover td { background: rgba(201,168,76,0.04); color: var(--cream); }
.price-table td:last-child { color: var(--gold-light); font-weight: 500; text-align: right; }
.price-table th:last-child { text-align: right; }

/* ── CONTACT SECTION ── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.contact-value {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  background: var(--deep);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 4rem 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.footer-brand-name span { color: var(--gold); }

.footer-tagline {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.7;
  margin: 0.8rem 0 1.5rem;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.footer-col-title {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--muted2);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--muted2);
}
.footer-copy span { color: var(--gold); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible { opacity: 1; }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ── LIGHTBOX ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox-overlay.open { opacity: 1; pointer-events: all; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--gold-dim);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 1.5rem;
  color: var(--cream);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--gold); }

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

@media (max-width: 768px) {
  .navbar { padding: 1.1rem 1.5rem; }
  .navbar.solid { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 4rem 1.5rem; }
  .page-hero-content { padding: 0 1.5rem 2.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1 1 40%; max-width: 50%; }
  .stat-item:nth-child(2) { border-right: none; }
  footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-item { flex: 1 1 100%; max-width: 100%; border-right: none; border-bottom: 1px solid rgba(201,168,76,0.12); }
}
