/* ==========================================================================
   CSS Custom Properties & Variables
   ========================================================================== */

:root {
  /* Color System - Cyberpunk/Hacker Theme */
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --text: #00ff41;
  --text-secondary: #ffffff;
  --text-muted: #888888;
  --primary: #00ff41;
  --primary-hover: #00cc33;
  --accent: #ff0080;
  --accent-hover: #cc0066;
  --accent-secondary: #00ffff;
  --border: #333333;
  --shadow: rgba(0, 255, 65, 0.2);
  --shadow-hover: rgba(0, 255, 65, 0.4);
  --glow: rgba(0, 255, 65, 0.5);

  /* Typography - Monospace for hacker aesthetic */
  --font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  --font-family-display: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing Scale (4/8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Container */
  --container-max-width: 1200px;
  --container-padding: var(--space-4);

  /* Breakpoints */
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
}

/* Enhanced Dark Theme for all users - Cyberpunk style */
@media (prefers-color-scheme: light) {
  :root {
    /* Override light theme to maintain hacker aesthetic */
    --bg: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text: #00ff41;
    --text-secondary: #ffffff;
    --text-muted: #888888;
    --border: #333333;
  }
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Matrix-style hacker terminal background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 19px,
      rgba(0, 255, 65, 0.1) 20px,
      rgba(0, 255, 65, 0.05) 21px,
      transparent 22px,
      transparent 39px,
      rgba(0, 255, 65, 0.08) 40px,
      rgba(0, 255, 65, 0.03) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 39px,
      rgba(0, 255, 65, 0.02) 40px,
      transparent 41px
    );
  animation: matrix-fall 8s linear infinite;
  pointer-events: none;
  z-index: -1;
}

/* Matrix rain animation */
@keyframes matrix-fall {
  0% { transform: translateY(-100vh); }
  100% { transform: translateY(100vh); }
}

/* Terminal logs background with external file */
.terminal-logs {
  background: #000;
  color: #0f0;
  font-family: monospace;
  white-space: pre-wrap;   /* preserve formatting */
  overflow-y: hidden;      /* hide scrollbar for background */
  height: 100vh;           /* full screen */
  padding: 1rem;
  opacity: 0.15;           /* subtle background effect */
  position: fixed;
  inset: 0;                /* cover whole background */
  z-index: -1;             /* behind all content */
}


@keyframes terminal-scroll {
  0% { transform: translateY(100vh); }
  100% { transform: translateY(-300vh); }
}

@keyframes matrix-glow {
  0% { opacity: 0.3; }
  100% { opacity: 0.1; }
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-xl);
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

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

/* ==========================================================================
   Layout Components
   ========================================================================== */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section__title {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  text-shadow: 0 0 10px var(--glow);
}

.section__title::before {
  content: '// ';
  color: var(--text-muted);
  font-size: var(--font-size-lg);
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 10px var(--glow);
}

/* ==========================================================================
   Skip Link (Accessibility)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px var(--shadow);
  z-index: 100;
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--container-padding);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.nav__logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text);
  text-shadow: 0 0 10px var(--glow);
  position: relative;
}

.nav__logo::before {
  content: '> ';
  color: var(--accent);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-6);
}

.nav__link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav__link:hover {
  color: var(--primary);
  text-shadow: 0 0 8px var(--glow);
}

.nav__link::before {
  content: '[';
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__link::after {
  content: ']';
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__link:hover::before,
.nav__link:hover::after {
  opacity: 1;
}

/* Active section highlighting using :target */
:target {
  scroll-margin-top: 80px;
}

/* ==========================================================================
   Button Components
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-family);
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--shadow);
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--shadow-hover);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--secondary:hover {
  background: var(--accent);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(17, 17, 17, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 65, 0.02) 0%,
    transparent 50%,
    rgba(255, 0, 128, 0.02) 100%
  );
  animation: hero-pulse 8s ease-in-out infinite alternate;
}

@keyframes hero-pulse {
  0% { opacity: 0.3; }
  100% { opacity: 0.7; }
}

.hero__content {
  display: grid;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px var(--glow);
  position: relative;
  animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from { filter: drop-shadow(0 0 10px var(--glow)); }
  to { filter: drop-shadow(0 0 20px var(--glow)); }
}

.hero__title::before {
  content: '$ whoami\A> ';
  white-space: pre;
  font-size: var(--font-size-sm);
  color: var(--accent);
  position: absolute;
  top: -30px;
  left: 0;
  opacity: 0.8;
  font-family: var(--font-family);
}

.hero__role {
  font-size: var(--font-size-2xl);
  color: var(--accent-secondary);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.hero__role::before {
  content: '// ';
  color: var(--text-muted);
}

.hero__tagline {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 600px;
  font-style: italic;
  font-family: var(--font-family);
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 30% 20%;
  border: 3px solid var(--primary);
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 
    0 0 20px var(--shadow),
    inset 0 0 20px rgba(0, 255, 65, 0.1);
  position: relative;
}

.hero__photo:hover {
  transform: scale(1.05);
  box-shadow: 
    0 0 40px var(--shadow-hover),
    inset 0 0 40px rgba(0, 255, 65, 0.2);
  border-color: var(--accent);
}

.hero__photo::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero__photo:hover::before {
  opacity: 1;
}

@media (min-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr 300px;
  }
  
  .hero__title {
    font-size: var(--font-size-5xl);
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
  padding: var(--space-20) 0;
}

.about__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about__description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.about__highlights {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  text-align: left;
}

.about__highlight {
  padding-left: var(--space-6);
  position: relative;
  color: var(--text-secondary);
}

.about__highlight::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

@media (min-width: 768px) {
  .about__highlights {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Skills Section
   ========================================================================== */

