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

/* --- BODY --- */
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(70deg, blue, green);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1rem;
  color: #fff;
}

/* --- NAVIGATION --- */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.7rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* --- PROFILE CARD --- */
.profile-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  color: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.avatar-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.avatar-container img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.4);
}

header h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.time {
  margin: 0.8rem 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* --- SOCIAL LINKS --- */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.social-links a {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover,
.social-links a:focus {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
  outline: none;
}

/* --- INFO SECTION (Hobbies / Dislikes) --- */
.info-section {
  margin-top: 1rem;
  text-align: left;
}

.info-section h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #fff;
  border-left: 3px solid rgba(255, 255, 255, 0.6);
  padding-left: 0.5rem;
}

.info-section ul {
  list-style: none;
  padding-left: 0.8rem;
}

.info-section li {
  margin-bottom: 0.3rem;
  opacity: 0.9;
  position: relative;
}

.info-section li::before {
  content: "•";
  color: #fff;
  font-weight: bold;
  display: inline-block;
  width: 1rem;
}

/* --- CONTACT PAGE --- */
.contact-section {
  max-width: 480px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  width: 100%;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  outline: none;
  font-family: inherit;
}

.btn {
  background: #4f46e5;
  color: #fff;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: #4338ca;
  transform: scale(1.02);
}

.error-msg {
  color: #ff6b6b;
  font-size: 0.85rem;
}

.success-msg {
  margin-top: 1rem;
  color: #22c55e;
  font-weight: 600;
  text-align: center;
}

/* --- ABOUT PAGE --- */
.about-container{
  width: 50%;
}

.about-container header {
  text-align: center;
  margin-bottom: 2rem;
}

.about-container h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.about-container h1::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: slideIn 1s ease forwards;
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.intro-text {
  font-style: italic;
  opacity: 0.85;
  font-size: 0.95rem;
}

.about-container section {
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-container section:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.about-container h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
  border-left: 4px solid rgba(255, 255, 255, 0.6);
  padding-left: 0.6rem;
}

.about-container ul {
  padding-left: 1.3rem;
}

.about-container li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.about-container blockquote {
  font-style: italic;
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem;
  border-left: 5px solid #22c55e;
  border-radius: 6px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .about-container h1 {
    font-size: 1.6rem;
  }
  .about-container h2 {
    font-size: 1.1rem;
  }
  .about-container section {
    padding: 1rem;
  }
}
