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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background-color: #f5f7fa;
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  scroll-margin-top: 60px;
}

.section.alt {
  background-color: #e8f2f5;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: #6b7580;
  margin-bottom: 2rem;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #ffffffcc;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d7e1ea;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid #1c6e8c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #1c6e8c;
}

.logo-text {
  color: #102a43;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: #243b53;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background-color: #dbeafe;
  color: #1c6e8c;
}

.nav-cta {
  border: 1px solid #1c6e8c;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
  color: #102a43;
}

.hero-subtitle {
  margin-bottom: 1.5rem;
  color: #52606d;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: #829ab1;
  margin-bottom: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #52606d;
}

.hero-details span {
  padding: 0.3rem 0.8rem;
  background-color: #e3eff7;
  border-radius: 999px;
}

/* Hero card */
.hero-card {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.hero-image,
.bedroom-image,
.map-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-image {
  max-height: 300px;
  background: linear-gradient(135deg, #1c6e8c, #5fb3c1);
}

.hero-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.hero-card-body h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.hero-card-body p {
  font-size: 0.95rem;
  color: #52606d;
  margin-bottom: 1rem;
}

.mini-list {
  list-style: none;
  font-size: 0.9rem;
  color: #243b53;
}

.mini-list li + li {
  margin-top: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background-color: #1c6e8c;
  color: #fdfdfd;
}

.btn.primary:hover {
  background-color: #154b60;
}

.btn.ghost {
  background-color: transparent;
  color: #1c6e8c;
  border-color: #1c6e8c;
}

.btn.ghost:hover {
  background-color: #e3f4ff;
}

.btn.full-width {
  width: 100%;
}

.btn.large {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* Two-column layout */
.two-column {
  display: grid;
  gap: 2rem;
}

/* Info / card styles */
.info-card,
.map-card,
.amenity-card,
.bedroom-card,
.booking-cta-card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.checklist {
  list-style: none;
  margin-top: 0.75rem;
}

.checklist li {
  padding-left: 0.25rem;
}

.checklist li + li {
  margin-top: 0.4rem;
}

/* Bedrooms Section */
.bedrooms-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.bedroom-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.bedroom-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e3f4ff, #d0e8f2);
}

.bedroom-info {
  padding: 1.25rem 1.5rem;
}

.bedroom-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #102a43;
}

.bed-type {
  font-weight: 600;
  color: #1c6e8c;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.bedroom-info p {
  font-size: 0.9rem;
  color: #52606d;
}

.bathroom-note {
  background-color: #fff;
  border-radius: 0.9rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.bathroom-note p {
  color: #334e68;
  font-size: 0.95rem;
}

/* Amenities */
.amenities-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.amenity-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.amenity-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: #52606d;
}

.amenity-card li {
  padding-left: 0.25rem;
}

.amenity-card li + li {
  margin-top: 0.35rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-item-image {
  background-color: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.gallery-item-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.gallery-caption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #334e68;
  text-align: center;
  background-color: #f9fafb;
}

/* Location */
.location-subhead {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: #102a43;
}

.location-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.location-list li {
  padding: 0.4rem 0;
  color: #52606d;
  font-size: 0.95rem;
}

.location-list li + li {
  border-top: 1px solid #e8f2f5;
}

.map-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-image {
  width: 100%;
  height: 280px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #d0e8f2, #a8dadc);
}

.map-address {
  font-size: 0.95rem;
  color: #102a43;
  line-height: 1.6;
}

.map-note {
  font-size: 0.85rem;
  color: #6b7580;
}

/* Booking Section */
.booking-section {
  max-width: 900px;
  margin: 0 auto;
}

.booking-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.booking-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.booking-header p {
  font-size: 1rem;
  color: #52606d;
  max-width: 600px;
  margin: 0 auto;
}

.booking-cta-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.booking-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.booking-detail {
  font-size: 0.9rem;
  color: #334e68;
}

.booking-actions {
  text-align: center;
}

.host-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6b7580;
  line-height: 1.5;
}

.contact-alternative {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 0.9rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.contact-alternative h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #102a43;
}

.contact-alternative p {
  font-size: 0.9rem;
  color: #52606d;
}

/* Footer */
.site-footer {
  background-color: #0b1727;
  color: #cbd2d9;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand .logo-text {
  color: #f5f7fa;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #9fb3c8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  color: #cbd2d9;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #5fb3c1;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #1e3a52;
  color: #9fb3c8;
}

/* Responsive */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }

  .two-column {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .bedrooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-cta-card {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .nav a {
    padding: 0.2rem 0.4rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .nav {
    display: none;
  }

  .site-header {
    position: static;
  }
}
