/* =================================================================
   ABOUT ME POPUP STYLES
   ================================================================= */

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    z-index: 100;
    touch-action: none;
}

.speech-bubble {
    position: fixed;
    top: 36%;
    left: 37%;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 15px;
    padding: clamp(2rem, 3vw, 3rem);
    width: clamp(600px, 70vw, 900px);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-right-color: #ffffff;
    border-left: 0;
    margin-left: -15px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #333;
}

/* Two-column layout */
.popup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.left-column {
    display: flex;
    flex-direction: column;
}

.right-column {
    display: flex;
    flex-direction: column;
}

/* About Me Heading */
.speech-bubble h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: #ee83c3;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Intro Text */
.speech-bubble .intro-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Section Titles */
.speech-bubble h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: normal;
}

/* Regular paragraphs */
.speech-bubble p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

/* Email bold styling */
.speech-bubble .email {
    font-weight: bold;
    /* color: #00bdff; */
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .popup-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .speech-bubble {
        width: 90vw;
        max-width: 500px;
        padding: 1.5rem;
    }
    
    .popup-content {
        gap: 1rem;
    }
}

@media screen and (max-width: 1199px) {
    .speech-bubble {
        width: clamp(500px, 75vw, 800px);
    }
}
