/* Base / Global */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.topbar {
  background: #1f4e79;
  color: #fff;
  padding: 10px 0;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  letter-spacing: 1px;
}

.cta {
  background: #f58a07;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 8px;
}

.cta.outline {
  background: transparent;
  border: 2px solid #fff;
}

/* HERO / Slideshow */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero .slides img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: block;
}

.hero .slides img.active {
  opacity: 1;
}

/* ensure first image shows immediately before JS kicks in */
.hero .slides img:first-child {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  padding: 0 1rem; /* small side padding for mobile */
}

.btn {
  background: #f58a07;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  margin: 5px;
}

.btn.ghost {
  background: transparent;
  border: 2px solid #fff;
}

.footer {
  background: #1f4e79;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer .logo {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.footer-contact p {
  margin: 0;
  line-height: 1.6;
}

.footer a {
  color: #fff;
  text-decoration: none;
}


.legal {
  background: #123a5a;
  padding: 10px 0;
  font-size: 0.9em;
}

/* RESPONSIVE / MEDIA QUERIES */

/* Tablet / smaller screens */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay p {
    font-size: 1.1rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 1rem;
  }

  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar .contact {
    margin-top: 10px;
  }

  .cta {
    margin-left: 0;
    margin-bottom: 8px;
  }
}

/* Mobile / very small screens */
@media (max-width: 480px) {
  .hero {
    height: 50vh;
  }

  .hero-overlay h1 {
    font-size: 1.4rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }
}
