* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-date {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Bienvenida */
.bienvenida {
    background: white;
    padding: 60px 20px;
}

.bienvenida h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 30px;
    text-align: center;
}

.bienvenida h3 {
    font-size: 1.8rem;
    color: #2a5298;
    margin: 40px 0 20px;
}

.bienvenida p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.objetivos {
    list-style: none;
    padding: 0;
}

.objetivos li {
    padding: 15px 20px;
    margin: 10px 0;
    background: #f8f9fa;
    border-left: 4px solid #7e22ce;
    font-size: 1.05rem;
}

.objetivo-final {
    margin-top: 30px;
    padding: 20px;
    background: #e8eaf6;
    border-radius: 8px;
    font-style: italic;
}

/* Itinerario */
.itinerario {
    padding: 60px 20px;
    background: #f5f5f5;
}

.itinerario h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 40px;
    text-align: center;
}

.dia-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.dia-card.destacado {
    border: 2px solid #7e22ce;
}

.dia-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dia-card.destacado .dia-header {
    background: linear-gradient(135deg, #7e22ce 0%, #a855f7 100%);
}

.dia-numero {
    font-size: 1.5rem;
    font-weight: 700;
}

.dia-fecha {
    font-size: 1.1rem;
    font-weight: 300;
}

.dia-content {
    padding: 30px;
}

.dia-content h4 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

.dia-content p {
    margin: 10px 0;
    line-height: 1.8;
}

.dia-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.dia-content li {
    margin: 8px 0;
}

/* Botones */
.botones-dia {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.btn-modal, .btn-link {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-modal {
    background: #7e22ce;
    color: white;
}

.btn-modal:hover {
    background: #6b21a8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 34, 206, 0.3);
}

.btn-link {
    background: #2a5298;
    color: white;
}

.btn-link:hover {
    background: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.3);
}

.nota-instruccion {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    font-size: 0.95rem;
    font-style: italic;
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal-body p {
    margin: 15px 0;
    line-height: 1.8;
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 25px;
}

.modal-body li {
    margin: 10px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .dia-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .botones-dia {
        flex-direction: column;
    }
    
    .btn-modal, .btn-link {
        width: 100%;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}
