/* =====================================================
   PORTFOLIO WEBSITE STYLES
   Clean, organized, and easy to maintain
   ===================================================== */

/* ===== 1. CSS VARIABLES ===== */
:root {
  /* Light mode colors */
  --primary-color: #2c2c2c;
  --accent-color: #374151;
  --accent-hover: #1f2937;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-light: #666;
  --background: #fafafa;
  --border-light: #e8e8e8;
  --card-background: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.06);
  --shadow-hover: rgba(0, 0, 0, 0.12);
  --subtle-bg: rgba(59, 130, 246, 0.02);
  --subtle-border: rgba(59, 130, 246, 0.08);
  --subtle-hover: rgba(59, 130, 246, 0.03);
  --gradient-1: rgba(120, 119, 198, 0.05);
  --gradient-2: rgba(255, 177, 153, 0.05);
}

/* Dark mode colors */
[data-theme="dark"] {
  --primary-color: #ffffff;
  --accent-color: #9ca3af;
  --accent-hover: #d1d5db;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-light: #9ca3af;
  --background: #121212;
  --border-light: #374151;
  --card-background: #1f1f1f;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --shadow-hover: rgba(0, 0, 0, 0.7);
  --subtle-bg: rgba(75, 85, 99, 0.1);
  --subtle-border: rgba(75, 85, 99, 0.2);
  --subtle-hover: rgba(75, 85, 99, 0.15);
  --gradient-1: rgba(75, 85, 99, 0.03);
  --gradient-2: rgba(107, 114, 128, 0.03);
}

/* ===== 2. RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--background);
  font-size: 16px;
  scroll-behavior: smooth;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Reserve space for images to reduce layout shift */
img[width][height] {
  height: auto;
  max-width: 100%;
}

a {
  transition: all 0.2s ease;
}

a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===== 2. BACKGROUND & LAYOUT ===== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      var(--gradient-1) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 80% 20%, var(--gradient-2) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
}

/* ===== 3. HEADER & PROFILE ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
}

.header::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.3;
}

.profile {
  flex: 1;
}

.profile-picture {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  transition: all 0.2s ease;
  border: 3px solid var(--border-light);
}

.profile-picture:hover {
  transform: scale(1.05);
  border-color: var(--accent-color);
}

.name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 400;
}

.location {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ===== 4. NAVIGATION ===== */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.social-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  position: relative;
  padding: 8px 0;
}

.social-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.2s ease;
}

.social-link:hover::after {
  width: 100%;
}

.social-link:hover {
  color: var(--accent-color);
}

.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  position: relative;
  padding: 8px 0;
  border-left: none;
  padding-left: 0;
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== 5. INTRODUCTION ===== */
.intro {
  margin-bottom: 60px;
  position: relative;
  padding: 40px 30px;
  background: var(--subtle-bg);
  border-radius: 12px;
  border: 1px solid var(--subtle-border);
}

.intro::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color);
  opacity: 0.3;
  border-radius: 2px;
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 650px;
  font-weight: 400;
}

/* ===== 5.5. INSPIRATIONAL QUOTE ===== */
.quote-section {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.inspirational-quote {
  text-align: center;
  padding: 50px 40px;
  margin: 0;
  position: relative;
  background: var(--subtle-bg);
  border-radius: 12px;
  border: 1px solid var(--subtle-border);
  max-width: 600px;
  width: 100%;
  transition: all 0.3s ease;
}

.inspirational-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--shadow-hover);
  border-color: var(--accent-color);
}

.inspirational-quote::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.2;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1;
}

.inspirational-quote::after {
  content: "\201D";
  position: absolute;
  bottom: -30px;
  right: 30px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.2;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1;
}

.quote-text {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--primary-color);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 20px 0;
  letter-spacing: 0.01em;
}

.quote-author {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 500;
  font-style: normal;
  opacity: 0.8;
  display: block;
}

