/* Minimal Header CSS extracted from gastro-styles for isolated editing
   Purpose: only header-related rules; loaded last to ensure precedence.
*/

.gastro-header-gradient,
header.public-header {
    background: linear-gradient(180deg, #fff8ea 0%, #fff7e5 100%);
    color: #2f343a;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto; /* left | center | right */
    align-items: center;
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto;
}

.header-company-logo {
    display: flex;
    align-items: center;
    padding: 4px 8px 4px 4px; /* small offset: 4px top/left */
}
.header-company-logo img {
    display: block;
    margin: 0;
    max-height: 56px;
    width: auto;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    text-align: center;
}
.header-logo img, .header-logo-img {
    /* Increased ~70% from previous sizes (150x96 -> 255x160) */
    max-width: 255px;
    max-height: 160px;
    width: auto;
    display: block;
}

.header-text h1 {
    margin: 0;
    font-size: 2.4rem; /* increased size */
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
    font-family: 'Dancing Script', 'DM Serif Display', Georgia, serif;
    color: #7c2d12;
}
.header-text p { margin:0.5rem 0 0 0; font-size:1.1rem; opacity:0.95; color:#4a5568; }

.header-admin-link {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    justify-self: end;
}
.header-admin-link h2 { margin:0; font-size:0.95rem; font-weight:700; color:#4a5568; }

@media (max-width: 768px) {
    .header-grid { grid-template-columns: 1fr; padding: 0.5rem; }
    .header-company-logo { justify-content: flex-start; padding: 4px; }
    .header-branding { justify-content: center; }
    .header-admin-link { justify-content: center; align-items:center; }
}
