/* === Hart & McDonald — Brand Stylesheet === */

:root {
  --green: #06402B;
  --green-deep: #042e1f;
  --green-light: #e8efe9;
  --white: #ffffff;
  --black: #0a0a0a;
  --grey: #5a5a5a;
  --grey-light: #f5f5f0;
  --border: #d8d4cc;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 820px;
}

/* === Compliance bar === */
.compliance-bar {
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  line-height: 1.5;
  padding: 14px 0;
  border-bottom: 1px solid var(--green-deep);
}

.compliance-bar .container {
  text-align: justify;
}

.compliance-bar strong {
  display: inline-block;
  margin-right: 6px;
  letter-spacing: 0.3px;
}

/* === Site header === */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr minmax(auto, 880px) 1fr;
  align-items: stretch;
  min-height: 240px;
}

.header-side {
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
}

.header-center {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 40px 32px;
  text-align: center;
}

.crest {
  height: 180px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.heading-img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  margin: 0 auto;
  filter: brightness(0);
}

.established {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 6px;
  color: var(--green);
  margin-top: 18px;
  font-weight: 600;
}

/* === Hero === */
.hero {
  background: var(--green-light);
  padding: 72px 0 80px;
  text-align: center;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--black);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  text-decoration: none;
}

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

.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
  text-decoration: none;
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

/* === Sections === */
.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Stag watermark behind white sections only — not on the photo section or coloured sections */
.section:not(.section-alt):not(.section-accent):not(.section-stag)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  width: 240px;
  height: 240px;
  background-image: url('public/images/stag-dark.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.section:not(.section-alt):not(.section-accent):not(.section-stag)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%) scaleX(-1);
  width: 240px;
  height: 240px;
  background-image: url('public/images/stag-dark.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1100px) {
  .section:not(.section-alt):not(.section-accent)::before,
  .section:not(.section-alt):not(.section-accent):not(.section-stag)::after {
    display: none;
  }
}

.section .container {
  position: relative;
  z-index: 1;
}

.section-alt {
  background: var(--grey-light);
}

/* Stag-photo section: text overlaid in white directly on the photo (no green tint) */
.section-stag {
  position: relative;
  background-image: url('public/images/stag-nature.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  overflow: hidden;
}

.section-stag .container {
  position: relative;
  z-index: 2;
}

.section-stag .section-title,
.section-stag p,
.section-stag .credentials li {
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 18px rgba(0, 0, 0, 0.6);
}

.section-stag .credentials {
  background: rgba(0, 0, 0, 0.35);
  border-left-color: var(--white);
  backdrop-filter: blur(3px);
}

.section-stag strong {
  color: #fff;
}

@media (max-width: 900px) {
  .section-stag {
    background-attachment: scroll;
  }
}

.section-accent {
  background: var(--green);
  color: var(--white);
}

.section-accent .section-title {
  color: var(--white);
}

.section-accent p {
  font-size: 18px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* === Grids === */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === Cards === */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--green);
  margin-bottom: 12px;
  font-weight: 600;
}

.card p {
  font-size: 15px;
  color: var(--black);
}

.card-service {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: 4px;
  padding: 32px;
}

.card-service h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--green);
  margin-bottom: 20px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.card-service ul {
  list-style: none;
}

.card-service li {
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid #f0eee8;
  position: relative;
  padding-left: 20px;
}

.card-service li:last-child { border-bottom: none; }

.services-note {
  margin-top: 40px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
  padding: 18px 24px;
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  background: var(--green-light);
  letter-spacing: 0.4px;
}

.card-service li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

/* === About === */
#about p {
  margin-bottom: 18px;
  font-size: 17px;
}

.credentials {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--white);
  border-left: 4px solid var(--green);
  list-style: none;
}

.credentials li {
  padding: 6px 0;
  font-size: 15px;
}

/* === Contact === */
.contact-cta {
  text-align: center;
  margin-bottom: 56px;
}

.contact-grid {
  gap: 40px;
}

.contact-block {
  padding: 24px;
  background: var(--grey-light);
  border-radius: 4px;
}

.contact-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--green);
  margin-bottom: 16px;
  font-weight: 600;
}

.contact-block p {
  margin-bottom: 8px;
  font-size: 15px;
}

.contact-block .note {
  margin-top: 12px;
  color: var(--grey);
  font-size: 13px;
  font-style: italic;
}

/* === Footer === */
.site-footer {
  background: var(--green-deep);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-meta {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.7;
}

/* === Responsive === */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .header-grid { grid-template-columns: 1fr minmax(auto, 520px) 1fr; min-height: 200px; }
  .crest { height: 140px; }
  .heading-img { max-height: 95px; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 28px; }
}

@media (max-width: 640px) {
  .compliance-bar { font-size: 12px; }
  .header-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .header-center {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 28px 20px 20px;
  }
  .header-side {
    grid-row: 2;
    padding: 20px;
  }
  .crest { height: 110px; }
  .heading-img { max-height: 65px; }
  .hero { padding: 48px 0 56px; }
  .hero-title { font-size: 26px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .btn { padding: 12px 22px; font-size: 15px; }
  .btn-large { padding: 16px 28px; font-size: 16px; }
}
