header {
    background-color: #74a2c6;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
}

/* Responsive pour header */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.header-left:hover {
    opacity: 0.8;
}

/* Responsive pour header-left */
@media (max-width: 480px) {
    .header-left {
        gap: 5px;
    }
}

header h1 {
    color: #005ba4;
    margin: 0;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
    line-height: 1;
}

/* Responsive pour h1 */
@media (max-width: 768px) {
    header h1 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 16px;
    }
}

header img {
    height: 50px;
    width: auto;
}

/* Responsive pour le logo */
@media (max-width: 768px) {
    header img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    header img {
        height: 35px;
    }
}

.company-logo {
    margin-left: auto;
    z-index: 2;
}

/* Responsive pour company-logo */
@media (max-width: 768px) {
    .company-logo {
        position: relative;
    }
}

.airport-name-header {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    font-weight: bold;
    color: #005ba4;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    white-space: nowrap;
    pointer-events: none;
}

/* Responsive pour airport-name-header */
@media (max-width: 1024px) {
    .airport-name-header {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .airport-name-header {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
        order: 3;
        margin-top: 5px;
        font-size: 20px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .airport-name-header {
        font-size: 16px;
    }
}

.menubtn {
    text-align: right;
    background-color: #e9e9e9;
    padding: 0;
}

/* Responsive pour menubtn */
@media (max-width: 768px) {
    .menubtn {
        text-align: center;
        padding: 10px 0;
    }
}

.menubtn button {
    background-color: #005ba4;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-family: Brockmann, sans-serif;
    width: 150px;
    box-sizing: border-box;
}

.menubtn button:hover {
    background-color: #e57257;
}

/* Responsive pour les boutons du menu */
@media (max-width: 768px) {
    .menubtn button {
        width: auto;
        min-width: 120px;
        margin: 5px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .menubtn button {
        width: calc(50% - 12px);
        min-width: unset;
        padding: 8px 10px;
        font-size: 14px;
        margin: 5px;
    }
}

/* Pour très petits écrans, boutons en pleine largeur */
@media (max-width: 360px) {
    .menubtn button {
        width: calc(100% - 20px);
        margin: 5px 10px;
    }
}