/* ===== 6. SECTIONS ===== */
.section {
  margin-bottom: 60px;
  position: relative;
  scroll-margin-top: 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-icon {
  font-size: 20px;
  opacity: 0.7;
  color: var(--accent-color);
  transition: transform 0.2s ease;
}

.section-title:hover .section-icon {
  transform: translateX(5px);
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
}

/* ===== 7. PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  gap: 50px;
}

.project-card {
  padding: 30px;
  border: 1px solid var(--subtle-border);
  background: var(--subtle-bg);
  position: relative;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin-left: 30px;
}

.project-card::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0;
  width: 4px;
  height: 100%;
  background: #e8e8e8;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.project-card:hover {
  background: var(--subtle-hover);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.project-card:hover::before {
  background: var(--accent-color);
}

.project-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.project-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ===== PROJECT STATUS TAGS ===== */
.status-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  background: var(--accent-color);
  opacity: 0.9;
  transition: all 0.2s ease;
}

.status-tag:hover {
  opacity: 1;
  transform: scale(1.05);
}

.status-graduated {
  background: #059669;
}

.status-in-progress {
  background: #d97706;
}

.status-prototyping {
  background: #7c3aed;
}

/* ===== 8. TIMELINE SECTION ===== */
.timeline {
  display: grid;
  gap: 40px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 114px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: #e8e8e8;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  align-items: start;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 108px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--background);
  z-index: 1;
}

.timeline-date {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
  padding-top: 2px;
}

.timeline-content {
  transition: all 0.2s ease;
}

.timeline-content:hover {
  transform: translateX(5px);
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== 9. THINGS I LOVE SECTION ===== */
.loves-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.love-item {
  padding: 0;
  transition: all 0.2s ease;
}

.love-item:hover {
  transform: translateX(5px);
}

.love-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.love-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.loves-note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 10. SKILLS SECTION ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
}

.skill-category {
  padding: 0;
  transition: all 0.2s ease;
}

.skill-category:hover {
  transform: translateX(5px);
}

.skill-category-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-tag {
  background: none;
  color: var(--text-secondary);
  padding: 0;
  border: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: all 0.2s ease;
  cursor: default;
  text-align: left;
}

.skill-tag:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* ===== 11. CONTACT SECTION ===== */
.contact-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 50px;
  font-size: 1.15rem;
  max-width: 650px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 3px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.contact-link:hover {
  transform: translateY(-2px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-link:hover .contact-icon {
  transform: scale(1.05);
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.contact-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0;
}

/* Brand-specific icon styling */
.gmail-icon {
  background: #ea4335;
  color: white;
}

.linkedin-icon {
  background: #0077b5;
  color: white;
}

.github-icon {
  background: #333;
  color: white;
}

.twitter-icon {
  background: #000;
  color: white;
}

/* SVG icon styling */
.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-note {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 25px;
  font-style: italic;
  text-align: center;
}

/* ===== 12. FOOTER ===== */
.footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-light);
}

.footer p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
  justify-content: center;
}

.footer-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-color);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-note {
  font-size: 0.9rem;
  color: var(--text-light);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 15px;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* ===== 11. DARK MODE TOGGLE ===== */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--card-background);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-hover);
}

.theme-toggle-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-toggle-icon {
  transform: rotate(20deg);
}

/* Hide/show icons based on theme */
[data-theme="light"] .theme-toggle .dark-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .light-icon {
  display: none;
}

/* ===== 12. BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: var(--card-background);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--shadow-hover);
}

.back-to-top-icon {
  font-size: 18px;
  color: var(--accent-color);
  transition: transform 0.2s ease;
}

.back-to-top:hover .back-to-top-icon {
  transform: translateY(-2px);
}

/* ===== 13. RESPONSIVE DESIGN ===== */

