/* Contact Section Styles - Matching About Me Design */
.contact__section {
  margin: 140px auto;
  max-width: 1800px;
  position: relative;
  min-height: 600px;
}

/* Section Header */
.contact__header {
  text-align: center;
  margin-bottom: 60px;
}

.contact__header h1 {
  color: var(--p-600);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  letter-spacing: -0.02em;
}

.contact__header h1::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--main-gradient-color);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.contact__header p {
  color: var(--n-500);
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0 auto;
}

/* Contact Container */
.contact__container {
  padding: 60px 48px;
  background-color: var(--p-50);
  border-radius: 3rem;
  position: relative;
  z-index: 1;
}

.contact__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-secondary);
  border-radius: 3rem;
  padding: 3rem 2rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Contact Cards Grid */
.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 24px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.contact__card:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
}

.contact__card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  border-radius: 16px;
  color: white;
  padding: 16px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact__card:hover .contact__card-icon {
  background: var(--accent-hover);
  transform: scale(1.1);
}

.contact__card-content {
  flex: 1;
}

.contact__card-content h3 {
  color: var(--p-600);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact__card-content p {
  color: var(--n-500);
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.contact__card-action {
  flex-shrink: 0;
}

.contact__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact__link:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1);
}

/* Social Links Section */
.contact__social {
  margin-top: 40px;
  text-align: center;
}

.contact__social h3 {
  color: var(--p-600);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.social__links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 16px;
  color: var(--n-500);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social__link:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* CTA Button */
.contact__cta {
  margin-top: 40px;
  text-align: center;
}

.contact__btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  min-width: 160px;
}

/* Neon Purple Tech Mode */
body.neon-purple-tech .contact__container {
  background-color: rgba(26, 16, 43, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

body.neon-purple-tech .contact__content {
  background: linear-gradient(135deg, rgba(26, 16, 43, 0.95), rgba(45, 27, 62, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 8px 32px rgba(10, 6, 18, 0.3);
}

body.neon-purple-tech .contact__header h1 {
  color: #EDE9FE;
  text-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

body.neon-purple-tech .contact__header p {
  color: #A78BFA;
  text-shadow: 0 1px 4px rgba(139, 92, 246, 0.2);
}

body.neon-purple-tech .contact__card {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.15);
}

body.neon-purple-tech .contact__card:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.25);
}

body.neon-purple-tech .contact__card-icon {
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
}

body.neon-purple-tech .contact__card-content h3 {
  color: #EDE9FE;
}

body.neon-purple-tech .contact__card-content p {
  color: #A78BFA;
}

body.neon-purple-tech .contact__link {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: #A78BFA;
}

body.neon-purple-tech .contact__link:hover {
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  color: white;
}

body.neon-purple-tech .contact__social h3 {
  color: #EDE9FE;
}

body.neon-purple-tech .social__link {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.15);
  color: #A78BFA;
}

body.neon-purple-tech .social__link:hover {
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  color: white;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact__section {
    margin: 120px auto;
  }

  .contact__container {
    width: 90%;
    padding: 48px 32px;
  }

  .contact__content {
    padding: 2.5rem 1.5rem;
    gap: 32px;
  }

  .contact__header p {
    font-size: 1.1rem;
    max-width: 650px;
  }

  .contact__cards {
    grid-template-columns: 1fr;
    max-width: 600px;
    gap: 24px;
  }

  .contact__card {
    padding: 24px 20px;
  }

  .contact__card-icon {
    width: 50px;
    height: 50px;
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .contact__section {
    margin: 80px auto;
    min-height: auto;
  }

  .contact__header {
    margin-bottom: 40px;
  }

  .contact__header h1 {
    font-size: 2.5rem;
  }

  .contact__container {
    width: 92%;
    padding: 32px 24px;
  }

  .contact__content {
    padding: 2rem 1rem;
    gap: 28px;
  }

  .contact__header p {
    font-size: 1.05rem;
    max-width: 550px;
  }

  .contact__cards {
    gap: 20px;
    margin-top: 24px;
  }

  .contact__card {
    padding: 20px 16px;
    gap: 16px;
  }

  .contact__card-icon {
    width: 48px;
    height: 48px;
    padding: 10px;
  }

  .contact__card-content h3 {
    font-size: 1.2rem;
  }

  .contact__card-content p {
    font-size: 0.95rem;
  }

  .social__links {
    gap: 16px;
  }

  .social__link {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .contact__header h1 {
    font-size: 2rem;
  }

  .contact__container {
    width: 95%;
    padding: 24px 16px;
  }

  .contact__content {
    padding: 1.5rem 0.5rem;
  }

  .contact__header p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .contact__card {
    padding: 16px 12px;
    gap: 12px;
  }

  .contact__card-icon {
    width: 44px;
    height: 44px;
    padding: 8px;
  }

  .contact__card-content h3 {
    font-size: 1.1rem;
  }

  .contact__card-content p {
    font-size: 0.9rem;
  }

  .contact__btn {
    padding: 14px 24px;
    font-size: 1rem;
    min-width: 140px;
  }

  .social__link {
    width: 40px;
    height: 40px;
  }
}
