﻿/**********************************************************************************************
* OntarioTECK VBA Developers
* Developed by Gustavo Miller

* Date created : 2026-04-16 16:06:48.1108600
* Type Document: Cascade Styling Sheet (CSS)
*
* Filename: css\index.css
**********************************************************************************************/
html {
    scroll-behavior: smooth;
}

#amybio,
#amycont {
    scroll-margin-top: 80px;
}

/* Biography page button */
.profile-container {
    display: flex;
    flex-direction: column; /* stack vertically */
    align-items: center; /* center horizontally */
}

.bio-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-btn {
    margin-top: 15px;
    padding: 10px 20px;
    color: black;
    text-decoration: none;
    border-radius: 6px;
}

/* End of Biography page button */

.leftpanel {
    background-color: #e4f5e4;
}

.row.optionsrow {
    height: 100vh;
}

.hidden {
    display: none;
}

.about-layout {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    min-height: 550px;
}

.left-column {
    flex: 2; /* replaces fixed 40vw */
    min-width: 0; /* prevents overflow */
    display: flex;
    flex-direction: column;
}

.left-row {
    padding: 16px;
    flex: 0 0 auto;
}

.top-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.right-column {
    flex: 1; /* image column */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%
}

.image-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .image-box img {
        width: auto; /* important change */
        height: auto;
        max-width: 100%;
        max-height: 400px; /* controls size instead of stretch */
    }

/******* Mobile Responsiveness ********/
@media (max-width: 768px) {

    .about-layout {
        flex-direction: column;
    }

    .right-column {
        order: -1; /* image moves to top */
    }

    .image-box img {
        height: auto; /* prevents image stretching */
        max-height: 420px;
        object-fit: cover;
    }

    .left-row {
        padding: 12px;
    }
}
/******* end of Page Layout ***********/

.main-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50; /* Dark blue-gray */
    margin-bottom: 3rem;
}

.content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 5vh;
    padding: 0 20px;
}

/* Hero Image Styling */
.hero-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1000px; /* optional, matches original design */
    aspect-ratio: 10 / 7; /* 1000 × 700 */
    overflow: hidden;
}

    .hero-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* key line */
        display: block;
    }

/********** Contact Me Section  **********/
.contact {
    background-color: #ffffff;
    padding: 60px 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

    .contact .contact-title {
        margin-bottom: 30px;
    }

/******** End Contact Me Section  ********/


/********** Accordion Styles **********/
.about-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 0;
    list-style: none;
}

    .accordion-header::-webkit-details-marker {
        display: none;
    }

details[open] .accordion-header::after {
    content: "–";
}

.accordion-content {
    padding: 8px 0 12px 0;
    line-height: 1.6;
}
/******* END: Accordion Styles ********/

.authorsbiography {
    margin-bottom: 2rem !important;
}

    .authorsbiography h2 {
        margin-bottom: 5rem;
    }

    .authorsbiography p {
        margin-bottom: 5rem;
    }
