/* ===== General Page Styling ===== */
body {
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #000000;
  color: #fff;
}

/* ===== Header ===== */
header {
  background: #000000;
  color: #fff;
  padding: 30px 20px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

/* Logo */
.logo {
  max-width: 300px;
  height: auto;
  display: block;
}

/* Header Text */
.header-text {
  text-align: left;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin: 0;
}

/* Navigation */
header nav {
  margin-top: 15px;
}

header nav a {
  color: #fd0bd5;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

header nav a:hover {
  text-decoration: underline;
}

/* ===== Trust Badges Styling ===== */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 20px;
  background-color: #000000; /* matches header */
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
}

/* ===== Badge Icon Sizes & Hover ===== */
.badge img {
  width: 28px;   /* desktop size */
  height: 28px;
  transition: transform 0.2s ease;
}

.badge:hover img {
  transform: scale(1.1);
}

/* ===== Custom Colors for Each Icon ===== */
.icon-family {
  filter: invert(64%) sepia(32%) saturate(400%) hue-rotate(12deg)
          brightness(95%) contrast(90%);
}

.icon-local {
  filter: invert(18%) sepia(93%) saturate(7495%) hue-rotate(358deg)
          brightness(97%) contrast(105%);
}

.icon-veteran {
  filter: none !important;
  display: inline-block;
  width: 28px;
  height: 28px;
}

.icon-licensed {
  filter: none !important;
  display: inline-block;
  width: 28px;
  height: 28px;
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 600px) {
  .badge img {
    width: 20px;
    height: 20px;
  }

  .trust-badges {
    gap: 15px;
    padding: 15px;
  }

  .badge {
    font-size: 0.9rem;
  }
}

/* ===== Main Content Wrapper ===== */
main {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 1in; /* 1-inch margins on desktop */
}

/* ===== Sections ===== */
section {
  background: #2e0050;
  color: #fff;
  margin: 20px 0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ff002f;
}

p, li {
  font-size: 1.1rem;
}

/* ===== Slideshow ===== */
.slideshow-container {
  max-width: 700px;   /* desktop cap */
  margin: auto;
  position: relative;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  max-width: 700px;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin: auto;
}

/* ===== Forms (Reviews & Messages) ===== */
form textarea,
form input,
form button {
  width: 100%;
  max-width: 600px;  /* bigger fields on desktop */
  display: block;
  margin: 10px auto;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

form button {
  background: #fd0bd5;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

form button:hover {
  background: #ff33e1;
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 768px) {
  /* Shrink margins */
  main {
    padding: 0 15px;
  }

  /* Header stacks */
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .logo {
    max-width: 150px;
    margin: 0 auto;
  }

  header h1 {
    font-size: 1.8rem;
  }

  /* Nav links stack */
  header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* Slideshow shrinks */
  .slideshow-container {
    max-width: 100%;
  }

  .mySlides img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 5px;
  }

  /* Forms full width */
  form textarea,
  form input,
  form button {
    max-width: 100%;
    margin: 10px 0;
  }

  /* Section padding smaller */
  section {
    padding: 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, li {
    font-size: 1rem;
  }

  form button {
    width: 100%;   /* easy to tap on phones */
  }
}
