/* ==========================================================================
   GOLDEN SANDS – BY THE BAY
   Luxury Coastal Resort Stylesheet
   ========================================================================== */

:root {
  --color-sand-50: #faf8f5;
  --color-sand-100: #f4efe6;
  --color-sand-200: #e8ded0;
  --color-ocean-dark: #0b1e33;
  --color-ocean-deep: #122b45;
  --color-ocean-blue: #1a446c;
  --color-cyan-coastal: #0284c7;
  --color-gold: #c59b27;
  --color-gold-hover: #b0871d;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-border: #e2e8f0;
  --color-white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-subtle: 0 4px 20px -2px rgba(11, 30, 51, 0.05);
  --shadow-card: 0 12px 32px -4px rgba(11, 30, 51, 0.08);
  --shadow-hover: 0 20px 45px -8px rgba(11, 30, 51, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-sand-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-ocean-dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-ocean-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-ocean-deep);
  white-space: nowrap;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-ocean-dark);
  color: var(--color-white);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid var(--color-ocean-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--color-ocean-blue);
  border-color: var(--color-ocean-blue);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 30, 51, 0.2);
}

.btn-gold {
  background: linear-gradient(135deg, #c59b27, #dfb441);
  color: #ffffff;
  border: none;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #b0871d, #c59b27);
  color: #ffffff;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
  background-color: #1eb855;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-ocean-dark);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--color-ocean-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background-color: var(--color-sand-100);
}

/* ==========================================================================
   Hero Section with 3D Depth & Cinematic Atmosphere
   ========================================================================== */
.hero-wrapper {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-ocean-dark);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.88;
}

.hero-overlay-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 30, 51, 0.45) 0%, rgba(11, 30, 51, 0.75) 75%, rgba(11, 30, 51, 0.95) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1360px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  color: #ffffff;
}

.hero-kicker {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e5c158;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  max-width: 820px;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   Booking Bar Widget (3D floating card)
   ========================================================================== */
.booking-widget-wrapper {
  position: relative;
  z-index: 30;
  margin-top: -3.5rem;
  margin-bottom: 3.5rem;
}

.booking-widget-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -10px rgba(11, 30, 51, 0.15);
  border: 1px solid var(--color-border);
  padding: 1.5rem 2rem;
  perspective: 1000px;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) 1.2fr;
  gap: 1.25rem;
  align-items: flex-end;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-custom label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ocean-dark);
}

.form-control-custom {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--color-text-main);
  background-color: var(--color-sand-50);
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

/* ==========================================================================
   Section Containers & Rhythm
   ========================================================================== */
.section-padding {
  padding: 5rem 1.5rem;
}

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

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

.section-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  color: var(--color-ocean-dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.6;
}

/* ==========================================================================
   3D Tilt Room Cards
   ========================================================================== */
.room-card-3d {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.room-card-3d:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(197, 155, 39, 0.4);
}

.room-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--color-sand-100);
}

.room-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-card-3d:hover .room-img-container img {
  transform: scale(1.05);
}

.room-card-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-title {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.room-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.room-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--color-text-main);
  flex-grow: 1;
}

.room-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.room-feature-list li i {
  color: var(--color-gold);
}

.room-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   Amenity Cards
   ========================================================================== */
.amenity-card-3d {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.amenity-card-3d:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(197, 155, 39, 0.3);
}

.amenity-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: var(--color-sand-100);
  color: var(--color-ocean-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-smooth);
}

.amenity-card-3d:hover .amenity-icon-wrap {
  background-color: var(--color-ocean-dark);
  color: #ffffff;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-ocean-dark);
  color: #ffffff;
  padding: 4.5rem 1.5rem 2rem;
  border-top: 3px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  gap: 3rem;
  max-width: 1360px;
  margin: 0 auto 3.5rem;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-lead {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5c158;
  margin-bottom: 1.25rem;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link-list a {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-link-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-contact-item i {
  color: #e5c158;
  margin-top: 0.2rem;
  font-size: 1rem;
}

.footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}
