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: 40vh;
  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.5); /* 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 */
  }



/* ESTILOS DE LA SESSCION ALIADOS ------------------------------------------------------------------- */

.hero-uno {
    width: 100%;
    height: 330px;
    background: url('img/inicio-explora.png') center/cover no-repeat;
    position: relative;
}

/* ==== MENÚ DE CATEGORÍAS ==== */
.categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.category {
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    color: black;
    text-decoration: none;
    margin-top: 10px;
}

.category:hover {
    color: #ff4500;
}

/* ==== CONTENEDORES ==== */
.section-content {
    display: none;
    max-width: 1200px;
    margin: 30px auto;
}

/* ==== TODO TU CSS DE TOURS ==== */
:root{
    --bg: #f4f6f6;
    --card-bg: #ffffff;
    --accent: #ff6600;
    --muted: #6b6b6b;
    --radius: 10px;
    --shadow: 0 6px 18px rgba(10,10,10,0.06);
}

*{box-sizing:border-box}

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

.carousel-wrap { position: relative; }

.cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
}

.tour-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

.tour-thumb{
    width:100%;
    height: 50%;
    object-fit: cover;
}

.card-body{
    padding: 14px;
    flex:1;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title{
    font-weight:700;
    font-size: 15px;
    margin:0 0 8px 0;
    color:#0b3b2e;
}

.rating { display:flex; gap:8px; margin-bottom:10px; }

.dots { display:flex; gap:6px; }

.dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background: #d9d9d9;
}
.dot.active { background: var(--accent); }

.reviews { font-size:13px; color: var(--muted); }

.meta { margin:10px 0; font-size:14px; color: var(--muted); }

.price-row { display:flex; justify-content:space-between; align-items:center; }

.price { font-weight:800; font-size:18px; }

.btn-reserve {
  display: block;          
  width: 100%;             
  text-align: center;      
  padding: 12px 20px;      
  background: #ff6600;     
  color: #fff;
  border-radius: 8px;
  text-decoration: none;   
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}
    
.btn-reserve:hover {
    background: green; 
}
    

.arrow-btn {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid rgba(10,10,10,0.06);
    width:44px;
    height:44px;
    border-radius:50%;
    display:grid;
    place-items:center;
    cursor:pointer;
}
    
/* ====== RESPONSIVE GRID ====== */

/* Tablet horizontal y pantallas medianas */
@media (max-width: 992px) {
    .cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Celulares pequeños */
@media (max-width: 480px) {
    .cards-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card-body {
        padding: 12px;
    }

    .tour-thumb {
        height: 100%;
    }
    

}
    
    
/* --- CONTENEDOR GENERAL --- */
#section-tours .container, #section-hoteles .container, #section-pasadias .container, #section-yoga .container, #section-buceo .container, #section-hostales .container {
    max-width: 1100px;
    margin: 0 auto;
}

/* --- GRID EN ESCRITORIO --- */
.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* --- TARJETA --- */
.tour-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    max-width: 350px;     
    margin: 0 auto;
}

/* --- RESPONSIVE PARA MOVIL --- */
@media (max-width: 768px) {

    /* Limitar ancho máximo en móviles */
    #section-tours .container, #section-hoteles .container, #section-pasadias .container, #section-yoga .container, #section-buceo .container, #section-hostales .container {
        max-width: 480px;        
        padding: 0 15px;         
    }
    
    
    /* Forzar a 1 sola columna */
    .cards-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    /* Evitar tarjetas demasiado anchas */
    .tour-card {
        width: 100%;
        max-width: 360px;       
    }
}
