/* Contact Page Styles */
:root {
  --linkedin-blue: #0077B5;
  --github-black: #333333;
  --mobylmenu-blue: #0062FF;
  --instagram-gradient: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --background-light: #f8f9fa;
  --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
}

.contact-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

.contact-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
}

.profile-section {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.profile-info h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.profile-info .title {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}

.profile-info .location {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 1rem 0;
}

.profile-info .email {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  color: white;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.social-link:active {
  transform: translateY(0);
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  flex-shrink: 0;
}

.social-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.social-platform {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.social-handle {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 400;
}

/* Platform-specific colors */
.linkedin {
  background: var(--linkedin-blue);
}

.github {
  background: var(--github-black);
}

.contxt {
  background: var(--mobylmenu-blue);
}

.platefullai {
  background: #ff6b6b;
}

.threads {
  background: #000000;
}

.instagram {
  background: var(--instagram-gradient);
}

.cta-section {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem 0;
  font-weight: 500;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-container {
    padding: 1rem 0.5rem;
  }
  
  .contact-header {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-header h1 {
    font-size: 2rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
  }
  
  .contact-content {
    padding: 1.5rem;
  }
  
  .profile-info h2 {
    font-size: 1.5rem;
  }
  
  .social-link {
    padding: 1rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-platform {
    font-size: 1rem;
  }
  
  .social-handle {
    font-size: 0.85rem;
  }
  
  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 0.5rem;
  }
  
  .contact-header {
    padding: 1rem;
  }
  
  .contact-header h1 {
    font-size: 1.75rem;
  }
  
  .contact-content {
    padding: 1rem;
  }
  
  .social-link {
    padding: 0.875rem;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
    margin-right: 0.75rem;
  }
  
  .profile-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .social-links {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .social-link::before,
  .cta-button::before {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .contact-header,
  .contact-content {
    background: white;
    border: 2px solid var(--text-primary);
  }
  
  .social-link {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Focus styles for keyboard navigation */
.social-link:focus,
.cta-button:focus {
  outline: 3px solid #4A90E2;
  outline-offset: 2px;
}

/* Project Showcase Styles */
.project-showcase {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-medium);
  border-left: 4px solid;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.project-showcase:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.project-showcase.platefullai {
  border-left-color: #ff6b6b;
}

.project-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.project-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 1rem 0;
  font-weight: 500;
}

.project-description p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  background: #ff6b6b;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
}

/* Loading animation for smooth page transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-container > * {
  animation: fadeInUp 0.6s ease-out;
}

.contact-header {
  animation-delay: 0.1s;
}

.contact-content {
  animation-delay: 0.2s;
}

.social-links {
  animation-delay: 0.3s;
}

.cta-section {
  animation-delay: 0.5s;
}