/* archivo-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/Archivo/archivo-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rokkitt-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/Rokkitt/rokkitt-v38-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* material-symbols-outlined-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/Material-Symbols-Outlined/material-symbols-outlined-v257-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* material-icons-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/Material-Icons/material-icons-v143-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Adjust size as needed */
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;

    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24; /* Optical size */
}

:root {
  --main-text-color: #0b4822;
  --main-text-color-light: #70B634;
  --logo-width: 300px; 
}

.content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}

.content ul li {
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 25px;
  /* Space for the custom bullet */
}

.content ul li::before {
    content: 'double_arrow'; /* The Material Symbol icon name */
    font-family: 'Material Symbols Outlined'; /* Apply the Material Symbols font */
    position: absolute;
    left: 0; /* Position the symbol */
    top: 50%; /* Align with the text */
    transform: translateY(-50%);
    color: var(--main-text-color-light); /* Color of the symbol */
    font-size: 1.2rem; /* Size of the symbol */
    line-height: inherit; /* Align with text */
}

.card ul li::before {
  content: 'check';
}

html, body {
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-family: 'Rokkitt', serif;
    color: var(--main-text-color);
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    height: 100vh; /* Ensure body takes full viewport height */
    min-height: 100vh;
    box-sizing: border-box;
}

.outer-left-bar {
    width: 10%;
    background-color: #127C29; /* Change this color as needed */
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.inner-left-bar {
    width: 5%;
    background-color: #70B634; /* Change this color as needed */
    height: 100vh;
    position: fixed;
    top: 0;
    left: 10%;
}

.content {
    margin-left: 15%; /* Adjusted to account for both bars */
    width: 85%;
    display: block; /* Remove flex to allow natural flow */
    min-height: 100vh;
    box-sizing: border-box;
    padding-top: 120px;   /* Space for nav */
    padding-bottom: 120px; /* Increased to ensure image is not covered by footer */
    text-align: left;
}


main {
    display: block;
    width: 100%;
    text-align: left;
    min-height: 60vh;
    box-sizing: border-box;
}

main > div {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

main > div > h2 {
    margin-bottom: 2rem; /* Space between title and content */
    align-content: middle; /* Centers the title */
}

.index-page-logo {
    width: 100%; /* Makes the image responsive */
    max-width: 600px; /* Optional: Limits the image size */
    height: auto; /* Maintains aspect ratio */
}

.index-page-text {
    font-size: 1.2rem; /* Adjust font size for better readability */
    text-align: center;
    padding-top: 1rem; /* Adds space above the text */
    padding-bottom: 6rem; /* Adds space below the text */
}

.index-page-headline {
    text-align: center;
}

main > div > p {
    margin-top: 0.5rem; /* Space between title and content */
    margin-bottom: 2rem; /* Space between title and content */
}

footer {
    background-color: #eaf2de;
    text-align: center;
    padding: 1rem 0;
    position: static;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    z-index: 99;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 15%;
  right: 0;
  width: 85%;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #f4f4f4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0 1rem;
}

.top-nav .nav-logo {
  width: var(--logo-width);
}

.top-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav a {
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.2s;
}

a:hover {
    color: #70B634;
}

a {
    color: var(--main-text-color);
    text-decoration: none;
}

.icons {
    font-size: 2.5rem;
    vertical-align: middle; /* Aligns the icon with the text */
    text-align: center; /* Centers the icon vertically */
    margin-right: 0.5rem; /* Adds space between the icon and the text */
}

.nav-logo-placeholder {
  display: block;
  height: 88px;   /* Same as .nav-logo */
  width: 300px;   /* Adjust to match your logo's width */
}

.card {
    background: #f4f4f4;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 1.5rem 1.5rem;
    margin: 1.5rem 0;
    max-width: 600px;
    transition: box-shadow 0.2s;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #127C29;
}

/* Hamburger button styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: auto;
  z-index: 300;
}

.hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background: #127C29;
  position: relative;
  border-radius: 2px;
}
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: #127C29;
  position: absolute;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger::before {
  top: -9px;
}
.hamburger::after {
  top: 9px;
}

/* Responsive: full width on small screens */
@media (max-width: 800px) {

  .content {
    margin-left: 15%;
    width: 70vw;
    padding-top: 72px; /* Adjust if nav is smaller on mobile */
    padding-bottom: 120px;
  }

  main > div {
    padding-left: 5%;
  } 

 .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    left: 15%; /* stays after the bars */
    top: 8px;
    padding: 0.5rem 0.5rem 0.5rem 0;
    background: #f4f4f4e6; /* optional: subtle background for contrast */
    border-radius: 0 0 12px 12px;
    width: calc(85vw - 1rem);
  }
  
  .top-nav ul {
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    padding-left: 0;
  }
  .top-nav ul li {
    width: 100%;
  }
  .top-nav a {
    display: block;
    width: 100%;
    padding: 0.3rem 0;
    margin-left: 1rem;
    font-size: 1.1rem; /* smaller font */
  }

  .nav-logo-placeholder {
    display: none;
  }

  footer {
    left: 0;
    width: 100vw;
  }

  .nav-toggle {
    display: flex;
    position: absolute;
    right: 2rem;      /* Add margin to the right border */
    top: 50%;           /* Vertically center */
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    height: 48px;
  }
  .top-nav {
    flex-direction: row;
    align-items: center;
    left: 0;
    width: 100vw;
    padding: 0.5rem 1rem;
    background: #f4f4f4e6;
    border-radius: 0 0 12px 12px;
    position: fixed;
    top: 0;
    z-index: 200;
    gap: 1rem;
  }
  .top-nav .nav-logo,
  .nav-logo-placeholder {
    height: 48px;
    width: auto;
    margin-bottom: 0;
    margin-left: 0.5rem;
    display: block;
    order: 1;
  }
  .top-nav ul {
    display: none;
    flex-direction: column;
    background: #f4f4f4;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 250;
    padding: 1rem 0;
  }
  .top-nav.open ul {
    display: flex;
  }
}
