﻿/* ========================================= */
/* HOME UI STYLING (PAGE-SPECIFIC)       */
/* ========================================= */


/* --- 1. Container & Layout --- */
/*.header {
    position: relative;
    width: 100%;
    height: 590px;
    overflow: hidden;
    background-color: #f2f2f2;
}*/

:root {
    --color-background-box1: #fff;
    --color-background-box2: #edf2f6;
    --color-background-box3: #d9f2f9;
    --color-background-box4: #dcebef;
}

.header .text h1 {
    font-weight: 100;
}

/* --- 2. The Full-Width Background/Banner Image --- */
.banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/ocean_banner.jpg');
    background-size: cover;
    /*background-position: right bottom;*/
}

    /* --- 3. The Gradient Fade (Light Grey) --- */
    .banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background: linear-gradient(to right, rgba(242, 242, 242, 1) 0%,*/ /* Start light grey */
        /*rgba(242, 242, 242, 1) 40%, rgba(242, 242, 242, 0) 75%*/ /* Fade to transparent */
        /*);*/
    }

/* --- 4. Overlay Content & Positioning --- */
.content-overlay {
    justify-self: anchor-center;
    align-self: anchor-center;
    position: absolute;
    top: 0;
    left: 0;
    /*width: 50%;*/
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 5%;
    box-sizing: border-box;
}

/* --- 5, 6, 7. Text and Logo Styling (Vertical Layout) --- */
.text-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 65px;
    text-wrap-style: balance;
}

    .text-content .text p {
        font-style: italic;
        color: var(--color-see-blue);
        line-height: 1;
        font-weight: 500;
        margin: 6px 0;
        font-size: 1.6em;
        text-shadow: 1px 1px black;
    }

span.large {
    font-size: 28px;
}



.text h2 {
    font-family: 'Calibre', sans-serif;
    font-size: 3em;
    color: #33C1C1;
    font-weight: 600;
    /* ... rest of H2 styles ... */
}

.text p {
    font-family: 'Calibre', sans-serif;
    font-size: 1.2em;
    color: #999999;
    margin: 0 0 20px 0;
    font-weight: 300;
    /* ... rest of P styles ... */
}

/* ... Logo styles ... */
.tablet-logo {
    width: 70px;
    height: auto;
}

    .tablet-logo img {
        width: 100%;
        display: block;
    }



.mobile-logo {
    display: block;
    margin: 0 auto 10px;
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e8f5f5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Page intro / content */
.page-intro .contentContainer {
    /*padding: 20px 18px 60px;*/
    /*max-width: 1150px;*/
    /*margin: 0 auto;*/
    /*padding-left: 100px*/
    /*padding-left: 20px;*/
    /*padding-right: 40px;*/
}
/*
.meet-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2eaeb0;
    font-size: 2rem;
    margin: 12px 0 18px;
}

    .meet-title strong {
        margin-top: 5px;
    }

    .meet-title .icon {
        width: 45px;
        height: 30px;
        background: url('../../images/blackfoot.png') center/contain no-repeat;
    }*/

.about-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.profile-photo {
    width: 180px;
    height: auto;
    object-fit: cover;
    border-radius: 50px;
    border: 4px solid var(--color-image-border-lemon-yellow);
    margin: 0 auto;
    display: block;
    min-width: 280px;
}

.bio {
    color: var(--color-subheading-mist-blue);
    font-size: 24px;
    line-height: 1.23;
    text-align: center;
    justify-items: center;
}

    .bio p {
        /*width: 90%;*/
        max-width: 330px;
    }

    .bio .feet {
        display: flex;
        position: relative;
        top: -19px;
        gap: 27px;
    }

    .bio .deco-left-bottom {
        width: 50px;
        height: auto;
    }

    .bio .deco-right-bottom {
        width: 50px;
        height: auto;
        transform: scaleX(-1);
    }

.chapters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 6px;
}

.chapter-card {
    background: var(--color-background-box1);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    /*color: #16384a;*/
}

    .chapter-card h4 {
        margin: 0 0 6px;
        font-size: 0.98rem;
        color: #0b6b6f;
    }

    .chapter-card p {
        margin: 6px 0;
        font-size: 15px;
        color: var(--color-body-gray);
    }

        .chapter-card p em {
            color: var(--color-subheading-mist-blue);
            font-size: 18px;
        }

    .chapter-card:nth-child(2) {
        background: var(--color-background-box2);
    }

    .chapter-card:nth-child(3) {
        background: var(--color-background-box3);
    }

    .chapter-card:nth-child(4) {
        background: var(--color-background-box4);
    }

/* Desktop / larger screens */
@media (min-width: 880px) {
    .banner {
        height: 100%;
    }

    .content-overlay {
        /*margin-top: -120px;*/
    }

    .about-main {
        grid-template-columns: 280px 1fr;
        align-items: start;
        /*gap: 28px;*/
    }

    .profile-photo {
        width: 260px;
        height: auto;
        margin: 6px 0 0;
    }

    .chapters {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .chapter-card {
        padding: 16px;
    }

    /* place a centered group of chapter cards on the right on large screens */
    .bio {
        margin-bottom: 12px;
    }
}
