/* ============================================================
   1. GLOBAL RESET & MOBILE STABILIZATION
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: #CDBBA0; 
    font-family: 'Overlock', sans-serif;
    color: #4A3749; 
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden; /* Stops horizontal shaking on Realme/Oppo */
    display: flex;
    flex-direction: column;
    min-height: 100dvh; 
}

/* ============================================================
   2. HERO & ABOUT ME SECTIONS (Centered Layout)
   ============================================================ */
.hero-section, .about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text, .about-content, .text-section {
    flex: 1 1 400px; 
    width: 100%;
    max-width: 600px;
    font-size: 1.25rem;
    padding: 20px;
    overflow-wrap: break-word;
}

.image-container, .about-image-container, .image-section {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.profile-img, .main-graphic, .profile-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ============================================================
   3. APPROACH SECTION (Lily Pad Removal)
   ============================================================ */
.approach-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    gap: 30px;
}

.approach-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.approach-text-box {
    flex: 1;
}

/* ============================================================
   4. BENTO BOX / SERVICES
   ============================================================ */
.service-display {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-display img {
    max-width: 250px;
    height: auto;
    border-radius: 10px;
}

/* ============================================================
   5. MOBILE OVERRIDES (Realme, Oppo, & iOS)
   ============================================================ */

@media (max-width: 768px) {
    /* Center Nav for narrow screens */
    .navbar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* CENTER HERO & ABOUT ME */
    .hero-section, .about-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .image-container, .about-image-container, .image-section {
        order: 1; /* Image on top */
        margin-bottom: 20px;
    }

    .hero-text, .about-content, .text-section {
        order: 2; /* Text below */
        padding: 10px;
        font-size: 1.15rem;
    }

    /* REMOVE LILY PAD & CENTER APPROACH */
    .approach-visual, .lily-pad {
        display: none !important; /* Removes the lily pad visual */
    }

    .approach-section {
        flex-direction: column;
        text-align: center;
    }

    .approach-text-box {
        width: 100%;
    }

    /* SERVICES: REMOVE IMAGE NEAR "WORK WITH ME" */
    .service-display img {
        display: none !important;
    }

    .service-display {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    /* EXPERIENCE SECTION FIX (Overlap) */
    .experience-container {
        flex-direction: column;
    }

    .landscape-wrapper {
        width: 100%;
    }

    .info-card {
        position: relative;
        width: 100%;
        top: 0;
        transform: none;
        margin-top: -30px;
        padding: 25px;
        text-align: center;
    }

    /* BENTO MENU (Horizontal Scroll) */
    .bento-container {
        flex-direction: column;
    }

    .service-menu {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .menu-item {
        flex: 0 0 auto;
        border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.1);
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .logo { font-size: 1.5rem; }
    h2 { font-size: 1.6rem !important; }
    .about-content, .text-section { font-size: 1.05rem; }
}