/* website/static/website/css/about.css */

/* make the logo black for the white page */
.brand-logo-text,
.brand-logo-icon {
    filter: brightness(0);
}

.contact-pill {
    background: #6090B5;    /* your blue color */
    color: #ffffff;
    text-decoration: none;

    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 700;       /* Bold */

    border-radius: 999px;   /* pill shape */

    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.15s ease,
                box-shadow 0.15s ease;
}

.contact-pill:hover {
    transform: translateY(-2px);
    background: #6090B5;
}

/* ============================
   MAIN ABOUT CANVAS
   ============================ */

.about-canvas {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;

    padding-top: 160px;
    padding-left: 0;
    padding-right: 0;

    background-image: url("../images/about-bg.png");
    background-size: cover;          
    background-repeat: no-repeat;
    background-position: top center;
    box-sizing: border-box;
}

/* === About Page Title === */
.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 900; /* Black */
    text-align: center;
    margin: 0;
}

.about-subtext {
    font-family: 'Outfit', sans-serif;
    font-weight: 300; /* Light */
    font-size: 16px;
    line-height: 1.5;
    text-align: center;

    max-width: 720px;
    margin: 24px auto 0;
    color: #000;
}

/* === Main photo === */
.about-photo {
    display: block;
    width: 100%;
    max-width: 1120px;
    margin: 80px auto 0;
    object-fit: cover;
    border-radius: 20px;
}

/* === Secondary title === */
.about-title-secondary {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin: 60px auto 0;
}

/* ============================
   CARDS
   ============================ */

.about-cards {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 0 160px 80px;
    box-sizing: border-box;
}

/* Single card */
.about-card {
    width: 352px;
    border: 1px solid #a6c9e2;
    border-radius: 16px;
    background-color: transparent;
    box-sizing: border-box;
    padding: 16px 24px 24px 24px;
    display: flex;
    flex-direction: column;
}

/* Card header (icon + title) */
.about-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.about-card-header img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.about-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin: 0;
}

.about-card-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    margin: 12px 0 0;
}

/* ============================
   CTA SECTION UNDER CANVAS
   ============================ */

.about-cta {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;

    background-image: url("../images/about-cta.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 480px;
    padding: 120px 160px;
    box-sizing: border-box;
}

/* content block on top of image */
.about-cta-content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* title on the image */
.about-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* supporting text */
.about-cta-text {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

/* pill button */
.about-cta-button {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 41px;
    padding: 0 32px;

    border-radius: 999px;
    background-color: #6090B5;
    color: #ffffff;
    text-decoration: none;

    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;

    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.about-cta-button:hover {
    background-color: #527ca0;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* ============================
   RESPONSIVE BREAKPOINTS
   ============================ */

/* Tablets / smaller desktops */
@media (max-width: 1100px) {
    .about-canvas {
        padding-top: 140px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .about-title {
        font-size: 56px;
    }

    .about-subtext {
        max-width: 100%;
    }

    .about-cards {
        padding: 0 40px 60px;
        gap: 24px;
    }

    .about-cta {
        padding: 100px 80px;
        min-height: 420px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-canvas {
        padding-top: 120px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-title {
        font-size: 40px;
        text-align: left;
    }

    .about-subtext {
        font-size: 15px;
        text-align: left;
        margin-top: 16px;
    }

    .about-photo {
        margin-top: 40px;
        border-radius: 16px;
    }

    .about-title-secondary {
        font-size: 32px;
        margin-top: 40px;
        text-align: left;
    }

    .about-cards {
        padding: 24px 0 48px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .about-card {
        width: 100%;
    }

    .about-cta {
        padding: 80px 24px;
        min-height: 380px;
    }

    .about-cta-content {
        max-width: 100%;
    }

    .about-cta-title {
        font-size: 32px;
    }

    .about-cta-text {
        font-size: 15px;
    }
}

/* Very small phones */
@media (max-width: 480px) {
    .about-title {
        font-size: 32px;
    }

    .about-title-secondary {
        font-size: 28px;
    }

    .about-cta-title {
        font-size: 28px;
    }

    .about-cta {
        padding: 64px 20px;
    }
}
