/* Kersvers Westerhout – static site styles */
:root {
  --orchard-green: #2d5a27;
  --cherry: #8b1538;
  --cherry-light: #b82d52;
  --cream: #faf8f5;
  --cream-dark: #f0ebe3;
  --bark: #4a3728;
  --leaf: #3d6b35;
  --text: #2c2419;
  --text-muted: #5c5348;
  --white: #fff;
  --shadow: rgba(45, 90, 39, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--bark);
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0; }
h3 { font-size: 1.25rem; }

a {
  color: var(--cherry);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cherry-light);
}

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

/* Layout */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--orchard-green);
}

.logo a {
  color: inherit;
}

.logo a:hover {
  color: var(--cherry);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.nav-list a {
  color: var(--text);
  font-weight: 500;
  padding: 0.35em 0;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--cherry);
}

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  flex: 1;
  padding: 2.5rem 0 3rem;
}

.hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 2rem;
}

.hero-with-image {
  padding: 0 0 2.5rem;
  background: var(--cream);
}

.hero-with-image .hero-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 1.5rem;
}

.hero-with-image .hero-text {
  padding: 0 1.25rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  color: var(--orchard-green);
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 32ch;
  margin: 0 auto;
}

.section {
  margin-bottom: 2.5rem;
}

.section:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid var(--cream-dark);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1.5rem;
}

.card h3 {
  margin-top: 0;
  color: var(--orchard-green);
}

.contact-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--cream-dark);
}

.contact-block h3 {
  margin-top: 0;
  color: var(--orchard-green);
}

.map-block {
  margin-top: 2rem;
}

.map-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-dark);
  margin-top: 1rem;
  /* 600×450 → 3:2 aspect ratio */
  padding-bottom: 75%;
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.hours-table th,
.hours-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
}

.hours-table th {
  font-family: "Cormorant Garamond", serif;
  color: var(--bark);
  font-weight: 600;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.pricing-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.pricing-list li:last-child {
  border-bottom: none;
}

.site-footer {
  background: var(--bark);
  color: var(--cream);
  padding: 1.5rem 0;
  margin-top: auto;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer small {
  opacity: 0.85;
}

.section-with-image {
  display: grid;
  gap: 1.25rem;
}

.section-image-wrap {
  order: -1;
}

.section-image {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream-dark);
}

@media (min-width: 640px) {
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .section-with-image {
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
  }

  .section-with-image .section-image-wrap {
    order: unset;
  }

  .section-with-image.section-image-right {
    grid-template-columns: 1fr 280px;
  }

  .section-with-image.section-image-right .section-image-wrap {
    order: 1;
  }
}
