
/* Timber & Hearth palette — see DESIGN.md */
:root {
  --surface: #fcf9f4;
  --surface-dim: #dcdad5;
  --surface-bright: #fcf9f4;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f6f3ee;
  --surface-container: #f0ede8;
  --surface-container-high: #ebe8e3;
  --surface-container-highest: #e5e2dd;
  --on-surface: #1c1c19;
  --on-surface-variant: #424844;
  --inverse-surface: #31302d;
  --inverse-on-surface: #f3f0eb;
  --outline: #727973;
  --outline-variant: #c2c8c2;
  --surface-tint: #496455;

  --primary: #173124;
  --on-primary: #ffffff;
  --primary-container: #2d4739;
  --on-primary-container: #98b5a3;
  --inverse-primary: #b0cdbb;

  --secondary: #80552c;
  --on-secondary: #ffffff;
  --secondary-container: #fec391;
  --on-secondary-container: #794e26;

  --tertiary: #462200;
  --on-tertiary: #ffffff;
  --tertiary-container: #663500;
  --on-tertiary-container: #fe942c;

  --error: #ba1a1a;
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #93000a;

  --primary-fixed: #ccead6;
  --primary-fixed-dim: #b0cdbb;
  --on-primary-fixed: #062014;
  --on-primary-fixed-variant: #324c3e;

  --secondary-fixed: #ffdcc1;
  --secondary-fixed-dim: #f5bb89;
  --on-secondary-fixed: #2e1600;
  --on-secondary-fixed-variant: #653e17;

  --tertiary-fixed: #ffdcc3;
  --tertiary-fixed-dim: #ffb77d;
  --on-tertiary-fixed: #2f1500;
  --on-tertiary-fixed-variant: #6e3900;

  --background: #fcf9f4;
  --on-background: #1c1c19;
  --surface-variant: #e5e2dd;
}


/* variables */
:root {
  /* Text scale */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-md:   18px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  30px;
  --text-3xl:  36px;
  --text-4xl:  48px;
  --text-5xl:  60px;

  /* Font weights */
  --weight-light:     300;
  --weight-regular:   400;
  --weight-medium: 500;
  --weight-bold:      700;

  /* Spacing scale */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-base: 12px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;

}

html {
  box-sizing: border-box;
  font-size: 16px;
  --box-radius: 6px;
  color: #062014;
}

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

body {
  background: var(--surface);
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: var(--weight-regular);
  color: #223529;

}

html, body {
  margin: 0; 
  padding: 0;
}

/* Base typography */

p {
  line-height: 1.5;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-medium);
  margin-bottom: 1rem;
  font-weight: bold;
  text-wrap: balance;
}

h2 {
  font-size: var(--text-xl);
  margin-bottom: 1rem;
  font-weight: var(--weight-medium);
}




body {
  font-family: "Merriweather", serif;
}


article.with-photo-sidebar {
  @media (width >= 760px) {
    display: flex;
    gap: 2rem;
  }
}

.photo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  img {
    border-radius: 8px;
  }
  @media (width >= 760px) {
    max-width: 400px;
  }

}


.alt-secondary-container {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  padding: 30px 20px;
  text-align: center;
  margin: 3rem 0;
  text-wrap: balance;
  @media (width >= 760px) {
    margin: 4rem auto;
    max-width: 740px;
    border-radius: 20px;
  }
}



header {
  background: var(--surface-container);
  position: relative;
  display: flex;
  justify-content: space-between;
}

header > div {
  display: flex;
  justify-content: space-between;
  padding: 20px 10px;
}
#key-info {
}

header nav {
  display: flex;
  align-items: center;
}

header nav ul {
  list-style: none;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  display: flex;
  max-height: 0;
  transition: max-height 0.5s ease;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 9999;
  color: #496455;
  background: var(--inverse-surface);
  a, a:hover {
    color: var(--inverse-on-surface);
    opacity: 0.7;
    display: block;
  }
  .active a, a:hover {
    opacity: 1;
  }
  li {
    padding: 10px 10px;
  }
  li:not(:last-child) {
    border-bottom: 1px solid var(--surface-dim);
  }
}

@media screen and (width >= 760px) {
  header nav ul {
    background: none;
  }
  header nav li {
    border-bottom: none!important;
    a, a:hover {
      color: var(--on-surface);
      opacity: 1;
    }
    &.active a {
      color: var(--primary);
      border-bottom: 2px solid var(--primary);
    }
  }
}

nav input {
  /*display: none;*/
}
nav input:checked ~ ul {
  max-height: 250px;
}
nav input:checked ~ .nav-toggle-label span {
  background-image: url("/media/images/icons/cross.svg");
  color: var(--on-surface);
}


header nav a {
  text-decoration: none;
  font-size: 1.25em;
  color: var(--secondary);
}
header nav a:hover {
  color: #3A5056;
}



@media screen and (width >= 760px) {
  header {
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
  }
  header nav, header nav ul {
  }
}



#nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: block;
  padding: 8px;
}
.nav-toggle-label span {
  height: 32px;
  width: 32px;
  display: block;
  background-image: url("/media/images/icons/bars.svg");
  cursor: pointer;
}




