/* ============================================
   FREUND BROTHERS — Shared Stylesheet
   Palette: ivory, deep forest green, black, warm gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=IM+Fell+English+SC&family=Source+Sans+3:wght@300;400;500&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivory:      #F7F4EE;
  --ivory-dark: #EDE9DF;
  --green:      #1E3A2B;
  --green-mid:  #2C5440;
  --gold:       #9A7B3A;
  --gold-light: #C4A05A;
  --black:      #111111;
  --text:       #1A1A1A;
  --text-mid:   #444444;
  --rule:       #C8C0B0;

  --font-display: 'IM Fell English SC', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-ui:      'Source Sans 3', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- Logo / Masthead ---- */
.logo-wordmark {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1;
}

/* ---- NAVIGATION ---- */
.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.logo-block { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.logo-sub {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

nav { display: flex; align-items: center; gap: 0.25rem; }
nav a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
nav a:hover, nav a.active {
  color: var(--green);
  background: var(--ivory-dark);
}
nav .nav-cta {
  background: var(--green);
  color: var(--ivory) !important;
  padding: 0.4rem 1rem;
}
nav .nav-cta:hover { background: var(--green-mid); }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.25s;
}

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--green);
  color: var(--ivory);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.page-hero p {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* ---- SECTION WRAPPER ---- */
.section {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.section-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ---- TYPOGRAPHY ---- */
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 1.2rem;
}
h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.6rem;
}
p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

/* ---- HOME HERO ---- */
.home-hero {
  position: relative;
  background: var(--green);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.home-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.35;
}
.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 2rem 4rem;
  color: var(--ivory);
}
.home-hero-content .hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: block;
}
.home-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 640px;
}
.home-hero-content p {
  font-size: 1.15rem;
  max-width: 560px;
  opacity: 0.85;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-ivory {
  background: var(--ivory);
  color: var(--green);
}
.btn-ivory:hover { background: white; color: var(--green); }
.btn-outline-ivory {
  border: 1px solid rgba(247,244,238,0.5);
  color: var(--ivory);
  background: transparent;
  margin-left: 0.75rem;
}
.btn-outline-ivory:hover { background: rgba(255,255,255,0.1); color: var(--ivory); }
.btn-green {
  background: var(--green);
  color: var(--ivory);
}
.btn-green:hover { background: var(--green-mid); color: var(--ivory); }

/* ---- HOME INTRO STRIP ---- */
.intro-strip {
  background: var(--ivory-dark);
  border-bottom: 1px solid var(--rule);
}
.intro-strip-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.intro-card { text-align: center; padding: 0 1rem; }
.intro-card .icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}
.intro-card h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.intro-card p {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ---- HOME ABOUT BLOCK ---- */
.home-about {
  max-width: 1100px; margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.home-about-text h2 { margin-bottom: 1.25rem; }
.home-about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 4px solid var(--ivory-dark);
  outline: 1px solid var(--rule);
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}
.service-card {
  border: 1px solid var(--rule);
  background: white;
  padding: 2.5rem;
}
.service-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ---- HISTORY TIMELINE ---- */
.timeline { position: relative; margin-top: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 1px;
  background: var(--rule);
}
.timeline-entry {
  padding-left: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline-entry::before {
  content: '';
  position: absolute;
  left: -4px; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ivory);
  outline: 1px solid var(--gold);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.3rem;
  display: block;
}

/* ---- CONTACT FORM ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-detail {
  margin-bottom: 1.5rem;
}
.contact-detail .label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}
.contact-detail p, .contact-detail a {
  font-size: 1.05rem;
  margin: 0;
  color: var(--text);
}
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table td {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  padding: 0.3rem 0;
  color: var(--text-mid);
}
.hours-table td:first-child { width: 50%; color: var(--text); }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  background: white;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--green);
  color: rgba(247,244,238,0.7);
  padding: 3.5rem 2rem 2rem;
  margin-top: 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-wordmark { color: var(--ivory); font-size: 1.8rem; }
.footer-brand p {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  margin-top: 0.75rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}
.footer-col p, .footer-col a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(247,244,238,0.7);
  display: block;
  margin: 0;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-base {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-base p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(247,244,238,0.4);
  margin: 0;
}

/* ---- PHOTO CREDIT ---- */
.photo-caption {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-mid);
  font-style: italic;
  margin-top: 0.5rem;
  text-align: center;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  nav { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--ivory); border-bottom: 1px solid var(--rule); padding: 1rem 2rem 1.5rem; gap: 0; }
  nav.open { display: flex; }
  nav a { padding: 0.6rem 0; border-radius: 0; border-bottom: 1px solid var(--ivory-dark); }
  nav .nav-cta { margin-top: 0.5rem; text-align: center; }
  .hamburger { display: flex; }
  .site-header { position: relative; }

  .intro-strip-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-about { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-base { flex-direction: column; gap: 0.5rem; text-align: center; }
  .home-hero { min-height: 380px; }
}
