/* ============================================================
   1. COLOR PALETTE (semantic, unified)
   ============================================================ */



:root {
  /* Forest tones */
  --forest-deep: #355e3b;      /* body background */
  --forest-mid: #3b5d3b;       /* header/footer background */
  --forest-light: #4a5c47;     /* buttons, accents */

  /* Sage tones */
  --sage-muted: #7a8c77;       /* secondary buttons */
  --sage-light: #a6baa3;       /* dropdown background */

  /* Earth tones */
  --earth-sand: #f2e9d8;       /* subtitle, warm accents */

  /* Light tones */
  --light-text: #f2f2f2;       /* body text */
  --light-soft: #f8f8f8;       /* highlight section bg */
  --light-bright: #ffffff;     /* headings, strong contrast */
  --light-warm: #f5f1e9;       /* soft card background */

  /* Link tones (off‑white family) */
  --light-link: #fafafa;
  --light-link-hover: #ffffff;
  --light-link-visited: #e6e6e6;
  
  --dark-text: #333;

  /* Shadows */
  --shadow-soft: rgba(0,0,0,0.1);
  --shadow-medium: rgba(0,0,0,0.15);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
}

/* ============================================================
   2. RESET
   ============================================================ */

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

/* ============================================================
   3. BASE STYLES
   ============================================================ */

body {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(0.95rem, 1vw + 0.8rem, 1.1rem);
  line-height: 1.7;
  background: var(--forest-deep);
  color: var(--light-text);
}

.content, main {
  max-width: 100ch;
  margin: 0 auto;
  padding: var(--space-4);
}

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

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: var(--light-bright);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1rem, 2vw, 1.4rem); }

h5 {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 600;
  font-family: 'Merriweather', Georgia, serif;
  color: var(--light-bright);
}

h6 {
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--light-text);
  font-family: 'Merriweather', Georgia, serif;
}

main p {
  margin-top: var(--space-3);
}
main p:first-of-type {
  margin-top: 0;
}


/* Links */
a {
  color: var(--light-link);
  text-decoration: underline;
}
a:hover {
  color: var(--light-link-hover);
}
a:visited {
  color: var(--light-link-visited);
}

/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */

/* Spacing utilities */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

.px-2 {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

/* Float image utility */
.float-img {
  float: right;
  width: 60%;
  max-width: 700px;
  margin: 0 0 var(--space-3) var(--space-3);
  border-radius: 6px;
}
@media (max-width: 700px) {
  .float-img {
    float: none;
    width: 100%;
    margin: 0 auto var(--space-3) auto;
  }
}

/* ============================================================
   6. COMPONENTS
   ============================================================ */

/*  ========  Header */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3);
  background: var(--forest-mid);
  color: var(--light-bright);
}

/* Logo + title */
.logo-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.logo-title .logo {
  max-width: 120px;
}

/* Title link */
.title-link {
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
  display: flex;
  flex-direction: column;
}
.title-link:hover,
.title-link:visited {
  color: inherit;
  text-decoration: none;
}

.site-title {
  text-align: center;
}
.site-title h1 {
  margin: 0;
  line-height: 1.1;
}
.site-title .subtitle {
  margin: 0;
  margin-top: 0.2em;
}

/* Navigation (mobile) */
nav ul.menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
nav ul.menu > li {
  position: relative;
}
nav ul.menu li a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 600;
}
nav ul.menu li a:hover {
  color: var(--light-bright);
}

/* Header (wide screens) */
@media (min-width: 769px) {

  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    /* Only new addition */
    max-width: 1200px;
    margin: 0 auto;

    padding: var(--space-3) var(--space-4);
  }

  nav ul.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
  }
}

/* Dropdown */
nav ul.menu li ul.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  list-style: none;
  background: var(--sage-light);
  padding: var(--space-2);
  box-shadow: 0 2px 6px var(--shadow-medium);
}
nav ul.menu li:hover ul.dropdown {
  display: block;
}
nav ul.menu li ul.dropdown a {
  display: block;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  color: var(--forest-deep);
  padding: var(--space-1) var(--space-2);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
  color: var(--light-bright);
  background: none;
  border: none;
}

/* ================= Buttons  */
.btn {
  display: inline-block;
  margin: var(--space-1);
  padding: 0.75rem 1.5rem;
  background-color: var(--forest-light);
  color: var(--light-bright);
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}
.btn:hover {
  background-color: var(--forest-mid);
}
.btn-secondary {
  background-color: var(--sage-muted);
}

/* =================  Footer */
footer {
  background: var(--forest-deep);
  color: var(--light-soft);
  padding: var(--space-3);
  text-align: center;
}

/* Social Icons */
.social {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.social .icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(90%) brightness(120%);
  transition: filter 0.2s ease;
}

.social .icon:hover {
  filter: brightness(120%);
}

.social .facebook   { background-image: url('/assets/icons/facebook.svg'); }
.social .instagram  { background-image: url('/assets/icons/instagram.svg'); }
.social .x          { background-image: url('/assets/icons/x.svg'); }
.social .tiktok     { background-image: url('/assets/icons/tiktok.svg'); }
.social .youtube    { background-image: url('/assets/icons/youtube.svg'); }
.social .pinterest  { background-image: url('/assets/icons/pinterest.svg'); }

/* ============================================================
   7. PAGE SECTIONS
   ============================================================ */

/* Hero */
.hero {
  background: url('../../assets/images/hero-banner.jpg') center/cover no-repeat;
  padding: var(--space-6) var(--space-4);
  text-align: center;
  color: var(--light-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero {
    min-height: 60vh;
  }
}

/* Highlights */
.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
  background-color: var(--light-soft);
}
.highlight {
  flex: 1 1 250px;
  margin: var(--space-3);
  padding: var(--space-4);
  background-color: var(--light-warm);
  color: var(--dark-text);
  border-radius: 6px;
  box-shadow: 0 2px 6px var(--shadow-soft);
  text-align: center;
}
.highlight a {
  color: var(--forest-light);
  font-weight: 600;
}
.highlight h2 {
  color: var(--forest-light);
}

/* ============================================================
   8. RESPONSIVE TYPOGRAPHY (no font-family override)
   ============================================================ */

@media (max-width: 768px) {
  body {
    line-height: 1.6;
  }
  h1, h2, h3, h4 {
    letter-spacing: 0.01em;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }
}

/* ============================================================
   9. RESPONSIVE NAVIGATION
   ============================================================ */

@media (max-width: 768px) {
  header { align-items: flex-start; }
  .logo-title { flex-direction: column; align-items: flex-start; }

  nav ul.menu { display: none; }
  nav ul.menu.show { display: flex; }

  .menu-toggle { display: block; }

  nav ul.menu li ul.dropdown {
    display: none;
    position: static;
    box-shadow: none;
    padding-left: var(--space-3);
  }
  nav ul.menu li.open ul.dropdown {
    display: block;
  }
}

@media (min-width: 769px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .logo-title { margin-bottom: 0; }

  nav ul.menu {
    flex-direction: row;
    gap: var(--space-3);
  }
}

/* ============================================================
   END OF FILE
   ============================================================ */