/* ============================================================
   Apartment Lina Sea View - Luxury Rental Website
   styles.css
   ============================================================ */

/* ----------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  --color-ocean:       #1a6b8a;
  --color-ocean-dark:  #0d4a63;
  --color-ocean-light: #2a8ab0;
  --color-sand:        #f4ede4;
  --color-sand-dark:   #e8d9c8;
  --color-white:       #ffffff;
  --color-off-white:   #fafaf8;
  --color-text:        #1c1c1c;
  --color-text-muted:  #6b7280;
  --color-text-light:  #9ca3af;
  --color-accent:      #c9a96e;
  --color-accent-dark: #a8895a;
  --color-error:       #dc2626;
  --color-success:     #059669;
  --color-available:   #10b981;
  --color-booked:      #ef4444;
  --color-blocked:     #d1d5db;

  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.18), 0 8px 20px rgba(0,0,0,.10);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1280px;
  --section-pad: 100px 24px;
  --section-pad-mobile: 64px 20px;
}

/* ----------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ----------------------------------------------------------
   Typography
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 620px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ----------------------------------------------------------
   Utility Classes
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-ocean);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(26,107,138,.35);
}

.btn-primary:hover {
  background: var(--color-ocean-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,107,138,.45);
}

.btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-ocean);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(201,169,110,.35);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  transition: var(--transition);
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}

#navbar.scrolled .nav-logo-name { color: var(--color-ocean-dark); }
#navbar.scrolled .nav-logo-sub  { color: var(--color-text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--color-white); }

#navbar.scrolled .nav-links a { color: var(--color-text-muted); }
#navbar.scrolled .nav-links a:hover { color: var(--color-ocean); }

.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--color-accent-dark) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
  border-radius: 2px;
}

#navbar.scrolled .nav-hamburger span { background: var(--color-text); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--color-white);
  z-index: 1100;
  padding: 80px 32px 40px;
  flex-direction: column;
  gap: 8px;
  box-shadow: -10px 0 40px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile.open {
  display: flex;
  transform: translateX(0);
}

.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-sand-dark);
  transition: var(--transition);
}

.nav-mobile a:hover { color: var(--color-ocean); padding-left: 8px; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
}

.nav-overlay.open { display: block; }

.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 4px;
}

/* ----------------------------------------------------------
   Hero Section
   ---------------------------------------------------------- */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,30,50,.45) 0%,
    rgba(0,20,40,.6) 60%,
    rgba(0,10,30,.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 24px;
}

.hero-badge span { color: var(--color-accent); }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-title-sub {
  display: block;
  font-size: 0.42em;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  opacity: 0.88;
  margin-top: 6px;
}

/* ----------------------------------------------------------
   Cancellation Policy Box (used in availability & booking form)
   ---------------------------------------------------------- */
.cancellation-policy {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.cancellation-policy.on-light {
  background: var(--color-off-white);
}

.cancellation-policy-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ocean-dark);
  margin-bottom: 14px;
}

.cancellation-policy-title svg {
  width: 16px;
  height: 16px;
  color: var(--color-ocean);
}

.cancellation-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cancellation-option {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.co-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.co-name::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.co-name.co-refundable        { color: var(--color-success); }
.co-name.co-refundable::before { background: var(--color-available); }
.co-name.co-nonref            { color: var(--color-ocean); }
.co-name.co-nonref::before     { background: var(--color-ocean); }

.cancellation-option ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cancellation-option li {
  position: relative;
  padding-left: 16px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.cancellation-option li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-ocean-light);
}

@media (max-width: 640px) {
  .cancellation-options { grid-template-columns: 1fr; gap: 16px; }
}

.cancellation-policy-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.cancellation-policy-note a { color: var(--color-ocean); text-decoration: underline; }

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  z-index: 1;
}

.hero-stat {
  padding: 20px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
  flex: 1;
  max-width: 200px;
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 11px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ----------------------------------------------------------
   Highlights Section
   ---------------------------------------------------------- */
#highlights {
  padding: var(--section-pad);
  background: var(--color-off-white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.highlight-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.04);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-ocean), var(--color-accent));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.highlight-card:hover::before { transform: scaleX(1); }

.highlight-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(26,107,138,.1), rgba(26,107,138,.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
  background: linear-gradient(135deg, var(--color-ocean), var(--color-ocean-light));
  transform: scale(1.1);
}

.highlight-card:hover .highlight-icon svg { color: white; }

.highlight-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-ocean);
  transition: var(--transition);
}

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.highlight-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   About Section
   ---------------------------------------------------------- */