header .phone-number {
  display: flex;
  align-items: center;
  gap: 5px;
}
header .phone-number a {
  text-decoration: none;
  color: #000;
  font-size: 1.25em;
}





.logo {
  font-size: 40px;
  font-weight: bold;
  /*color: white;*/
  /*background-color: white;*/
      -webkit-text-fill-color: transparent;
  background-image: linear-gradient(0deg, #f3ec78, #af4261);
  background-clip: text;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}




/* If screen size is more than 600px wide, set the font-size of <div> to 80px */
@media screen and (width >= 760px) {
  header input, .nav-toggle-label {
    display: none;
  }
  header nav {
    display: flex;
    align-items: center;
  }
  header nav input {
    display: none;
  }
  header nav ul {
    flex-direction: row;
    display: flex;
    max-height: inherit;
    position: static;
    justify-content: flex-end;
  }
  header nav li {
    padding: 16px 10px;
  }

}




footer {
  background: #eee;
  text-align: center;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface-dim);

}

@media screen and (min-width: 600px) {

  footer {
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 4rem 40px;
  }
}




.container {
  margin-left: 20px;
  margin-right: 20px;
}


.mt-1 {
  margin-top: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.flex {
  display: flex;
}

.gap-30 {
  gap: 30px;
}

.flex-grow {
  flex-grow: 1;
}

.flex-min-350 {
  flex: 0 0 350px;
}

.flex-min-500 {
  flex: 0 0 500px;
}

.space-between {
  justify-content: space-between;
}

.mt_30 {
  margin-top: 30px;
}

.mb_30 {
  margin-bottom: 30px;
}

.p_30_0 {
  padding: 30px 0;
}

.text-center {
  text-align: center;
}

img.with-border {
  border: 12px solid white;
  box-shadow: 3px 2px 11px 0px rgba(0,0,0,0.15);
}

.rotate-2 {
  transform: rotate(2deg);
}




/* Medium */
@media screen and (min-width: 758px) {
  .container {
    margin-left: 40px;
    margin-right: 40px;
  }

  .md\:flex {
    display: flex;
  }

  .md\:grid-cols-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 45px;
  }

}

/* Large */
@media screen and (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }
}

/* Icons */
.circle-icon {
  background: var(--primary);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.circle-icon svg {
  width: 50px;
  height: 50px;
}

.center {
  margin-left: auto;
  margin-right: auto;
}




.hero {
  background-color: var(--primary);
  background-image: url(/media/images/common/tool-wall2.jpg);
  background-size: cover;
  padding: 20px;
  margin-bottom: 2rem;
}

.hero > div {
  max-width: 400px;
  font-weight: bold;
  color: #fff;
  font-size: 1.25rem;
  text-shadow: 0 3px 2px rgba(0, 0, 0, .2);
  h1, p {
    color: white;
  }
}
.hero p {
  line-height: 1.2;
  margin-bottom: 1rem;
}
@media screen and (min-width: 758px) {
  .hero {
    padding: 50px 40px;
  }
}







article.card {
  margin-bottom: 2rem;
  border-radius: var(--box-radius);

  background: white;
  display: flex;
  flex-direction: column;

  /* extract */
  box-shadow: 3px 2px 11px 0px rgba(0,0,0,0.15);
}

article.card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-top-left-radius: var(--box-radius);
  border-top-right-radius: var(--box-radius);
  object-fit: cover;
}

article.card .content {
  padding: 15px 20px;
  flex-grow: 1;
}
article.card .content h3 {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

article.card .content p:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  article.card {
    margin-left: 0;
    margin-right: 0;
  }
}




.contact-us {
  background: var(--surface-variant);
  padding: 2rem;
  border-radius: var(--box-radius);
}


form {
  display: grid;
  gap: 1rem;
  margin: 0;
  color: var(--on-surface-variant);
}

input, textarea {
  width: 100%;
  padding: 6px;
  font-size: 16px;
  border-radius: 5px;
  border: 2px solid var(--outline);
}
.field {
}
.field label {
  display: block;
  margin-bottom: 5px;
}

button {
  background: var(--primary);
  color: white;
  font-weight: bold;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}







#map {
  height: 400px;
}









blockquote {
  position: relative;
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) var(--space-xl) var(--space-lg) var(--space-2xl);
  border-left: 4px solid var(--primary);
  background: #fff;
  border-radius: var(--box-radius);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.25em;
  left: 0.15em;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  opacity: 0.4;
  pointer-events: none;
}

blockquote p {
  font-style: italic;
  font-size: var(--text-md);
  line-height: 1.6;
  margin: 0 0 var(--space-base) 0;
  position: relative;
}

blockquote footer {
  font-style: normal;
  font-size: var(--text-sm);
  color: #555;
}


.facilities-intro {
  max-width: 680px;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.facilities-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.facility-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.facility-image {
  width: 100%;
}

.facility-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--box-radius);
  display: block;
}

.facility-content h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

@media screen and (min-width: 758px) {
  .facility-row {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }

  .facility-row--reverse {
    flex-direction: row-reverse;
  }

  .facility-image {
    flex: 0 0 45%;
  }

  .facility-content {
    flex: 1;
  }
}


