/* ==========================================
   NAVIGATION RESPONSIVE
   ========================================== */

/* Desktop default */
#hamburger-nav {
    display: none;
}


/* ==========================================
   TABLETS + MOBILE (768px and below)
   ========================================== */

@media screen and (max-width: 768px) {

    /* Navigation switch */
    #desktop-nav {
        display: none;
    }

    #hamburger-nav {
        display: block;
    }


    /* Main Container Dimensions */
    #home,
    #contact,
    #projects,
    #experience {
        width: calc(100% - 48px);
        margin-left: 24px;
        margin-right: 24px;
    }

    #projects {
        padding-top: 120px;
    }


    /* Home / Intro (Reduced top spacing from 100px to 40px) */
    #intro {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 20px 0 20px;
    }

    .home-profile {
        position: static;
        flex: 0 0 auto;
        width: 65%;
        margin: 0 auto;
    }

    .about-me-content {
        width: 100%;
    }

    .paragraph {
        flex-direction: column;
        gap: 12px;
    }

    .paragraph .title {
        flex: 0 0 auto;
    }

    /* ==========================================
    EXPERIENCE PAGE MOBILE
    ========================================== */

    #experience {
        width: calc(100% - 48px);
        margin-left: 24px;
        margin-right: 24px;
        padding-top: 120px;
    }


    .experience-page {
        flex-direction: column;
        gap: 40px;
        padding: 20px 0 60px;
    }


    /* Remove sticky behavior on mobile */
    .experience-profile {
        position: static;
        width: 100%;
    }


    .experience-photo-wrap {
        width: 70%;
        max-width: 320px;
        margin: 0 auto;
    }


    /* Timeline */
    .experience-timeline-wrap {
        width: 100%;
    }


    .experience-title {
        font-size: 26px;
        margin-bottom: 32px;
    }


    .timeline-item {
        padding-left: 28px;
        padding-bottom: 32px;
    }


    .timeline-role {
        font-size: 17px;
    }


    .timeline-summary {
        font-size: 14.5px;
        line-height: 1.6;
    }


    /* Contact Form Layout */
    #chat-form-container {
        flex-direction: column;
        gap: 32px;
        padding: 20px 0 20px; /* Matching top spacing with #intro */
    }

    #chat {
        position: static;
        width: 100%;
        flex: none;
    }

    #contact-form {
        width: 100%;
    }

    form .name-fields {
        flex-direction: column;
        gap: 16px;
    }

    form .name-fields input {
        margin-bottom: 0;
    }


    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

}
@media screen and (max-width: 600px) {
  .success-box {
    padding: 1.5rem 1rem;
  }
  
  .success-title {
    font-size: 1.25rem;
  }
}


/* ==========================================
   SMALL MOBILE (480px and below)
   ========================================== */

@media screen and (max-width: 480px) {

    .reach-out-title {
        font-size: 22px;
        line-height: 28px;
    }

    .reach-out,
    form label {
        font-size: 15px;
    }



    /* ==========================================
    SMALL MOBILE EXPERIENCE
    ========================================== */

    .experience-photo-wrap {
        width: 85%;
    }


    .experience-eyebrow {
        font-size: 11px;
    }


    .experience-title {
        font-size: 23px;
    }


    .timeline-date {
        font-size: 12px;
    }


    .timeline-role {
        font-size: 16px;
    }


    .timeline-company {
        font-size: 14px;
    }


    .timeline-summary {
        font-size: 14px;
    }
}