/* ...eliminar fondo azul y degradado del header-top... */
/* Guía Turístico Flex */


.guia-turistico-flex {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  width: 100%;
}

.guia-img {
  max-width: 140px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: block;
  margin-right: 12px;
}

.guia-info {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 500px;
  text-align: left;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.guia-info h3 {
  width: 100%;
  text-align: left;
}

.guia-info p {
  width: 100%;
  text-align: left;
  text-align-last: left;
  text-justify: inter-word;
}

@media (max-width: 700px) {
  .guia-turistico-flex {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .guia-img {
    margin-bottom: 8px;
  }
  .guia-info {
    align-items: center;
    text-align: left;
  }
  .guia-info h3, .guia-info p {
    text-align: left;
    text-align-last: left;
  }
}
/* Variables */
:root {
    --primary-blue: rgba(0, 51, 153, 0.6);
    --secondary-blue: #003366;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --section-bg: #ffffff;
    --card-bg: #f8f8f8;
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 0;
}

/* Separadores visuales */
.section-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--light-gray), transparent);
    margin: 16px 0;
    opacity: 0.3;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: var(--primary-blue);
    padding: 20px 0;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), background 0.3s, box-shadow 0.3s;
    will-change: transform;
}

.header-hide {
    transform: translateY(-100%);
}

.header-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 150px;
    height: auto;
}

.main-nav {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--primary-blue);
    width: 250px;
    padding: 20px;
    display: none;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #fff;
}

/* Hero Section */
.hero-section {
    padding: 80px 20px 32px 20px;
    background: linear-gradient(
        110deg,
        var(--primary-blue),
        transparent 200%
    );
    text-align: center;
    color: rgb(255, 255, 255);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, white, transparent);
    z-index: -1;
}

/* Grid Items */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Routes Section */
.routes-section {
    padding: 24px 20px 60px 20px;
}

.card-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.route-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.route-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Events Section */
.events-section {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

.events-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.event-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Blog Section */
/* Hoteles (antes blog-section) */
.blog-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

.blog-section h2 {
    margin-top: 120px;
}

.blog-posts {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.blog-post {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: linear-gradient(
        to bottom,
        var(--light-gray),
        white
    );
    color: var(--text-color);
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    text-decoration: underline;
    color: #1877F3;
}

.footer-section p {
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

.copyright {
    background-color: var(--light-gray);
    color: var(--text-color);
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

/* Menú Responsivo */
.main-nav {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--primary-blue);
    width: 250px;
    padding: 20px;
    display: none;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.menu-toggle {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1001;
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

/* Video hero */
.hero-video {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .hero-video {
        height: 50vh;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav a {
        padding: 10px;
        border-radius: 5px;
    }
    .main-nav a:hover {
        background-color: rgba(255,255,255,0.1);
    }
    .hero-section {
        padding: 80px 20px;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .card-container {
        grid-template-columns: 1fr;
    }
    .events-grid {
        grid-template-columns: 1fr;
    }
    .blog-posts {
        grid-template-columns: 1fr;
    }
    .menu-toggle:hover span {
        background-color: rgba(255, 255, 255, 0.8);
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
    .main-nav {
        display: flex;
        position: static;
        background-color: transparent;
        width: auto;
        padding: 0;
        box-shadow: none;
    }
}

/* Efectos de Scroll */
.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* No scroll cuando el menú está abierto */
.no-scroll {
    overflow: hidden;
}

/* Nuevas clases para los enlaces clickeables */
.item-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 40px;
    text-align: center;
}

.footer-logo-img {
    max-width: 200px;
    height: auto;
}

/* Estilos para enlaces de redes sociales */
.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}
.social-name {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.social-link:hover .social-name {
    text-decoration: underline;
}