/* =========================================================
   GOLDEN HUT CAFE - ABOUT PAGE
   =========================================================
   Sections, in page order:
     1. Shared        (container, scroll reveal)
     2. About hero
     3. Services
     4. Our story
     5. Why choose us
     6. Stats strip
     7. Reduced motion

   Every section keeps its own responsive rules right below it.
   Breakpoints: 1000 tablet | 650 mobile

   Scroll reveal: main.js adds .show to each .reveal-item when
   its section scrolls into view.
========================================================= */


/* =========================================================
   1. SHARED
========================================================= */

.about-container {
    width: min(var(--container-width), 90%);
    margin: 0 auto;
}

.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   2. ABOUT HERO
   Text on the left, photo on the right with a rounded top-left
   corner. Stacks (text, then photo) at 1000px and below.
========================================================= */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 0 0 20px;
    background: var(--color-cream);
}

.about-hero-inner {
    position: relative;

    display: grid;
    grid-template-columns: minmax(380px, 45%) 1fr;
    align-items: stretch;
    gap: 0;
}


/* ---------- Text ---------- */

.about-hero-text {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px 40px 70px min(6vw, 70px);
}

.about-hero-text h1 {
    margin: 14px 0 20px;

    font-size: clamp(34px, 3.4vw, 46px);
    color: var(--color-primary);
}

.about-hero-text h1 em {
    font-style: italic;
    color: var(--color-gold);
}

.about-hero-text > p {
    max-width: 460px;
    margin: 0 0 26px;

    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.8;
}

