@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --forest: #293b2b;
  --dark: #1b281e;
  --cream: #f6f2e9;
  --sand: #e8dfcf;
  --rust: #a34e2d;
  --white: #ffffff;
  --text: #263129;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 720px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 29, 21, 0.86), rgba(20, 29, 21, 0.42)),
    url("images/sunland-exterior.jpg") center / cover no-repeat;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
}

.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.logo span {
  color: #dec6a5;
}

.nav-phone {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  font-weight: 700;
}

.hero-content {
  padding-top: 150px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8cda8;
}

.hero-text {
  max-width: 510px;
  margin-bottom: 30px;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 3px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button-primary {
  color: var(--white);
  background: var(--rust);
}

.button-primary:hover {
  background: #873e24;
}

.button-outline {
  border: 1px solid var(--white);
}

.button-outline:hover {
  color: var(--dark);
  background: var(--white);
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 110px 0;
}

.intro p:last-child {
  max-width: 510px;
  font-size: 1.15rem;
}

.amenities {
  padding: 95px 0;
  color: var(--white);
  background: var(--forest);
}

.amenities .eyebrow {
  color: #d8bd99;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 45px;
}

.amenity-grid article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.amenity-grid h3 {
  margin: 14px 0 8px;
  font-size: 1.35rem;
}

.amenity-grid p {
  margin-bottom: 0;
  color: #e1e7de;
}

.icon {
  color: #e6c79e;
  font-size: 1.7rem;
}

.gallery {
  padding: 110px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.gallery-grid img:first-child {
  height: 450px;
}

.contact {
  padding: 90px 0;
  color: var(--white);
  background: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
}

.contact .eyebrow {
  color: #e6c79e;
}

.contact-card {
  padding: 32px;
  background: var(--white);
  color: var(--text);
}

.contact-card a {
  display: block;
  margin-bottom: 10px;
  color: var(--rust);
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-card p {
  margin: 20px 0;
}

.contact-card .directions {
  margin: 0;
  font-size: 0.95rem;
}

footer {
  padding: 23px 0;
  color: #d7ded6;
  background: #101912;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-content p {
  margin: 0;
}

footer a:hover {
  color: #ffffff;
}

@media (max-width: 800px) {
  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 115px;
  }

  .intro,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid img:first-child {
    height: 280px;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(100% - 30px, 1120px);
  }

  .nav-phone {
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .amenity-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }
}
