* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.calvo {}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #48cae4, #023e8a);
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.main-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.itinerary-section {
    margin-top: 0;
    min-height: 100vh;
    padding: 50px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.itinerary-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: auto;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

.scroll-indicator small {
    font-size: 14px;
    opacity: 0.8;
    white-space: nowrap; /* Añadido para evitar saltos de línea */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

.section-title {
    color: white;
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.itinerary-box:last-child {
    margin-bottom: 0;
}

.itinerary-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
    margin: 0 auto; /* Añadido para centrado adicional */
}

.container:hover {
    transform: translateY(-5px);
}

.background {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.container:hover .background {
    transform: scale(1.05);
}

.countdown-box {
    background: white;
    padding: 30px 20px;
    text-align: center;
}

#countdown {
    font-size: 64px;
    font-weight: 700;
    color: #023e8a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    background: linear-gradient(135deg, #caf0f8, #90e0ef);
    padding: 20px 30px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.countdown-box p {
    color: #666;
    font-size: 18px;
    margin: 15px 0;
    letter-spacing: 2px;
}

.countdown-box h2 {
    color: #023e8a;
    font-size: 28px;
    margin: 15px 0;
    font-weight: 600;
}

.details-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    font-size: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.details-box p {
    margin: 10px 0;
    color: #495057;
}

.details-box strong {
    color: #023e8a;
}

.details-box h3 {
    margin: 15px 0;
    color: #023e8a;
    font-size: 20px;
}

.details-box span {
    color: #0077b6;
}

.countdown-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.digit-box {
    background: linear-gradient(135deg, #caf0f8, #90e0ef);
    padding: 15px;
    border-radius: 12px;
    min-width: 80px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.digit-box:hover {
    transform: translateY(-3px);
}

.digit {
    font-size: 64px;
    font-weight: 700;
    color: #023e8a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 24px; /* Tamaño del emoji */
    opacity: 0.3;
    animation: float 15s linear infinite;
}

.floating-icons::before {
    content: '🏖️ 🌊 🏊 🌅 🏨 🌴';
    position: fixed;
    font-size: 0; /* Ocultamos el contenido original */
}

.floating-icon:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { left: 30%; animation-delay: -3s; }
.floating-icon:nth-child(3) { left: 50%; animation-delay: -6s; }
.floating-icon:nth-child(4) { left: 70%; animation-delay: -9s; }
.floating-icon:nth-child(5) { left: 90%; animation-delay: -12s; }
.floating-icon:nth-child(6) { left: 20%; animation-delay: -15s; }

.floating-icon:nth-child(1)::before { content: '🏖️'; }
.floating-icon:nth-child(2)::before { content: '🌊'; }
.floating-icon:nth-child(3)::before { content: '🏊'; }
.floating-icon:nth-child(4)::before { content: '🌅'; }
.floating-icon:nth-child(5)::before { content: '🏨'; }
.floating-icon:nth-child(6)::before { content: '🌴'; }

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.itinerary-box {
    background: white;
    padding: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.day-title {
    color: #023e8a;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #caf0f8;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #caf0f8, #48cae4);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 20px;
    transition: transform 0.3s ease;
}

.timeline-item.has-image .event {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.event-content {
    flex: 1;
}

.event-image {
    flex: 0 0 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-image:hover {
    transform: scale(1.05);
}

.event-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.timeline-item:hover .event-image {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #48cae4;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #48cae4;
}

.time {
    font-size: 14px;
    font-weight: 600;
    color: #0077b6;
    margin-bottom: 5px;
}

.event h4 {
    font-size: 16px;
    color: #023e8a;
    margin: 0;
}

.event .details {
    font-size: 14px;
    color: #666;
    margin-top: 3px;
}

.timeline-item:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.timeline-item:hover::before {
    background: #023e8a;
    transition: background 0.3s ease;
}

@media (min-width: 768px) {
    .itinerary-section {
        margin-top: 150px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoom 0.3s ease;
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoom {
    from {transform: scale(0.1)}
    to {transform: scale(1)}
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 40px auto;
    width: 100%;
}

.photo-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
}

.empty-photo {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #adb5bd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.empty-photo:hover {
    background: #e9ecef;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes shakeDigit {
    10%, 90% {
        transform: translate3d(-1px, 2px, 0);
        }
        
        20%, 80% {
        transform: translate3d(2px, -2px, 0);
        }
        
        30%, 50%, 70% {
        transform: translate3d(-4px, -3px, 0);
        }
        
        40%, 60% {
        transform: translate3d(4px, 2px, 0);
        }
}

.digit-shake {
    animation: shakeDigit 1.0s ease-in-out;
}