

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }


    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

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

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

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .image-wrapper {
        max-width: 350px;
    }


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




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


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


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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }


    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
    }


    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .floating-card {
        font-size: 11px;
        padding: 8px 12px;
    }

    .card-1 { left: 0; top: 5%; }
    .card-2 { right: 0; top: 50%; }
    .card-3 { left: 5%; bottom: 5%; }


    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }




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


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

    .interest-card {
        aspect-ratio: 4/3;
    }


    .filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }


    .contact-form {
        padding: 28px 24px;
    }


    .image-wrapper {
        max-width: 280px;
    }


    .scroll-down {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-tag {
        font-size: 11px;
    }


    .project-content,
    .skill-card,
    .contact-form {
        padding: 24px 20px;
    }

    .info-card {
        padding: 16px;
    }


    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }


    .footer {
        padding: 30px 0;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 28px;
    }

    .image-wrapper {
        max-width: 240px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .scroll-down {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-card,
    .badge-dot {
        animation: none !important;
    }
}

@media (prefers-color-scheme: dark) {




}

@media print {
    .navbar,
    .scroll-down,
    .back-to-top,
    .floating-card,
    .contact-form,
    .filters,
    .projects-footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        page-break-after: always;
    }

    .project-card,
    .skill-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
