/* styling for all pages */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}
/* make header stay at top of the page */
header{
    position: fixed;
    width: 100%;
}
.topbar {
    position: relative;
    width: 100%;
    height: 40px;
    background: #005fbd; 
    overflow: hidden;
}
/* animation sweep effect when page loads (connor helped me build this fade in effect)*/
.topbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%; 
    width: 150%;
    height: 100%;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(173,216,230,0.8) 50%, 
        rgba(255,255,255,0) 100%
    );

    transform: skewX(-15deg);
    animation: waveSweep 2s ease-out forwards;
}
/* sweep animation  */
@keyframes waveSweep {
    0% { left: -150%; }
    100% { left: 150%; }
}
.brandbar {
    background-color: #efefef;
    display: flex;
    align-items: center;
    padding: 1px;
    border-bottom: 2px solid #ddd;
}
/*  logo animation fade-in */
.clublogo {
    height: 100px;
    margin-right: 20px;
    opacity: 0;
    animation: club-logo 2s ease-in forwards;
}
/* fade in effect */
@keyframes club-logo {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* fade for the text beside the logo */
.clubtitle{
    opacity: 0;
    animation: club-logo 2s ease-in forwards;
}
.clubtitle h1 {
    margin: 0;
    font-size: 32px;
    color: #1a4d8f;
    font-weight: 900;
    letter-spacing: 1px;
}
.clubtitle h1 span {
    color: black; 
}
.clubtitle p {
    margin: 0;
    font-size: 18px;
    color: #333;
}
nav {
    background-color: #efefef;
    text-align: center;
    padding: 5px 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}
/* facebook icon */
.fab{
    color: white;
    font-size: 2em;
    padding: 5px 0 5px 30px;
    opacity: .8;
}
/* email icon */
.fa-solid{
    color: white;
    font-size: 2em;
    padding: 5px;
    float: right;
    padding-right: 30px;
    opacity: .8;
}
/* nav links text styling */
nav a {
    position: relative; 
    display: inline-block;      
    text-decoration: none;
    margin: 0 40px;
    color: #1a4d8f;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 6px;
}
/* hover */
nav a:hover{
    font-size: 19px;
}
/* blue underline animation under nav links */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #1a4d8f;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 250ms ease-in-out;
}
/* underline on hover */
nav a:hover::after {
    transform: scaleX(1);
}
hr{
    width: 80%;
    color: #333;
}
/* Home Page Styling            */

/* moves the heading right */
h1{
    padding-left: 18%;
}
.statement {
    width: 80%;
    margin: 40px auto;
    display: flex;
    gap: 40px;
    align-items: center;
}
.purposep {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
}
.purposeimage {
    flex: 1;
    text-align: center;
}
.purposeimage img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
}
.row {
    width: 80%;
    margin: 60px auto;
    display: flex;
    gap: 40px;
}
.col {
    flex: 1;
    text-align: center;
}
.col img {
    width: 100%;
    max-width: 350px;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 15px;
}
/* button under each pic */
.btn {
    display: inline-block;
    background-color: #1a4d8f;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}
/* button hover */
.btn:hover {
    background-color: #0d3f92;
    transform: translateY(-3px);
}
/* footer styling */
footer {
    background-color: #005fbd;
    color: white;
    padding: 20px;
}
.footerrow {
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}
.footercol {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
}
.leftcol {
    border-right: 2px solid white;
    padding-right: 30px;
}
.rightcol {
    padding-left: 30px;
}
.leftcol h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
}
.footerimage {
    display: flex;
    align-items: center;  
}
/* footer pic */
.footerimage img {
    width: 250px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    margin: auto;
}
/* footer links */
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
    opacity: 0.9;
}
/* bottom copyright text */
.copyright{
    text-align: center;
    color: black;
    font-size: small;
}
/* board members page styling   */
.boardtitle {
    text-align: center;
    margin-top: 120px; 
    color: #1a4d8f;
    font-size: 32px;
    padding-left: 0;  
}
.boardrow {
    width: 80%;
    margin: 40px auto;
    display: flex;
    gap: 40px;
    justify-content: center;
}
.boardcol {
    flex: 1;
    text-align: center;
}
/* board member pic */
.boardcol img {
    width: 100%;
    max-width: 250px;
    height: 250px;          
    object-fit: cover; 
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 15px;
}
/* name under pictures */
.boardcol h3 {
    margin: 5px 0 0;
    font-size: 20px;
    color: black;
}
.boardcol p {
    margin: 5px 0;
    color: #1a4d8f;
    font-weight: bold;
}
/* contact page styling*/
.contacttitle {
    text-align: center;
    margin-top: 120px;  
    color: #1a4d8f;
    font-size: 32px;
    padding-left: 0%;
}
.contactrow {
    width: 80%;
    margin: 40px auto 60px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.contactcol {
    flex: 1;
}
/* form styling */
.contactform form {
    font-size: 16px;
}
.contactform input,
.contactform textarea {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.contactinfo h2 {
    margin-top: 0;
    color: #1a4d8f;
}
.map {
    margin-top: 20px;
}
/* styling of map */
.map iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
}
