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

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

.container {
    display: flex;
    min-height: 100vh;
}

/* Sección izquierda */
.left-section {
    width: 40%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
}

.itinerary {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    padding-right: 1rem;
}

.itinerary::-webkit-scrollbar {
    width: 8px;
}

.itinerary::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.itinerary::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.itinerary::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.itinerary h2 {
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.stop {
    padding: 1rem;
    margin: 0.5rem 0;
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stop:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.stop.active {
    background-color: #e3f2fd;
}

/* Reloj analógico */
.analog-clock {
    width: 250px;
    height: 250px;
    margin: 2rem auto;
    position: relative;
}

.clock-face {
    width: 100%;
    height: 100%;
    border: 10px solid #333;
    border-radius: 50%;
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    background: #333;
}

.hour-hand {
    width: 4px;
    height: 60px;
    margin-left: -2px;
}

.minute-hand {
    width: 3px;
    height: 80px;
    margin-left: -1.5px;
}

.center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.time-arc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-arc svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Calendario */
.calendar {
    background: #fff;
    overflow: hidden;
}

.calendar-header {
    text-align: center;
}

.calendar-header h3 {
    font-size: 1rem;
    color: #666;
}

.calendar-body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.calendar-body::-webkit-scrollbar {
    display: none;
}

.calendar-date {
    width: 60px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-date::before {
    content: '\f133';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3.5rem;
    color: #ddd;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.calendar-date .day-number {
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.calendar-date.prev {
    color: #666;
    transform: scale(0.8);
}

.calendar-date.prev:nth-child(1) {
    opacity: 0.3;
}

.calendar-date.prev:nth-child(2) {
    opacity: 0.5;
}

.calendar-date.current {
    color: #007bff;
    transform: scale(1.1);
}

.calendar-date.current::before {
    color: #007bff;
}

.calendar-date.current .day-number {
    color: white;
}

.calendar-date.next {
    color: #666;
    transform: scale(0.8);
}

.calendar-date.next:nth-last-child(2) {
    opacity: 0.5;
}

.calendar-date.next:nth-last-child(1) {
    opacity: 0.3;
}

.calendar-arrow {
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.calendar-arrow:hover {
    color: #007bff;
}

/* Sección derecha */
.right-section {
    width: 60%;
    padding: 2rem;
    background-color: #f8f9fa;
}

.location-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-description {
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.location-description h3 {
    color: #333;
    margin-bottom: 1rem;
}

.location-description p {
    color: #666;
    line-height: 1.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-section {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .right-section {
        width: 100%;
    }
    
    .analog-clock {
        width: 150px;
        height: 150px;
    }
}

.error-message {
    padding: 2rem;
    background-color: #fff3f3;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    color: #d32f2f;
    text-align: center;
}

.error-message h3 {
    margin-bottom: 1rem;
}

.error-message p {
    color: #666;
}

.time-display {
    padding: 2rem;
    border-top: 1px solid #eee;
    background: #fff;
}