body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  color: black;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  width: 150px;
  margin-left: 100px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: black;
  text-decoration: none;
  font-size: 16px;
}

.nav a:hover {
    color: darkorange
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
}

.hero {
  background-image: url('img/hero_santa_marta_dos.jpg'); /* Imagen hero */
  background-size: cover; 
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* Oscurece para mejor lectura */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  background-color: darkorange;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
    background-color: green;
}


/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
  }
    
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 80px;
    right: 0;
    background-color: #222;
    flex-direction: column;
    width: 200px;
    padding: 10px;
    display: none;
  }

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

  .menu-toggle {
    display: block;
  }
    
    .nav a {
        color: white;
    }
    
    .logo {
        margin-left: 0px;
    }
}

  .text_hero {
      margin-left: 120px;
}

  .img_hero {
      margin-right: 120px;
}

  .contenedor_hero {
    display: flex;
    justify-content: space-between; /* Distribuye los elementos con espacio entre ellos */
    align-items: center; /* Alinea verticalmente */
    padding: 10px;
}

.articulos-principales {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.articulos-principales h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.contenedor-articulos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.articulo {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.articulo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.articulo h3 {
  font-size: 18px;
  margin: 15px;
  color: #222;
}

.articulo p {
  margin: 0 15px 15px;
  color: #555;
  font-size: 14px;
}

.articulo a {
  display: block;
  margin: 0 15px 15px;
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

.articulo a:hover {
  text-decoration: underline;
}


/* seccion 500 años */

.santamarta-500 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 40px 20px;
  background-color: #fff;
  max-width: 1200px;
  margin: auto;
}

.imagen-500 {
  flex: 1 1 400px;
}

.imagen-500 img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.contenido-500 {
  flex: 1 1 400px;
}

.contenido-500 h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #222;
}

.contenido-500 p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.contenido-500 a {
  display: inline-block;
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

.contenido-500 a:hover {
  text-decoration: underline;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .santamarta-500 {
    flex-direction: column;
    text-align: center;
  }

  .contenido-500 {
    padding: 0 10px;
  }
  
}


/* Estilos sección Lugares */
.lugares {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.lugares h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1e3a5f;
}

.lugares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.lugar {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  text-align: left;
}

.lugar img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.lugar h3 {
  margin: 16px;
  font-size: 1.2rem;
  color: #333;
}

.lugar p {
  margin: 0 16px 10px;
  color: #555;
}

.leer-mas {
  display: inline-block;
  margin: 0 16px 16px;
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}



/* Estilos sección Experiencias */
.experiencias {
  background-color: #f4f4f4;
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.experiencias h2 {
  text-align: center;
  font-size: 2rem;
  color: #1e3a5f;
  margin-bottom: 40px;
}

.experiencia {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.experiencia img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.experiencia .info {
  padding: 20px;
  flex: 1;
}

.experiencia .info h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #333;
}

.experiencia .info p {
  color: #555;
  margin: 10px 0 20px;
}

.experiencia .leer-mas {
  text-decoration: none;
  color: #0066cc;
  font-weight: bold;
}

@media (max-width: 768px) {
  .experiencia {
    flex-direction: column;
  }

  .experiencia img {
    max-width: 100%;
    width: 100%;
  }
}



/* Estilos sección Footer */

.footer {
  background-color: #111;
  color: #ddd;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-section h4 {
  color: #facc15;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #bbb;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
}

.footer-section p i {
  margin-right: 8px;
  color: #facc15;
}

.social-icons, .social {
  display: flex;
  gap: 15px;
}

.social {
    margin-right: 100px;
}

.social-icons a {
  color: #facc15;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}


/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
    
  .social {
      display: none;
    }
}





/* estilos buscador */

.buscador-articulos {
  max-width: 600px;
  width: 90%;
  margin: 10px auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.buscador-articulos h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

#buscador {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s;
}

#buscador:focus {
  border-color: #0077cc;
}

#lista-articulos {
  margin-top: 20px;
  padding-left: 0;
  list-style: none;
}

#lista-articulos li {
  margin-bottom: 10px;
}

#lista-articulos a {
  display: block;
  padding: 10px 14px;
  background-color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  color: #0077cc;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: background-color 0.2s, color 0.2s;
}

#lista-articulos a:hover {
  background-color: #0077cc;
  color: #ffffff;
}

/* 🔽 Media Query para pantallas pequeñas */
@media screen and (max-width: 480px) {
  .buscador-articulos {
    padding: 15px;
  }

  .buscador-articulos h2 {
    font-size: 1.2rem;
  }

  #buscador {
    font-size: 0.95rem;
    padding: 10px 14px;
  }
}




/* contacto */

.contacto {
  padding: 50px 20px;
  background-color: #f2f2f2;
  text-align: center;
}

.contacto h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 10px;
}

.contacto p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
}

.btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

.info-contacto {
  margin-top: 35px;
  color: #444;
  font-size: 0.95rem;
}

.info-contacto p {
  margin: 6px 0;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .contacto h2 {
    font-size: 1.6rem;
  }

  .btn-whatsapp {
    font-size: 1rem;
    padding: 12px 20px;
  }
}


  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
  }
  .cookie-banner button {
    background: #4CAF50;
    border: none;
    padding: 10px 15px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
  }
  .cookie-banner.hidden {
    display: none; /* Oculto por defecto */
  }

