/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1E1E1E;
  background-color: #ffffff;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* ===== Section Defaults ===== */
section {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

main > section:first-of-type {
  padding-top: 0.5rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Josefin Sans', sans-serif;
  color: #4B184C;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
}

h3 {
  font-size: 2rem;
  font-weight: 700;
}

h4 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

li {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.service-block p,
.service-block li {
  font-size: 1rem;
}

.page-intro h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #4B184C;
  margin-bottom: 1rem;
}

/* ===== Navigation ===== */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #4B184C;
  color: #FFFFFF;
  box-shadow: 0 4px 8px #1E1E1E33;
}

.site-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
  color: #FFFFFF;
}

.site-title img {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.nav-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  text-decoration: underline;
  color: #C398BA;
}
/* ===== Dropdown Menu ===== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #4B184C;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 10;
  min-width: 200px;
  list-style-type: disc;
  list-style-position: inside;
}

.dropdown-menu li {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  padding-left: 0.5rem;
  text-indent: -0.5rem;
  margin-bottom: 0.5rem;
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
}

.dropdown-menu li::marker {
  color: #FFFFFF;
}

.dropdown-menu a {
  color: #FFFFFF;
  text-decoration: none;
}

.dropdown-menu a:hover {
  color: #C398BA;
  text-decoration: underline;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ===== Hero Section ===== */
.hero {
  text-align: center;
  padding: 1.5rem;
  background-color: #FFFFFF;
  border: 4px solid #4B184C;
  color: #1E1E1E;
}

.hero h2 {
  color: #4B184C;
  font-size: 1.8rem;
  line-height: 1.2;
}

.hero-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

/* ===== Services Preview ===== */
.services-preview {
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.service-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.service-options .service-block {
  flex: 1 1 48%;
  max-width: 48%;
}

.service-options.stacked .service-block {
  flex: 1 1 100%;
  max-width: 100%;
}

.service-block {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid #4B184C;
  border-radius: 8px;
  background-color: #FFFFFF;
  text-align: left;
  box-shadow: 0 4px 10px rgba(30, 30, 30, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 12px #1E1E1E33;
}
.service-block h3 {
  background-color: #4B184C;
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: 6px 6px 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  position: relative;
}

.service-block h3 .tag {
  display: inline-block;
  background-color: #C398BA;
  color: #1E1E1E;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.75rem;
  vertical-align: middle;
}

.service-block p:first-of-type {
  margin-bottom: 0.75rem;
}

.service-block ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.service-block h4 {
  font-size: 1.5rem;
  color: #4B184C;
  margin-bottom: 0.5rem;
}

/* ===== Buttons ===== */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #4B184C;
  color: #FFFFFF;
  border: 2px solid #1E1E1E;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.button:hover {
  background-color: #C398BA;
  color: #1E1E1E;
}

/* ===== Why Battlemouse ===== */
.why-battlemouse {
  background-color: #BEBBCC;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 2px solid #4B184C;
  border-bottom: 2px solid #4B184C;
}

.why-battlemouse p {
  max-width: 800px;
  margin: 0 auto;
}

/* ===== General Page Intro ===== */
.page-intro {
  text-align: center;
  padding: 2rem;
  border: 2px solid #4B184C;
  border-radius: 8px;
  background-color: #ffffff;
  margin-bottom: 2rem;
}

.page-intro h2 {
  margin-bottom: 1rem;
}

.page-intro p {
  max-width: 800px;
  margin: 0 auto;
}

/* ===== Help Section ===== */
.help-section {
  padding: 0.5rem;
}

/* ===== Help Pairs ===== */
.help-pairs {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.help-pairs li {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

.help-pairs li:nth-child(odd) {
  background-color: #FFFFFF;
  border: 2px solid #C398BA;
}

.help-pairs li:nth-child(even) {
  background-color: #C398BA;
}
.client-need {
  flex: 1 1 40%;
  font-style: italic;
  font-weight: 500;
  text-align: left;
  margin-top: 0.2rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.arrow {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 1.5rem;
  color: #4B184C;
  margin-top: 0.2rem;
}

.service-match {
  flex: 1 1 55%;
  font-weight: 500;
  color: #4B184C;
  text-align: left;
  margin-top: 0.2rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (max-width: 600px) {
  .help-pairs li {
    flex-direction: column;
    align-items: flex-start;
  }

  .arrow {
    font-size: 2rem;
    transform: rotate(90deg);
    margin-left: 0;
    margin-right: 0;
    align-self: center;
  }

  .service-options {
    flex-direction: column;
  }

  .service-options .service-block {
    max-width: 100%;
  }

  .stacked .service-block {
    max-width: 100%;
  }
}

/* ===== Contact CTA ===== */
.contact-cta {
  text-align: center;
  padding: 1rem 1rem;
  background-color: #4B184C;
  color: #FFFFFF;
}

.contact-cta h3 {
  color: #FFFFFF;
}

.contact-cta p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-button {
  display: inline-block;
  background-color: #BEBBCC;
  color: #4B184C;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  border: 2px solid #1E1E1E;
  margin-top: 1rem;
}

.contact-button:hover {
  background-color: #C398BA;
  color: #1E1E1E;
}

/* ===== Footer ===== */
footer {
  background-color: #4B184C;
  color: #FFFFFF;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}
