/* ---------------------------
   HEADER / NAV
---------------------------- */
.site-header {
    background-color: var(--table-grey);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-link img.logo {
    width: 300px;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover img {
    transform: scale(1.05);
}

/* ---------------------------
   MAIN NAV
---------------------------- */
.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: var(--golden-yellow);
    color: var(--black);
}

/* ---------------------------
   HAMBURGER MENU (MOBILE)
---------------------------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive nav */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--table-grey);
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .main-nav.open {
        max-height: 500px; /* arbitrary high value for open state */
    }

    .main-nav a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ---------------------------
   FOOTER
---------------------------- */
footer {
    background-color: var(--table-grey);
    color: var(--white);
    padding: 2rem 1rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-left, .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-left h3,
.footer-right h3 {
    margin-bottom: 0.5rem;
}

.footer-right .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.25rem;
}

.footer-right .social-icons a img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.footer-right .social-icons a:hover img {
    transform: scale(1.1)
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}