@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* =================== GLOBAL RESET =================== */


*{
    margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

html, body {
  background: #0d0d0d;
  color: #ccd6f6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; 
  }

/* =================== NAVIGATION =================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 20px 5%;
  background: #0d0d0d;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto; /* ensure nav always responds to clicks */
}



  .logo {
    font-size: 24px;
    font-weight: 600;
    color: #ccd6f6;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  

nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

nav ul li a::after {
  content: '';
  width: 0%;
  height: 3px;
  background: #ccd6f6;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover {
  color: #00bfff;
}

nav ul li a:hover::after {
  width: 100%;
}

/* =================== HEADER =================== */
#header {
    width: 100%;
    height: 100vh;
    background-image: url(Images/Meteor.svg);
    background-size: cover;
    background-position: center;
    position: relative;
  }


.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 0;
  padding: 160px 20px 100px; 
  text-align: center;
  margin-top: 35px; /* Add space below nav bar */
}

.headshot-wrapper img.hs1 {
  width: 300px;
  border-radius: 50%;
  box-shadow: 0 5px 30px rgba(114, 137, 218, 0.4);
  margin-bottom: -70px; 

}

.header-text {
    max-width: 450px;
    text-align: center;
    font-size: 16px;
    color: #ccd6f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px; /* Distance from top of container */
  }
  
  .header-text p {
    font-size: 18px;
    margin-top: 80px;
    margin-bottom: -17px; 
    color: #ccd6f6;
  }
  
  .header-text h1 {
    font-size: 65px;
    font-weight: 700;
    margin-top: 1px;;
    margin-bottom: -10px; 
    color: #e2e8f0;

  }

  
  .header-text h2 {
    font-size: 24px;
    font-weight: 500;
    margin-top: 4px; 
    margin-bottom: 4px;
    color: #aaa;
  }
  
  .header-text .location {
    margin-top: 5px;
    margin-bottom: -50px;
    font-size: 14px;
    color: #aaa;
  }
  
  .header-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: -40px 0px; 
  }
  
  .social-icons2 {
    margin-top: 10px;
  }

.location {
  font-size: 14px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location i {
  color: #00bfff;
}

.header-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }
  
  .btn {
    padding: 12px 28px;
    font-size: 14px;
    border-radius: 999px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #00bfff;
    background: transparent;
    color: #00bfff;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .btn.light {
    background: transparent;
    color: #00bfff;
  }
  
  .btn.dark {
    background: #00bfff;
    color: #0d0d0d;
    border-color: #00bfff;
  }
  
  .btn:hover {
    background: #00bfff;
    color: #0d0d0d;
    box-shadow: 0 0 10px #00bfff80;
  }
  

.social-icons2 a {
  text-decoration: none;
  font-size: 30px;
  color: #ababab;
  transition: 0.5s;
}

.social-icons2 a:hover {
  color: #ccd6f6;
  transform: translateY(-5px);
}



/* ----------ABOUT---------*/
#about {
    padding: 80px 0;
    color: #ccd6f6;
    background: #0d0d0d;
  }
  
  .sub-title {
    text-align: center;
    font-size: 36px;
    color: #ccd6f6;
    margin-bottom: 40px;
  }
  
  .about-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .about-column {
    flex: 1 1 45%;
  }
  
  .about-left p {
    font-size: 16px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 30px;
  }
  
  .section-block h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #ccd6f6;
    border-bottom: 2px solid #00bfff;
    display: inline-block;
    padding-bottom: 6px;
  }
  
  .section-block ul {
    padding-left: 0;
    list-style: none;
  }
  
  .section-block ul li {
    margin-bottom: 15px;
    font-size: 15px;
    color: #ccc;
  }

  .section-block ul li {
    margin-bottom: 10px;
    line-height: 1.7;
  }
  
  .section-block ul li span {
    display: block;
    color: #00bfff;
    font-weight: 500;
    font-size: 13px;
  }
  
  .job-block {
    margin-bottom: 40px;
  }
  
  .job-block h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ccd6f6;
    margin-bottom: 5px;
  }
  
  .job-block h4 .job-title {
    color: #ccd6f6;
    font-weight: 600;
  }
  
  .job-block h4 .company {
    color: #00bfff;
    font-weight: 500;
  }
  
  .job-date {
    display: block;
    font-size: 13px;
    color: #00bfff;
    margin-bottom: 10px;
  }
  
  .job-block ul {
    margin: 0 0 10px 0;
    padding-left: 20px;
  }
  
  .job-block ul li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
    list-style: disc;
    color: #bbb;
  }
  
  .skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }
  
  .skills-tags span {
    background: #1e1e1e;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #00bfff;
    border: 1px solid #00bfff;
    transition: background 0.3s, color 0.3s;
  }
  
  .skills-tags span:hover {
    background: #00bfff;
    color: #0d0d0d;
  }

  .about-left, .about-right {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.1);
  }
  
  
  


/*--------skills-----------*/
#skills {
    padding: 90px 0;
    text-align: center;
  }
  
  .sub-title {
    font-size: 36px;
    color: #ccd6f6;
    margin-bottom: 30px;
  }
  
  .skills-strip-container {
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
  }
  
  .skills-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollLeft 15s linear infinite;
  }
  
  .skills-strip-container:hover .skills-track {
    animation-play-state: paused;
  }
  
  .skill-icon {
    flex: 0 0 auto;
    width: 100px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .skill-icon i {
    font-size: 40px;
    margin-bottom: 10px;
  }
  
  .skill-icon span {
    font-size: 16px;
    color: #fff;
  }
  
  .skill-icon:hover {
    transform: translateY(-6px);
  }
  
  @keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .skill-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  }
  
  
  
  