.skills {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
  position: relative;
}

.skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 49%, rgba(0, 255, 65, 0.05) 50%, transparent 51%);
  background-size: 20px 20px;
}

.skills__grid {
  display: grid;
  gap: var(--space-8);
}

.skills__category {
  text-align: center;
}

.skills__category-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-6);
  color: var(--text);
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.skill-tag {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 0;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.skill-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transition: left 0.5s ease;
  opacity: 0.2;
}

.skill-tag:hover::before {
  left: 100%;
}

.skill-tag:hover {
  background: var(--primary);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--shadow);
  border-color: var(--primary);
}

@media (min-width: 768px) {
  .skills__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .skills__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   Experience Section
   ========================================================================== */

.experience {
  padding: var(--space-20) 0;
}

.experience__list {
  max-width: 900px;
  margin: 0 auto;
}

.experience__item {
  background: var(--bg-card);
  border-radius: 0;
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.experience__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.experience__item:hover::before {
  transform: scaleX(1);
}

.experience__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow);
  border-left-color: var(--accent);
}

.experience__header {
  margin-bottom: var(--space-6);
}

.experience__role {
  font-size: var(--font-size-xl);
  color: var(--text);
  margin-bottom: var(--space-1);
}

.experience__company {
  font-size: var(--font-size-lg);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.experience__dates {
  color: var(--text-secondary);
  font-weight: 500;
}

.experience__location {
  color: var(--muted);
  font-size: var(--font-size-sm);
}

.experience__achievements {
  list-style: none;
}

.experience__achievements li {
  margin-bottom: var(--space-3);
  padding-left: var(--space-6);
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}

.experience__achievements li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

@media (min-width: 768px) {
  .experience__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Education Section
   ========================================================================== */

.education {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
}

.education__list {
  max-width: 900px;
  margin: 0 auto;
}

.education__item {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.education__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.education__header {
  margin-bottom: var(--space-4);
}

.education__degree {
  font-size: var(--font-size-xl);
  color: var(--text);
  margin-bottom: var(--space-1);
}

.education__institution {
  font-size: var(--font-size-lg);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.education__dates {
  color: var(--text-secondary);
  font-weight: 500;
}

.education__location,
.education__gpa {
  color: var(--muted);
  font-size: var(--font-size-sm);
}

.education__description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .education__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Achievements Section
   ========================================================================== */

.achievements {
  padding: var(--space-20) 0;
}

.achievements__list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-6);
}

.achievement__item {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.achievement__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.achievement__title {
  font-size: var(--font-size-lg);
  color: var(--text);
  margin-bottom: var(--space-3);
}

.achievement__description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .achievements__list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(17, 17, 17, 0.95) 100%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(0, 255, 65, 0.02) 50%, transparent 60%);
  background-size: 40px 40px;
}

.contact__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact__description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-12);
  line-height: 1.7;
}

.contact__info {
  display: grid;
  gap: var(--space-6);
  text-align: left;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--bg-card);
  padding: var(--space-6);
  border-radius: 0;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

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

.contact__item:hover::before {
  left: 100%;
}

.contact__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--shadow);
  border-left-color: var(--accent);
}

.contact__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #000000;
  border-radius: 0;
  flex-shrink: 0;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.contact__icon svg {
  width: 24px;
  height: 24px;
}

.contact__item:hover .contact__icon {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 0 15px var(--shadow);
}

.contact__details {
  display: flex;
  flex-direction: column;
}

.contact__label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.contact__link {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.contact__link:hover {
  color: var(--primary);
  text-shadow: 0 0 8px var(--glow);
}

@media (min-width: 768px) {
  .contact__info {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0;
  text-align: center;
}

.footer__text {
  color: var(--muted);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  * {
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }

  .header,
  .footer,
  .hero__actions,
  .nav {
    display: none;
  }

  .hero {
    padding: 0;
    page-break-after: avoid;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero__photo {
    width: 150px;
    height: 150px;
    margin: 0;
  }

  .section__title {
    font-size: 16pt;
    margin-bottom: var(--space-4);
    page-break-after: avoid;
  }

  .section__title::after {
    display: none;
  }

  .experience__item,
  .education__item,
  .achievement__item {
    background: transparent;
    border: 1px solid #ddd;
    margin-bottom: var(--space-4);
    page-break-inside: avoid;
  }

  .experience__item:hover,
  .education__item:hover,
  .achievement__item:hover {
    transform: none;
    box-shadow: none;
  }

  .skills {
    background: transparent;
  }

  .skill-tag {
    background: transparent;
    border: 1px solid #ddd;
  }

  .contact__description {
    display: none;
  }

  .contact__info {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }

  .contact__item {
    background: transparent;
    border: none;
    padding: var(--space-2);
  }

  .contact__icon {
    display: none;
  }
}

/* ==========================================================================
   Responsive Navigation (Mobile)
   ========================================================================== */

@media (max-width: 767px) {
  .nav__list {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: var(--space-4);
    gap: var(--space-2);
    display: none;
  }

  .nav__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav__list {
    display: flex;
    width: 100%;
    margin-top: var(--space-4);
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

/* ==========================================================================
   Focus Styles for Accessibility
   ========================================================================== */

button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: #000000;
    --shadow: rgba(0, 0, 0, 0.5);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
