:root {
  --color-primary: #5d7255;
  --color-secondary: #e8dfc8;
  --color-accent: #9a6b46;

  --color-text: #2f2f2f;
  --color-muted: #6f6f6f;
  --color-background: #faf8f3;
  --color-white: #ffffff;

  --font-heading: Georgia, serif;
  --font-body: Arial, sans-serif;

  --container-width: 1120px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 80px;

  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
}

html,
body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-xl);
}

.section-alt {
  background: var(--color-secondary);
}

.grid-2 {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: bold;

  transition: opacity 0.25s ease;
}

.logo:hover {
  opacity: 0.9;
    transform: translateY(-1px);

}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.site-nav {
  display: none;
  gap: var(--space-md);
  align-items: center;
}

.site-nav a {
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-toggle {
  background: none;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
}

.site-nav.is-open {
  display: flex;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--color-background);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  gap: var(--space-sm);
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  width: 100%;
  padding: 120px var(--space-sm) var(--space-xl);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("../images/hero/hero.webp") center / cover no-repeat;
}

.hero-content {
  width: 100%;
  max-width: 760px;
}

.hero .eyebrow {
  color: #ed8b3d;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  font-size: 1.2rem;
}

.hero h1 {
  margin: 12px 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero p:not(.eyebrow) {
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

/* Text */
h2 {
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

h3 {
  margin: 18px 0 8px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.25s ease;
  max-width: 100%;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.09);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Button containers */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.hero-content .btn {
  margin-top: 0;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  margin-top: 32px;
}

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

.card {
  min-width: 0;
  width: 100%;
  overflow: hidden;
  background: var(--color-white);
  padding: var(--space-sm);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3,
.card p {
  overflow-wrap: break-word;
}

.card-image,
.gallery div {
  /* min-height: 240px; */
  border-radius: var(--radius);
  background: #d8d0bf;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--color-muted);
}

.card-image {
  aspect-ratio: 4 / 3;
}

.image-placeholder {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}

.card-image img,
.image-placeholder img,
.section-image,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery */
.gallery {
  display: grid;
  gap: var(--space-sm);
  margin-top: 32px;
}

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

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
