/* 
 * Our World Page Specific Styles
 * Matches: "Our World.png"
 */

/* Hero Section */
.our-world-hero {
    display: flex;
    min-height: 80vh;
    background-color: var(--color-ivory);
    margin-bottom: var(--spacing-xl);
}

.ow-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-xxl) 10%;
}

.ow-hero-content .subheading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-lavender-whisper); /* Wait, the mockup text is slightly purple/blue. Let's use a darker taupe or deep lavender */
    color: #9d8db3; 
    margin-bottom: var(--spacing-md);
    font-weight: bold;
}

.ow-hero-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
}

.ow-hero-desc {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xl);
    max-width: 400px;
}

.ow-hero-image {
    flex: 1.5;
    background-color: var(--color-champagne);
    mask-image: linear-gradient(to right, transparent, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
}

/* Values Section */
.values-section {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.values-title {
    font-size: 2.5rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xxl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
}

.value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--color-heritage-gold);
    margin-bottom: var(--spacing-md);
}

.value-card h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

.value-card p {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    line-height: 1.4;
}

/* Bento Feature Grid */
.bento-grid-section {
    width: 100%;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Auto height for rows, making it seamless */
}

.bento-item {
    aspect-ratio: 1/1; /* Makes them perfect squares to match mockup if images are square, or we can use fixed min-height */
    min-height: 400px;
}

.bento-img {
    background-color: var(--color-stone);
    background-size: cover;
    background-position: center;
}

.bento-img-wide {
    grid-column: span 2;
    background-color: var(--color-champagne);
}

.bento-text {
    background-color: var(--color-ivory); /* Matches mockup */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-xl);
}

/* In the mockup, Row 1 text has a slight grey/stone tint, Row 2 text is ivory */
.bento-text.bg-stone-light {
    background-color: #F0EDE5; 
}

.bento-text .subheading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
}

.bento-text h3 {
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.bento-text p {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
}

/* Quote Section */
.quote-section {
    display: flex;
    min-height: 400px;
}

.quote-image {
    flex: 1;
    background-color: var(--color-stone);
    mask-image: linear-gradient(to left, transparent 0%, black 30%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 30%);
}

.quote-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-xxl);
    background-color: var(--color-ivory);
}

.quote-text {
    font-size: 2.25rem;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
}

.quote-author {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-dark);
}

/* =========================================
   Responsive — Tablet (≤ 1024px)
   ========================================= */
@media (max-width: 1024px) {
    .ow-hero-title {
        font-size: 3rem;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .bento-item {
        min-height: 300px;
    }

    .bento-img-wide {
        grid-column: span 2;
    }

    .quote-text {
        font-size: 1.75rem;
    }
}

/* =========================================
   Responsive — Phone (≤ 768px)
   ========================================= */
@media (max-width: 768px) {
    .our-world-hero {
        flex-direction: column;
        min-height: auto;
    }

    .ow-hero-content {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .ow-hero-title {
        font-size: 2.25rem;
    }

    .ow-hero-image {
        width: 100%;
        min-height: 250px;
        mask-image: linear-gradient(to bottom, transparent, black 30%);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%);
    }

    .values-title {
        font-size: 1.75rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-img-wide {
        grid-column: span 1;
    }

    .bento-item {
        min-height: 250px;
    }

    .bento-text h3 {
        font-size: 1.5rem;
    }

    .quote-section {
        flex-direction: column;
        min-height: auto;
    }

    .quote-image {
        width: 100%;
        min-height: 250px;
        mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
    }

    .quote-content {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .quote-text {
        font-size: 1.5rem;
    }
}