/* Tablet styles */
@media (max-width: 768px) {
  .container {
    padding: 40px 16px;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 60px;
  }

  .social-links {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .name {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .main-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
  }

  .nav-link {
    padding: 8px 0;
    border-left: none;
    padding-left: 0;
    font-size: 1rem;
    text-align: left;
    min-width: auto;
    position: relative;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.2s ease;
  }

  .nav-link:hover {
    transform: none;
    background: transparent;
    color: var(--primary-color);
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .section {
    margin-bottom: 50px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .timeline::before {
    left: 79px;
  }

  .timeline-item {
    grid-template-columns: 65px 1fr;
    gap: 20px;
  }

  .timeline-item::before {
    left: 73px;
  }

  .loves-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .intro {
    padding: 30px 20px;
    margin-left: -16px;
    margin-right: -16px;
  }

  .inspirational-quote {
    padding: 35px 25px;
    margin-left: -16px;
    margin-right: -16px;
  }

  .inspirational-quote::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }

  .inspirational-quote::after {
    font-size: 3rem;
    bottom: -20px;
    right: 15px;
  }

  .quote-text {
    font-size: 1.2rem;
  }

  .project-card {
    padding: 20px;
    margin-left: 20px;
  }

  .project-card::before {
    left: -20px;
  }

  .status-tag {
    top: 15px;
    right: 15px;
    padding: 3px 10px;
    font-size: 0.7rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Skills responsive */
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Contact responsive */
  .contact-intro {
    font-size: 1.05rem;
    margin-bottom: 40px;
  }

  .contact-links {
    gap: 15px;
  }

  .contact-link {
    padding: 3px 2px;
    gap: 3px;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

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

  .contact-note {
    font-size: 0.9rem;
    margin-top: 30px;
  }

  /* Button responsive - tablet */
  .theme-toggle {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }

  .theme-toggle-icon {
    font-size: 18px;
  }

  .back-to-top {
    bottom: 25px;
    right: 15px;
    width: 45px;
    height: 45px;
  }

  .back-to-top-icon {
    font-size: 16px;
  }
}

/* Mobile styles */
@media (max-width: 480px) {
  .container {
    padding: 30px 16px;
  }

  .profile-picture {
    width: 120px;
    height: 120px;
  }

  .name {
    font-size: 1.8rem;
  }

  .intro-text {
    font-size: 1.1rem;
  }

  .inspirational-quote {
    padding: 30px 20px;
  }

  .inspirational-quote::before {
    font-size: 2.5rem;
    top: 0px;
    left: 10px;
  }

  .inspirational-quote::after {
    font-size: 2.5rem;
    bottom: -15px;
    right: 10px;
  }

  .quote-text {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .quote-author {
    font-size: 0.9rem;
  }

  .status-tag {
    top: 12px;
    right: 12px;
    padding: 2px 8px;
    font-size: 0.65rem;
  }

  .main-nav {
    gap: 15px;
    margin-bottom: 30px;
  }

  .nav-link {
    padding: 6px 0;
    font-size: 1rem;
    min-width: auto;
  }

  .timeline {
    gap: 30px;
  }

  .timeline::before {
    left: 44px;
  }

  .timeline-item {
    grid-template-columns: 30px 1fr;
    gap: 15px;
  }

  .timeline-item::before {
    left: 38px;
  }

  .timeline-date {
    writing-mode: vertical-rl;
    font-size: 0.8rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  /* Skills mobile responsive */
  .skills-grid {
    gap: 35px;
  }

  .skill-category-title {
    font-size: 1.1rem;
  }

  .skill-tag {
    font-size: 0.95rem;
  }

  /* Contact mobile responsive */
  .contact-intro {
    font-size: 1rem;
    margin-bottom: 35px;
    line-height: 1.6;
    text-align: left;
  }

  .contact-links {
    gap: 12px;
  }

  .contact-link {
    padding: 2px 1px;
    gap: 3px;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
  }

  .contact-icon svg {
    width: 16px;
    height: 16px;
  }

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

  .contact-note {
    font-size: 0.85rem;
    margin-top: 25px;
  }

  /* Button responsive - mobile */
  .theme-toggle {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .theme-toggle-icon {
    font-size: 16px;
  }

  .back-to-top {
    bottom: 20px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .back-to-top-icon {
    font-size: 14px;
  }
}

/* ===== 13. ACCESSIBILITY & INTERACTIONS ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Touch device interactions */
.social-link:active,
.nav-link:active,
.footer-link:active {
  transform: scale(0.98);
}

/* Focus styles for better accessibility */
@media (max-width: 768px) {
  a:focus,
  button:focus {
    outline: 3px solid #2c2c2c;
    outline-offset: 2px;
    border-radius: 4px;
  }
}

/* Header transitions */
.header {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.active-nav {
  position: relative;
}

@media (max-width: 768px) {
  .active-nav::after {
    width: 100% !important;
  }
}

/* ===== 14. PRINT STYLES ===== */
@media print {
  body {
    background: var(--background);
    color: var(--text-primary);
  }

  .social-links,
  .main-nav,
  .footer-links {
    display: none;
  }

  body::before {
    display: none;
  }
}
