/* Reset & Global */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    line-height:1.6;
    color:#333;
}

/* Navigation */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    background:white;
    color:black; /*logo letters*/
    position:sticky;
    top:0;
    z-index:1000;
}

/* Logo */
.logo-container{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo-img{
    height:40px;
    width:auto;
}

.logo-text{
    font-size:22px;
    font-weight:bold;
}

/* Navigation Links */
.nav-links{
    list-style:none;
    display:flex;
    gap:25px;
}

.nav-links a{
    color:black; /*NAVBAR LETTERS*/
    text-decoration:none;
    font-size:16px;
    transition:0.3s;
}

.nav-links a:hover{
    color:red;
}

.nav-links .btn{
    background:crimson;
    padding:8px 14px;
    border-radius:4px;
}

/* Hero Section */
.hero{
    height:70vh;
    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)),
        url(./pictures/misaTeam2026.png);
    background-size:cover;
    background-position:center;

    color:white;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    text-align:center;
    padding-bottom:40px;
}

.hero h1{
    font-size:42px;
    margin-bottom:10px;
}

.hero p{
    margin-bottom:15px;
}

.hero button{
    padding:12px 25px;
    font-size:16px;
    border:none;
    background:crimson;
    color:white;
    cursor:pointer;
    border-radius:5px;
}

.hero button:hover{
    opacity:0.9;
}

/* Sections */
.section{
    padding:70px 15%;
    text-align:center;
}

.section h2{
    font-size:32px;
    margin-bottom:20px;
}

.section.gray{
    background:#f4f4f4;
}

/* SENIORS SECTION */


.team-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap:30px;
}
/* Title */
.senior-title{
    font-size:36px;
    margin-bottom:40px;
    text-align:center;
}

/* Make cards smaller for hero overlay */
.seniors .team-card{
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.95);
}

/* limit width */
.seniors{
    max-width:1000px;
    margin:auto;
}

/* =========================
   TEAM SECTION
========================= */

.team-subtitle{
    color:#666;
    margin-bottom:40px;
    font-size:18px;
}

/* Grid Layout */
.team-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    margin-top:40px;
}

/* Card */
.team-card{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:0.3s ease;
}

.team-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 30px rgba(0,0,0,0.15);
}

/* Image */
.team-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

/* Info */
.team-info{
    padding:20px;
    text-align:center;
}

.team-info h3{
    margin-bottom:5px;
    font-size:20px;
}

.team-info p{
    color:crimson;
    font-weight:600;
    margin-bottom:10px;
}

/* LinkedIn Link */
.team-info a{
    text-decoration:none;
    font-size:14px;
    color:#0077b5;
    font-weight:600;
}

.team-info a:hover{
    text-decoration:underline;
}

/* =========================
   ANNOUNCEMENTS
========================= */

.announcement{
    background:#fff;
    padding:20px;
    margin:15px auto;
    max-width:600px;
    border-left:5px solid crimson;
    border-radius:6px;
}

/* =========================
   BUTTONS
========================= */

.btn.large{
    display:inline-block;
    margin-top:20px;
    background:crimson;
    color:white;
    padding:14px 30px;
    text-decoration:none;
    border-radius:5px;
    transition:0.3s;
}

.btn.large:hover{
    opacity:0.9;
}


.hero1{
    min-height:80vh; /* allow growth */
    padding:80px 10%;

    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)),
        url(./pictures/seniors.jpg);
    background-size:cover;
    background-position:center;

    color:white;

    display:flex;
    flex-direction:column;
    justify-content:flex-start; /* KEY FIX */
    align-items:center;
    text-align:center;
}

.hero1 .team-grid{
    width:100%;
}

.seniors{
    max-width:1200px; /* give it more room */
}

.seniors.team-grid{
    grid-template-columns: repeat(4, 1fr);
}
.announcement-content{
    display: flex;
    align-items: center;
    gap: 20px;
}

.announcement-img{
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.announcement-text{
    text-align: left;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:20px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .section{
        padding:60px 10%;
    }

    .hero h1{
        font-size:30px;
    }

    .team-card img{
        height:220px;
    }
}
