

nav {
    z-index: 999;
    position: sticky;
    top: 0;
    height: 54px;
    display: flex;
    justify-content: space-between;
    background-color: #222;
    text-align: right;
}

.logo {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .5px;
  font-style: italic;
  color: #f58cae;
  text-decoration: none;

  transition: all 0.3s ease;
}

.logo:hover {
  text-shadow:
    0 0 5px #f58cae,
    0 0 12px #f58cae,
    0 0 20px #f58cae;
    
  transform: scale(1.05);
}

.navbar {
    display: flex;
    align-items: center;
    padding: 10px;
}

.navbar-links {
    display: flex;
    margin-left: auto; /* THIS pushes it to the right */
    padding: 25px;
    gap: 50px;

}


#main {
    position: relative;
    width: 100%;
    height: 100vh; /* full screen height */
    overflow: hidden;
    }

.name {
    font-size: clamp(60px, 12vw, 110px);
    font-weight: 700; 
    margin-top: 270px;
    margin-bottom: 1px;
}

.myprojects{
  font-size: 30px;
}

.title{
    font-size: 33px;
    letter-spacing: 1px;
    margin-bottom: 50px;
    margin-top: 10px;
   
}

#main video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills area without distortion */
    opacity: 25%;

}

.intro{
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    object-fit: cover; /* fills area without distortion */
}

.line {
  width: 530px;        /* controls length */
  height: .5px;
  background-color: white;
  margin: 20px auto;   /* centers it */
  border-radius: 5px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #222;
  color: white;
}

nav {
  display: flex;
  justify-content: space-between;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

nav a:hover {
  opacity: 1;
}

a {
  text-decoration: none;
}

#contact {
  display: flex;
  justify-content: center;
  gap: 20px;   /* space between buttons */
  margin-top: 70px;
}


.button {
  margin-top: 35px;
  padding: 20px 30px;
  border: 1px solid white;
  border-radius: 40px;
  background: none;
  color: white;
  cursor: pointer;
  transition: all .3s ease;
  font-size: 22px;
}

.button:hover {
  background: #f58cae;
  border-color: #f58cae;

  transform: translateY(-3px) scale(1.03);

  box-shadow:
    0 0 12px rgba(245,140,174,.35),
    0 0 24px rgba(245,140,174,.15);
}


/*main page cards for projects*/

#projects h2 {
  text-align: center;
  margin-top: 70px;
  margin-bottom: 100px;
  font-size: 50px;
}
.projects {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 70px;
  flex-wrap: wrap; 
  margin-bottom: 70px;
}

.card {
  width: 320px;
  padding: 20px;
  border-radius: 20px;
  background: #1a1a1a;
  text-align: center;
  color: white;
  overflow: hidden;

  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card img {
  width: 100%;      
  height: 220px;    
  object-fit: cover; 
  border-radius: 15px;
  display: block;
  margin-top: 15px;
}

.card:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}


/* contact page */

.contact-page {
  text-align: center;
  padding: 100px 20px;
}

.contact-title {
  font-size: 50px;
  margin-bottom: 60px;
}

.contact-title span {
  color: pink;
  margin-left: 10px;
}

.contact-blurb {
  max-width: 700px;
  margin: 0 auto 55px;
  font-size: 24px;
  line-height: 1.3;
  opacity: .7;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-button {
  min-width: 380px;
  padding: 18px 40px;
  border: 1px solid white;
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all .3s ease;
}

.contact-button:hover {
  background: #f58cae;
  border-color: #f58cae;
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(245,140,174,.4);
}

.contact-line {
  width: 95%;
  height: 1px;
  background: rgba(255,255,255,.4);
  margin: 70px auto 0;
}

/*
.form-container {
  background: #d9d9d9;
  padding: 25px;
  border-radius: 15px;
  width: 320px;
}

input, textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
}

textarea {
  height: 120px;
  resize: none;
}

.socials {
  margin-top: 30px;
  background: #f58cae;
  padding: 15px 30px;
  border-radius: 15px;
  display: flex;
  gap: 25px;
}

.socials a {
  text-decoration: none;
  color: black;
  font-size: 20px;
}

.socials a:hover {
  transform: scale(1.2);
}

input, textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  border: none;
}
*/

/*project page*/

.hero {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 70px;
}

.hero h1 {
  font-size: 60px;
  font-weight: 600;
  margin: 0;
}

.hero h1 span {
  color: pink;
  margin-left: 10px;
}

.project-card {
  width: 420px;
  padding: 30px 40px;
  border-radius: 22px;
  background: #1a1a1a;
  color: white;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  opacity: .75;
  letter-spacing: .5px;

  transition: all .3s ease;
}

.project-card:hover {
  opacity: 1;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 12px rgba(245,140,174,.25);
}

/*individual project pages*/

.bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.projectname {
  font-size: 70px;   
  font-weight: 600;
  margin-bottom: 40px;
  margin-top: 150px;
}

.description {
  font-size: 24px;
  max-width: 600px;   
  margin: 0 auto 20px auto;
  line-height: 1.5;
  opacity:.8;
  text-align: center;
  margin-bottom: 90px;
}

.project-details {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.project-details h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.project-role {
  font-size: 35px;
  margin-bottom: 20px;
  margin-top: 70px;
}

.project-list {
  text-align: left;
  line-height: 3;
  font-size: 24px;
  opacity: .7;
  list-style: none;
}

.project-image {
  width: 100%;
  max-width: 800px;
  border-radius: 15px;
  margin: 0 auto 30px auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}


/*about*/

.selfie{
  width: 175px;
  border-radius: 20px;
  margin-left: 200px;
  margin-bottom: 30px;
}

.about {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: left;
}

.about-top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about h1 {
  font-size: 60px;
  font-weight: 500;
  margin-left: 40px;
}

.about h1 span {
  color: pink;
  margin-left: 10px;
}

.about-text {
  font-size: 25px;
  line-height: 1.6;
  margin-top: 30px;
  max-width: 700px;
  margin-left: 40px;
}

.about-text.secondary {
  margin-top: 90px;
  text-align: center;
  max-width: 700px;
  font-size: 25px;
}

.about-buttons {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}