/************ Portfolio ************/

#portfolio{
    padding: 75px 0;

}

.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    margin: 10px auto 0 auto; 
    max-width: 1000px;         
    padding: 0 20px;          
}

.work {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .work:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
  }
  
  .work:hover .layer {
    opacity: 1;
    pointer-events: auto;
  }
  

.work img{
    width: 110%;
    display: block;
    overflow: hidden;
    transition: transform 0.5s;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
  }
  
  
  
  
  .layer h3,
  .layer p,
  .layer a {
    opacity: 0;
    transform: translateY(10px);
  }
  

  .work:hover .layer h3 {
    animation: flickerIn 0.9s forwards;
    animation-delay: 0.1s;
  }
  .work:hover .layer p {
    animation: flickerIn 0.9s forwards;
    animation-delay: 0.3s;
  }
  .work:hover .layer a {
    animation: flickerIn 0.9s forwards;
    animation-delay: 0.5s;
  }
  
  
  .layer h3 {
    animation-delay: 0.1s;
  }
  .layer p {
    animation-delay: 0.3s;
  }
  .layer a {
    animation-delay: 0.5s;
  }
  .layer a:hover {
    background: #7289da;
    color: #0d0d0d;
  }
  
  
  

.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    margin-top: 15px;
    color: #7289da;
    background: none;
    border: 1px solid #7289da;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  

.work:hover img {
    transform: scale(1.05);
    filter: brightness(1.1); 
  }
  

  .work:hover .layer {
    opacity: 1;
    pointer-events: auto;
  }
  
  

  @keyframes flickerIn {
    0%   { opacity: 0; }
    10%  { opacity: 0.4; }
    20%  { opacity: 0.2; }
    30%  { opacity: 0.6; }
    40%  { opacity: 0.3; }
    50%  { opacity: 0.9; }
    60%  { opacity: 0.5; }
    70%  { opacity: 1; }
    100% { opacity: 1; }
  }
  
  


.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ccd6f6;
    padding: 14px 50px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: background 0.5s;
}

.btn:hover{
    background: #ccd6f6;
}

/************* Contact Form ************/

  
/* Contact Section */
#contact {
    padding: 80px 0;
    background: #0d0d0d;
  }
  

.contact-container {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 12px;
    background: #1a1a1a;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4); 
  }
  
  
  /* Left Column */
  .contact-left {
    flex: 1;
    min-width: 300px;
  }
  
  .contact-heading {
    color: #7289da;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .contact-title {
    font-size: 36px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
  }
  
  .contact-title span {
    color: #7289da;
  }
  
  .contact-info {
    margin: 20px 0;
  }
  
  .contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .social-icons a {
    font-size: 22px;
    color: #fff;
    margin-right: 15px;
    transition: 0.3s;
  }
  
  .social-icons a:hover {
    color: #7289da;
  }
  
  /* Right Column (Form) */
  .contact-right {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(145deg, #101010, #181818);
    padding: 30px;
    border-radius: 12px;
    box-shadow: inset 0 0 10px #222;
  }
  
  .contact-right form input,
  .contact-right form textarea {
    width: 100%;
    background: transparent;
    border: 1px solid #4b4b4b;
    color: #fff;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 16px;
  }
  
  .contact-right form button {
    width: 100%;
    background: #ccd6f6;
    border: none;
    padding: 14px;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  
  .contact-right form button:hover {
    background: #ccd6f6;
    color: #0d0d0d;
  }
  
  
  footer.copyright {
    width: 100%;
    background: none;
    padding: 20px 0;
    text-align: center;
    color: #ccc;
    font-size: 14px;
    font-weight: 300;
    margin-top: 120px;
    margin-bottom: -150px;
    border-top: none;
  }
  
  

/*--------- CSS For Mobile-------------*/
nav .fa-bars,
nav .fa-xmark {
  display: none;
}

@media only screen and (max-width: 600px) {
  nav {
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0d0d0d;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 20px;
    font-weight: 600;
    color: #ccd6f6;
  }

  nav .fa-solid {
    display: block;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
  }

  nav ul {
    background: #1a1a1a;
    position: fixed;
    top: 0;
    right: -100%;
    width: 160px; /* smaller sidebar */
    height: 100vh;
    padding-top: 60px;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
  }

  nav ul li {
    margin: 18px 0;
    text-align: center;
  }

  nav ul .fa-xmark {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
  }

  #sidemenu.open {
    right: 0;
  }

  .hero-content {
    flex-direction: column;
    padding: 140px 20px 60px;
  }

  .headshot-wrapper img.hs1 {
    width: 180px;
    margin-top: 40px;
    margin-bottom: -50px;
  }

  .header-text {
    margin-top: 0;
    font-size: 14px;
    gap: 10px;
    align-items: center;
  }

  .header-text h1 {
    font-size: 30px;
    margin-bottom: -10px;
  }

  .header-text h2 {
    font-size: 18px;
    margin: 5px 0;
  }

  .location {
    font-size: 13px;
    margin: 10px 0;
    
  }

  .header-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .btn {
    font-size: 11px;
    padding: 8px 16px;
    border-radius: 10px;
    min-width: 120px;
    text-align: center;
    flex: 1 1 auto;
  }

  .social-icons2 {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .social-icons2 a {
    font-size: 24px;
  }

  .copyright {
    font-size: 12px;
    padding: 10px 0;
    text-align: center;
  }
}
