/*
 * Full Custom CSS for Academy Hall Montessori Graduation Website
 * Updated for simplified Order of Service, consistent layout, and responsive design
 */

/* ======================== GENERAL STYLES ======================== */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');


html {
    scroll-behavior: smooth;
    font-family: 'Inter Tight', sans-serif;
    color: #333;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    background-color: #f8f8f8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hidden { display: none !important; }
.text-blue { color: #1d4ed8; }
.text-light-blue { color: #bfdbfe; }
.text-yellow { color: #facc15; }
.text-green { color: #16a34a; }
.font-semibold { font-weight: 600; }

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 4px solid #ed8aed;
    display: inline-block;
    color: purple;
}

/* ======================== NAVIGATION ======================== */
.navbar {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 20;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand {
    font-size: 1.875rem;
    font-weight: 800;
    color: purple;
    text-decoration: none;
}

.navbar-links {
    display: none;
    gap: 1.5rem;
}

.nav-link {
    font-size: 1.125rem;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
}

.nav-link:hover {
    color: purple;
}

.mobile-menu-button {
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
}

@media (min-width: 768px) {
    .navbar-links {
        display: flex;
    }
    .mobile-menu-button {
        display: none;
    }
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: #fff;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 1.5rem;
}

.nav-link-mobile {
    color: #4b5563;
    font-weight: 500;
    text-decoration: none;
}

.mobile-menu-close-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
}

/* ======================== HERO SECTION ======================== */
.hero-section {
    position: relative;
    background: linear-gradient(to bottom right, #ed8aed, purple);
    color: #fff;
    padding: 8rem 1rem;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.hero-background-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-info-text {
    background-color: rgba(255,255,255,0.2);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    display: inline-block;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-blue {
    background-color: #3b82f6;
    color: #fff;
}

.button-white {
    background-color: #fff;
    color: #1d4ed8;
}

.button:hover {
    transform: scale(1.05);
}

/* ======================== ABOUT SECTION ======================== */
.about-section {
    background-color: #f3f4f6;
    padding: 5rem 1rem;
    text-align: center;
}

.section-description {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 800px;
    margin: 2rem auto 0;
}

.principal-photo {
    width: 144px;
    height: 144px;
    border-radius: 9999px;
    object-fit: cover;
    border: 4px solid #3b82f6;
    margin-top: 2rem;
}

.principal-quote {
    font-weight: 600;
    font-size: 1.125rem;
    color: #4b5563;
    margin-top: 1rem;
}

/* ======================== GRADUANDS SECTION ======================== */
.graduands-section {
    background-color: #fff;
    padding: 5rem 1rem;
}

.graduand-filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.input-field {
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    width: 100%;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .graduand-filters {
        flex-direction: row;
    }
    .input-field:first-child { width: 33.33%; }
    .input-field:last-child { width: 25%; }
}

.graduands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.graduand-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.graduand-card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.graduand-photo {
    width: 128px;
    height: 128px;
    border-radius: 9999px;
    object-fit: cover;
    border: 5px solid #60a5fa;
    margin-bottom: 1.25rem;
}

.graduand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.graduand-department {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1d4ed8;
}

/* ======================== PROGRAM SECTION ======================== */
.program-section {
    padding: 5rem 1rem;
    background-color: #eff6ff;
}

.program-content-box {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid #bfdbfe;
    max-width: 56rem;
    margin: 0 auto;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid #bfdbfe;
}

.program-item {
    padding: 1rem 0;
    border-bottom: 2px solid #bfdbfe;
    text-align: left;
}

.program-item.last-item {
    border-bottom: none;
}

.program-activity {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
}

.program-sub-awards {
    margin-top: 0.5rem;
    margin-left: 2rem;
    font-size: 1rem;
    color: #4b5563;
    list-style-type: disc;
}

.program-sub-awards li {
    margin-bottom: 0.25rem;
}

/* ======================== FOOTER ======================== */
.footer {
    background-color: purple;
    color: #fff;
    text-align: center;
    padding: 2.5rem 1rem;
}

.footer-text {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    color: #9ca3af;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icon {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #60a5fa;
}
