/* =====================
   GLOBAL RESET
===================== */

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

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #111;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* =====================
   HEADER
===================== */

.site-header {
  border-bottom: 1px solid #eee;
  background: #fff;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  text-decoration: none;
  font-size: 14px;
  color: #111;
}

.nav a:hover {
  text-decoration: underline;
}

/* =====================
   HERO (HOME)
===================== */

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;

  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)),
    url("../images/hero/hero-1.jpeg");

  background-size: cover;
  background-position: center;
}

.hero-inner {
  max-width: 720px;
  color: #fff;
}

.hero h1 {
  font-size: 46px;
  margin-bottom: 16px;
}

.tagline {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ddd;
  margin-bottom: 22px;
}

.subtext {
  font-size: 16px;
  color: #eee;
  margin-bottom: 36px;
}

.cta a {
  display: inline-block;
  padding: 14px 38px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
}

.cta a:hover {
  background: #fff;
  color: #000;
}

/* =====================
   AMENITIES PREVIEW (HOME)
===================== */

.amenities-preview {
  padding: 90px 20px;
  background: #fafafa;
}

.amenities-preview h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 60px;
}

.amenities-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
}

.amenity h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.amenity p {
  font-size: 15px;
  color: #444;
}

/* =====================
   AMENITIES PAGE (UPGRADED)
===================== */

.amenities-page {
  width: 100%;
}

/* HERO */

.amenities-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px 100px;
}

.amenities-hero h1 {
  font-size: 46px;
  margin-bottom: 18px;
}

.amenities-intro {
  font-size: 17px;
  color: #555;
  max-width: 520px;
}

/* SECTION */

.amenities-section {
  padding: 120px 20px;
  border-top: 1px solid #eee;
}

.amenities-section:nth-of-type(even) {
  background: #fafafa;
}

.amenities-section > h2 {
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 30px;
}

.amenities-section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: #bbb;
  margin-top: 20px;
}

/* GROUP */

.amenities-group {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 100px;
}

/* ITEM */

.amenity-item {
  padding-left: 28px;
  position: relative;
}

.amenity-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 2px;
  height: 100%;
  background: #ddd;
}

.amenity-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.amenity-item p {
  font-size: 15px;
  color: #555;
  max-width: 420px;
}

/* IMAGE BREAK */

.amenities-image-break {
  height: 360px;
  background-image: url("../images/gallery/g15.jpg");
  background-size: cover;
  background-position: center;
  margin: 120px 0;
  position: relative;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* CLOSE */

.amenities-close {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 20px 160px;
}

.amenities-close p {
  font-size: 18px;
  color: #444;
  max-width: 560px;
}

/* =====================
   GALLERY PAGE
===================== */

.gallery-page {
  padding: 80px 20px;
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1024px) {
  .amenities-group {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 600px) {

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .amenities-hero {
    padding: 80px 20px 60px;
  }

  .amenities-hero h1 {
    font-size: 34px;
  }

  .amenities-section {
    padding: 70px 20px;
  }

  .amenities-group {
    gap: 36px;
  }

  .amenity-item {
    padding-left: 16px;
  }

  .amenity-item::before {
    width: 1px;
  }

  .amenities-image-break {
    height: 220px;
    margin: 80px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    padding-top: 66%;
    height: auto;
    background-size: contain;
    background-color: #000;
  }
}

/* =====================
   FOOTER
===================== */

footer {
  padding: 50px 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}
