/* ========================================
   JEETISM PORTFOLIO — RESPONSIVE STYLES
   ======================================== */

/* ---------- LARGE TABLET (max 1024px) ---------- */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        max-width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Timeline collapses to single column */
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 20px !important;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
}

/* ---------- TABLET / MOBILE (max 768px) ---------- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-name {
        font-size: 3rem;
    }

    .hero-greeting {
        font-size: 1rem;
    }

    .hero-role {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero-avatar-wrapper {
        width: 220px;
        height: 220px;
    }

    .about-img-content {
        width: 280px;
        height: 320px;
    }

    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .contact-form {
        padding: 24px;
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 100px 0 60px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-subtitle {
        font-size: 1.3rem;
    }

    .contact-subtitle {
        font-size: 1.4rem;
    }

    .floating-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ---------- SMALL MOBILE (max 480px) ---------- */
@media (max-width: 480px) {
    .hero-name {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 80px 0 60px;
    }

    .loader-text span {
        font-size: 2rem;
    }

    .hero-icon {
        font-size: 3rem;
    }

    .about-icon {
        font-size: 5rem;
    }

    .about-img-content {
        width: 240px;
        height: 280px;
    }

    .experience-badge {
        bottom: -15px;
        right: -10px;
        padding: 12px;
    }

    .exp-number {
        font-size: 1.5rem;
    }

    .skill-card {
        padding: 20px;
    }

    .project-image {
        height: 180px;
    }

    .project-info {
        padding: 18px;
    }

    .timeline-card {
        padding: 20px;
    }

    .mobile-link {
        font-size: 1.4rem;
    }
}

/* ---------- DISABLE CUSTOM CURSOR ON TOUCH ---------- */
@media (hover: none) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* ---------- REDUCE MOTION PREFERENCE ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .glitch::before,
    .glitch::after {
        display: none;
    }
}
