/* RESET + BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Nunito', sans-serif;
  background-color: #f5f5f2;
  color: #2f2f2f;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.01rem;
}
.welcome {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  line-height: 1.7;
  font-size: 1.1rem;
  color: #2f2f2f;
}

.welcome h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #4A5E58;
}

.welcome .tagline {
  text-align: center;
  font-style: italic;
  color: #4A5E58;
  margin-bottom: 2rem;
  font-weight: 300;
}

.welcome h3 {
  margin-top: 2.5rem;
  font-size: 1.3rem;
  color: #4A5E58;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}

.welcome p {
  margin-bottom: 1.5rem;
}

.welcome ul {
  margin: 1rem 0 2rem 1.5rem;
  padding-left: 1rem;
  list-style: disc;
  color: #333;
}

.welcome .call-to-action {
  margin-top: 2rem;
  text-align: center;
  font-weight: 500;
  color: #2f2f2f;
}

.welcome .call-to-action a {
  color: #4A5E58;
  text-decoration: underline;
  font-weight: 600;
}

.welcome .call-to-action a:hover {
  text-decoration: underline;
}


/* WELCOME SECTION */


/* HERO HEADER + OVERLAY */
.hero-header {
  background: url('/static/images/rl-hero-1920.jpg') center/cover no-repeat;
  min-height: 400px;
  max-height: 600px;
  height: 60vh;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(0, 0, 0, 0.25);*/
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.4));
  z-index: 1;
}

/* HERO TEXT */
.hero-text {
  z-index: 10;
  position: relative;
  padding: 0 2rem;
}
.hero-text h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
.hero-text p {
  font-size: 1.2rem;
  color: #f3f3f3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* NAVIGATION */
.top-nav {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
.logo {

  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01rem;

  color: white;
}

/* DESKTOP NAV MENU */
.nav-links {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 2rem;
  font-size: 1.4rem;
}

/* MENU STRUCTURE */
.menu-section {
  position: relative;
}

.menu-item {
  font-weight: 500;
  color: white;
  padding: 0.2rem 0;
  cursor: default;
}

.menu-item.parent {
  font-weight: 600;
}

/* Submenu (hidden by default on desktop) */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 0.75rem;
  min-width: 200px;
  gap: 0.25rem;
  z-index: 999;
}

.menu-section:hover .submenu {
  display: flex;
}

.submenu-item {
  font-weight: 400;
  font-size: 0.95rem;
  color: #e0e0e0;
  transition: color 0.2s ease;
}
.submenu-item::before {
  content: " \2192"; /* Unicode right arrow (→) */
  font-size: 0.95rem;
  color: #aaa;
  margin-left: 0.4rem;
  transition: color 0.2s ease;
}

.submenu-item:hover::after {
  color: #b0e5c4; /* soft mint on hover */
}

.menu-item.active,
.submenu-item.active {
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
}

/* BURGER BUTTON (MOBILE ONLY) */
.burger {
  display: none;
}

/* MAIN CONTENT */
main {
  padding: 3rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #4A5E58;
}
p {
  font-size: 1.1rem;
  color: #333;
}



/* FOOTER */
footer {
  background-color: #2f2f2f;
  color: #ccc;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .burger {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
  }
  
  .logo-icon {
    height: 28px;
    width: auto;
    max-height: 28px;
    max-width: 40px;
    display: inline-block;
    vertical-align: middle;
  }
  .logo {
    font-size: 1.2rem;
  }
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;

    position: absolute;
    top: 100%;
    left: 1.5rem;
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    z-index: 999;
    gap: 0.6rem;
    font-size: 1rem;
    width: calc(100vw - 3rem);
    max-width: 320px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }

  .nav-links.show {
    display: flex;
  }

  .menu-section {
    width: 100%;
  }

  .menu-item,
  .submenu-item {
    width: 100%;
    text-align: left;

  }

  .submenu {
    position: static;
    display: flex;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    background: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0.25rem;
  }
}

.about {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.7;
}

.about ul {
  margin: 0.5rem 0 1rem 1.5rem;
  padding-left: 0;
  list-style: disc;

}

.qualifications {
  margin-top: 2rem;
  padding: 0;
}

.qualifications dt {
  font-weight: 600;
  color: #4A5E58;
  margin-top: 1.2rem;
}

.qualifications dd {
  margin-left: 1rem;
  margin-bottom: 0.4rem;
  color: #333;
}


.about h3 {
  background-color: #f0f4f1;
  padding: 0.5rem 1rem;
  border-left: 4px solid #4A5E58;
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.services {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.7;
}

.services h3 {
  margin-top: 2.5rem;
  color: #4A5E58;
  font-size: 1.4rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}

.services ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.services ul li {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  position: relative;
}

.services ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #999;
}
.contact {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.7;
}

.contact-block {
  margin-bottom: 2rem;
}

.contact .icon {
  font-size: 1.3rem;
  margin-right: 0.4rem;
  color: #4A5E58;
  vertical-align: middle;
}

.contact a {
  color: #4A5E58;
  font-weight: 500;
  text-decoration: underline dotted;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

.contact .emergency {
  background-color: #fff5f5;
  border-left: 4px solid #b22222;
  padding: 1rem;
  border-radius: 6px;
}

.contact .emergency ul {
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}
.referrers {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.7;
}

.referrers ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.referrers ol li {
  margin-bottom: 1rem;
}

.referrers h3 {
  margin-top: 2rem;
  color: #4A5E58;
  font-size: 1.3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}

.emergency-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.7;
}

.emergency-page h3 {
  margin-top: 2.5rem;
  color: #4A5E58;
  font-size: 1.4rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}

.emergency-page ul {
  list-style: disc;
  margin: 1rem 0 2rem 1.5rem;
}

.emergency-page li {
  margin-bottom: 1.2rem;
}

.emergency-page a {
  display: inline-block;
  color: #2f5d4e;
  font-weight: 500;
  margin-top: 0.25rem;
}
.disclaimer {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.7;
}

.disclaimer h3 {
  margin-top: 2rem;
  color: #4A5E58;
  font-size: 1.3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}
.privacy-policy {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  line-height: 1.7;
}

.privacy-policy h3 {
  margin-top: 2rem;
  color: #4A5E58;
  font-size: 1.3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}

.privacy-policy ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style-type: disc;
}


footer {
  background-color: #2f2f2f;
  color: #ccc;
  text-align: center;
  padding: 1.25rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  margin: 0 0.4rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-meta {
  font-size: 0.85rem;
  color: #aaa;
}

.engine-credit a {
  color: #aaa;
  font-style: italic;
  text-decoration: none;
}

.engine-credit a:hover {
  text-decoration: underline;
}

.logo-icon {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.hero-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #4A5E58;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-cta:hover {
  background-color: #3e4f4a;
}
.button {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  background-color: transparent;
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  border: 2px solid white;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.15s ease;
  margin-top: 1.5rem;
}

.button:hover {
  background-color: rgba(255, 255, 255, 0.2); /* subtle tint */
  border-color: #f0f0f0;
  transform: translateY(-1px);
}

.button:active {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(0);
}

.page-cta {
  text-align: center;
  margin-top: 3rem;
}

.page-cta .cta-button {
  margin-top: 1rem;
  background-color: #4A5E58;
  color: white;
  border: none;
}

.page-cta .button:hover {
  background-color: #3a4d47;
}

.nav-links a:hover,
.menu-item:hover,
.submenu-item:hover {
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  color: #e0e0e0; /* optional tint change */
}
