:root {
    --color-primario: #00335b;
    --color-secundario: #00bce2;
    --color-texto: #333;
    --color-nara: #ff8a00;
    --color-fondo: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    padding-top: 80px;
}

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primario);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1001;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.bottom-navbar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 52, 91, 0.527);
    backdrop-filter: blur(5px);
    padding: 15px 20px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.bottom-navbar.scrolled {
    background-color: rgba(0, 51, 91, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.15);
}

.nav-links a.active {
    font-weight: bold;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background-color: var(--color-secundario);
    animation: underline 0.3s ease-out;
}

@keyframes underline {
    from { width: 0; }
    to { width: 60%; }
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 30px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    background-color: #128C7E;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.section-title {
    color: var(--color-primario);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-secundario);
    scroll-margin-top: 120px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.media-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
}

.media-card:hover {
    transform: translateY(-5px);
}

.media-thumbnail {
    width: 100%;
    height: 170px;
    background-color: #eee;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.media-thumbnail img, .media-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-info {
    padding: 15px;
}

.media-info h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.media-info p {
    color: #666;
    font-size: 14px;
}

.media-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
}

footer {
    background-color: var(--color-primario);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--color-secundario);
    transform: translateY(-3px);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1002;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-header {
    width: 90%;
    max-width: 900px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 0;
    gap: 15px;
}

.modal-content {
    background-color: transparent;
    width: 90%;
    max-width: 900px;
    position: relative;
}

.close-modal {
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1003;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.close-modal:hover {
    background: rgba(0,0,0,0.8);
}

.download-btn-modal {
    background-color: var(--color-primario);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn-modal:hover {
    background-color: var(--color-secundario);
    transform: translateY(-2px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    opacity: 0.8;
}

.media-thumbnail:hover .play-icon {
    opacity: 1;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff8a00;
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.tour-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 0 auto 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tour-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.promo-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(0, 51, 91, 0.05);
    border-radius: 8px;
    flex-wrap: wrap;
    align-items: end;
}

.promo-filters .filter-group {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    flex: 1;
}

.promo-filters label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primario);
    font-size: 14px;
}

.promo-filters select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: var(--color-texto);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.promo-filters select:focus {
    border-color: var(--color-secundario);
    outline: none;
}

.reset-btn {
    padding: 10px 15px;
    background-color: var(--color-nara);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    align-self: flex-end;
    margin-bottom: 5px;
}

.reset-btn:hover {
    background-color: #5a6268;
}

.hotel-section {
    margin-bottom: 35px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hotel-header {
    background: linear-gradient(135deg, var(--color-primario), #004275);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.hotel-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hotel-header .hotel-count {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.hotel-header .toggle-icon {
    font-size: 18px;
    transition: transform 0.3s;
}

.hotel-header .toggle-icon.rotated {
    transform: rotate(180deg);
}

.hotel-promos {
    padding: 0;
    background-color: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.hotel-promos.expanded {
    max-height: 10000px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.promo-card {
    
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.promo-thumbnail {
    width: 100%;
    height: 100%;
    background-color: #eee;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.promo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.promo-card:hover .promo-thumbnail img {
    transform: scale(1.05);
}

.promo-type {
   
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 2;
}

.promo-info {
    padding: 15px;
}

.promo-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--color-primario);
    line-height: 1.3;
}

.promo-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}

.empty-state h4 {
    color: #666;
    margin-bottom: 10px;
}

.empty-state p {
    color: #888;
}

@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
    
    .top-navbar, .bottom-navbar {
        padding: 15px 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .bottom-navbar {
        top: 70px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .nav-links li {
        margin: 5px;
    }
    
    .nav-links a {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .section-title {
        scroll-margin-top: 120px;
        margin-top: 30px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .tour-video-container {
        margin-bottom: 30px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-links a {
        font-size: 20px;
    }
  
    .modal-header {
        width: 95%;
        padding: 5px 0;
    }
    
    .download-btn-modal {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .promo-filters {
        flex-direction: column;
        gap: 15px;
    }
    
    .promo-filters .filter-group {
        width: 100%;
    }
    
    .reset-btn {
        align-self: stretch;
        margin-bottom: 0;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .hotel-header {
        padding: 12px 15px;
    }
    
    .hotel-header h3 {
        font-size: 16px;
    }
}


/* Estilos para bloqueos de paquete */
.package-grid {
   display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}
.package-card {
     background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.package-card:hover {
 transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.package-thumbnail {
     width: 100%;
    height: 100%;
    background-color: #eee;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.package-thumbnail img {
     width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.package-card:hover .package-thumbnail img {
    transform: scale(1.05);
}

.package-type {
     position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 2;
}
a/
.package-hotel {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
}

.package-info {
   padding: 15px;
}

.package-info h4 {
   margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--color-primario);
    line-height: 1.3;
}

.package-info p {
     color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.package-includes {
    margin: 10px 0;
}

.package-includes strong {
    color: #2c3e50;
    font-size: 0.9em;
}

.package-includes ul {
    margin: 5px 0;
    padding-left: 20px;
}

.package-includes li {
    color: #7f8c8d;
    font-size: 0.85em;
    margin-bottom: 3px;
}

.package-date {
    margin-top: 10px;
    font-style: italic;
}

/* Secciones de destino */
.destination-section {
    margin-bottom: 35px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.destination-header {
    background: linear-gradient(135deg, var(--color-primario), #004275);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.destination-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.destination-count {
 background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.destination-packages {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.destination-packages.expanded {
    max-height: 2000px;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    .destination-header {
        padding: 15px;
    }
    
    .destination-header h3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .destination-packages.expanded {
        padding: 15px;
    }
}