/* Mobile-specific styles */
@media (max-width: 768px) {
  /* Logo mobile adjustments */
  .logo {
    gap: 0.25rem;
  }
  
  .logo a {
    font-size: 1.5rem;
  }
  
  .logo .full-name {
    font-size: 0.75rem;
    display: none; /* Hide full name on smaller screens */
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    padding: 60px 15px; /* Increased vertical padding for mobile */
  }
  
  .hero-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  
  .profile-avatar {
    margin: 0 auto;
  }
  
  .hero-title-container {
    width: 100%;
    align-items: center;
  }
  
  .hero-header {
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
    overflow: visible;
  }
  
  .pronunciation-btn {
    flex-shrink: 0;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .job-title-container {
    text-align: center;
    width: 100%;
  }
  
  .job-title {
    font-size: 0.9rem;
    white-space: normal;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    margin: 0;
    letter-spacing: 0.5px;
  }
  
  .hero-tagline {
    font-size: 1.1rem;
    margin-top: 10px;
  }
  
  /* Contact info container mobile layout */
  .contact-social-container {
    flex-direction: column;
    height: auto;
    padding: 15px;
    gap: 15px;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .info-item {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    padding: 5px 0;
  }
  
  .info-separator {
    display: none;
  }
  
  .info-item a,
  .info-item span {
    font-size: 0.9rem;
    text-align: left;
  }
  
  .social-links-inline {
    justify-content: center;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  
  /* Section adjustments for mobile */
  .main-section {
    padding: 80px 15px; /* Increased vertical padding from 15px to 80px for mobile */
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  /* About section mobile adjustments */
  #about .about-text {
    font-size: 1.15rem;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    max-width: 100%;
    padding-right: 0;
  }
  
  .about-content {
    max-width: 100%;
  }
  
  /* Stack items mobile layout */
  .stack-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
  
  /* Experience cards mobile layout */
  .position-card {
    padding: 15px;
  }
  
  .position-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .company-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .company-tag {
    margin-left: 0;
  }
  
  .position-details {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
  }
  
  /* Project cards mobile layout */
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .project-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .project-period {
    margin-top: 5px;
  }
  
  /* Theme toggle mobile styles */
  .theme-toggle-container {
    margin-left: 3px;
    padding: 2px;
    gap: 2px;
  }
  
  .theme-toggle-button {
    width: 30px;
    height: 30px;
  }
  
  .theme-toggle-button svg {
    width: 14px;
    height: 14px;
  }
  
  /* Resume button mobile styles */
  .resume-btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }
}
