﻿/* 2symposium.css - Responsive and consistent with other ICAH pages */

/* Keep nav same width and centered */
#nav-placeholder {
    max-width: 1150px;
    margin: 20px auto 0 auto;
}

/* Navigation menu styles */
.main-nav {
    width: 100%;
    background: linear-gradient(90deg, #003366, #336699);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

    .main-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .main-nav a {
        text-decoration: none;
        color: white;
        font-weight: 600;
        padding: 1.2rem 1.5rem;
        display: block;
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

        .main-nav a:hover,
        .main-nav a:focus {
            color: #ffcc00;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }

/* -------------------------------------- */
/* Main content area */
/* -------------------------------------- */
main {
    max-width: 1150px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    text-align: left;
    color: #000;
    font-family: "Georgia", serif;
}

.page-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: #333;
    font-style: italic;
}

.footer-logo {
    display: block;
    margin: 2rem auto;
    max-width: 220px;
}

/* -------------------------------------- */
/* Mobile (Tablets and smaller) */
/* -------------------------------------- */
@media (max-width: 768px) {
    #nav-placeholder {
        max-width: 95%;
        margin-top: 10px;
    }

    /* Stack nav items into a grid — square blocks */
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .main-nav li {
        flex: 1 1 calc(50% - 1rem);
        text-align: center;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: 1 / 1; /* makes it square */
        font-size: 1.1rem;
        border-radius: 10px;
        padding: 0; /* handled by square ratio */
        background: linear-gradient(135deg, #003366, #336699);
    }

    main {
        text-align: center;
        margin: 2rem auto;
    }

    .page-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .footer-logo {
        max-width: 180px;
    }
}

/* -------------------------------------- */
/* Small phones */
/* -------------------------------------- */
@media (max-width: 480px) {
    .main-nav li {
        flex: 1 1 100%;
    }

    .main-nav a {
        font-size: 1.2rem;
        border-radius: 8px;
    }

    .page-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }
}
