/* Responsive Design Adjustments */

/* General Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .row {
        padding-left: 5%;
        padding-right: 5%;
    }

    .intro {
        padding-left: 10%;
    }
}

/* Tablet View */
@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .toolbar .container {
        padding: 0 20px;
    }

    /* Landing Section */
    #landing {
        flex-direction: column;
        padding: 20px;
        height: auto;
        text-align: center;
    }

    .intro {
        padding-left: 0;
        margin-bottom: 20px;
    }

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Sections */
    .row {
        padding-left: 3%;
        padding-right: 3%;
    }

    /* Menu */
    .menu-content {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .menu-content a {
        padding: 15px;
        text-align: center;
    }

    /* Social Icons */
    .social-icons-container {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile View */
@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .toolbar .container {
        padding: 0 10px;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.9rem;
    }

    .project-tags {
        gap: 5px;
    }

    .project-tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    /* Adjust padding and margins */
    section {
        margin-bottom: 50px;
    }

    .row {
        padding-left: 2%;
        padding-right: 2%;
    }

    /* Fine-tune responsive elements */
    .btn-full {
        padding: 8px 20px;
    }
}

/* Ultrawide and Large Screens */
@media screen and (min-width: 1440px) {
    .row {
        max-width: 1280px;
        margin: 0 auto;
    }

    .container {
        max-width: 1280px;
        margin: 0 auto;
    }
}

/* Prevent text from becoming too wide on very large screens */
@media screen and (min-width: 1800px) {
    .row {
        max-width: 1400px;
    }

    body {
        font-size: 22px;
    }
}