/* ==========================================================================
   GreenStar – About Page Styles
   File: assets/css/about.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. About Hero
   -------------------------------------------------------------------------- */
.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--color-dark);
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.04);
    transition: transform 8s ease;
}
.about-hero:hover .about-hero__bg { transform: scale(1.08); }

.about-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10, 40, 10, .6) 0%,
        rgba(30, 86, 30, .45) 55%,
        rgba(0, 0, 0, .35) 100%
    );
}

.about-hero__container {
    position: relative;
    z-index: 2;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.about-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.6);
    margin-bottom: 2rem;
}
.about-hero__breadcrumb a {
    color: rgba(255,255,255,.75);
    transition: color var(--transition);
}
.about-hero__breadcrumb a:hover { color: var(--color-accent); }
.about-hero__breadcrumb span:last-child { color: rgba(255,255,255,.5); }

.about-hero__content {
    max-width: 680px;
    animation: fadeUp .8s ease both;
}

.about-hero__badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-pill);
    padding: .4rem 1.1rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.about-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.about-hero__title span { color: var(--color-accent); }

.about-hero__subtitle {
    font-size: var(--fs-md);
    color: rgba(255,255,255,.82);
    line-height: var(--lh-loose);
    max-width: 560px;
}

/* Stats bar */
.about-hero__stats-bar {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.12);
}
.about-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.about-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255,255,255,.1);
    color: var(--color-white);
    transition: background var(--transition);
}
.about-hero__stat:last-child { border-right: none; }
.about-hero__stat:hover { background: rgba(255,255,255,.05); }
.about-hero__stat-num {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}
.about-hero__stat-label {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.65);
    margin-top: .35rem;
    text-align: center;
}

/* --------------------------------------------------------------------------
   2. Our Story Section
   -------------------------------------------------------------------------- */
.about-story { background: var(--color-white); }

.about-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch;
}

/* Left – image column: stretches to match the text column's height,
   the photo itself scales to fit inside without cropping or distorting. */
.about-story__images {
    position: relative;
    display: flex;
    justify-content: flex-end;
}
/* On wide viewports, bleed the image column further left (beyond its grid
   track) so the photo looks bigger without touching the text column's
   width. Gated behind a min-width so it never gets clipped by the
   viewport edge on narrower windows. */
@media (min-width: 1600px) {
    .about-story__images {
        width: calc(100% + 140px);
        margin-left: -140px;
    }
}
.about-story__img-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.about-story__photo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

.about-story__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-light-gray), var(--color-off-white));
    font-size: 5rem;
}

/* Floating accent card */
.about-story__accent-card {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    animation: floatCard 4s ease-in-out infinite alternate;
}
@keyframes floatCard {
    from { transform: translateY(0); }
    to   { transform: translateY(-8px); }
}
.about-story__accent-card__icon { font-size: 1.75rem; flex-shrink: 0; }
.about-story__accent-card__num {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
}
.about-story__accent-card__label {
    font-size: var(--fs-xs);
    opacity: .85;
    margin-top: .15rem;
}

/* Bottom strip */
.about-story__img-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: 2.5rem;
}
.about-story__img-strip-item {
    background: var(--color-off-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    padding: 1rem .75rem;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}
.about-story__img-strip-item:hover {
    border-color: var(--color-primary-light);
    transform: translateY(-3px);
}
.about-story__img-strip-item span { font-size: 1.5rem; display: block; margin-bottom: .35rem; }
.about-story__img-strip-item p { font-size: var(--fs-xs); font-weight: 600; color: var(--color-text); line-height: 1.3; }

/* Right – content column */
.about-story__content { display: flex; flex-direction: column; gap: 1.5rem; }

.about-story__para {
    font-size: var(--fs-md);
    color: var(--color-text);
    line-height: var(--lh-loose);
}

/* Key values list */
.about-story__values {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-primary);
}
.about-story__value {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.about-story__value-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: .1rem;
}
.about-story__value h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: .2rem;
}
.about-story__value p {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Product tags */
.about-story__tags-wrap {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.about-story__tags-label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-text-light);
}
.about-story__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.about-story__tag {
    display: inline-flex;
    align-items: center;
    background: rgba(45,122,45,.08);
    color: var(--color-primary-dark);
    border: 1px solid rgba(45,122,45,.2);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: .35rem .9rem;
    transition: background var(--transition), color var(--transition);
}
.about-story__tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.about-story__cta {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   3. Stats Band
   -------------------------------------------------------------------------- */
.about-stats-band {
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}
.about-stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.about-stats-band .container { position: relative; }

.about-stats-band__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}
.about-stats-band__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 2rem;
}
.about-stats-band__num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    display: block;
}
.about-stats-band__label {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.8);
    margin-top: .4rem;
    letter-spacing: .02em;
}
.about-stats-band__divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,.2);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .about-story__grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-story__accent-card { bottom: auto; top: 1rem; right: 1rem; }
    .about-story__img-main { max-height: 400px; }

    .about-stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .about-stats-band__divider:nth-child(4) { display: none; }
    .about-stats-band__divider { height: 1px; width: 100%; grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .about-hero { min-height: 50vh; }
    .about-hero__title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .about-hero__stats { grid-template-columns: repeat(2, 1fr); }
    .about-hero__stat:nth-child(2) { border-right: none; }
    .about-hero__stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,.1); }
    .about-hero__stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); border-right: none; }

    .about-story__img-strip { grid-template-columns: repeat(3, 1fr); }
    .about-story__values { padding: 1.25rem; }
    .about-story__cta { flex-direction: column; }
    .about-story__cta .btn { width: 100%; justify-content: center; }

    .about-stats-band { padding: 2.5rem 0; }
    .about-stats-band__grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats-band__divider { display: none; }
    .about-stats-band__item { padding: 1rem; }
    .about-stats-band__num { font-size: var(--fs-2xl); }
}

@media (max-width: 480px) {
    .about-hero__stats { grid-template-columns: 1fr 1fr; }
    .about-story__img-strip { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
    .about-story__img-strip-item { padding: .65rem .4rem; }
    .about-story__img-strip-item span { font-size: 1.1rem; }
    .about-story__img-strip-item p { font-size: 10px; }
}
