/* ============================
    RESET
=============================== */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

/* BODY */
body {
  font-family: Poppins, sans-serif;
  color: var(--color-neutral-grey-444);
  background: var(--color-white);
  line-height: 1.5;
  font-size: var(--fs-400);
}

/* HEADINGS */
h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;  
  color: var(--color-neutral-grey-333);
}

h1 { 
  font-size: var(--fs-800);  
  color: var(--color-charcoal);
}
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }

/* PARAGRAPHS */
p { 
  line-height: 1.6; 
  margin-bottom: var(--space-200);
}

/* LINKS */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* IMAGES */
img {
  max-width: 100%;
  display: block;
}


/* ============================
    UTILITIES
=============================== */

.mt-400 { margin-top: var(--space-400); }
.mb-400 { margin-bottom: var(--space-400); }
.pt-600 { padding-top: var(--space-600); }
.pb-600 { padding-bottom: var(--space-600); }
.rounded { border-radius: var(--radius-medium); }
.shadow-soft { box-shadow: var(--shadow-soft); }

.text-center { text-align: center; }
.text-left {text-align: left;}
.text-right { text-align: right; }


.divider {
    border-top: 1px solid var(--color-grey-900);
    margin: 3rem 0 2.5rem;    
}

/* ============================
    CONTAINER
=============================== */
.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

.container-narrow {
    text-align: center;
    padding: 80px 30px;
    max-width: var(--max-width-content);
    margin: 0 auto;
}


/* ============================
    PAGE
=============================== */
.page-title{
    text-align: center;
    margin-bottom: 2rem;
}

/* ============================
    SECTIONS
=============================== */
section {
  padding-block: var(--space-700);
  background: var(--color-white);
}

section h2 {
  margin-bottom: var(--space-500);
  text-align: center;
}

section h3 {
    margin-bottom: var(--space-300);
}

.section-neutral {
  background: var(--color-white);
  padding-block: var(--space-1000);
}

.section-lavender {
  background: var(--color-lavender-light);
  padding-block: var(--space-1000);
}

.section-peach {
  background: var(--color-peach-light);
  padding-block: var(--space-1000);
}

.section-mint {
  background: var(--color-mint-light);
  padding-block: var(--space-1000);
}


/* ============================
    GRID HELPERS
=============================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-600);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-600);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-600);
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================
    HEADERS
=============================== */

/* Add colored underline style under header */
/* default centered - add text-left or text-right classes to change*/
.heading-underline::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  /*background: var(--color-peach);*/
  /*background: var(--color-accent1-500);*/
  background: var(--color-lavender-medium);
  margin-top: var(--space-200);
  border-radius: 2px;
  
  margin-left: auto;
  margin-right: auto; /* centers the line */
}

/* Make underline follow alignment */
.text-left.heading-underline::after {
  margin-left: 0;
  margin-right: 0;
}

.text-center.heading-underline::after {
  margin-left: auto;
  margin-right: auto;
}

.text-right.heading-underline::after {
  margin-left: auto;
  margin-right: 0;
}


/* ============================
    IMAGES
=============================== */
.rounded-img {
  width: 100%;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

/* ============================
    LISTS
=============================== */
.list-default {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 0.75rem;
}

.list-default li {
  margin-bottom: var(--space-200);
}


/* ============================
    LINKS
=============================== */

.link-inline {
    text-decoration: underline;
    color: inherit;
    font-weight: 400;
}

.link-inline:hover {
    text-decoration-thickness: 2px;
}

.link-underline {
  text-decoration: underline;
  color: inherit;
}

.link-underline:hover{
  text-decoration: none;
  color:var(--color-black);
}


/* ============================
    BREADCRUMB
=============================== */

.breadcrumbs {    
    margin: 1.25rem auto 0.75rem;
    padding: 0 1.25rem; 
    font-size:var(--fs-200);
    color: var(--color-grey-555);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.breadcrumbs a {
    color: var(--color-grey-333);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 4px;
    opacity: 0.7;
}


/* ============================
    BUTTONS
=============================== */
.button {
  display: inline-block;
  padding: 1rem 2.6rem; /*0.9rem 2rem;*/
  font-weight: 600;
  text-decoration: none;  
  font-size:var(--fs-300);
  margin-top: var(--space-500);
  border: 2px solid var(--color-plum);
  background: var(--color-plum);
  border-radius: var(--radius-pill);
  color: var(--color-white);  
  box-shadow: var(--shadow-large);
  transition: 0.25s ease;
}

.button:hover {  
  background: var(--color-white);
  color: var(--color-plum);
  text-decoration: none;
  cursor: pointer;
}

.button-inverted {
    display: inline-block;
    padding: 1rem 2.6rem;   
    font-weight: 600;
    text-decoration: none;  
    font-size:var(--fs-300);
    border-radius: var(--radius-pill);
    background: var(--color-white);
    color:var(--color-plum);
    border: 2px solid var(--color-plum);
    transition: 0.25s ease;
    box-shadow: var(--shadow-large);
}

.button-inverted:hover {
    background-color: var(--color-plum);
    color: var(--color-white);
    text-decoration: none;   
    cursor: pointer;
}


/* ============================
    ACCORIDION
=============================== */
/* Accordion item wrapper */
.accordion-item {
  border-left: 3px solid var(--color-lavender-medium);
  border-top: 1px solid var(--color-grey-900);
  border-bottom: 1px solid var(--color-grey-900);
  padding: 0.75rem 0;
  margin-bottom: 0.75rem;
}

/* Toggle button */
.accordion-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: inherit;
}

/* Chevron */
.accordion-toggle::after {
  content: "›";
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.accordion-item--open .accordion-toggle::after {
  transform: rotate(90deg);
}

/* Content panel (auto-height animation) */
.accordion-content {
  height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: height 0.3s ease;
}

/* Optional content styling */
.accordion-content p,
.accordion-content ul {
  margin: 0.5rem 0 1rem;
}

/*
.accordion-content ul {
  adding-left: 1.2rem;
}

.accordion-content li {
  argin-bottom: 0.3rem;
}
  */

/* ============================
    LOGO
=============================== */
.logo-inline {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-charcoal);
  white-space: nowrap;
}

/* SUPERSCRIPT "MON" */
.logo-inline .logo-mon {
  font-size: 0.55em;
  text-transform: uppercase;
  position: relative;
  top: -0.35em;
  opacity: 0.85;
}

.site-logo {
  height: 64px; /* adjust until it feels right */
  width: auto;
  display: block;
}

