/* ------ Hero Section ----- */
.about-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
    
    background-image: url('../images/sky3.JPG');
    background-image: url('../images/float-cloud1.png') url('../images/float-cloud2.png') url('../images/float-cloud3.png');
    background-size: cover;
    background-position: center;

    position: relative;
    overflow: hidden;
}

.about-hero h1 {
    position: relative;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 30px; 
    line-height: 1.2;
    z-index: 10;
}

.about-hero p {
    position: relative;
    font-size: 1.2rem;
    color: #ffffff; 
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
    z-index: 10;
}

/* Base styles for all clouds */
.floating-cloud {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain; /* Ensures the whole cloud fits in its box */
    z-index: 1; /* Puts them above the sky background, but behind the text */
    opacity: 0.8; /* Makes them slightly transparent. Change to 1 for solid clouds */
}

/* Individual Cloud Settings & Animations */
.cloud1 {
    width: 300px;
    height: 150px;
    background-image: url('../images/float-cloud1.png');
    top: 15%;
    left: -20%; /* Start slightly off-screen */
    animation: floatRight 45s linear infinite;
}

.cloud2 {
    width: 450px;
    height: 250px;
    background-image: url('../images/float-cloud2.png');
    top: 45%;
    right: -30%;
    animation: floatLeft 60s linear infinite; /* Slower, moving the opposite way */
}

.cloud3 {
    width: 200px;
    height: 100px;
    background-image: url('../images/float-cloud3.png');
    bottom: 10%;
    left: 10%;
    animation: floatBob 20s ease-in-out infinite alternate; /* Gentle bobbing */
}

/* --- Cloud Animations --- */
@keyframes floatRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(120vw); } /* Moves all the way across the screen */
}

@keyframes floatLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-120vw); }
}

@keyframes floatBob {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, -20px); }
}

.white-text {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}




/* ----- Bio Section ----- */

.bio-section {
    max-width: 1000px;
    margin: 100px auto; 
    padding: 0 20px;
}

.bio-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.bio-image {
    width: 40%;
    max-width: 400px;
    aspect-ratio: 4.2 / 5;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--glass-shadow);
}

.bio-text {
    width: 60%;
}

.bio-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.bio-text .vision-title {
    font-size: 2rem;
    margin-top: 40px; 
    margin-bottom: 15px;
}

.bio-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}



/* --- Passions Section --- */
.passions-section {
    max-width: 1100px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 50px;
}

.passions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.passion-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.passion-card:hover {
    transform: translateY(-5px);
}

.fa-book-open-reader {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.fa-icons {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.passion-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
}

.passion-list {
    list-style: none;
    color: var(--text-light);
}


.passion-list li {
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 1.05rem;
}


.love-card {
    padding: 0;
    display: flex;
    align-items: flex-end;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.love-content {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    width: 100%;
    padding: 40px 30px 30px 30px;
    color: white;
}

.love-content h3 {
    color: white;
}



/* ----- Mobile Responsiveness ----- */

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    .bio-container {
        flex-direction: column; 
        text-align: center;
    }
    .bio-image {
        width: 70%;
        max-width: 300px;
    }
    .bio-text {
        width: 100%;
    }
    .bio-text .vision-title {
        margin-top: 20px;
    }
}



/* ----- Mobile Responsiveness ----- */

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    .bio-container {
        flex-direction: column; 
        text-align: center;
    }
    .bio-image {
        width: 70%;
        max-width: 300px;
    }
    .bio-text {
        width: 100%;
    }
    .bio-text .vision-title {
        margin-top: 20px;
    }
}