/* Trip Planner Specific Styles */

.page-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--color-white);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-family: var(--font-alt);
    font-size: 1.2rem;
    opacity: 0.9;
}

.trip-planner-section {
    padding: 4rem 0;
    background-color: var(--color-background);
}

.planner-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.planner-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.planner-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.step.completed .step-number {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.step-label {
    font-family: var(--font-alt);
    font-size: 0.9rem;
    color: var(--color-secondary);
    text-align: center;
}

.step.active .step-label {
    color: var(--color-primary);
    font-weight: 500;
}

.planner-step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.planner-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.planner-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.duration-options,
.style-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.duration-card,
.style-card {
    background-color: var(--color-background);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.duration-card:hover,
.style-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.duration-card.selected,
.style-card.selected {
    border-color: var(--color-accent);
    background-color: rgba(255, 111, 97, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.duration-card h3,
.style-card h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.duration-card p,
.style-card p {
    font-family: var(--font-alt);
    color: var(--color-secondary);
    font-size: 0.9rem;
}

.planner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    transform: translateY(-2px);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Itinerary Timeline */
.itinerary-timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: -2rem;
    width: 3px;
    background-color: var(--color-primary);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-white);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background-color: var(--color-background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-time {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-description {
    font-family: var(--font-alt);
    color: var(--color-secondary);
    line-height: 1.6;
}

.timeline-day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

/* Getting There Section */
.getting-there-section {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.transport-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.transport-card {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.transport-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.transport-card h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.ferry-schedule h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin: 1.5rem 0 1rem;
    text-transform: uppercase;
    font-size: 1rem;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-family: var(--font-alt);
}

.schedule-table thead {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.schedule-table th,
.schedule-table td {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.schedule-table tbody tr:nth-child(even) {
    background-color: var(--color-background);
}

.schedule-note {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

.info-list {
    list-style: none;
    margin-top: 1rem;
}

.info-list li {
    padding: 0.5rem 0;
    font-family: var(--font-alt);
    color: var(--color-secondary);
    border-bottom: 1px solid #e0e0e0;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: var(--color-primary);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background-color: var(--color-background);
}

.map-wrapper {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-legend {
    margin-top: 2rem;
    text-align: center;
}

.map-legend h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.legend-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-alt);
    color: var(--color-secondary);
}

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 768px) {
    .planner-wrapper {
        padding: 2rem 1rem;
    }
    
    .planner-steps {
        gap: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .duration-options,
    .style-options {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
    }
    
    .transport-options {
        grid-template-columns: 1fr;
    }
    
    .schedule-table {
        font-size: 0.85rem;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 0.5rem;
    }
}

