/* ===== SHARED HEADER & FOOTER — Vigevano Retrofutura 2026 ===== */

/* ---------- NAV HEADER ---------- */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(107, 153, 153, 0.25);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
    animation: fadeInDown 0.8s ease-out;
}

.site-header nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-height: 56px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.nav-logo img {
    height: 38px;
    width: auto;
    filter: brightness(0.95) contrast(0.95);
}

.nav-logo span {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e8e8e8;
    text-shadow: 0 0 6px rgba(139, 0, 0, 0.3);
}

.nav-logo .nav-retro { color: #c43a3a; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c8c8c8;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
    border-color: rgba(107, 153, 153, 0.35);
    background: rgba(107, 153, 153, 0.08);
    text-shadow: 0 0 6px rgba(107, 153, 153, 0.3);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #c8c8c8;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.96);
        border-bottom: 1px solid rgba(107, 153, 153, 0.2);
        padding: 10px 0;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 12px 24px;
        border-radius: 0;
    }
}

/* ---------- FOOTER ---------- */
.site-footer {
    width: 100%;
    margin-top: 40px;
    border-top: 1px solid rgba(107, 153, 153, 0.25);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    padding: 40px 24px 20px;
    font-family: 'Courier New', monospace;
    color: #c8c8c8;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.footer-col h4 {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a0d4d4;
    margin-bottom: 14px;
    text-shadow: 0 0 6px rgba(107, 153, 153, 0.2);
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-logo-col img {
    width: 120px;
    height: auto;
    filter: brightness(0.95) contrast(0.95);
}

.footer-logo-col .footer-brand {
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-logo-col .footer-brand .ft-retro { color: #c43a3a; }
.footer-logo-col .footer-brand .ft-futura { color: #e0e0e0; }

.footer-col p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: #b8b8b8;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    line-height: 2;
    color: #b8b8b8;
}

.footer-contact-list a {
    color: #a0d4d4;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(107, 153, 153, 0.4);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(107, 153, 153, 0.3);
    background: rgba(107, 153, 153, 0.06);
    color: #a0d4d4;
    text-decoration: none;
    font-size: 1.1rem;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.footer-social a:hover {
    border-color: rgba(107, 153, 153, 0.6);
    background: rgba(107, 153, 153, 0.15);
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 24px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(107, 153, 153, 0.12);
    text-align: center;
    font-size: 0.72rem;
    color: #666;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-logo-col { align-items: center; }
    .footer-social { justify-content: center; }
}

/* ---------- LIGHTENED TEXT OVERRIDES ---------- */
/* Body base text */
body {
    color: #ededed;
}

/* Make general text lighter while keeping design coherence */
.logo .vigevano   { color: #e4e4e4; }
.logo .futura     { color: #e4e4e4; }
.tagline          { color: #a0d4d4; }
.subcopy          { color: #d4d4d4; }
.location         { color: #e0e0e0; }
.feature-text     { color: #a0d4d4; }
.cta              { color: #d4c88a; }
.cd-text          { color: rgba(140, 190, 190, 0.90); }
.cd-num           { color: #cfcfcf; }
.a2-label         { color: rgba(200, 200, 200, 0.92); }
.a2-num           { color: #cfcfcf; }
.a2-text          { color: rgba(140, 190, 190, 0.85); }
.countdown-label  { color: rgba(210, 210, 210, 0.95); }

/* ---------- PAGE SECTION STYLES (for sub-pages) ---------- */
.page-section {
    width: 100%;
    max-width: 1200px;
    margin: 24px auto;
    padding: 40px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 10px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(107, 153, 153, 0.15);
    font-family: 'Courier New', monospace;
    color: #e0e0e0;
    animation: fadeInUp 1s ease-out;
}

.page-section h2 {
    font-size: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(139, 0, 0, 0.4);
}

.page-section h2 .accent {
    color: #c43a3a;
}

.page-section .placeholder-text {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.8;
    text-align: center;
    padding: 40px 20px;
    border: 1px dashed rgba(107, 153, 153, 0.25);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

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

@media (max-width: 768px) {
    .page-section {
        padding: 24px 16px;
        margin: 16px 12px;
    }
    .page-section h2 {
        font-size: 1.4rem;
    }
}
