/* navbar basics */
/* references:
#AEA1EA - purple
#B2EBF9 - blue 
*/

/* General */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    padding: 20px;
  }

 /*html{
    background-image: linear-gradient(to bottom right, black, grey);
    min-height: 100vh;
    min-width: 1024px;
        
    width: 100%;
    height: auto;
    
    overflow-y: auto;
        
    top: 0;
    left: 0;
    overflow: auto;

} */

body {
    font-family: URW;
        /* Set rules to fill background */
        min-height: 100vh;
        min-width: 1024px;
            
        /* Set up proportionate scaling */
        width: 100%;
        height: auto;
        
        overflow-y: auto;
}

h1 {

    display: block;
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-right: 0;
    font-weight: bold;
    color:black;


}

h2 {

    display: block;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-right: 0;
    font-family: URW;
    font-weight: 100;
    color: black;

}

p {
    font-size: 18px;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    color: black;

}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* === NAVIGATION BAR === */
.navbar {
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    flex-wrap: wrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
     position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999; 
  }

  .with-navbar {
    margin-top: 100px;
  }
  
  .main-container,
  .networking-container,
  .projects-container,
  .about-container {
    max-width: 1000px;
    margin: 100px auto 40px auto; /* top margin offsets the fixed navbar */
    padding: 0 20px;
  }
  
  .navbar-logo img {
    max-height: 70px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li {
    display: inline-block;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #cce5ff;
  }
  /* === ALT NAVBAR === */
  

   .alt-navbar {
    background-color: rgb(250, 242, 234);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    flex-wrap: wrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
  }
  
  .altnavbar-logo img {
    max-height: 70px;
  }
  
  .altnav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  .altnav-links li {
    display: inline-block;
    list-style-type: none;
  }
  
  .altnav-links a {
    font-size: 1.1rem;
    color: black;
    font-weight: 600;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: grey;
  }


  
  /* === HAMBURGER MENU === */
  .menu-toggle {
    display: none;
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: 0.3s ease-in-out;
  }
  
  /* === MOBILE STYLES === */
  @media (max-width: 768px) {
    .hamburger {
      display: flex;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #007bff;
      margin-top: 10px;
      padding: 10px 0;
    }

    .altnav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgb(250, 242, 234);
        margin-top: 10px;
        padding: 10px 0;
      }
  
    .menu-toggle:checked + .hamburger + .nav-links {
      display: flex;
    }
  
    .nav-links li {
      padding: 10px 20px;
    }
  
    .nav-links a {
      width: 100%;
    }

    .altnav-links li {
        padding: 10px 20px;
        list-style-type: none;
      }
    
    .altnav-links a {
        width: 100%;
    }
  }
  
  /* === DESKTOP STYLES === */
  @media (min-width: 769px) {
    .nav-links {
      gap: 25px;
    }
  
    .nav-links a {
      font-size: 1.45rem;
    }
  
    .navbar-logo img {
      max-height: 90px;
    }

    .altnav-links {
        gap: 25px;
    }
    
    .altnav-links a {
        font-size: 1.45rem;
    }
    
    .altnavbar-logo img {
        max-height: 90px;
    }
  }
  
  /* === HAMBURGER ANIMATION TO X === */
  .menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  

/* index (home) page */
.intro {
    color:black;
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #e0e7ff 0%, #ffffff 100%);
}

/* 
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: 3rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, #004aad 0%, #007bff 100%);
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
}

*/

.home-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem 1rem;
}

.home-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center; /* centers text inside */
  max-width: 280px;
  transition: transform 0.2s ease;
  display: flex; /* allows flexbox centering inside card */
  flex-direction: column; /* stack icon, title, text, button */
  align-items: center; /* center horizontally */
  justify-content: flex-start; /* keep top-aligned but centered horizontally */
}

.home-card:hover {
  transform: translateY(-5px);
}

.home-card i {
  margin-bottom: 1rem;
  color: #004aad;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #004aad;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn:hover {
  background: #00347a;
}

.about-home,
.featured-project {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center; /* center content in these sections too */
}

.featured-card {
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center; /* center text in featured card */
}




/* resume page */

.alt-header {

    display: block;
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 2em;
    margin-right: 0;
    font-weight: bold;
    color: black;

}

.resume-header-section {

    color: black;
    padding: 20px;
    margin-left: 50px;
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
    flex-direction: row;
    font-family: URW

}

#resume-button {
    background-color: rgb(250, 242, 234);
    margin-left: 550px;
    width: 250px;
    height: 50px;
    font-size: 1em;
    text-decoration: none;
    color: black;
}

#inside-resume-button {
    color: black;
}

.resume-block-section {

    color: black;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
    flex-direction: row;
    font-family: URW

}


.resume-block {
    background-color: rgb(250, 242, 234);
    padding-left: 5px;
    margin: auto;
    width: 25%;
    line-height: 200%;
    

}

.alt-resume-block {
    background-color: rgb(255, 221, 209);
    padding-left: 5px;
    margin: auto;
    width: 25%;
    line-height: 200%;
}


.resume-main {
    background-color: rgb(255, 250, 245);
    /* Set rules to fill background */
    min-height: 100vh;
    min-width: 1024px;
        
    /* Set up proportionate scaling */
    width: 100%;
    height: auto;
    
    overflow-y: auto;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
}

.resume-project {
    background-color: rgb(250, 242, 234);
    padding: 20pt;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
    flex-direction: column;
    color: black;
}

.resume-title {

    margin: auto;
    font-family: URW;
    font-weight: 100;

}

.inside-resume-project {
    
    margin-left: 200px;
    margin-right: 200px;
    color: black;
}

p.inside-resume-project-dates{
    
    margin: auto;
    font-family: URW;
    font-weight: 100;
    color: grey;
    margin-top: 10px;
}

.alt-resume-project {
    background-color: rgb(255, 250, 245);
    padding: 20pt;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
    flex-direction: column;
    color: black;
}



/* projects page */

button.projects-button{
    background-color: black;
    margin-left: 100px;
    width: 300px;
    height: 70px;
    font-size: 1em;
    text-decoration: none;
}

a.projects {
    color: #AEA1EA;
}


/* about page */

#linkedin-button{
    background-color: black;
    margin-left: 100px;
    width: 300px;
    height: 70px;
    font-size: 1em;
    text-decoration: none;
}

a.LinkedIn {
    color: #AEA1EA;
}

section.about-section-rugby{

    margin-top: 40px;
}


img.bagpipe-image {

    margin-left: 100px;

}

img.rugby-image {

    margin-left: 100px;

}

ul.altnav-links, 
ul.altnav-links li
ul.nav-links,
ul.nav-links li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}


/* contacts page */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  align-self: center;
}

/* Fade-in effect for status message */
#form-status {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-align: center;
  font-weight: bold;
  margin-top: 1rem;
}
#form-status.show {
  opacity: 1;
}

/* Fade + Slide Animation */
.fade-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-slide.show {
  opacity: 1;
  transform: translateY(0);
}





/* footer */

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background-color:black;
    color: #AEA1EA;
}


.footer-links a {
    color: #AEA1EA;

}

.footer-logo {
    font-size: 32px;
    color: black;
}