/* ==== General Page Styles ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364); /* Dark blue gradient */
  color: #f5f5f5;
  line-height: 1.6;
  padding-top: 80px; /* space for fixed navbar */
}

a {
  color: #4dd0e1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==== Navbar ==== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #121212;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #4dd0e1;
}

/* ==== Menu Icon ==== */
.menu-icon {
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  color: #ffffff;
}

/* ==== Hero Section ==== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
}

.hero-content {
  flex: 1 1 45%;
  padding: 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #e0f7fa;
}

.btn-resume,
.btn-secondary {
  display: inline-block;
  margin: 0.5rem 0.5rem 0 0;
  padding: 0.75rem 1.5rem;
  background-color: #4dd0e1;
  color: #121212;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-resume:hover,
.btn-secondary:hover {
  background-color: #26c6da;
}

.hero-image {
  flex: 1 1 45%;
  text-align: center;
}

.hero-image img {
  max-width: 90%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.image-caption {
  margin-top: 1rem;
  font-style: italic;
  color: #b2ebf2;
}

/* ==== Project Details ==== */
.project-details {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: auto;
}

.project-details h2,
.project-details h3 {
  color: #ffffff;
  margin-top: 2rem;
}

.project-details ul {
  list-style-type: circle;
  margin-left: 1.5rem;
}

.project-details p,
.project-details li {
  color: #e0f7fa;
}

/* ==== Footer ==== */
footer {
  text-align: center;
  padding: 1.5rem 0;
  background-color: #0d0d0d;
  color: #888;
  margin-top: 3rem;
}

/* ==== Responsive Nav ==== */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #121212;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 9;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #333;
  }

  .nav-links li a {
    color: #f5f5f5;
    font-size: 1.2rem;
  }

  .nav-links li a:hover {
    color: #4dd0e1;
  }
}
