/* ==========================================
   IsCoffee - About Page Styles
   ========================================== */

/* 1. Hero Section (Premium Scrollytelling) */
.about-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
    margin-bottom: 0;
    /* Reset */
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about_hero_premium.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    /* Optional: Fixed attachment for simple parallax effect on desktop */
    background-attachment: fixed;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darken bottom for text readability, lighter top */
    background: linear-gradient(to bottom, rgba(44, 36, 27, 0.3), rgba(44, 36, 27, 0.7));
    z-index: 1;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
    max-width: 900px;
    text-align: center;
    margin-top: 60px;
    /* Header override offset */
}

.about-hero h1 {
    font-size: 4.5rem;
    /* Large impact */
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.about-hero .hero-subtext {
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 2px;
    height: 6px;
    background: #fff;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 24px;
        opacity: 0;
    }
}

/* 2. Common Layouts */
.section-common {
    padding: 6rem 1.5rem;
}

.subheading-gold {
    display: block;
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.about-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.align-center {
    align-items: center;
}

/* Image Frames */
.image-block {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 4px;
    /* Slight softening */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-frame img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
}

.image-frame:hover img {
    transform: scale(1.03);
}

/* 3. Stats Bar */
.stats-bar {
    padding: 5rem 0;
    background-color: #F9F5F0;
    /* Soft cream/off-white */
    border-top: 1px solid rgba(44, 36, 27, 0.05);
    border-bottom: 1px solid rgba(44, 36, 27, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 500;
    color: var(--color-espresso);
    /* Ensure variable availability or fallback */
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-val .small {
    font-size: 2rem;
    vertical-align: super;
    margin-left: -5px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
}

/* 4. Manifesto / Mission */
.about-manifesto {
    padding: 8rem 0;
    background: #fff;
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-seal {
    margin-bottom: 3rem;
}

.manifesto-seal img {
    width: 140px;
    /* Nice prominent size */
    height: auto;
    opacity: 0.9;
}

.about-manifesto h2 {
    font-size: 3.5rem;
}

.about-manifesto p {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
}

/* 5. Mobile Responsiveness */
@media screen and (max-width: 900px) {
    .about-hero h1 {
        font-size: 3rem;
    }

    .about-hero .hero-subtext {
        font-size: 1.1rem;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-section {
        padding: 4rem 1.5rem;
    }

    /* Handling Order */
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    /* Stats on Mobile: Vertical Stack */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stat-val {
        font-size: 3.5rem;
    }

    .about-manifesto {
        padding: 5rem 1.5rem;
    }

    .about-manifesto h2 {
        font-size: 2.5rem;
    }
}