#about {
  padding: var(--section-pad);
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--color-white);
}

.about-badge {
  position: absolute;
  top: 24px;
  left: -20px;
  background: var(--color-ocean);
  color: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.about-badge-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge-text {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.about-content { padding-bottom: 40px; }

.about-text {
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 1.0rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.about-feature svg {
  width: 18px;
  height: 18px;
  color: var(--color-ocean);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Gallery Section
   ---------------------------------------------------------- */
#gallery {
  padding: var(--section-pad);
  background: var(--color-text);
}

#gallery .section-title { color: var(--color-white); }
#gallery .section-label { color: var(--color-accent); }
#gallery .section-subtitle { color: rgba(255,255,255,.6); }

.gallery-grid {
  columns: 4;
  column-gap: 16px;
  margin-top: 8px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-md);
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,107,138,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius-md);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay svg {
  width: 36px;
  height: 36px;
  color: white;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open { display: flex; }

.lightbox-img-wrap {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  user-select: none;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  color: rgba(255,255,255,.8);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-close:hover { color: white; transform: rotate(90deg); }

.lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-btn:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-btn svg { width: 20px; height: 20px; }

.lightbox-counter {
  margin-top: 20px;
  color: rgba(255,255,255,.5);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.lightbox-caption {
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
  text-align: center;
}

/* ----------------------------------------------------------
   Amenities Section
   ---------------------------------------------------------- */
#amenities {
  padding: var(--section-pad);
  background: var(--color-off-white);
}

.amenities-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.amenity-tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--color-sand-dark);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
  background: var(--color-white);
}

.amenity-tab.active,
.amenity-tab:hover {
  background: var(--color-ocean);
  border-color: var(--color-ocean);
  color: var(--color-white);
}

.amenities-panel { display: none; }
.amenities-panel.active { display: block; }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.amenity-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.04);
}

.amenity-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.amenity-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,107,138,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.amenity-item-text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.amenity-item-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ----------------------------------------------------------
   Calendar Section
   ---------------------------------------------------------- */
#availability {
  padding: var(--section-pad);
  background: var(--color-white);
}

.calendar-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Rentl.io booking engine - launch CTA card
   (Rentl.io sends X-Frame-Options: SAMEORIGIN, so the engine cannot be
   iframe-embedded; we open it in a new tab instead.) */
.booking-cta-card {
  background: linear-gradient(135deg, var(--color-ocean-dark), var(--color-ocean));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.booking-cta-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(201,169,110,.25), transparent 70%);
  pointer-events: none;
}

.booking-cta-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.booking-cta-icon svg { width: 32px; height: 32px; color: #fff; }

.booking-cta-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

.booking-cta-card > p {
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.8;
  font-size: 1rem;
  position: relative;
}

/* Booking search form on the CTA card */
.booking-search {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.bs-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1 1 160px;
  min-width: 140px;
}

.bs-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 6px;
}

.bs-field input,
.bs-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.96);
  color: var(--color-text);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.bs-field input:focus,
.bs-field select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201,169,110,.35);
}

.bs-field-guests { flex: 0 1 150px; }

.booking-cta-btn {
  background: var(--color-accent) !important;
  color: #fff !important;
  font-size: 1rem !important;
  padding: 14px 28px !important;
  box-shadow: 0 8px 30px rgba(201,169,110,.4);
  position: relative;
  flex: 0 0 auto;
  height: 48px;
}

.booking-cta-btn:hover {
  background: var(--color-accent-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 38px rgba(201,169,110,.5);
}

.booking-search-error {
  flex-basis: 100%;
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #ffd7d7;
  min-height: 0;
  display: none;
}

.booking-search-error.show { display: block; }

.booking-search-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  font-size: 0.83rem;
  color: rgba(255,255,255,.82);
  position: relative;
}

.booking-search-note svg {
  width: 15px;
  height: 15px;
  color: var(--color-accent);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .booking-search { flex-direction: column; align-items: stretch; }
  .bs-field, .bs-field-guests { flex: 1 1 auto; width: 100%; }
  .booking-cta-btn { width: 100%; justify-content: center; }
}

.booking-cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  position: relative;
}

.booking-cta-trust span {
  font-size: 0.85rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.booking-cta-powered {
  margin-top: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.55);
  position: relative;
}

@media (max-width: 768px) {
  .booking-cta-card { padding: 40px 24px; }
  .booking-cta-trust { gap: 14px; flex-direction: column; }
}

