/* ================================================
   Bemidji Performing Arts Academy - Shared Styles
   ================================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

/* ================================================
   Header
   ================================================ */

.header {
    background-color: #000000;
    padding: 20px;
    border-bottom: 2px solid #333;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    position: relative;
}

.logo {
    width: 200px;
    height: 200px;
}

.nav-left, .nav-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 250px;
}

.header a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    font-size: 1em;
    background-color: #1a1a1a;
    text-align: center;
    white-space: nowrap;
}

.header a:hover {
    background-color: #333;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
    position: absolute;
    right: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #1a1a1a;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
    padding: 0;
}

.social-links a:hover {
    background-color: #d4af37;
    transform: scale(1.1);
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.social-links a:hover svg {
    fill: #000000;
}

.social-label {
    display: none;
}

/* ================================================
   Footer
   ================================================ */

.footer {
    text-align: center;
    padding: 40px 30px 30px 30px;
    background-color: #0a0a0a;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact a {
    display: inline-block;
    background-color: #d4af37;
    color: #000000;
    text-decoration: none;
    padding: 15px 50px;
    font-size: 1.3em;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
}

.footer-contact a:hover {
    background-color: #f0c755;
    transform: translateY(-2px);
}

.footer-divider {
    border-top: 1px solid #333;
    margin: 0 auto 20px auto;
    max-width: 80%;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.footer-copyright {
    color: #888;
    font-size: 0.9em;
    text-align: center;
}

.footer-copyright a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #f0c755;
}

.footer-social {
    display: flex;
    gap: 15px;
    position: absolute;
    right: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #1a1a1a;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background-color: #d4af37;
    transform: scale(1.1);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.footer-social a:hover svg {
    fill: #000000;
}

/* ================================================
   Hamburger Menu
   ================================================ */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
}

/* ================================================
   Responsive - Shared Rules
   ================================================ */

@media (max-width: 1024px) {
    .header-content {
        gap: 30px;
    }

    .nav-left, .nav-right {
        min-width: 200px;
    }

    .header a {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 0;
        position: relative;
    }

    .logo {
        width: 100px;
        height: 100px;
        order: -1;
    }

    .hamburger {
        display: flex;
        position: absolute;
        top: 50px;
        right: 0;
        transform: translateY(-50%);
    }

    .social-links {
        display: none;
    }

    .social-links.open {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        position: static;
        gap: 8px;
    }

    .social-links.open a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        height: auto;
        border-radius: 5px;
        padding: 12px 20px;
        background-color: #1a1a1a;
    }

    .social-links.open a svg {
        display: block;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .social-links.open .social-label {
        display: block;
        color: #ffffff;
        font-size: 1em;
    }

    .nav-left, .nav-right {
        display: none;
        flex-direction: column;
        width: 100%;
        min-width: auto;
        gap: 8px;
        padding-top: 10px;
    }

    .nav-left.open, .nav-right.open {
        display: flex;
    }

    .header a {
        font-size: 1em;
        padding: 12px 20px;
        white-space: normal;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        position: static;
    }

    .footer-social {
        position: static;
        order: -1;
    }
}
