/* Shared Hero AND Card Styles */
.hero, .card-img {
  position: relative;
  background-size: cover;
  height: 100vh;
  color: white;
  object-fit: cover;
}

.hero {
  background: url('/Images/sf_tower.avif') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-container {
  position: relative;
  margin: 1rem;
}

.hero-overlay, .card-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
}

.hero-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 7rem;
  font-weight: 300;
  line-height: 1.2;
}

.hero-button {
  margin-top: 2rem;
  background-color: white;
  color: black;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #e2e2e2;
}

.submit-button {
  margin-top: 2rem;
  background-color: white;
  color: black;
  border: 1px solid black;
  padding: 0.75rem 2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #e2e2e2;
}

.download-button {
  margin-top: 5rem;
  background-color: white;
  color: black;
  border: 1px solid black;
  padding: 0.75rem 2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease;
}

.download-button:hover {
  background-color: #e2e2e2;
}


/* Skills Section */
.skills-section {
  padding: 4rem 2rem;
}

.skills-icon {
  max-width: 100px;
  margin-bottom: 1rem;
}

.skills-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.skill-header {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.skill-list {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-overlay, .card-overlay {
    left: 5%;
  }

  .card-img {
    height: 70vh;
  }

  .skills-title {
    font-size: 2rem;
  }

  .skill-header {
    font-size: 1.25rem;
  }
}

.contact-header {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.gallery img {
  width: 300px;
  margin: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  border-color: #b5b5b5;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 2px solid white;
  box-shadow: 0 0 20px black;
}

.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
}

.video-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
}

.video-gallery img {
  width: 600px;
  cursor: pointer;
  border: 4px solid transparent;
  transition: transform 0.2s ease;
}

.video-gallery img:hover {
  transform: scale(1.05);
  border-color: #b5b5b5;
}

.video-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-lightbox iframe {
  width: 80%;
  height: 60%;
  max-width: 800px;
  max-height: 450px;
  border: 4px solid white;
  box-shadow: 0 0 20px black;
}

.project-list {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  min-height: 20vh;
}
.project-item {
  display: flex;
  align-items: center;
  gap: 30px;
  text-decoration: none;
  color: #000;
  max-width: 1000px;
  transition: transform 0.2s;
}

.project-item:hover {
  transform: scale(1.02);
  color: #585858;
}

.project-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ccc;
  flex-shrink: 0;
}