.hero-highlights {
    display: flex;
    align-items: center;
    gap: 18px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.highlight-icon {
    width: 22px;
    height: 22px;
    color: var(--color-gold);
}

.highlight-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.highlight-item span:last-child {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: var(--color-primary);
    text-transform: uppercase;
    white-space: nowrap;
}

.highlight-divider {
    width: 1px;
    height: 36px;
    background: var(--border-light);
}


/* ---------- Photo ---------- */

.about-hero-image {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 23% 45%;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: block;
    object-fit: cover;
}


/* ---------- About hero: responsive ---------- */

@media (max-width: 1000px) {

    .about-hero {
        padding: 0 0 50px;
    }

    .about-hero-inner {
        grid-template-columns: 1fr;
    }

    .about-hero-text > p {
        max-width: 100%;
    }

    .about-hero-image {
        border-radius: 200px 200px 0 0;
    }

    .about-hero-image img {
        height: 320px;
    }
}

@media (max-width: 650px) {

    .about-hero {
        padding: 0 0 5px;
    }

    .about-hero-inner {
        width: 88%;
        margin: 0 auto;
        gap: 28px;
    }

    .about-hero-text {
        width: 88%;
        margin-left: auto;
        margin-right: auto;
        padding: 25px 0 0;
    }

    .about-hero-text h1 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .about-hero-text > p {
        font-size: 13px;
    }

    .about-hero-image {
        border-radius: 140px 140px 0 0;
    }

    .about-hero-image img {
        height: 240px;
    }
}


/* =========================================================
   3. SERVICES
   Three gold-bordered cards on desktop, one column below 1000px.
========================================================= */

.services-section {
    position: relative;
    padding: 20px 0;
    background: var(--color-cream);
}

.services-decor {
    position: absolute;
    top: -180px;
    left: -2%;
    z-index: 1;

    width: 200px;
    height: auto;
    opacity: 0.85;

    transform: rotate(35deg);
    transform-origin: bottom left;
    pointer-events: none;
}

.services-header {
    margin: 0 0 24px;
    text-align: center;
}

.services-header .section-label {
    display: block;
    margin: 0 0 8px;
}

.services-header h2 {
    margin: 0;
    font-size: 32px;
    color: var(--color-primary);
}

.services-grid {
    width: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.service-card {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 16px;
    align-items: start;

    min-height: 0;
    padding: 18px 22px;

    background: var(--color-primary);
    border: 3px solid var(--color-gold);
    border-radius: 16px;
}

.service-icon {
    grid-row: 1 / span 3;

    width: 30px;
    height: 30px;
    margin: 2px 0 0;

    color: var(--color-light-gold);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-card h3 {
    margin: 0 0 5px;

    font-size: 21px;
    color: var(--color-cream);
}

.service-card h4 {
    margin: 0 0 10px;

    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;

    color: var(--color-light-gold);
}

.service-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: rgba(248, 243, 232, 0.75);
}


/* ---------- Services: responsive ---------- */

@media (max-width: 1000px) {

    .services-section {
        padding: 20px 0 55px;
    }

    .services-decor {
        top: -80px;
        left: -3%;
        width: 170px;
        transform: rotate(15deg);
    }

    .services-header {
        margin: 0 0 18px;
    }

    .services-header h2 {
        font-size: 27px;
    }

    .services-grid {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        grid-template-columns: 42px 1fr;
        padding: 28px 30px;
    }

    .service-card h3 {
        font-size: 19px;
    }

    .service-card p {
        max-width: 650px;
    }
}

@media (max-width: 650px) {

    .services-section {
        padding: 25px 0;
    }

    .services-decor {
        top: -10px;
        left: -2%;
        width: 100px;
        transform: rotate(5deg);
    }

    .services-header {
        margin: 0 0 16px;
    }

    .services-header h2 {
        font-size: 24px;
    }

    .services-grid {
        gap: 16px;
    }

    .service-card {
        column-gap: 18px;
        padding: 24px 22px;
        border-width: 1px;
        border-radius: 14px;
    }

    .service-card h3 {
        margin: 0 0 4px;
        font-size: 18px;
    }

    .service-card h4 {
        margin: 0 0 7px;
        font-size: 12px;
    }

    .service-card p {
        font-size: 12px;
        line-height: 1.65;
    }
}


/* =========================================================
   4. OUR STORY
   Photo collage on the left, text on the right.
========================================================= */

.story-section {
    padding: 80px 0;
    background: var(--color-cream);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.story-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.collage-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.collage-img {
    overflow: hidden;
    border-radius: 4px;
}

.collage-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.collage-small {
    height: 193px;
}

.collage-tall {
    height: 400px;
}

.story-content h2 {
    margin: 14px 0 20px;

    font-size: clamp(28px, 2.6vw, 36px);
    color: var(--color-primary);
}

.story-content p {
    margin: 0 0 16px;

    font-size: 15px;
    line-height: 1.8;
    color: var(--color-muted);
}

.story-highlight {
    margin-top: 18px;
    padding-left: 18px;

    border-left: 3px solid var(--color-gold);

    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-primary);
}


/* ---------- Our story: responsive ---------- */

@media (max-width: 1000px) {

    .story-section {
        padding: 60px 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .collage-small {
        height: 160px;
    }

    .collage-tall {
        height: 334px;
    }
}

@media (max-width: 650px) {

    .story-section {
        padding: 20px 0;
    }

    .story-grid,
    .story-content {
        width: 88%;
        margin-left: auto;
        margin-right: auto;
    }

    .story-grid {
        gap: 18px;
    }

    .story-collage {
        gap: 4px;
    }

    .collage-col {
        gap: 3px;
    }

    .collage-small {
        height: 128px;
    }

    .collage-tall {
        height: 260px;
    }

    .story-content h2 {
        font-size: 26px;
    }

    .story-highlight {
        font-size: 16px;
    }
}


/* =========================================================
   5. WHY CHOOSE US
   Dark green rounded card: heading + intro on top, four
   occasion columns and a tagline below.
========================================================= */

.why-section {
    position: relative;
    overflow: hidden;

    margin: 0 10px;
    padding: 20px 0;

    background: var(--color-primary);
    color: var(--color-cream);
    border-radius: 16px;
}

.why-decor {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 0;

    width: 220px;
    height: auto;
    opacity: 0.85;

    transform: scaleX(-1);
    pointer-events: none;
}

.why-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: end;
    margin-bottom: 50px;
}

.why-heading h2 {
    margin: 14px 0 0;

    font-size: clamp(28px, 2.8vw, 38px);
    color: var(--color-cream);
}

.why-intro {
    max-width: 460px;
    margin: 0;

    font-size: 15px;
    line-height: 1.8;
    color: rgba(248, 243, 232, 0.75);
}

.why-body {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
    align-items: center;
}


/* ---------- Occasion cards ---------- */

.occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.occasion-card {
    padding: 0 32px;
}

.occasion-card:first-child {
    padding-left: 0;
    border-left: none;
}

.occasion-icon {
    display: block;
    width: 26px;
    height: 26px;
    margin-bottom: 16px;
    color: var(--color-light-gold);
}

.occasion-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.occasion-card h3 {
    margin: 0 0 6px;

    font-size: 20px;
    color: var(--color-cream);
}

.occasion-title {
    margin: 0 0 8px;

    font-size: 14px;
    font-weight: 600;
    color: var(--color-light-gold);
}

.occasion-card p:not(.occasion-title) {
    margin: 0;

    font-size: 14px;
    line-height: 1.5;
    color: rgba(248, 243, 232, 0.65);
}


/* ---------- Tagline ---------- */

.why-tagline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;

    padding-left: 30px;
    border-left: 1px solid var(--border-dark);
    text-align: right;
}

.why-tagline span:first-child {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-light-gold);
}

