:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --text: #1a1d21;
  --muted: #5d666f;
  --primary: #5cb933;
  --primary-dark: #2d7a24;
  --border: rgba(29, 30, 32, 0.08);
}

/* Reduce base font size by ~5px (from 16px -> 11px) */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 80px;
  height: auto;
}

.brand h1 {
  margin: 0;
  font-size: 1.2rem;
}

.tagline {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background: linear-gradient(180deg, rgba(4, 28, 42, 0.55), rgba(4, 28, 42, 0.45)), url("Home Banner.png") center/cover no-repeat;
  color: #ffffff;
}

main > section {
  scroll-margin-top: 6rem;
}

/*
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 34, 0.42);
  z-index: 0;
}
*/

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 2rem;
  align-items: start;
}

.hero .eyebrow,
.hero h2,
.hero .lead,
.hero-card h3,
.hero-card p {
  color: #ffffff;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--primary-dark);
  margin: 0 0 1rem;
}

.hero h2,
.section-header h2,
.section-dark h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 2.4vw, 3.2rem);
  line-height: 1.05;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--primary);
  color: #ffffff;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(24, 26, 31, 0.08);
}

.hero-card h3 {
  margin-top: 0;
}

.section-light,
.section-dark {
  padding: 4rem 0;
  scroll-margin-top: 6rem;
}

.section-light {
  background: #ffffff;
}

#contact {
  padding-top: 1rem;
}

/* Reduce spacing between the contact heading and its following paragraph */
#contact .section-header {
  margin-bottom: 0.5rem;
}

#contact .section-header h2 {
  margin-bottom: 0.25rem;
}

/* Reduce vertical spacing specifically for the gallery */
.section-cards {
  padding: 4rem 0;
}
.gallery-grid {
  padding: 2rem 0;
}

/* Tighten bottom spacing for the gallery section */
#gallery {
  padding-bottom: 1.25rem;
}

/* About section layout with right-aligned banner */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: right;
}

.about-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(24,26,31,0.08);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-banner {
    order: 2;
  }
}

/* About section uses the default .container sizing to match other sections */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(24, 26, 31, 0.06);
}


.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-copy {
  padding: 1.5rem;
}

.gallery-copy h3 {
  margin: 0 0 0.75rem;
}

.gallery-copy p {
  margin: 0;
  color: var(--muted);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section-header p {
  margin: 0;
}

.section-header h2 {
  color: var(--text);
}

.section-light p,
.section-cards p,
.section-dark p {
  color: var(--muted);
  font-size: 1rem;
}

.cards-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 300px;
  gap: 1.5rem;
  justify-content: space-between;
}

.card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(24, 26, 31, 0.06);
  width: 300px;
  height: 400px;
}

.card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-copy {
  padding: 1.5rem;
}

.card h3,
.contact-card h3 {
  margin-top: 0;
}

.section-dark {
  background: #555555;
  color: #f7f8f6;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.section-dark .eyebrow {
  color: #9edb6b;
}

.section-dark h2,
.section-dark p {
  color: #f7f8f6;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.why-list li {
  background: rgb(77, 159, 61); /* #4E9F3D at 12% */
  border: 1px solid rgb(77, 159, 61);
  border-radius: 1rem;
  padding: 1.2rem;
}

.why-list li strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #ffffff;
}

.why-list li span {
  color: #eef4e8;
}

.contact-section {
  display: grid;
  gap: 2rem;
  padding: 1rem 0 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(24, 26, 31, 0.06);
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card h3 {
  margin: 0 0 1rem;
  color: var(--text);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card p a {
  color: var(--text);
  font-weight: 600;
}

.email-card,
.phone-card {
  position: relative;
  background-color: #2a2a2a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.email-card {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.25)), url('https://picsum.photos/seed/phone/700/700') center/cover no-repeat;
}

.phone-card {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.25)), url('https://picsum.photos/seed/mailbox/700/700') center/cover no-repeat;
}

.email-card h3,
.phone-card h3,
.email-card p,
.phone-card p {
  color: #ffffff;
}

.email-card p a,
.phone-card p a {
  color: #f7f7f2;
}

.contact-form-card form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form-card label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form-card input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #f7f8f6;
  color: var(--text);
  font: inherit;
}

.contact-form-card input:focus {
  outline: 2px solid rgba(92, 185, 51, 0.25);
  border-color: var(--primary);
}

.contact-form-card .form-message {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.95rem;
}

.contact-form-card .form-message.error {
  color: #c0392b;
}

.contact-form-card .form-message.success {
  color: #1f6f59;
}

.site-footer {
  padding: 1.75rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-content,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }
  .hero {
    padding: 3rem 0 2rem;
  }
  .hero-card {
    padding: 1.5rem;
  }
}
