/* ==========================
   HSHCS Robotics Club Website
   ========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    line-height:1.6;
    color:#1f2937;
    background:#f7f9fc;
}

/* ---------- Layout ---------- */

.container{
    width:min(1100px,92%);
    margin:auto;
}

.section{
    padding:80px 0;
}

.section-label{
    color:#0056b3;
    font-weight:bold;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:10px;
}

h1,h2,h3{
    line-height:1.2;
}

h2{
    font-size:2.2rem;
    margin-bottom:20px;
}

p{
    margin-bottom:15px;
}

/* ---------- Header ---------- */

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#ffffff;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:75px;
}

.club-name{
    font-size:1.35rem;
    font-weight:bold;
    color:#003366;
    text-decoration:none;
}

.site-nav{
    display:flex;
    gap:30px;
}

.site-nav a{
    color:#333;
    text-decoration:none;
    font-weight:600;
}

.site-nav a:hover{
    color:#0056b3;
}

.menu-button{
    display:none;
    font-size:1.8rem;
    background:none;
    border:none;
    cursor:pointer;
}

/* ---------- Hero ---------- */

.hero{
    background:linear-gradient(135deg,#003366,#0056b3);
    color:white;
    padding:120px 0;
}

.hero-content{
    max-width:720px;
}

.eyebrow{
    text-transform:uppercase;
    letter-spacing:2px;
    opacity:.85;
}

.hero h1{
    font-size:3.5rem;
    margin:20px 0;
}

.hero-text{
    font-size:1.15rem;
    max-width:650px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:35px;
    flex-wrap:wrap;
}

.button{
    display:inline-block;
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.25s;
}

.primary-button{
    background:#ffb703;
    color:#222;
}

.primary-button:hover{
    background:#ffc93c;
}

.secondary-button{
    border:2px solid white;
    color:white;
}

.secondary-button:hover{
    background:white;
    color:#003366;
}

/* ---------- Cards ---------- */

.feature-grid,
.project-grid{
    display:grid;
    gap:30px;
    margin-top:40px;
}

.feature-grid{
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

.project-grid{
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}

.feature-card,
.project-card{
    background:white;
    border-radius:12px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.feature-card h3,
.project-card h3{
    color:#003366;
    margin-bottom:12px;
}

.project-number{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#0056b3;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:bold;
    margin-bottom:20px;
}

.alternate-section{
    background:#eef4fb;
}

/* ---------- Join ---------- */

.join-section{
    background:#003366;
    color:white;
}

.join-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
}

.light-button{
    background:white;
    color:#003366;
}

.light-button:hover{
    background:#f0f0f0;
}

/* ---------- Contact ---------- */

.contact-content{
    text-align:center;
}

.email-link{
    color:#0056b3;
    font-weight:bold;
    text-decoration:none;
}

/* ---------- Footer ---------- */

.site-footer{
    background:#002244;
    color:white;
    padding:25px 0;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
}

/* ---------- Responsive ---------- */

@media (max-width:768px){

    .menu-button{
        display:block;
    }

    .site-nav{
        display:none;
        flex-direction:column;
        position:absolute;
        top:75px;
        right:20px;
        background:white;
        width:220px;
        padding:20px;
        border-radius:10px;
        box-shadow:0 12px 30px rgba(0,0,0,.15);
    }

    .site-nav.show{
        display:flex;
    }

    .hero{
        padding:90px 0;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .join-content,
    .footer-content{
        text-align:center;
        justify-content:center;
    }
}