.tagline-heart {
    width: 20px;
    height: 20px;
    color: var(--color-light-gold);
}


/* ---------- Why choose us: responsive ---------- */

@media (max-width: 1000px) {

    .why-section {
        margin: 0 24px;
        border-radius: 15px;
    }

    .why-top {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
    }

    .why-intro {
        max-width: 100%;
    }

    .why-body {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .occasion-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .occasion-card:nth-child(2n+1) {
        padding-left: 0;
        border-left: none;
    }

    .why-tagline {
        flex-direction: row;
        align-items: center;
        justify-content: center;

        padding-top: 22px;
        padding-left: 0;
        border-top: 1px solid var(--border-dark);
        border-left: none;
        text-align: left;
    }

    .why-tagline span:first-child {
        font-size: 17px;
    }
}

@media (max-width: 650px) {

    .why-section {
        margin: 0 5px;
        padding: 35px 0;
        border-radius: 10px;
    }

    .why-decor {
        top: -10px;
        right: -10px;
        width: 150px;
        opacity: 0.7;
    }

    .why-top,
    .why-body,
    .occasion-grid {
        width: 88%;
        margin-left: auto;
        margin-right: auto;
    }

    .occasion-grid {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .occasion-card {
        padding-bottom: 8px;
        padding-left: 0;
        border-bottom: 1px solid var(--border-dark);
        border-left: none;
    }

    .occasion-card:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .why-tagline {
        justify-content: flex-start;
    }
}


/* =========================================================
   6. STATS STRIP
========================================================= */

.stats-section {
    padding: 40px 0;
    background: var(--color-cream);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    padding: 0 20px;
    border-left: 1px solid var(--border-light);
}

.stat-item:first-child {
    border-left: none;
}

.stat-icon {
    width: 26px;
    height: 26px;
    color: var(--color-gold);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.stat-item strong {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
}

.stat-item > span:last-child {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-muted);
}

.stats-tagline {
    margin: 28px 0 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
}

.stats-tagline span {
    width: 40px;
    height: 1px;
    background: var(--border-light);
}


/* ---------- Stats: responsive ---------- */

@media (max-width: 1000px) {

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 26px;
    }

    .stat-item:nth-child(2n+1) {
        border-left: none;
    }
}

@media (max-width: 650px) {

    .stats-section {
        padding: 35px 0;
    }

    .stats-grid {
        width: 88%;
        margin-left: auto;
        margin-right: auto;
        row-gap: 24px;
    }

    .stats-tagline {
        margin-top: 22px;
        font-size: 10px;
        letter-spacing: 2px;
    }
}


/* =========================================================
   7. REDUCED MOTION
   Anyone who asks their device for less motion sees every
   section straight away, without the fade / slide.
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}