/* Transcantabrico Destination Tables */

.destination-tabs-wrapper {
    margin: 40px 0;
}

.destination-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #E8E6E3;
    padding-bottom: 0;
}

.tab-button {
    padding: 15px 25px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #5A5A5A;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-bottom: -2px;
}

.tab-button:hover {
    color: #0A2540;
    background: #F8F6F3;
}

.tab-button.active {
    color: #0A2540;
    border-bottom-color: #D4AF37;
}

.destination-tabs-content {
    position: relative;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.destination-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.destination-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

.destination-table thead {
    background: #0A2540;
    color: #FEFDFB;
}

.destination-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 2px solid #D4AF37;
}

.destination-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #E8E6E3;
    font-size: 15px;
    line-height: 1.6;
    color: #1C1C1C;
}

.destination-table td strong {
    color: #0A2540;
    font-weight: 600;
}

.destination-table tbody tr {
    transition: background-color 0.2s ease;
}

.destination-table tbody tr:nth-child(odd) {
    background: #F8F6F3;
}

.destination-table tbody tr:nth-child(even) {
    background: #FFFFFF;
}

.destination-table tbody tr:hover {
    background: #F4E4C1;
}

.destination-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .destination-tabs-nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .tab-button {
        width: 100%;
        text-align: left;
        padding: 12px 20px;
    }
    
    .destination-table {
        font-size: 14px;
    }
    
    .destination-table th,
    .destination-table td {
        padding: 12px 15px;
    }
}
