@import "../../barbie-basica/css/styles.css";

/* Planner Overrides */

/* Runway Timeline */
.marinero-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.marinero-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: repeating-linear-gradient(to bottom,
            var(--primary-color),
            var(--primary-color) 10px,
            transparent 10px,
            transparent 20px);
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-step:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline-step:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

.step-icon {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 0 10px rgba(224, 33, 138, 0.3);
}

.timeline-step:nth-child(odd) .step-icon {
    right: -25px;
}

.timeline-step:nth-child(even) .step-icon {
    left: -25px;
}

.step-content {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.timeline-step:hover .step-content {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.step-time {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: block;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .marinero-timeline::before {
        left: 30px;
    }

    .timeline-step {
        width: 100%;
        left: 0 !important;
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-step:nth-child(odd) .step-icon,
    .timeline-step:nth-child(even) .step-icon {
        left: 5px;
        right: auto;
    }
}

/* Accommodation Cards */
.accommodation-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.accommodation-card:hover {
    transform: translateY(-10px);
}