/* 
 * Philosophy Page Specific Styles
 * Matches: "Philosophy.png"
 */

/* Hero Section */
.philosophy-hero {
    display: flex;
    min-height: 80vh;
    background-color: var(--color-ivory);
    margin-bottom: var(--spacing-xxl);
    position: relative;
    overflow: hidden;
}


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

.philosophy-hero-subtitle {
    font-size: 0.875rem;
    font-weight: bold;
    color: #9d8db3; /* Rust/Terracotta from mockup */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

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

.title-divider {
    width: 40px;
    height: 2px;
    background-color: #9d8db3;
    margin-bottom: var(--spacing-lg);
}

.philosophy-hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    line-height: 1.8;
    max-width: 450px;
}

.philosophy-hero-desc p {
    margin-bottom: var(--spacing-md);
}

.philosophy-hero-desc strong {
    display: block;
    margin-bottom: var(--spacing-md);
    font-weight: bold;
}

.philosophy-hero-image {
    flex: 1.2;
    background-color: var(--color-champagne);
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to right, transparent, black 30%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
}

/* Values Section (5 columns) */
.philosophy-values-section {
    background-color: #FAF8F5; /* Very light lavender/ivory tint */
    border-radius: 8px;
    padding: var(--spacing-xxl) var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
    text-align: center;
}

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

.philosophy-values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: var(--spacing-xl);
}

.philosophy-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--spacing-md);
    border-right: 1px solid var(--color-champagne);
}

.philosophy-value-item:last-child {
    border-right: none;
}

.pv-icon {
    font-size: 2.5rem;
    color: #9d8db3; /* Rust color matching the mockup */
    margin-bottom: var(--spacing-md);
}

.pv-title {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.pv-desc {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    line-height: 1.5;
}

/* Story Section */
.philosophy-story-section {
    display: flex;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
    align-items: center;
}

.p-story-image-left {
    flex: 1;
    aspect-ratio: 1/1;
    background-color: var(--color-stone);
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.p-story-content-center {
    flex: 1;
    padding: var(--spacing-xl) 0;
}

.p-story-title {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.p-story-desc {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.btn-discover {
    font-size: 0.875rem;
    font-weight: bold;
    color: #9d8db3;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.p-story-image-right {
    flex: 1;
    aspect-ratio: 3/4;
    background-color: var(--color-champagne);
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

/* Features Banner */
.features-banner {
    background-color: #FAF8F5; /* Very light ivory */
    padding: var(--spacing-xl);
    border-radius: 4px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xxl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-md);
    border-right: 1px solid var(--color-champagne);
}

.feature-item:last-child {
    border-right: none;
}

.feature-icon {
    font-size: 2rem;
    color: #9d8db3;
}

.feature-text h4 {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .philosophy-hero {
        min-height: 60vh;
    }

    .philosophy-hero-title {
        font-size: 2.5rem;
    }

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

    .philosophy-value-item:nth-child(3) {
        border-right: none;
    }

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

    .feature-item:nth-child(2) {
        border-right: none;
    }

    .p-story-title {
        font-size: 2.25rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .philosophy-hero {
        flex-direction: column;
        min-height: auto;
    }

    .philosophy-hero-content {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .philosophy-hero-image {
        min-height: 300px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .philosophy-hero-title {
        font-size: 2rem;
    }

    .philosophy-values-title {
        font-size: 2rem;
    }

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

    .philosophy-value-item {
        border-right: none;
        border-bottom: 1px solid var(--color-champagne);
        padding-bottom: var(--spacing-lg);
    }

    .philosophy-value-item:last-child {
        border-bottom: none;
    }

    .philosophy-story-section {
        flex-direction: column;
    }

    .p-story-image-left,
    .p-story-image-right {
        width: 100%;
        aspect-ratio: 16/9;
    }

    .p-story-title {
        font-size: 2rem;
    }

    .features-banner {
        grid-template-columns: 1fr;
    }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--color-champagne);
        padding-bottom: var(--spacing-md);
    }

    .feature-item:last-child {
        border-bottom: none;
    }
}

