/* Define lighter eco-friendly color palette */
:root {
  --color-text-primary: #3b4a22; /* dark moss green */
  --color-bg-header: rgba(203, 221, 121, 0.8); /* pale lemon green */
  --color-bg-nav: rgba(166, 197, 58, 0.8); /* vibrant lemon lime */
  --color-bg-content: rgba(220, 234, 186, 0.85); /* very light olive cream */
  --color-bg-footer: rgba(173, 198, 92, 0.85); /* medium lemon green */
  --color-text-nav: #2e3d25; /* dark olive */
  --color-text-footer: #2e3d25; /* dark olive */
  --color-highlight: #c7de57; /* bright lemon yellow */
  --color-link: #507f3a; /* medium olive green */
}

/* Reset & base */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  color: var(--color-text-primary);
  background-color: transparent; /* so bg images show */
  overflow-x: hidden;
}

/* Full-screen background container */
#bg-container {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* behind content */
  overflow: hidden;
}

/* Background layers */
.bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
  pointer-events: none; /* so clicks pass through */
}

/* Visible background */
.bg-image.active {
  opacity: 1;
}

/* Page content wrapper */
#page-content {
  position: relative;
  z-index: 10;
  padding: 1rem;
  max-width: 900px;
  margin: 80px auto 0 auto;
  background: var(--color-bg-content);
  border-radius: 8px;
  backdrop-filter: blur(3px);

  flex: 1 0 auto; /* grow and shrink as needed */
  width: 100%;
  box-sizing: border-box;
  color: var(--color-text-primary);
}

/* Header brand (logo + title) */
.header-brand {
    display: flex;
    align-items: center;
    gap: 15px; /* spacing between logo and title */
    padding: 10px 0;
}

/* Logo styling */
.site-logo {
    width: 128px;    /* adjust size */
    height: 128px;   /* keeps it square */
    object-fit: contain;
    image-rendering: auto;
    border-radius: 12px; /* optional smooth corners */
}

/* Optional: on mobile make it slightly smaller */
@media (max-width: 600px) {
    .site-logo {
        width: 92px;
        height: 92px;
    }
}

/* Header */
h2 {
  font-size: 2.4rem;
  margin: 0;
  padding: 15px;
  background: var(--color-bg-header);
  color: var(--color-text-primary);
  text-align: center;
  border-radius: 6px;
}
h2 a {
  color: var(--color-text-primary);
  text-decoration: none;
}

/* Navigation */
nav {
  text-align: center;
  padding: 12px 10px;
  background: var(--color-bg-nav);
  margin-bottom: 20px;
  z-index: 10;
  position: relative;
  border-radius: 6px;
}

/* Nav toggle button */
#nav-toggle {
  display: none; /* hidden by default */
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-text-nav);
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
#nav-toggle:hover,
#nav-toggle:focus {
  background-color: rgba(199, 222, 87, 0.3);
  outline: none;
}

/* Nav links container */
#nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

/* Nav links */
nav a {
  color: var(--color-text-nav);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: var(--color-highlight);
  text-decoration: underline;
}

/* Mobile nav: hamburger show and links hide */
@media (max-width: 600px) {
  #nav-toggle {
    display: inline-block;
  }
  #nav-links {
    display: none;
    flex-direction: column;
    margin-top: 10px;
  }
  #nav-links.show {
    display: flex;
  }
  nav a {
    margin: 0.5rem 0;
  }
}

/* Footer */
footer {
  flex-shrink: 0; /* don't shrink */
  text-align: center;
  padding: 15px;
  background: var(--color-bg-footer);
  color: var(--color-text-footer);
  margin-top: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--color-highlight);
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  border-radius: 6px;
}

.price-list {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  border-collapse: collapse;
  background: rgba(173, 198, 92, 0.8);
  border-radius: 8px;
  overflow: hidden;
  color: var(--color-text-primary);
  font-size: 1.1rem;
}

.price-list th,
.price-list td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(166, 197, 58, 0.6);
  text-align: left;
}

.price-list thead {
  background: var(--color-highlight);
  font-weight: bold;
  color: var(--color-text-nav);
}

.price-list tbody tr:hover {
  background-color: rgba(199, 222, 87, 0.3); /* lemon highlight hover */
  cursor: default;
}

/* FORM ELEMENTS - Contact page & general form styling */
input[type="text"],
input[type="email"],
textarea,
select,
button {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  border: 1.5px solid var(--color-bg-nav);
  border-radius: 5px;
  background-color: var(--color-bg-content);
  color: var(--color-text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-highlight);
  outline: none;
  box-shadow: 0 0 5px var(--color-highlight);
}

button {
  background-color: var(--color-bg-nav);
  color: var(--color-text-nav);
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 200px;
}

button:hover,
button:focus {
  background-color: var(--color-highlight);
  color: var(--color-text-primary);
  outline: none;
}

p > a img {
  transition: transform 0.3s ease;
}

p > a:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 2px var(--color-highlight));
}

/* Responsive images inside content */
#page-content ul li img {
  max-width: 420px;        /* Adjust icon size as needed */
  height: auto;
  vertical-align: middle; /* Aligns image vertically with text */
  margin-right: 0.6rem;   /* Space between image and text */
  display: inline-block;
}

/* Make images scale down on small screens */
@media (max-width: 600px) {
  #page-content ul li img {
    max-width: 40px; /* Slightly smaller on mobile */
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  h2 {
    font-size: 1.8rem;
    padding: 12px;
  }

  #page-content {
    margin: 20px 10px;
    padding: 1rem;
  }
}
