/* Main Styles - Clean White Theme */
:root {
  --primary-color: #333333;
  --secondary-color: #666666;
  --accent-color: #000000;
  --bg-light: #ffffff;
  --bg-lighter: #fafafa;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --border-light: #e0e0e0;
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Inter', -apple-system</small>, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  /* Reserve space for scrollbar to prevent layout shift */
  overflow-y: scroll;
}

body {
  font-family: var(--font-secondary);
  background: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  display: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

.section {
  min-height: 100vh;
  padding: 100px 0;
  display: none;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--primary-color);
}

.glass-effect {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.3s ease;
}

.glass-effect:hover {
  box-shadow: var(--shadow-hover);
}

.cyber-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.glitch-text {
  display: block;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.name-highlight {
  color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cyber-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .cyber-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

.avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Centers the image */
    border-radius: 50%; /* Makes it circular if needed */
}

/* Disable scrolling when intro section is active */
/* body:has(.section#intro.active) {
    overflow: hidden;
    height: 100vh;
} */

/* Ensure intro section takes full viewport */
#intro.section {
    height: 100vh;
}

/* Prevent scrolling when intro is active using JavaScript instead */
body.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}
