/* About.CSS - Specific Styles for the About Section */

/* Container for split layout */
#about .content-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* Ensure content is above background */
}

/* Text Content Area */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 600px;
}

/* Visual Area (Profile Picture) */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Welcome Toast Popup */
#welcome-toast {
    position: fixed;
    top: 30px;
    right: -400px; /* Hidden initially for slide-in */
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-accent-secondary);
    color: #fff;
    padding: 1.2rem;
    border-radius: 16px;
    font-size: 0.95rem;
    max-width: 300px;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 229, 255, 0.3);
    z-index: 9999;
    pointer-events: auto; /* Allow clicking to dismiss */
    cursor: pointer;
    transition: right 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    opacity: 0;
}

#welcome-toast.show {
    right: 30px;
    opacity: 1;
}

#welcome-toast.hide {
    right: -400px;
    opacity: 0;
}

/* Profile Picture Wrapper */
.profile-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 20px;
    /* Slight rounded corners for modern look, or 50% for circle */
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    cursor: pointer;
    /* Indicate interaction */
}

/* Hover Effect on Wrapper - Enhance Glow */
.profile-wrapper:hover {
    box-shadow: 0 0 40px rgba(112, 0, 255, 0.4), 0 0 80px rgba(0, 229, 255, 0.2);
    border-color: var(--color-accent-secondary);
    transform: scale(1.02);
}

/* Profile Images */
.profile-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default Image (Professional) */
.profile-img.normal-mode {
    z-index: 1;
    opacity: 1;
}

/* XR Mode Image (Hidden by default) */
.profile-img.xr-mode {
    z-index: 2;
    opacity: 0;
    filter: contrast(1.1) brightness(1.1);
    /* Slight pop for the XR version */
}

/* Reveal XR Mode on Hover */
.profile-wrapper:hover .profile-img.xr-mode {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    #about .content-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .about-content {
        align-items: center;
        order: 2;
        /* Image on top on mobile? If desired. Let's keep text top for now or follow standard stacking. Usually image first is nice for personal branding. */
    }

    .about-visual {
        order: 1;
        margin-bottom: 1rem;
    }

    #welcome-toast {
        max-width: calc(100% - 40px);
        right: -100%;
    }

    #welcome-toast.show {
        right: 20px;
    }

    .profile-wrapper {
        width: 280px;
        height: 280px;
    }

    .hero-title {
        font-size: 2.5rem;
        /* Adjust specific to this section if needed, though global h1 is 4rem */
    }
}