/* =================== GOOGLE FONTS =================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

/* =================== ROOT VARIABLES =================== */
:root {
  --primary-color: rgb(0, 224, 181);
  --primary-dark: #008c7c;
  --background: rgb(252, 251, 230);
  --text-color: #222;
  --white: #fff;
  --gray: #666;
  --footer-bg: #1c1c1c;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* =================== RESET =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--text-color);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* =================== HEADER =================== */
header {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

#logo {
  max-width: 380px;
}

/* =================== NAVIGATION =================== */
nav {
  background-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.navul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  padding: 1rem 2rem;
}

.navul > li {
  position: relative;
}

.navul > li > a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: var(--transition);
}

.navul > li > a:hover {
  background-color: var(--primary-dark);
}

/* SUBMENU */
.navul-sub {
    list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: var(--shadow);
  border-radius: 6px;
  padding: 0.5rem 0;
  z-index: 1000;
}

.navul-sub li a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.navul-sub li a:hover {
  background-color: var(--primary-color);
  color: white;
}

.submenu:hover .navul-sub {
  display: block;
}

/* =================== MAIN =================== */
main {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  gap: 3rem;
}

/* ESTILO PARA ARTICLE */
article {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.5rem;
}

article section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

article h2 {
  color: var(--primary-dark);
  font-size: 1.5rem;
}

article p,
article ul {
  color: var(--gray);
  font-size: 1rem;
}

article ul {
  list-style: inside disc;
  padding-left: 1rem;
}

article img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* =================== FOOTER =================== */
footer {
  background-color: var(--footer-bg);
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

footer h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.info-cliente {
  flex: 1;
  min-width: 250px;
}

.info-cliente ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.info-cliente ul li {
  margin-bottom: 0.5rem;
}

.info-cliente ul li a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.info-cliente ul li a:hover {
  color: var(--primary-color);
}

.imagenes-footer {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 250px;
}

.imagenes-footer img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.footer-widgets {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 250px;
  }
  
  .footer-widgets h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
  }
  
  .map-container,
  .calendar-container {
    background-color: #2b2b2b;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  
  .map-container iframe,
  .calendar-container iframe {
    border-radius: 6px;
  }
  footer {
    background-color: #1d1d1d;
    color: #fff;
    padding: 3rem 1rem;
    font-size: 0.95rem;
  }
  
  
  .footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1800px;
    margin: 0 auto;
    gap: 3rem;
  }
  
  
  .footer-container > div {
    flex: 1;
    min-width: 280px;
  }
  
  footer h3,
  footer h4 {
    margin-bottom: 0.8rem;
    color: var(--primary-color, #3ccaa0);
  }
  
  .info-cliente ul {
    list-style: none;
    padding: 0;
  }
  
  .info-cliente ul li {
    margin-bottom: 0.4rem;
  }
  
  footer a {
    color: #ccc;
    text-decoration: none;
  }
  
  footer a:hover {
    color: #fff;
  }
  
  .map-container,
  .calendar-container {
    background-color: #2a2a2a;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  }
  
  iframe {
    border-radius: 6px;
    width: 100%;
    height: 200px;
  }
/* =================== CARROUSEL =================== */

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 1rem;
  background-color: grey;
}
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
  }

  .carousel-track img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    flex-shrink: 0;
  }
  
  .carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1;
  }
  
  .carousel .prev {
    left: 10px;
  }
  
  .carousel .next {
    right: 10px;
  }
