/*
* REVAMPED Stylesheet for the About Us page.
* Implements an "Editorial Elegance" design with sticky scrolling,
* magazine-style layouts, and enhanced UI/UX.
*/

/* General Overrides & Active States */
.navbar .nav-link.active {
    color: var(--color-primary-500);
}

/* The main index.css handles the hover, but for an active state, we want it visible. */
.navbar .nav-link.active::after {
    width: 100%;
}

/* Section 1: About Hero */
.about-hero {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
    text-align: center;
}

.about-hero .hero-title {
    font-size: clamp(42px, 6vw, 72px); /* Responsive font size */
    letter-spacing: -2px;
    line-height: 1.1;
}

.about-hero .hero-text {
    max-width: 600px;
    margin: 24px auto 60px;
    font-size: 18px;
}

.hero-visual-anchor {
    margin-top: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-visual-anchor img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Section 2: The Origin Story (Sticky) */
.sticky-story-section {
    padding-bottom: 120px;
}

.sticky-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.story-block {
    margin-bottom: 80px;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-year {
    font-weight: 700;
    color: var(--color-primary-500);
    margin-bottom: 12px;
    display: block;
}

.story-block h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.sticky-visual {
    position: sticky;
    top: 120px; /* Navbar height + padding */
    height: calc(100vh - 240px);
    min-height: 400px;
}

.sticky-img-wrapper {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sticky-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section 3: Our Values */
.values-section {
    background: var(--color-surface-alt);
     padding: 120px 0;
}

.minimalist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.value-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.value-card i {
    font-size: 40px;
    color: var(--color-primary-500);
    margin-bottom: 16px;
    display: block;
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

/* Section 4: Meet the Artisans */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.team-img-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 3 / 4;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.team-card:hover .team-img-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-card h4 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 4px;
}

.team-card .team-role {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.team-card .social-icon {
    color: var(--color-primary-500);
    font-size: 24px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.team-card .social-icon:hover {
    opacity: 1;
}

/* Section 5: Impact by the Numbers */
.full-width-dark {
    background: var(--color-primary-900);
    color: #fff;
    padding: 120px 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.impact-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.impact-item h3 {
    font-size: clamp(36px, 5vw, 56px);
    color: #fff;
    margin-bottom: 8px;
}

.impact-item p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .sticky-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sticky-visual {
        position: relative;
        top: 0;
        height: 400px;
    }

    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .about-hero {
        padding-top: calc(var(--header-height) + 60px);
        padding-bottom: 60px;
    }

    .hero-visual-anchor img {
        height: 300px;
    }

    .minimalist-grid,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        flex-direction: column;
        gap: 40px;
    }
}