@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --sand: #f2ead8;
  --sand-dark: #e8dcc4;
  --ocean: #2a6b7c;
  --ocean-light: #4a8fa0;
  --ocean-deep: #1a4a58;
  --foam: #f8f4ec;
  --bark: #5c3d2e;
  --bark-light: #8c6249;
  --text: #2b2420;
  --text-muted: #7a6a60;
  --white: #ffffff;
  --wave-green: #6b8c6e;
  --radius: 4px;
  --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--foam);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 64px;
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42, 107, 124, 0.12);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(42, 107, 124, 0.1);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--ocean-deep);
  text-decoration: none;
  font-style: italic;
  letter-spacing: 0.02em;
}

.nav-logo span {
  font-style: normal;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  display: block;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

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

.lang-toggle {
  display: flex;
  gap: 4px;
  margin-left: 1rem;
}

.lang-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--ocean);
  color: white;
  border-color: var(--ocean);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ocean-deep);
  transition: all 0.3s;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--ocean-deep);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean) 50%, var(--ocean-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(26,74,88,0.6), transparent);
}

.wave-svg {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 0 5vw;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-weight: 700;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.8);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: white;
  color: var(--ocean-deep);
}

.btn-primary:hover {
  background: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-ocean {
  background: var(--ocean);
  color: white;
}

.btn-ocean:hover {
  background: var(--ocean-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,107,124,0.3);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ── SECTIONS ── */
section { padding: 80px 5vw; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--ocean-deep);
  margin-bottom: 1rem;
}

.section-title em { font-style: italic; color: var(--bark-light); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  font-weight: 300;
}

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--ocean-deep);
  color: white;
  padding: 60px 5vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.about-stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(42,107,124,0.08);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(42,107,124,0.12);
}

.service-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.service-img.placeholder {
  background: linear-gradient(135deg, var(--ocean-light) 0%, var(--ocean-deep) 100%);
  color: rgba(255,255,255,0.5);
}

.service-body { padding: 1.5rem; }

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--ocean);
}

.service-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--ocean-deep);
  margin-bottom: 0.5rem;
}

.service-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── ROOMS ── */
.rooms-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

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

.room-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(42,107,124,0.08);
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(42,107,124,0.12);
}

.room-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.room-img.placeholder {
  background: linear-gradient(135deg, var(--sand-dark), var(--sand));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.room-body { padding: 1.25rem 1.5rem 1.5rem; }

.room-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--ocean-deep);
  margin-bottom: 0.25rem;
}

.room-type {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocean-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.room-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 1rem;
}

.room-price strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--ocean-deep);
}

.room-price span {
  font-size: 12px;
  color: var(--text-muted);
}

.room-amenities {
  display: flex;
  gap: 8px;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.amenity-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--sand);
  color: var(--bark);
  letter-spacing: 0.05em;
}

/* ── KITCHEN BANNER ── */
.kitchen-banner {
  background: var(--sand-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(92,61,46,0.12);
}

.kitchen-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.kitchen-banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--bark);
  margin-bottom: 0.4rem;
}

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

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  margin-top: 3rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-dark);
}

.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

.gallery-item .placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: transform 0.4s;
}

.gallery-item:hover .placeholder-img { transform: scale(1.04); }

.gallery-item:nth-child(1) .placeholder-img { background: linear-gradient(135deg, #2a6b7c, #1a4a58); color: rgba(255,255,255,0.5); min-height: 360px; }
.gallery-item:nth-child(2) .placeholder-img { background: linear-gradient(135deg, #e8dcc4, #d4c8a8); }
.gallery-item:nth-child(3) .placeholder-img { background: linear-gradient(135deg, #6b8c6e, #4a6b4d); color: rgba(255,255,255,0.5); }
.gallery-item:nth-child(4) .placeholder-img { background: linear-gradient(135deg, #4a8fa0, #2a6b7c); color: rgba(255,255,255,0.5); }
.gallery-item:nth-child(5) .placeholder-img { background: linear-gradient(135deg, #8c6249, #5c3d2e); color: rgba(255,255,255,0.5); }

/* ── LOCATION ── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sand-dark);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-features {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.loc-icon {
  width: 32px;
  height: 32px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ocean);
}

/* ── RESERVE CTA ── */
.reserve-cta {
  background: var(--ocean-deep);
  color: white;
  text-align: center;
  padding: 100px 5vw;
  position: relative;
  overflow: hidden;
}

.reserve-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(74,143,160,0.2) 0%, transparent 70%);
}

.reserve-cta .section-title {
  color: white;
  max-width: 600px;
  margin: 0 auto 0.75rem;
}

.reserve-cta .section-title em { color: rgba(255,255,255,0.6); }
.reserve-cta .section-sub { color: rgba(255,255,255,0.6); margin: 0 auto 2.5rem; }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  padding: 3rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: white;
  font-style: italic;
  margin-bottom: 0.5rem;
}

footer p { font-size: 0.85rem; line-height: 1.8; }

footer h4 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 1rem 5vw;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── LANG HIDDEN ── */
[data-lang] { display: none; }
[data-lang].active { display: block; }
span[data-lang].active { display: inline; }

/* ── FLOATING WHATSAPP ── */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}

/* ── TABLET (max 900px) ── */
@media (max-width: 900px) {
  .rooms-intro { grid-template-columns: 1fr; gap: 2rem; }
  .location-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
  .gallery-item:nth-child(4) { grid-column: span 2; }
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--foam);
    padding: 1.5rem 5vw 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--sand-dark);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-links.open a { font-size: 15px; padding: 0.5rem 0; }
  .nav-hamburger { display: flex; }
  .lang-toggle { margin-left: 0; margin-top: 0.5rem; }

  /* Hero */
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* About strip */
  .about-strip { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 40px 5vw; }

  /* Sections */
  section { padding: 56px 5vw; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Rooms */
  .rooms-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item:first-child { grid-column: span 2; }
  .gallery-item:nth-child(1) .placeholder-img { min-height: 220px; }
  .gallery-item:nth-child(4) { grid-column: span 2; }

  /* Location */
  .location-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Reserve CTA */
  .reserve-cta { padding: 60px 5vw; }
  .reserve-cta .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Kitchen banner */
  .kitchen-banner { flex-direction: column; text-align: center; padding: 2rem; }

  /* Footer */
  footer { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 5vw; }

  /* Floating WA — bigger tap target on mobile */
  .float-wa { width: 60px; height: 60px; bottom: 20px; right: 20px; }
}

/* ── SMALL PHONES (max 400px) ── */
@media (max-width: 400px) {
  .about-strip { grid-template-columns: 1fr; }
  .about-stat strong { font-size: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child,
  .gallery-item:nth-child(4) { grid-column: span 1; }
  .hero h1 { font-size: 2.4rem; }
  nav { padding: 0 4vw; }
  .nav-logo { font-size: 18px; }
}
