/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  text-align: center;
}

body {
  font-family: 'Merriweather', serif;
  background: #f8f5f2; /* Warm off-white */
  color: #333333; /* Soft dark gray */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  padding: 15px 50px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #F2A2A2; /* Pink from index.css */
  font-family: 'Montserrat', sans-serif;
  animation: fadeIn 1s ease-out;
}

.navbar .nav-links ul {
  display: flex;
  gap: 25px;
}

.navbar .nav-links a {
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .nav-links a:hover {
  color: #F2A2A2; /* Pink accent */
  transform: scale(1.05); /* Slight scale on hover */
}

.navbar .nav-links li {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: backwards;
}

.navbar .nav-links li:nth-child(1) { animation-delay: 0.1s; }
.navbar .nav-links li:nth-child(2) { animation-delay: 0.2s; }
.navbar .nav-links li:nth-child(3) { animation-delay: 0.3s; }
.navbar .nav-links li:nth-child(4) { animation-delay: 0.4s; }
.navbar .nav-links li:nth-child(5) { animation-delay: 0.5s; }

.navbar .menu-btn {
  display: none;
  width: 25px;
  filter: brightness(0);
}

/* About Section */
.about-section {
  display: flex;
  min-height: 100vh;
  padding-top: 80px;
  background: #f8f5f2;
}

.about-header {
  width: 100%;
  max-width: 350px;
  padding: 40px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.about-header h1 {
  font-size: 2rem;
  font-family: 'Merriweather', serif;
  color: #333333;
  font-weight: 400;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease-out;
}

.about-header h2 {
  font-size: 1.6rem;
  font-family: 'Merriweather', serif;
  color: #F2A2A2; /* Pink from index.css */
  font-weight: 300;
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease-out 0.2s;
  animation-fill-mode: backwards;
}

.about-header .bio {
  font-size: 1rem;
  color: #666666; /* Medium gray */
  font-family: 'Merriweather', serif;
  font-style: italic;
  animation: fadeInUp 0.8s ease-out 0.4s;
  animation-fill-mode: backwards;
}

.about-content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-item {
  display: flex;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid #ececec; /* Very light gray */
  opacity: 0; /* Start hidden for animation */
  animation: fadeInUp 0.8s ease-out forwards;
}

.info-item:nth-child(1) { animation-delay: 0.6s; }
.info-item:nth-child(2) { animation-delay: 0.8s; }
.info-item:nth-child(3) { animation-delay: 1s; }

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-right: 20px;
}

.info-item p {
  font-size: 1rem;
  color: #666666;
  font-family: 'Merriweather', serif;
  text-align: left;
}

.action-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: #F2A2A2; /* Pink from index.css */
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease;
  opacity: 0; /* Start hidden for animation */
  animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.action-btn:hover {
  background: #e68b8b; /* Slightly darker pink */
  transform: translateY(-2px); /* Slight lift on hover */
}

/* Responsive Design */
/* Add this outside the media query to style the active link globally */
.navbar .nav-links ul .active a {
  color:  #F2A2A2;  /* Match the green from index.html */
  font-weight: 600; /* Match the bold style from index.html */
}

/* Updated media query for small screens */
@media screen and (max-width: 900px) {
.navbar {
    padding: 10px 20px;
}

.navbar .logo {
    font-size: 1.4rem;
}

.navbar .menu-btn {
    display: block;
}

.navbar .nav-links {
    position: fixed;
    top: 60px; /* Match index.html position */
    left: auto; /* Not full-screen */
    right: 10px; /* Match index.html position */
    width: auto; /* Match index.html compact size */
    height: auto; /* Match index.html compact size */
    background-color: rgba(236, 236, 241, 0.692); /* Match index.html background */
    backdrop-filter: blur(10px); /* Match index.html blur */
    -webkit-backdrop-filter: blur(10px); /* For Safari compatibility */
    background-color: rgba(0, 0, 0, 0.045); /* Fallback darker background if blur fails */
    display: none; /* Hide by default */
    flex-direction: column; /* Vertical layout */
    align-items: center;
    padding: 10px; /* Add padding for spacing */
    z-index: 15; /* Above navbar but below menu-btn */
    transition: opacity 0.3s ease; /* Smooth fade */
    opacity: 0; /* Start hidden */
}

.navbar .nav-links.mobile-menu {
    display: flex; /* Show when toggled */
    opacity: 1; /* Fade in */
}

.navbar .nav-links ul {
    flex-direction: column; /* Ensure vertical list */
    gap: 20px; /* Match index.html gap */
    width: 100%; /* Full width within the container */
}

.navbar .nav-links a {
    font-size: 1.1rem; /* Match index.html font size */
    color: #000000; /* Black text for all links */
}

.navbar .nav-links li {
    animation: none; /* Disable animation for mobile menu, like index.html */
}

.about-section {
    flex-direction: column;
}

.about-header {
    max-width: 100%;
    text-align: center;
    padding: 30px 20px;
}

.about-header .bio {
    text-align: center;
}

.about-content {
    padding: 20px;
}

.info-item {
    flex-direction: column;
    text-align: center;
}

.info-icon {
    margin-right: 0;
    margin-bottom: 15px;
}
}
@media screen and (max-width: 600px) {
  .about-header h1 {
      font-size: 1.8rem;
  }

  .about-header h2 {
      font-size: 1.4rem;
  }

  .about-header .bio {
      font-size: 0.9rem;
  }

  .info-item p {
      font-size: 0.9rem;
  }

  .action-btn {
      font-size: 0.9rem;
      padding: 10px 25px;
  }
}