body {
    font-family: 'Lato', sans-serif;
    background-color: #bbb;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    background-color: #bbb;
}

.logo-placeholder img {
    height: 100px;
    width: 200px;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

nav .nav-links li {
    display: inline;
}

nav .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

nav .nav-links a:hover {
    color: 	#4CAF50;
}

header h1 {
    text-align: center;
    margin-top: 16px;
    font-size: 2rem;
    color: #222;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    background-color: #4CAF50;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Hide dropdown content by default */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 0;
  margin: 0;
}

/* Style for dropdown items */
.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  color: #333333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Hover effect for dropdown items */
.dropdown-content li a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

/* Make the list item behave like a block with padding */
.nav-item {
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

/* Ensure the anchor tag fills the li space */
.nav-item a {
  display: block;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

/* Hover effect on the entire nav item */
.nav-item:hover {
  background-color: #F26A2E; /* Orange from logo */
}

.nav-item:hover a {
  color: white;
}

.map-container {
    margin-top: 1rem;
    border: 2px solid #F26A2E; /* orange from your logo */
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 300px;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    text-decoration: none;
    margin: 0 8px;
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease;
}

/* Hover effects with brand colors */
.social-icons a:hover .fa-facebook-f {
    color: #1877F2; /* Facebook blue */
}

.social-icons a:hover .fa-linkedin-in {
    color: #0A66C2; /* LinkedIn blue */
}

.social-icons a:hover .fa-whatsapp {
    color: #25D366; /* WhatsApp green */
}

#nav-links li:hover{
    background-color: #F26A2E;
}

.contact-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    flex-wrap: wrap; /* ensures mobile responsiveness */
}

.map-wrapper iframe {
    max-width: 100%;
    border-radius: 8px;
}

.contact-text {
    max-width: 300px;
    font-size: 1rem;
    color: #333;
}

.contact-text p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Fix para telefonos */

@media (max-width: 768px) {

  /* Header: Stack logo and nav vertically */
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

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

  nav .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0;
  }

  nav .nav-links li {
    display: block;
    width: 100%;
  }

  nav .nav-links a {
    padding: 10px 0;
    display: block;
    width: 100%;
    text-align: center;
    background-color: #fff;
    border-radius: 4px;
  }

  /* Dropdown menu width fix */
  .dropdown-content {
    position: static;
    box-shadow: none;
    border: 1px solid #ccc;
    width: 100%;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  /* Slideshow */
  .slideshow-container {
    width: 100%;
    padding: 0 1rem;
  }

  .text {
    font-size: 14px;
  }

  .prev, .next {
    font-size: 16px;
    padding: 12px;
  }

  /* Contact map and text: stack vertically */
  .contact-container {
    flex-direction: column;
    padding: 1rem;
  }

  .contact-text {
    max-width: 100%;
    text-align: center;
  }

  /* Footer: Stack text and icons */
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .social-icons {
    margin-top: 0;
  }

  .social-icons a {
    font-size: 24px;
  }

  body {
    font-size: 16px;
    padding: 0 1rem;
  }
}