/* TABLET AND SMALL DESKTOP */
@media screen and (max-width: 1200px) {
    #desktop-nav {
        display: none;
    }
    #hamburger-nav {
        display: flex;
    }
    
    section {
        margin: 0 5rem;
    }
    
    .nav-links {
        font-size: 1.5rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .section__text__p2 {
        font-size: 1.8rem;
    }
    
    .experience-sub-title {
        font-size: 1.8rem;
    }
    
    .project-title {
        font-size: 1.6rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
}

/* TABLET */
@media screen and (max-width: 900px) {
    section {
        margin: 0 3rem;
    }
    
    #profile {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        height: auto;
        padding-bottom: 4rem;
    }
    
    .section__pic-container {
        width: 300px;
        height: 300px;
    }
    
    .about-containers {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .experience-details-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .details-container {
        max-width: none;
        flex: none;
    }
    
    .arrow {
        right: -3rem;
    }
}

/* MOBILE */
@media screen and (max-width: 600px) {
    section {
        margin: 0 1rem;
        padding-top: 2vh;
        height: auto;
        min-height: 80vh;
    }
    
    nav {
        height: 15vh;
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hamburger-icon {
        height: 20px;
        width: 24px;
    }
    
    .menu-links a {
        font-size: 1.2rem;
        padding: 15px 20px;
    }
    
    .menu-links {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin-top: 10px;
    }
    
    /* Profile Section */
    #profile {
        gap: 1rem;
        padding-bottom: 2rem;
    }
    
    .section__pic-container {
        width: 250px;
        height: 250px;
    }
    
    .title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section__text__p1 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .section__text__p2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-container {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    #socials-container {
        margin-top: 1.5rem;
        gap: 1.5rem;
    }
    
    .icon {
        height: 1.8rem;
    }
    
    /* About Section */
    .about-containers {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .details-container {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .about-text {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-top: 1rem;
    }
    
    .arrow {
        display: none; /* Hide arrows on mobile for cleaner look */
    }
    
    /* Experience Section */
    .experience-sub-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .experience-details-container {
        padding: 0;
        gap: 1rem;
    }
    
    .article-container {
        gap: 0.8rem;
    }
    
    article .icon {
        width: 1.2rem;
        height: 1.2rem;
        margin-right: 1rem;
    }
    
    article h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    /* Projects Section */
    .project-title {
        font-size: 1.8rem;
    }
    
    .project-description {
        font-size: 0.9rem;
        margin: 0.5rem 0.5rem 1rem 0.5rem;
        line-height: 1.4;
    }
    
    .project-title-link {
        margin: 0.8rem 0.5rem;
    }
    
    /* Contact Section */
    #contact {
        height: auto;
        padding-bottom: 3rem;
    }
    
    .contact-info-upper-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .contact-info-container {
        margin: 0.8rem 0;
        gap: 0.8rem;
    }
    
    .contact-info-container p {
        font-size: 0.9rem;
    }
    
    .email-icon {
        height: 2rem;
    }
    
    /* Footer */
    footer {
        height: auto;
        padding: 2rem 0;
        margin: 0;
    }
    
    footer .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        font-size: 1rem;
    }
    
    footer p {
        margin-top: 1rem;
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}

/* SMALL MOBILE */
@media screen and (max-width: 400px) {
    section {
        margin: 0 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .title {
        font-size: 1.7rem;
    }
    
    .section__text__p2 {
        font-size: 1.1rem;
    }
    
    .section__pic-container {
        width: 200px;
        height: 200px;
    }
    
    .btn {
        width: 180px;
        font-size: 0.85rem;
    }
    
    .details-container {
        padding: 0.8rem;
    }
    
    .experience-sub-title {
        font-size: 1.1rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    article h3 {
        font-size: 0.8rem;
    }
    
    .project-description {
        font-size: 0.8rem;
    }
}