:root {
  --bg: #f7f3ee;
  --bg-soft: #f1e8df;
  --bg-dark: #161616;
  --text-main: #151515;
  --text-muted: #66615b;
  --accent: #2f4b3a;
  --accent-soft: #3e5d48;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.14);
  --shadow-subtle: 0 12px 35px rgba(0, 0, 0, 0.1);
}

/* GLOBAL */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 0.9rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6rem;
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.25rem;
}

.section-heading {
  text-align: center;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
  color: var(--text-muted);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

/* LAYOUT */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section.soft-bg {
  background: var(--bg-soft);
}

.section.dark {
  background: var(--bg-dark);
  color: #f6f3ec;
}

.grid.two-col {
  display: grid;
  gap: 2.8rem;
}

@media (min-width: 768px) {
  .grid.two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* HEADER & NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 238, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-image {
  height: 32px;
  width: auto;
}

.logo-text {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  background: var(--accent);
  color: #f7f3ee;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: #1f3528;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 0.9rem;
    font-size: 0.85rem;
  }

  .nav-cta {
    display: none; /* simplify on small screens */
  }
}

/* HERO */

.hero {
  position: relative;
  min-height: min(84vh, 720px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  background: #101010;
  color: #f7f3ee;
}

.hero-media {
  position: relative;
  background-image: url("../assets/images/hero.jpg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.7),
    rgba(10, 10, 10, 0.05)
  );
}

.hero-overlay {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 4.5rem 0;
  max-width: 520px;
  margin-left: auto;
}

.hero-subtitle {
  color: rgba(247, 243, 238, 0.78);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    min-height: 260px;
  }

  .hero-content {
    margin: 0 auto;
    padding: 2.8rem 0 3.6rem;
  }
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out,
    box-shadow 0.18s ease-out, transform 0.12s ease-out;
  white-space: nowrap;
}

.btn.primary {
  background: var(--accent);
  color: #f7f3ee;
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-subtle);
}

.btn.primary:hover {
  background: #1f3528;
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: #f7f3ee;
  border-color: rgba(247, 243, 238, 0.5);
}

.btn.ghost:hover {
  background: rgba(247, 243, 238, 0.05);
}

.btn.full-width {
  width: 100%;
}

/* IMAGE STACK */

.image-stack {
  position: relative;
}

.image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.image-card.main {
  transform: translateY(6px);
}

.image-card.inset {
  position: absolute;
  width: 52%;
  right: 0;
  bottom: -18%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .image-card.inset {
    position: static;
    width: 80%;
    margin: 1.6rem auto 0;
    display: block;
  }
}

/* CABIN CARDS */

.card-grid {
  display: grid;
  gap: 1.8rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: #fdf8f3;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-footer-note {
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 520px;
}

/* LOCATION */

.location-panel {
  background: #fdf8f3;
  border-radius: var(--radius-md);
  padding: 1.8rem 1.7rem;
  border: 1px solid var(--border-subtle);
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.location-list li::before {
  content: "• ";
  color: var(--accent);
}

/* CONNECT / FORM */

.connect-container {
  display: grid;
  gap: 2.8rem;
}

.signup-panel {
  background: #1f1f1f;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem 2rem;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.signup-form label {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.8);
}

.signup-form input[type="email"] {
  padding: 0.9rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 243, 236, 0.4);
  background: rgba(12, 12, 12, 0.7);
  color: #f6f3ec;
  font-size: 0.95rem;
}

.signup-form input[type="email"]::placeholder {
  color: rgba(246, 243, 236, 0.55);
}

.signup-form input[type="email"]:focus {
  outline: none;
  border-color: #f6f3ec;
}

.section.dark .muted {
  color: rgba(246, 243, 236, 0.72);
}

/* UTILITIES */

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.85rem;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #f5efe6;
  padding: 1.7rem 0 2.4rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-left {
  max-width: 360px;
}

.footer-logo {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.footer-links a {
  position: relative;
  padding-bottom: 0.1rem;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-meta {
  margin-top: 0.6rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
