/* ============================================
   RESPONSIVE CSS
   ============================================ */
@media (max-width: 1200px) { .hero-title { font-size: 3rem; } }

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-subtitle { align-items: center; }
    .hero-buttons { justify-content: center; }
    .hero-visual { order: -1; }
    .avatar-wrapper { width: 300px; height: 300px; }
    .avatar-main { width: 160px; height: 160px; }
    .avatar-initials { font-size: 3rem; }
    .avatar-ring { width: 260px; height: 260px; }
    .avatar-ring-2 { width: 290px; height: 290px; }
    .avatar-ring-3 { width: 320px; height: 320px; }
    .stats-row { grid-template-columns: repeat(2,1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .timeline::before { right: 20px; }
    .timeline-item { width: 100%; padding-right: 3rem !important; padding-left: 0 !important; }
    .timeline-item:nth-child(odd) .timeline-marker, .timeline-item:nth-child(even) .timeline-marker { right: -1px; left: auto; }
    
    /* Portfolio responsive */
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-image { height: 220px; }
    
    .mobile-menu-btn { display: flex; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .nav-links { 
        position: fixed; top: 70px; right: -100%; width: 300px; height: calc(100vh - 70px); 
        background: rgba(9,9,11,0.98); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); 
        flex-direction: column; padding: 2rem; transition: right 0.3s; gap: 1.5rem; 
        border-left: 1px solid var(--border-light); 
    }
    .nav-links.active { right: 0; }
}

@media (max-width: 576px) {
    .container { padding: 0 1rem; }
    .hero-title { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .stat-card { padding: 1.2rem; }
    .stat-number { font-size: 1.8rem; }
    .skill-card { flex-direction: column; text-align: center; }
    .skill-icon-box { margin: 0 auto; }
    .about-card { padding: 1.5rem; }
    .contact-form { padding: 1.5rem; }
    
    /* Portfolio mobile */
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-image { height: 200px; }
    .portfolio-filter { gap: 0.4rem; }
    .filter-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
}