/* Tablets (768px and down) */
@media (max-width: 768px) {
    .nav-bar {
        padding: 0.75rem;
    }

    .nav-container {
        padding: 0 0.5rem;
    }

    .nav-language-select {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .nav-blog-link {
        font-size: 0.9rem;
    }

    .header__title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .header__subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .header__image {
        max-height: 30vh;
        margin: 0.5rem 0;
    }

    .tech-stack__icons {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 1.5rem;
    }

    .tech-stack__icon {
        width: 40px;
        height: 40px;
    }
}

/* Mobile (480px and down) */
@media (max-width: 480px) {
    .header__title {
        font-size: 1.2rem;
    }

    .header__subtitle {
        font-size: 1rem;
    }

    .header {
        padding: 3rem 0.5rem 1rem;
    }

    .nav-language-select {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .nav-blog-link {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .main-content {
        width: 95%;
        padding: 1rem 0.5rem;
    }

    .tech-stack__icons {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 1rem;
    }

    .tech-stack__icon {
        width: 32px;
        height: 32px;
    }

    .contact__links {
        gap: 1.5rem;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    .main-content {
        max-width: 1400px;
    }

    .tech-stack__icons {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Print styles */
@media print {
    .nav-bar {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}