/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Roboto", Arial, sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === HEADER === */
.site-header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #f9af43;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav .nav-cta {
  padding: 0.55rem 1.2rem;
  border: 2px solid #f9af43;
  border-radius: 999px;
  background-color: #f9af43;
  color: #222;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.main-nav .nav-cta:hover {
  background-color: #fde7c6;
  border-color: #f9af43;
  color: #222;
}

.main-nav .nav-cta:focus-visible {
  outline: 3px solid rgba(249, 175, 67, 0.45);
  outline-offset: 3px;
}

.main-nav a:hover,
.main-nav a.active {
  color: #f9af43;
}

/* === HERO SECTION === */
.services-hero {
  background: url("/assets/files/images/services.png");
  background-size: cover; /* fill width, crop vertically */
  background-position: center; /* keep subject centered */
  background-repeat: no-repeat;
  color: #222;
  text-align: center;
  padding: 6rem 1rem;
  max-height: 300px; /* example fixed height */
  overflow: hidden; /* hide excess vertical image */
}

.services-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.3;
  color: white;
}

/* === INTRO === */
.services-intro {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.services-intro p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* === SERVICES LIST === */
.services-list {
  padding: 4rem 1rem;
}

.service {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.service:last-of-type {
  border-bottom: none;
}

.service h2 {
  color: #f9af43;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.service p {
  max-width: 900px;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.service ul {
  margin-left: 1.5rem;
  list-style: disc;
}

.closing-text {
  text-align: center;
  margin-top: 3rem;
}

.closing-text p {
  font-weight: 600;
  font-size: 1.1rem;
  color: #f9af43;
}

/* === FOOTER === */
.site-footer {
  background-color: #fde7c6;
  color: #222;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 790px) {
  .header-content {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .main-nav.is-open ul {
    max-height: 400px;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 1.25rem;
  }

  .main-nav .nav-cta {
    margin: 0.25rem 0 0.75rem;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
  }

  .main-nav li + li a {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .services-hero h1 {
    font-size: 2rem;
  }

  .service h2 {
    font-size: 1.4rem;
  }

  .service p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 45px;
  }

  .services-hero {
    padding: 3.5rem 1rem;
  }

  .services-hero h1 {
    font-size: 1.6rem;
  }

  .services-list {
    padding: 3rem 1rem;
  }

  .service {
    margin-bottom: 2rem;
  }
}
