/* Contact Section */
.contact-section {
  width: 100%;
  min-height: 100vh;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(255, 105, 180, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(255, 20, 147, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #ff69b4, #ff1493);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
}

.contact-subtitle {
  font-size: 0.9rem;
  color: #666;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 700px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 105, 180, 0.1);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 105, 180, 0.3);
  background: rgba(255, 105, 180, 0.03);
  box-shadow: 0 10px 30px rgba(255, 20, 147, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 105, 180, 0.1),
    rgba(255, 20, 147, 0.1)
  );
  border-radius: 50%;
  font-size: 2rem;
  color: #ff69b4;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

.contact-card h3 {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.contact-link {
  color: #999;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  word-break: break-word;
}

.contact-link:hover {
  color: #ff69b4;
}

.contact-cta {
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 105, 180, 0.1);
  border-radius: 16px;
  max-width: 100%;
  width: 50%;
  margin: 0 auto;
}

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

.form-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 1rem;
}

.form-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  color: #e0e0e0;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: #ff69b4;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff69b4;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #00cc88, #00aa70);
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 204, 136, 0.2);
  cursor: pointer;
  width: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 204, 136, 0.4);
  background: linear-gradient(135deg, #00dd99, #00bb80);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
}

.form-message.success {
  background: rgba(0, 204, 136, 0.1);
  border: 1px solid rgba(0, 204, 136, 0.3);
  color: #00cc88;
  display: block;
}

.form-message.error {
  background: rgba(255, 69, 69, 0.1);
  border: 1px solid rgba(255, 69, 69, 0.3);
  color: #ff4545;
  display: block;
}

/* Contact Form Notice for GitHub Pages */
.contact-form-notice {
  padding: 2rem;
  background: rgba(255, 105, 180, 0.05);
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 12px;
  text-align: center;
}

.contact-form-notice p {
  color: #999;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.contact-form-notice p:first-child {
  color: #e0e0e0;
}

.contact-form-notice strong {
  color: #ff69b4;
  font-weight: 600;
}

/* Footer */
.footer {
  background: #000;
  border-top: 1px solid rgba(255, 105, 180, 0.1);
  padding: 2rem;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-text {
  color: #666;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.heart {
  color: #ff1493;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Scroll Animations */
.contact-header,
.contact-card,
.contact-cta {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.contact-header.animate-in,
.contact-card.animate-in,
.contact-cta.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    padding: 100px 1.5rem 1.5rem;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .contact-header {
    margin-bottom: 2.5rem;
  }

  .form-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 1.8rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
}