.calendar-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.legend-dot.available { background: var(--color-available); }
.legend-dot.booked    { background: var(--color-booked); }
.legend-dot.blocked   { background: var(--color-blocked); }
.legend-dot.selected  { background: var(--color-ocean); }

.calendar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.calendar-month {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.calendar-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-month-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.cal-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--color-white);
}

.cal-nav-btn:hover {
  background: var(--color-ocean);
  border-color: var(--color-ocean);
  color: white;
}

.cal-nav-btn svg { width: 14px; height: 14px; }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding: 4px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  position: relative;
}

.cal-day.empty { pointer-events: none; }

.cal-day.available {
  color: var(--color-text);
  background: rgba(16,185,129,.1);
}

.cal-day.available:hover {
  background: var(--color-available);
  color: white;
}

.cal-day.booked {
  background: rgba(239,68,68,.12);
  color: var(--color-booked);
  cursor: not-allowed;
  text-decoration: line-through;
}

.cal-day.blocked {
  background: var(--color-blocked);
  color: var(--color-text-light);
  cursor: not-allowed;
}

.cal-day.selected {
  background: var(--color-ocean);
  color: white;
  font-weight: 700;
}

.cal-day.in-range {
  background: rgba(26,107,138,.15);
  color: var(--color-ocean-dark);
  border-radius: 0;
}

.cal-day.today::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}

.cal-day.past {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.calendar-status {
  margin-top: 24px;
  text-align: center;
  padding: 16px;
  background: rgba(26,107,138,.06);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--color-ocean-dark);
  font-weight: 500;
}

.ical-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.ical-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-blocked);
  animation: pulse 2s ease infinite;
}

.ical-dot.synced { background: var(--color-available); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ----------------------------------------------------------
   Location Section
   ---------------------------------------------------------- */
#location {
  padding: var(--section-pad);
  background: var(--color-off-white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f4f8, #d0e8f0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-ocean);
  gap: 12px;
}

.map-placeholder svg { width: 48px; height: 48px; opacity: .6; }

.map-placeholder p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 220px;
}

.location-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.location-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.location-item-icon {
  width: 46px;
  height: 46px;
  background: rgba(26,107,138,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.location-item-text { flex: 1; }

.location-item-text h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
  font-family: var(--font-body);
}

.location-item-text p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.location-distance {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-ocean);
  background: rgba(26,107,138,.08);
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ----------------------------------------------------------
   Testimonials Section
   ---------------------------------------------------------- */
#testimonials {
  padding: var(--section-pad);
  background: linear-gradient(135deg, var(--color-ocean-dark), var(--color-ocean));
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 40px;
  font-family: var(--font-heading);
  font-size: 20rem;
  color: rgba(255,255,255,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

#testimonials .section-title { color: var(--color-white); }
#testimonials .section-label { color: var(--color-accent); }
#testimonials .section-subtitle { color: rgba(255,255,255,.65); }

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 40px;
}

.testimonial-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  fill: var(--color-accent);
}

.testimonial-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.9);
  line-height: 1.85;
  font-style: italic;
  font-family: var(--font-heading);
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-white);
  font-size: 1rem;
}

.testimonial-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testimonials-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonials-btn:hover { background: rgba(255,255,255,.2); }
.testimonials-btn svg { width: 18px; height: 18px; }

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* ----------------------------------------------------------
   Reviews Section
   ---------------------------------------------------------- */
#reviews {
  padding: var(--section-pad);
  background: var(--color-white);
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--color-ocean-dark), var(--color-ocean));
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  margin-bottom: 60px;
  color: white;
  flex-wrap: wrap;
}

.reviews-score {
  text-align: center;
  flex-shrink: 0;
}

.reviews-score-num {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: white;
}

.reviews-score-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
}

.reviews-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

.reviews-summary-text h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: white;
}

.reviews-summary-text p {
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
  max-width: 400px;
  line-height: 1.7;
}

.reviews-platform {
  margin-left: auto;
  text-align: center;
  flex-shrink: 0;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a.reviews-platform:hover { transform: translateY(-3px); }
a.reviews-platform:hover .reviews-award-icon { background: rgba(201,169,110,.3); }

.reviews-award-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(201,169,110,.18);
  border: 1px solid rgba(201,169,110,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.reviews-award-icon svg { width: 26px; height: 26px; }

.reviews-platform-logo {
  background: white;
  color: var(--color-ocean-dark);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: inline-block;
}

.reviews-platform p {
  font-size: 0.78rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}



/* ----------------------------------------------------------
   Contact / Booking Form Section
   ---------------------------------------------------------- */
#contact {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--color-off-white) 0%, white 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 32px;
  font-size: 1rem;
}

.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(16,185,129,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg { width: 18px; height: 18px; color: var(--color-available); }

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.contact-method:hover { color: var(--color-ocean); }

.contact-method svg { width: 20px; height: 20px; color: var(--color-ocean); flex-shrink: 0; }


/* ----------------------------------------------------------
   Floating Action Buttons
   ---------------------------------------------------------- */
.fab-group {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  position: relative;
}

.fab-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-xl); }

