/* SF Mono font stack for Xcode-like appearance */

/* Animation delays for staggered entrance */
.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-link:nth-child(3) { animation-delay: 0.3s; }
.hero-text { animation-delay: 0.6s; }

/* Enhanced Typewriter Animation */
.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #d4d4d4;
  width: 0;
  opacity: 0;
  animation: typing 1.2s steps(20, end) forwards, blink-caret 0.6s step-end infinite, fadeIn 0.2s ease-in forwards;
}

.typing-text.line-1 {
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

.typing-text.line-2 {
  animation-delay: 2s;
  animation-fill-mode: both;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #d4d4d4; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Hide cursor after typing is complete */
.typing-text.line-1.complete,
.typing-text.line-2.complete {
  border-right: none;
}

/* About Section Styles */
.about-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* Bio Text - Largest and boldest for highest hierarchy */
.bio-text {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* Experience Text - Medium size for secondary hierarchy */
.experience-text {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
}

/* Footnote - Smallest text for lowest hierarchy */
.bio-footnote {
  font-size: 0.875rem;
  font-weight: 300;
  font-style: italic;
}

/* Profile Image Container */
.profile-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.profile-image {
  width: 280px;
  height: 350px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.profile-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
/* Responsive adjustments */
@media (max-width: 1024px) {
  .about-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .bio-text {
    font-size: clamp(1.125rem, 4vw, 1.5rem);
  }
  
  .experience-text {
    font-size: clamp(0.875rem, 3vw, 1rem);
  }
  
  .profile-image {
    width: 240px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 1.5rem 0;
  }
  
  .bio-text {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .experience-text {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .profile-image {
    width: 200px;
    height: 250px;
  }
}

/* Contact Section Styles */
.contact-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-container {
  margin-bottom: 3rem;
}

.contact-email {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.email-link:hover .arrow-icon {
  transform: translateX(8px);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background-color: rgba(252, 95, 163, 0.1);
}

/* Responsive adjustments for contact */
@media (max-width: 768px) {
  .contact-section {
    min-height: 50vh;
    padding: 2rem 0;
  }
  
  .email-container {
    margin-bottom: 2rem;
  }
  
  .social-links {
    gap: 1.5rem;
  }
  
  .social-link {
    padding: 0.5rem;
  }
}

/* Work Section Styles */
.work-section {
  min-height: 100vh;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Mobile Apps Portfolio */
.apps-portfolio {
  margin-bottom: 5rem;
}

.app-row {
  margin-bottom: 4rem;
}

.app-item {
  padding: 1rem;
}

.app-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.app-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.app-tech {
  font-size: 0.8rem;
  opacity: 0.7;
}

.mobile-frame {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border: 1px solid #333;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 200px;
  height: 400px;
}

.mobile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.mobile-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Music Portfolio */
.music-portfolio {
  margin-top: 4rem;
}

.single-item {
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.single-item:hover {
  background-color: rgba(252, 95, 163, 0.05);
  transform: translateX(5px);
}

.single-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.single-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.single-meta {
  font-size: 0.8rem;
  opacity: 0.7;
}

.album-artwork {
  transition: transform 0.3s ease;
}

.single-item:hover .album-artwork {
  transform: scale(1.05);
}

/* Responsive adjustments for work section */
@media (max-width: 1024px) {
  .work-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .apps-portfolio {
    margin-bottom: 3rem;
  }
  
  .app-row {
    text-align: center;
    margin-bottom: 3rem;
    gap: 2rem;
  }
  
  .app-item {
    text-align: center !important;
  }
  
  .mobile-frame {
    margin: 1rem 0;
    width: 180px;
    height: 360px;
  }
  
  .single-item {
    text-align: center;
  }
  
  .single-info {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .work-section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  
  .app-row {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .app-title,
  .single-title {
    font-size: 1.125rem;
  }
  
  .app-description,
  .single-description {
    font-size: 0.875rem;
  }
  
  .mobile-frame {
    width: 160px;
    height: 320px;
    margin: 0.5rem 0;
  }
  
  .single-item {
    gap: 1rem;
  }
  
  .album-artwork img {
    width: 80px !important;
    height: 80px !important;
  }
}