/* ==========================================================================
   Base reset
   ========================================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Global styles
   ========================================================================== */

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f5f1;
  color: #222222;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Holding page (root index.html)
   ========================================================================== */

.holding-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  padding: 48px 40px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.logo {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8a7d6d;
}

.tagline {
  margin: 0 0 16px;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 600;
  color: #222222;
}

.intro {
  margin: 0 auto 16px;
  max-width: 540px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #4f4f4f;
}

.status {
  margin: 0;
  font-size: 0.98rem;
  color: #777777;
}

/* ==========================================================================
   Site layout (docs pages)
   ========================================================================== */

.site-main {
  padding: 0 0 64px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e2da;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.96rem;
  color: #3f3f3f;
}

.site-nav a:hover {
  color: #000000;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e8e2da;
}

.footer-inner {
  padding: 24px 20px;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.92rem;
  color: #6d6d6d;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 18px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.button:hover {
  opacity: 0.92;
}

.button-secondary {
  background: #ffffff;
  color: #222222;
  border: 1px solid #d8d1c8;
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.hero {
  padding: 72px 0 40px;
}

.hero .container {
  max-width: 820px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 2.6rem;
  line-height: 1.15;
  color: #222222;
}

.home-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.home-section {
  padding: 24px 0 64px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card-link {
  display: block;
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.card-link h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.card-link p {
  margin: 0;
  color: #555555;
  line-height: 1.6;
}

/* ==========================================================================
   Content pages
   ========================================================================== */

.page-section {
  padding: 56px 0;
}

.page-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.page-intro h1 {
  margin: 0 0 16px;
  font-size: 2.4rem;
  line-height: 1.15;
}

.page-intro p {
  margin: 0 auto;
  max-width: 620px;
  color: #555555;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hotel-list {
  max-width: 800px;
  margin: 0 auto;
}

.hotel {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.hotel h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.hotel p {
  margin: 0;
  color: #555555;
  line-height: 1.65;
}

/* ==========================================================================
   Hub pages
   ========================================================================== */

.content-sections {
  display: grid;
  gap: 40px;
}

.content-block h2 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.content-block h3 {
  margin: 28px 0 14px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.section-intro {
  margin: 0 0 20px;
  color: #5a5a5a;
  max-width: 720px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.listing-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.listing-card p {
  margin: 0;
  color: #555555;
  line-height: 1.65;
}

.listing-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  background: #f1ebe3;
  color: #6f5c46;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-meta {
  margin-top: 14px;
  font-size: 0.92rem;
  color: #7a7a7a;
}

/* ==========================================================================
   Hub page sub-navigation
   ========================================================================== */

.sub-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 0 40px;
  background: rgba(247, 245, 241, 0.96);
  border-top: 1px solid #ece6de;
  border-bottom: 1px solid #ece6de;
  backdrop-filter: blur(8px);
}

.sub-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
}

.sub-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #e6dfd6;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  color: #333333;
  transition: all 0.2s ease;
}

.sub-nav a:hover {
  background: #222222;
  border-color: #222222;
  color: #ffffff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .card-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-intro h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 640px) {
  .card {
    padding: 36px 24px;
    border-radius: 14px;
  }

  .logo {
    max-width: 220px;
    margin-bottom: 20px;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .intro {
    font-size: 1rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1,
  .page-intro h1 {
    font-size: 1.8rem;
  }

  .content-block h2 {
    font-size: 1.5rem;
  }

  .sub-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .sub-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }
}