.fab-btn.whatsapp { background: #25d366; }
.fab-btn.email    { background: var(--color-ocean); }
.fab-btn.phone    { background: var(--color-accent); }

.fab-btn svg { width: 24px; height: 24px; color: white; }

.fab-tooltip {
  position: absolute;
  right: 62px;
  white-space: nowrap;
  background: rgba(0,0,0,.8);
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.fab-btn:hover .fab-tooltip { opacity: 1; }

/* Sticky Book Button */
.sticky-book-btn {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 800;
  background: linear-gradient(135deg, var(--color-ocean), var(--color-accent));
  color: white;
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 30px rgba(26,107,138,.45);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: none;
}

.sticky-book-btn:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 12px 40px rgba(26,107,138,.55);
}

/* Desktop floating book btn */
.desktop-book-fab {
  position: fixed;
  bottom: 110px;
  right: 28px;
  z-index: 800;
  background: linear-gradient(135deg, var(--color-ocean-dark), var(--color-ocean));
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.desktop-book-fab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.desktop-book-fab svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
#footer {
  background: #0d1520;
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand {}

.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.footer-logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,.6);
}

.footer-social:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
  transform: translateY(-3px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-contact-item svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,.3); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,.3);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--color-accent); }

/* ----------------------------------------------------------
   Fade-in animations
   ---------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ----------------------------------------------------------
   House Rules
   ---------------------------------------------------------- */
#rules {
  padding: 60px 24px;
  background: var(--color-off-white);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  background: white;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.rule-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.rule-item.allowed svg { color: var(--color-available); }
.rule-item.disallowed svg { color: var(--color-error); }

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-grid         { gap: 48px; }
  .contact-grid       { gap: 48px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 40px; }
  .gallery-grid       { columns: 3; }
  .location-grid      { gap: 36px; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-mobile);
  }

  .nav-links      { display: none; }
  .nav-hamburger  { display: flex; }

  .hero-stats { display: none; }

  .about-grid         { grid-template-columns: 1fr; }
  .about-images       { display: none; }
  .about-img-secondary{ display: none; }
  .about-badge        { display: none; }

  .contact-grid       { grid-template-columns: 1fr; }

  .gallery-grid       { columns: 2; }

  .location-grid      { grid-template-columns: 1fr; }
  .map-container      { aspect-ratio: 16/10; }

  .calendar-grid      { grid-template-columns: 1fr; }

  .footer-grid        { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom      { flex-direction: column; text-align: center; }

  .reviews-summary    { flex-direction: column; text-align: center; gap: 20px; }
  .reviews-divider    { width: 80px; height: 1px; }
  .reviews-platform   { margin-left: 0; }

  .hero-stat          { padding: 14px 20px; }

  .testimonial-card   { padding: 32px 24px; }
  .testimonial-slide  { padding: 0 16px; }

  /* Sticky CTA mobile */
  .sticky-book-btn    { display: block; }
  .desktop-book-fab   { display: none; }
  .fab-group          { bottom: 100px; }
}

/* Compact amenities grid on mobile: 4-5 small tiles per row */
@media (max-width: 640px) {
  .highlights-grid {
    grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
    gap: 8px;
    margin-top: 8px;
  }
  .highlight-card {
    padding: 14px 4px;
    border-radius: var(--radius-md);
  }
  .highlight-card:hover { transform: none; }
  .highlight-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }
  .highlight-icon svg { width: 20px; height: 20px; }
  /* Hide the full desktop title (kept in DOM for screen readers / SEO) */
  .highlight-card h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  /* Short one-line label under the icon (set via data-short in script.js) */
  .highlight-card::after {
    content: attr(data-short);
    display: block;
    margin-top: 8px;
    font-size: 0.57rem;
    font-weight: 600;
    line-height: 1;
    color: var(--color-text);
    white-space: nowrap;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-features  { grid-template-columns: 1fr; }
}

/* Print */
@media print {
  #navbar, .fab-group, .sticky-book-btn, .desktop-book-fab, .lightbox { display: none !important; }
}
