/* =============================
   🌌 Global Styles - Mayank Portfolio
   ============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

/* =============================
   🌐 Navbar
   ============================= */
.navbar {
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between; /* make items spread correctly */
  align-items: center; /* vertical centering */
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
}


.logo {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo span {
  color: #00b8cc;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar ul li a {
  color: #eeeeee;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #00b8cc;
}

/* =============================
   🦋 Hero Section
   ============================= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 180px 100px 100px;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-left h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero-left h1 span {
  color: #00b8cc;
  text-shadow: 0 0 8px #00b8cc;
}

.hero-left h2 {
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.hero-left .quote {
  font-style: italic;
  font-size: 18px;
  color: #9fb3c8;
  border-left: 3px solid #00b8cc;
  padding-left: 12px;
}

/* =============================
   🖼️ Image Section
   ============================= */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 184, 204, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 184, 204, 0.6);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* =============================
   📱 Responsive Design
   ============================= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    padding: 140px 40px 60px;
    text-align: center;
  }

  .hero-right {
    margin-bottom: 40px;
  }

  .hero-left h1 {
    font-size: 32px;
  }

  .hero-left h2 {
    font-size: 18px;
  }

  .navbar {
    flex-direction: column;
    padding: 20px;
  }
}

/* =============================
   🙋 About Page Styles
   ============================= */
.about-hero h1 span {
  color: #00b8cc;
  text-shadow: 0 0 8px #00b8cc;
}

.about-hero h2 {
  color: #cbd5e1;
  font-weight: 400;
}

.about-hero .quote {
  font-style: italic;
  font-size: 18px;
  color: #9fb3c8;
  border-left: 3px solid #00b8cc;
  padding-left: 12px;
}

.resume-section h2 {
  color: #00b8cc;
  font-size: 24px;
  text-shadow: 0 0 6px #00b8cc;
  margin-bottom: 20px;
}

.resume-section iframe {
  border-radius: 10px;
  width: 80%;
  height: 600px;
  box-shadow: 0 0 20px rgba(0,184,204,0.3);
}

.download-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #00b8cc;
  color: #0f2027;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #009bb3;
  transform: scale(1.05);
  box-shadow: 0 0 15px #00b8cc;
}

.about-social {
  text-align: center;
  margin-top: 50px;
}

.about-social h3 {
  color: #00b8cc;
  font-size: 24px;
  margin-bottom: 15px;
  text-shadow: 0 0 6px #00b8cc;
}

.about-social .social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.about-social .social-links a {
  color: #00b8cc;
  font-weight: 500;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.about-social .social-links a:hover {
  text-shadow: 0 0 10px #00b8cc;
  transform: scale(1.1);
}

/* Responsive About */
@media (max-width: 900px) {
  .about-hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 140px 40px 60px;
  }

  .about-hero .about-right {
    margin-bottom: 40px;
  }

  .resume-section iframe {
    width: 95%;
    height: 500px;
  }
}

/* =============================
   📝 Contact Page Styles
   ============================= */
.contact-section {
  padding: 180px 60px 100px;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}

.contact-section h1 {
  font-size: 42px;
  margin-bottom: 10px;
  text-align: center;
  color: #00b8cc;
  text-shadow: 0 0 8px #00b8cc;
}

.contact-section .subtitle {
  font-size: 18px;
  color: #cbd5e1;
  text-align: center;
  margin-bottom: 40px;
}

.quick-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  font-size: 16px;
}

.quick-contact a {
  color: #00b8cc;
  text-decoration: none;
  transition: 0.3s;
}

.quick-contact a:hover {
  text-decoration: underline;
  color: #00ffff;
}

form#contactForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #cbd5e1;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid rgba(0, 184, 204, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00b8cc;
  box-shadow: 0 0 12px #00b8cc;
  outline: none;
  background: rgba(0, 184, 204, 0.05);
}

textarea {
  resize: none;
}

.submit-btn {
  background: linear-gradient(135deg, #00b8cc, #009bb3);
  color: #0f2027;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px #00b8cc;
}

.feedback {
  margin-top: 25px;
  text-align: center;
  font-size: 16px;
  color: #00ffdd;
  opacity: 0;
  transition: opacity 0.5s;
}

@media (max-width: 900px) {
  .contact-section {
    padding: 140px 20px 60px;
  }

  .quick-contact {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* =============================
   🌟 Page Fade Animation
   ============================= */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-transition-active {
  opacity: 1;
  transform: translateY(0);
}
