/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: Arial, sans-serif;
  background-color: #000; /* This will not be visible on #home due to video */
  color: #fff;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: #000000;
  color: black;
  padding: 10px 0;
  text-align: center;
  z-index: 1000;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

header nav li {
  margin: 0 20px;
}

header nav a {
  color: white;
  text-decoration: none;
}

header nav a:hover {
  color: #66b3ff;
}

/* Home Section */
#home {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  background-color: transparent;
  z-index: 0;
}

/* Background video */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

/* Optional overlay for readability */
#home::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* Ensure all content layers above the video and overlay */
#home .container,
#home h1,
#home .intro-text,
#home .emoji-signature,
#home .resume-links {
  position: relative;
  z-index: 1;
}

#home h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.7;
  text-align: left;
}

.emoji-signature {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Resume Link Styling */
.resume-links {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.resume-file {
  font-family: 'Amaranth', sans-serif;
  background-color: white;
  color: black;
  padding: 12px 24px;
  font-size: 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

.resume-file:hover {
  background-color: #f0f0f0;
  text-decoration: underline;
}

.linkedin-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.linkedin-icon:hover {
  transform: scale(1.1);
}

.scroll-buffer {
  height: 100px;
}

/* Container */
.container {
  width: 80%;
  margin: 0 auto;
}

/* Projects Grid Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background-color: white;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background-color: #f9f9f9; /* optional, for padding background if image doesn't fill */
  padding: 10px;
}

.project-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-family: 'Merriweather', serif;
}


.project-info p {
  font-family: 'Merriweather', serif;
  font-size: 1rem;       /* you can keep or adjust this */
  line-height: 1.6;      /* controls spacing between lines */
  margin-bottom: 20px;   /* keeps space below the paragraph */
}


#MyJourney {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: white;
  z-index: 0;
}
/* Background Video */
.journey-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Optional dark overlay for better text readability */
.journey-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* adjust as needed */
  z-index: 1;
}

/* Content over the video */
.journey-content-overlay {
  position: relative;
  z-index: 2;
}

}

#MyJourney::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  z-index: 1;
}


@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Resume Section */
.resume-container {
  margin-left: 10%;
}

/* Let's Connect Title */
.lets-connect-title {
  font-size: 2.2rem;
  margin-top: 60px; /* Adds space above the heading */
  margin-bottom: 30px;
  font-family: 'Inconsolata', monospace;
  color: white;
}


/* CTA Button */
.cta-button {
  background: #1DB954;
  color: #000;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
}

.cta-button:hover {
  background: #17a34a;
}

/* Footer */
footer {
  background: #000000; /* solid black */
  color: #fff; /* white text */
  text-align: center;
  padding: 20px 0;
}
