/* ==========================================================================
   About Us Page Styles
   ========================================================================== */

/* Remove any default spacing on the about page main content */
.page-about #primary,
.page-about .site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* -------------------------
   About Hero Section
   ------------------------- */

.about-hero {
    position: relative;
    background-color: var(--color-bg-cream);
    padding: 80px 0 80px;
    overflow: visible;
    min-height: auto;
    margin-top: 0 !important;
    margin-bottom: var(--space-24);
}

.about-hero__decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.about-hero__decor--left {
    left: -100px;
    bottom: -120px;
    width: 350px;
    transform: rotate(-15deg);
}

.about-hero__decor--right {
    right: -117px;
    top: -20px;
    width: 350px;
    transform: rotate(15deg);
}

.about-hero__decor img {
    width: 100%;
    height: auto;
}

.about-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding-responsive);
    text-align: center;
}

.about-hero__title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    color: var(--color-primary-brown);
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.about-hero__text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-primary-brown);
    line-height: 1.6;
    padding: 0 5%;
}

.about-hero__text p {
    margin-bottom: var(--space-4);
}

.about-hero__text p:last-child {
    margin-bottom: 0;
}

/* -------------------------
   About Sections (Mission, Values, Vision)
   ------------------------- */

.about-section {
    position: relative;
    padding: 0;
    overflow: visible;
    margin-top: -50px;
}

.about-section:first-of-type {
    margin-top: 0;
}

.about-section__container {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding-responsive);
}

.about-section__content {
    flex: 1 1 50%;
}

.about-section__content--left {
    padding-left: 5%;
}

.about-section__content--right {
    padding-right: 5%;
}

.about-section--vision {
    margin-top: -100px;
}

.about-section--vision .about-section__image {
    padding-left: 5%;
}

.about-section__title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    color: var(--color-primary-brown);
    line-height: 1.5;
    margin-bottom: var(--space-6);
}

.about-section__text {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-primary-brown);
    line-height: 1.6;
}

.about-section__image {
    flex: 1 1 50%;
    position: relative;
}

.about-section__image img {
    display: block;
    max-width: 90%;
    height: auto;
}

/* -------------------------
   Circular Image Component
   ------------------------- */

.about-circle {
    position: relative;
    width: 700px;
    height: 700px;
}

.about-circle__image {
    position: relative;
    width: 698px;
    height: 698px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
}

.about-circle__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-circle__decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.about-circle__decor img {
    width: 100%;
    height: auto;
}

/* Mission section decorations */
.about-section--mission .about-circle__decor--top {
    top: -80px;
    right: 100px;
    width: 250px;
    transform: rotate(-20deg);
}

.about-section--mission .about-circle__decor--bottom {
    bottom: -100px;
    left: -50px;
    width: 300px;
    transform: rotate(30deg);
}

/* Values section decorations */
.about-section--values .about-circle__decor--left {
    top: 50px;
    left: -120px;
    width: 280px;
    transform: rotate(25deg);
}

.about-section--values .about-circle__decor--right {
    bottom: -50px;
    right: -80px;
    width: 320px;
    transform: rotate(-15deg);
}

/* Vision section decorations */
.about-section--vision .about-circle__decor--top {
    top: -100px;
    left: 50px;
    width: 250px;
    transform: rotate(-30deg);
}

.about-section--vision .about-circle__decor--bottom-right {
    bottom: -120px;
    right: -100px;
    width: 400px;
    transform: rotate(20deg);
}

/* -------------------------
   Responsive Styles
   ------------------------- */

@media (max-width: 1400px) {
    .about-circle {
        width: 550px;
        height: 550px;
    }

    .about-circle__image {
        width: 548px;
        height: 548px;
    }

    .about-section__container {
        gap: 60px;
    }
}

@media (max-width: 1199px) {
    .about-hero {
        padding: 60px 0 60px;
    }

    .about-hero__title {
        font-size: 40px;
    }

    .about-hero__text {
        font-size: 16px;
    }

    .about-hero__decor--left,
    .about-hero__decor--right {
        width: 250px;
    }

    .about-section {
        padding: var(--space-16) 0;
    }

    .about-section__container {
        flex-direction: column;
        gap: var(--space-10);
    }

    .about-section__container {
        padding: 0 var(--container-padding-responsive);
    }

    .about-section__content {
        text-align: center;
    }

    /* On mobile, image comes first (top), then content */
    .about-section__image {
        order: 1;
    }

    .about-section__content {
        order: 2;
    }

    .about-section__title {
        font-size: 40px;
    }

    .about-section__text {
        font-size: 20px;
    }

    .about-circle {
        width: 450px;
        height: 450px;
    }

    .about-circle__image {
        width: 448px;
        height: 448px;
    }

    .about-circle__decor {
        width: 180px !important;
    }
}

@media (max-width: 767px) {
    .about-hero {
        padding: 50px 0 50px;
    }

    .about-hero__title {
        font-size: 32px;
    }

    .about-hero__text {
        font-size: 14px;
    }

    .about-hero__decor {
        display: none;
    }

    .about-section {
        padding: var(--space-12) 0;
    }

    .about-section__title {
        font-size: 32px;
    }

    .about-section__text {
        font-size: 16px;
    }

    .about-circle {
        width: 320px;
        height: 320px;
    }

    .about-circle__image {
        width: 318px;
        height: 318px;
    }

    .about-circle__decor {
        width: 120px !important;
    }

    .about-section--mission .about-circle__decor--top,
    .about-section--mission .about-circle__decor--bottom,
    .about-section--values .about-circle__decor--left,
    .about-section--values .about-circle__decor--right,
    .about-section--vision .about-circle__decor--top,
    .about-section--vision .about-circle__decor--bottom-right {
        display: none;
    }
}

@media (max-width: 479px) {
    .about-hero__title {
        font-size: 24px;
    }

    .about-circle {
        width: 280px;
        height: 280px;
    }

    .about-circle__image {
        width: 278px;
        height: 278px;
    }
}
