/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #808080; /* 50% black */
  font-family: "Optima", sans-serif;
  color: #1a1a1a;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrapper {
  max-width: 100%;
  margin: 0 auto;
  background-color: #999999; /* 40% black */
}

.header {
  position: relative;
  padding: 35px 25px 20px 25px;
  /* We need to ensure the header is tall enough for the text and logo */
  min-height: 150px;
}

.header-text {
  position: relative;
  z-index: 2;
}

.header-text h1 {
  font-family: "Optima", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.header-text p {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.header-text .italic {
  font-family: "Optima Italic", "Optima", sans-serif;
  font-style: italic;
}

.logos-container {
  position: absolute;
  top: 100%; /* Anchor to the visual boundary */
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px; /* space between MEAM and LA ZONA */
  z-index: 10;
}

.logo-meam {
  width: 100px;
  height: auto;
  margin-top: -55px; /* Pull up to overlap boundary */
}

.logo-lazona {
  width: 80px;
  height: auto;
}

.hero {
  position: relative;
  width: 100%;
  line-height: 0; /* Important to remove gap below image */
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  bottom: 20px;
  left: 25px;
  color: white;
  line-height: 1.1;
}

.hero-overlay .highlighted {
  font-family: "Optima", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 2px;
  /* Adding subtle text shadow for better readability over painting */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-overlay h2 {
  font-family: "Optima", sans-serif;
  font-size: clamp(1.8rem, 8vw, 5.8rem);
  font-weight: normal;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.footer {
  padding: 20px 25px 40px 25px;
  background-color: #999999;
}

.footer .italic {
  font-family: "Optima Italic", "Optima", sans-serif;
  font-style: italic;
  font-size: 1.45rem;
  margin-bottom: 5px;
}

.footer .desc {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #1a1a1a;
  margin-top: 1rem;
}

.footer .honour {
  margin-bottom: 15px;
}

.details-list {
  list-style: none;
  margin-bottom: 5px;
}

.details-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #4a80d4; /* Specific blue color from image */
  border-radius: 50%;
  margin-right: 8px;
  margin-top: 6px; /* Align with first line */
  flex-shrink: 0;
}

.details-list strong {
  font-weight: normal;
  font-family: "Optima Bold", "Optima", sans-serif;
}

.specs {
  font-size: 0.95rem;
  margin-top: 6px;
  color: #1a1a1a;
  /* Match alignment with text of bullets (bullet width 8px + margin 8px) */
  padding-left: 0;
}

/* ==========================================================================
   Media Queries (Always placed at the end so they properly override base rules)
   ========================================================================== */

@media (min-width: 600px) {
  .wrapper {
    max-width: 1140px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Subtle shadow on desktop */
  }
  .footer {
    padding: 20px 25px 80px 25px;
  }
}

@media (max-width: 480px) {
  .header {
    /* Increase bottom padding on mobile so the logo margin doesn't overlap text */
    padding-bottom: 30px;
  }
  .logos-container {
    right: 15px;
    top: 90px;
  }
  .logo-meam {
    width: 80px; /* Slightly smaller on mobile */
    margin-top: -45px; /* Adjust overlap for smaller logo size */
  }
  .logo-lazona {
    width: 65px; /* Slightly smaller on mobile */
  }
  .footer {
    padding: 20px 25px 120px 25px;
  }
}
