/* Professional Portfolio Styles */

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1f2937;
  line-height: 1.6;
}

/* Responsive Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p {
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Button Styles */
button {
  cursor: pointer;
  font-family: inherit;
}

/* Form Styles */
input,
textarea {
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  main {
    max-width: 100%;
    padding: 1rem;
  }

  .all-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  h3 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
  }

  .side-section {
    display: none;
  }

  header {
    position: static;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1f2937;
    color: #f3f4f6;
  }

  input,
  textarea {
    background-color: #374151;
    color: #f3f4f6;
    border-color: #4b5563;
  }
}