/* Travel Page Specific Styles */
:root {
    --travel-bg: #f8f9fa;
    --travel-text: #343a40;
    --travel-card-bg: #ffffff;
    --travel-timeline-color: #dee2e6;
    --travel-accent-color: #4a90e2;
}

body {
    background-color: var(--travel-bg);
}

.travel-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Map Section */
.map-section {
    margin-bottom: 4rem;
    text-align: center;
}

.map-header h1 {
    font-size: 2.5rem;
    color: var(--travel-text);
    margin-bottom: 0.5rem;
}

.map-header p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

#travel-map {
    height: 500px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
}

/* Timeline Section */
.timeline-section {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--travel-timeline-color);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--travel-accent-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 30px;
    background-color: var(--travel-card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

/* Alternating sides */
.timeline-item:nth-child(even) .timeline-content {
    left: 55%;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

/* Magazine Layout */
.magazine-layout, .magazine-layout-alt {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.magazine-layout-alt {
    flex-direction: row-reverse;
}

.magazine-image {
    flex: 3;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.magazine-image img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.magazine-image:hover img {
    transform: scale(1.05);
}

.magazine-text {
    flex: 2;
    padding: 20px;
    background-color: var(--travel-card-bg);
    border-radius: 10px;
}

.timeline-date {
    display: block;
    font-weight: 600;
    color: var(--travel-accent-color);
    margin-bottom: 10px;
}

.magazine-text h2 {
    font-size: 1.8rem;
    color: var(--travel-text);
    margin: 0 0 15px 0;
}

.magazine-text p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.7;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item::after {
        left: 20px;
    }

    .timeline-item .timeline-content {
        width: auto;
        left: 60px !important;
    }
    
    .magazine-layout, .magazine-layout-alt {
        flex-direction: column;
    }

    .magazine-layout-alt {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
    #travel-map {
        height: 400px;
    }
    .map-header h1 {
        font-size: 2rem;
    }
}
