/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  background-color: #f7f7f7;
}

/* HEADER */
.main-header {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.menu-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: transparent;
  justify-content: center;
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  color: white;
  margin-right: 1rem;
}

.nav-list {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

.nav-list li {
  list-style: none;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffcc00;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ffcc00;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.cta-button {
  background: white;
  color: #23487F;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #e6e6e6;
}

/* HERO */
.top-hero {
  position: relative;
  background-image: url('images/hero.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: white;
}

.top-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(35, 72, 127, 0.5);
  z-index: 0;
}

.branding {
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-small {
  width: 560px;
  max-width: 90vw;
  height: auto;
  margin-bottom: 1.5rem;
}

.branding h1 {
  font-size: 2.5rem;
  font-weight: bold;
}
.about-us {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1rem;
  align-items: center;
}

.about-text {
  flex: 1 1 60%;
}

.about-image {
  flex: 1 1 35%;
  height: 400px;
  background-image: url('/images/family.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.reviews-section {
  padding: 4rem 1rem;
  background-color: #fff;
  text-align: center;
}

.reviews-section h2 {
  font-size: 2rem;
  color: #23487F;
  margin-bottom: 2rem;
}

.review-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
  background: #f7f7f7;
}

.review-track {
  display: flex;
  animation: scrollReviews 30s linear infinite;
  gap: 1.5rem;
}

.review-card {
  min-width: 300px;
  max-width: 300px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  box-sizing: border-box;
}

.review-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0.5rem 0;
}

.review-card strong {
  font-size: 0.9rem;
  color: #23487F;
}

@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* CONTACT + FORM */
.contact-final {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 4rem auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  gap: 0;
}

.contact-map {
  flex: 1 1 50%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-box {
  flex: 1 1 50%;
  background-color: #23487F;
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-box h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-box form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-box input,
.contact-box textarea {
  flex: 1 1 200px;
  min-width: 150px;
  padding: 0.6rem;
  border-radius: 5px;
  border: none;
}

.contact-box textarea {
  flex: 1 1 100%;
  resize: vertical;
}

.contact-box button {
  flex: 1 1 100%;
  padding: 0.8rem;
  background-color: white;
  color: #23487F;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* GALERIA */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img:hover {
  transform: scale(1.05);
  z-index: 2;
}

/* FOOTER */
.site-footer {
  background: #23487F;
  color: white;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
  margin-top: 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.our-services {
  padding: 4rem 1rem;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  max-width: 340px;
  width: 100%;
  flex: 1 1 300px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.service-card h3 {
  color: #23487F;
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
}

.service-card p {
  padding: 0 1.2rem 1.5rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .branding h1 {
    font-size: 1.8rem;
  }

  .about-us {
    flex-direction: column;
    text-align: center;
  }

  .about-text,
  .about-image {
    flex: 1 1 100%;
    width: 100%;
  }

  .about-image {
    height: 250px;
  }

  .main-header {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-button {
    margin-top: 1rem;
  }

  .contact-final {
    flex-direction: column;
  }

  .contact-map {
    height: 300px;
  }

  .contact-box {
    padding: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .menu-toggle {
    display: block;
    background: none;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    color: white;
    margin-right: 1rem;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background: #23487F;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    list-style: none;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li {
    list-style: none;
  }
}
