body {
    font-family: "Segoe UI", sans-serif;
    margin: 0;
    background: #f5f7fa;
    color: #333;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    overflow: hidden;

    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("alpes.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: #fff;
    margin: 0;
    padding: 2rem;
    text-align: center;

    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
h1::after {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(to right, #008C45, #F4F5F0, #CD212A);
    margin-top: 8px;
    border-radius: 2px;
}

@media (max-width: 600px) {
    header {
        background-position: 50% 30%;
        background-size: cover;
    }

    h1 {
        font-size: 1.2rem;
        padding: 1.5rem 1rem;
        line-height: 1.3;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    }

    h1::after {
        height: 3px;
        margin-top: 6px;
    }
    .imagen-info {
    display: block; 
    width: 100%;
    max-width: 100%;      
    height: auto;         
    display: block;   
    object-fit: contain; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    }
}

#tab-bar button {
flex: 1 0 auto;
padding: 0.75rem 1rem;
border: none;
background: #f9f9f9;
font-size: 0.9rem;
cursor: pointer;
transition: all 0.2s ease;
border-radius: 0;
}

#tab-bar button:hover {
background: #eef3ff;
}

#tab-bar button.active {
border-bottom: 3px solid #007bff;
color: #007bff;
background: #f0f7ff;
font-weight: bold;
}

#tab-bar {
display: flex;
overflow-x: auto;
scrollbar-width: thin;
scrollbar-color: #ccc transparent;
}
#tab-bar::-webkit-scrollbar {
height: 6px;
}
#tab-bar::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 3px;
}

main {
    padding: 1rem;
}

.tab-content {
    display: none;
}

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

textarea {
    width: 100%;
    height: 150px;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

table th {
    background: #007bff;
    color: white;
    text-align: left;
}

table td, table th {
    border: 1px solid #ddd;
    padding: 0.5rem 0.75rem;
}

table tr:nth-child(even) {
    background: #f9f9f9;
}

/* --- vuelos --- */
.vuelos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.vuelo-card {
    background: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1.2rem 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vuelo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.vuelo-card h3 {
    color: #1d3557;
    margin-bottom: 0.5rem;
}

.vuelo-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0;
}

.vuelo-card li {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.vuelo-card strong {
    color: #2a9d8f;
}

.qa-section {
    border-top: 2px solid #0078d4;
    padding-top: 20px;
}

.qa-section h3 {
    color: #0078d4;
    font-size: 20px;
    margin-bottom: 10px;
}

.qa-section p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.qa-section strong {
    color: #005a9e;
}
.phrases {
    background: #f1f7ff;
    border-left: 4px solid #0078d4;
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: 5px;
    font-size: 14.5px;
}
.numbers {
    background: #eaf6ff;
    border-left: 4px solid #00a1d6;
    padding: 12px 15px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 14.5px;
}

footer {
    text-align: center;
    font-size: 0.75rem;
    color: #888;
    margin-top: 2rem;
    padding: 0.5rem 0;
    opacity: 0.7;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    opacity: 0.9;
}
details {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}

details:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

details[open] {
    border-color: #007bff;
}

summary {
    font-weight: 600;
    color: #333;
    padding: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

summary:hover {
    background-color: #f8f9fa;
}

details[open] summary {
    background-color: #f0f7ff;
    border-bottom: 1px solid #e0e0e0;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '▼';
    font-size: 0.8em;
    color: #007bff;
    transform: rotate(0deg);
    transition: transform 0.2s ease-in-out;
}

details[open] summary::after {
    transform: rotate(180deg);
}


details p {
    padding: 0 1rem 1rem 1rem;
    margin: 0;
    line-height: 1.6;
    color: #555;
}


