/* =====================================================
   ALLIGATOR VIEW — styles.css
   Cloudflare Pages deployment
   ===================================================== */

/* ── TOKENS ── */
:root {
  --sand:        #f5f0e8;
  --cream:       #faf7f2;
  --ocean-deep:  #0a3d4a;
  --ocean-mid:   #1a6b7a;
  --ocean-light: #4ab3c5;
  --ocean-pale:  #d4edf2;
  --coral:       #c4714a;
  --coral-hover: #b06040;
  --text-dark:   #1a1a18;
  --text-mid:    #4a4a42;
  --text-light:  #8a8a7e;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  transition: background 0.4s ease, padding 0.4s ease;
}
nav.scrolled {
  background: rgba(10, 61, 74, 0.96);
  backdrop-filter: blur(12px);
  padding: 16px 60px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: white;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ocean-light); }
.nav-cta {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 9px 22px;
  text-decoration: none;
  transition: all 0.25s;
}
.nav-cta:hover { background: white; color: var(--ocean-deep); }

/* ── HERO ── */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/exterior.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  animation: slowZoom 20s ease-out forwards;
}
@keyframes slowZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.0) 30%,
    rgba(10,61,74,0.78) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 80px;
  animation: fadeUp 1.2s ease 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ocean-light);
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 0.95;
  color: white;
  margin-bottom: 8px;
}
.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
  display: block;
  font-size: 0.65em;
}
.hero-subtitle {
  font-size: 0.75rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }
.btn-primary {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--coral);
  color: white;
  padding: 14px 36px;
  text-decoration: none;
  transition: background 0.25s;
}
.btn-primary:hover { background: var(--coral-hover); }
.btn-ghost {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: all 0.25s;
}
.btn-ghost:hover { color: white; border-color: white; }
.scroll-hint {
  position: absolute;
  bottom: 32px; right: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeUp 1.5s ease 1.2s both;
}
.scroll-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scanLine 2s ease-in-out infinite;
}
@keyframes scanLine {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--ocean-deep);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item {
  padding: 28px 52px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ocean-light);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  display: block;
}

/* ── SECTIONS ── */
section { padding: 100px 60px; }
.section-eyebrow {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ocean-deep);
}
.section-title em { font-style: italic; color: var(--ocean-mid); }

/* ── ORNAMENT ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 20px;
}
.ornament-line { flex: 1; height: 1px; background: var(--ocean-pale); }
.ornament-diamond {
  width: 6px; height: 6px;
  background: var(--coral);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── INTRO ── */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.intro-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  margin-top: 20px;
}
.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ocean-mid);
  border-left: 2px solid var(--ocean-light);
  padding-left: 24px;
  margin: 32px 0;
  line-height: 1.6;
}
.quote small {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  opacity: 0.7;
  font-style: normal;
  margin-top: 10px;
}
.intro-visual { position: relative; }
.intro-img-main {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}
.intro-img-overlay {
  position: absolute;
  bottom: -40px; left: -40px;
  width: 220px; height: 280px;
  object-fit: cover;
  border: 6px solid var(--cream);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.intro-tag {
  position: absolute;
  top: 32px; right: -20px;
  background: var(--ocean-deep);
  color: white;
  padding: 14px 20px;
  text-align: center;
}
.intro-tag-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ocean-light);
}
.intro-tag-txt {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ── GALLERY ── */
.gallery-section { background: var(--ocean-deep); padding: 80px 0; }
.gallery-header {
  padding: 0 60px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.gallery-header .section-title { color: white; }
.gallery-header .section-title em { color: var(--ocean-light); }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 4px;
  padding: 0 60px;
}
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-label { opacity: 1; }

/* ── ROOMS ── */
.rooms-section { background: var(--sand); }
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.room-card { position: relative; overflow: hidden; height: 420px; }
.room-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}
.room-card:hover img { transform: scale(1.04); }
.room-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 36px 32px;
  background: linear-gradient(transparent, rgba(10,61,74,0.9));
  transform: translateY(60px);
  transition: transform 0.4s ease;
}
.room-card:hover .room-card-info { transform: translateY(0); }
.room-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: white;
  margin-bottom: 8px;
}
.room-card-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 16px;
}
.room-card-link {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocean-light);
  text-decoration: none;
  border-bottom: 1px solid var(--ocean-light);
  padding-bottom: 2px;
}
.room-card-wide { grid-column: span 2; height: 380px; }

/* ── AMENITIES ── */
.amenities-section { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.amenities-visual { position: relative; min-height: 600px; overflow: hidden; }
.amenities-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.amenities-visual-overlay { position: absolute; inset: 0; background: rgba(10,61,74,0.25); }
.amenities-content {
  background: var(--ocean-deep);
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.amenities-content .section-eyebrow { color: var(--ocean-light); }
.amenities-content .section-title { color: white; }
.amenities-content .section-title em { color: var(--ocean-light); }
.amenities-content .ornament-line { background: rgba(255,255,255,0.1); }
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-top: 40px;
}
.amenity-item { display: flex; align-items: flex-start; gap: 12px; }
.amenity-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--ocean-light); }
.amenity-text { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.5; }
.amenity-text strong { display: block; font-weight: 400; color: white; font-size: 0.78rem; margin-bottom: 2px; }

/* ── LOCATION ── */
.location-section { background: var(--cream); }
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.location-desc p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  margin-top: 20px;
}
.location-details { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.location-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 300;
}
.location-detail-item svg { color: var(--coral); flex-shrink: 0; }
.location-map-img { width: 100%; height: 460px; object-fit: cover; display: block; }
.map-overlay-card {
  background: white;
  padding: 20px 24px;
}
.map-overlay-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ocean-deep);
  margin-bottom: 4px;
}
.map-overlay-sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ── CONTACT ── */
.contact-section { background: var(--sand); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info p {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  margin-top: 24px;
  margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-detail { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; font-weight: 300; color: var(--text-dark); }
.contact-detail svg { color: var(--ocean-mid); flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 400;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 12px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--ocean-mid); }
.form-group textarea { height: 110px; resize: none; }
.form-submit {
  background: var(--ocean-deep);
  color: white;
  padding: 16px 48px;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 8px;
  align-self: flex-start;
  border-radius: 0;
}
.form-submit:hover { background: var(--ocean-mid); }

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: white;
  letter-spacing: 0.15em;
}
.footer-logo span {
  display: block;
  font-size: 0.62rem;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.footer-copy { font-size: 0.7rem; font-weight: 300; color: rgba(255,255,255,0.3); }
.footer-nav { display: flex; gap: 32px; list-style: none; }
.footer-nav a {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: white; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 28px; right: 36px;
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-weight: 200;
  line-height: 1;
  transition: color 0.2s;
  background: none;
  border: none;
}
.lightbox-close:hover { color: white; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  .hero-content { padding: 0 24px 60px; }
  .scroll-hint { right: 24px; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { padding: 20px 28px; width: 33.33%; }
  .intro { grid-template-columns: 1fr; gap: 40px; }
  .intro-img-overlay { display: none; }
  .gallery-section { padding: 60px 0; }
  .gallery-header { padding: 0 24px 36px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; padding: 0 24px; gap: 4px; }
  .gallery-item:first-child { grid-row: auto; }
  .gallery-item { height: 200px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .room-card-wide { grid-column: span 1; }
  .amenities-section { grid-template-columns: 1fr; }
  .amenities-visual { min-height: 300px; }
  .amenities-content { padding: 50px 30px; }
  .amenities-grid { grid-template-columns: 1fr; }
  .location-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-section { padding: 70px 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 40px 24px; }
}
