/* Base header structure */
.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

/* Announcement bar styles */
.announcement-bar {
    background-color: #97B590;
    color: white;
    padding: 10px 15px;
    text-align: center;
}

.announcement-bar p {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Navigation bar */
.premium-nav {
    background: white;
    height: 80px;
    display: flex;
    align-items: center;
}

/* Brand styles */
.brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Logo styles */
.brand-logo {
    width: 200px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.brand-name {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    margin: 0;
}

.brand-tagline {
    color: #97B590;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    margin: 0;
}

.has-announcement .premium-header {
    top: 40px;
}

/* Body padding adjustments */
body {
    padding-top: 80px; /* Hauteur du header sans annonce */
}

/* Media queries for responsive logo */
@media (max-width: 768px) {
    .brand-logo {
        width: 140px;
        max-height: 50px;
    }
}

body.has-announcement {
    padding-top: 120px; /* Hauteur du header (80px) + annonce (40px) */
}

/* Ensure main content adjusts properly */
main {
    position: relative;
    z-index: 1;
}

/* Navigation styles within header */
.premium-nav {
    height: 80px;
    display: flex;
    align-items: center;
}
