/* ==========================================
   Bob și Soare - Despre Noi Page Styles
   ========================================== */

/* === Page Header Section === */
.about-header {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

/* Background gradient matching the soft beige/brown vibe */
.about-bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg, #E6DACE 0%, #D4C5B0 100%);
    /* Soft gradients based on reference image */
}

/* Top Title Area */
.about-title-wrapper {
    max-width: 600px;
    margin-bottom: var(--spacing-2xl);
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: #2C2416;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    /* Regular weight for elegant look */
}

.about-subtitle {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #5A4A3A;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

/* === Bento Grid Layout === */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    /* Two main rows for the top section */
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

/* Card Common Styles */
.bento-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-card:hover img {
    transform: scale(1.05);
}

/* Text Overlay in Cards */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
    z-index: 2;
}

.card-label {
    background: rgba(255, 255, 255, 0.9);
    color: #2C2416;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    backdrop-filter: blur(4px);
    font-family: var(--font-display);
}

/* --- Specific Grid Items --- */

/* 1. Header Text Area (Top Left) takes up space but isn't a card itself */
.grid-header-area {
    grid-column: 1 / 7;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 2. Ingredients Card (Top Right) */
.card-ingredients {
    grid-column: 7 / 13;
    grid-row: 1 / 2;
    height: 280px;
}

/* 3. Founder Card (Middle Left) */
.card-founder {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    height: 400px;
}

/* 4. Lab Card (Middle Center) */
.card-lab {
    grid-column: 4 / 10;
    grid-row: 2 / 3;
    height: 400px;
}

/* 5. Mixer/Mission Card (Middle Right) */
.card-mission {
    grid-column: 10 / 13;
    grid-row: 2 / 3;
    height: 400px;
}

/* === 6. Visual Timeline Section ("O Istorie Dulce") === */
.timeline-container {
    position: relative;
    padding: var(--spacing-2xl) 0;
    margin-bottom: var(--spacing-3xl);
    overflow-x: auto;
    /* Allow scrolling on small screens if needed */
}

/* The horizontal line */
.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px;
    min-width: 800px;
    /* Ensure it doesn't squish too much */
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 46px;
    /* Align with dots */
    left: 0;
    width: 100%;
    height: 2px;
    background: #D4C5B0;
    z-index: 0;
}

.timeline-milestone {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-milestone:hover {
    transform: translateY(-5px);
}

.milestone-dot {
    width: 14px;
    height: 14px;
    background: #2C2416;
    border: 3px solid #F8F3E9;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-milestone:hover .milestone-dot {
    background: #E8D5B5;
    transform: scale(1.3);
}

.milestone-year {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2C2416;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.milestone-content {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.timeline-milestone:hover .milestone-content {
    opacity: 1;
}

.milestone-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #5A4A3A;
    margin-bottom: 5px;
}

.milestone-desc {
    font-size: 0.9rem;
    color: #7A6A5A;
    line-height: 1.4;
    padding: 0 10px;
}

/* === 7. Baker's Manifesto Section === */
.manifesto-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* Seamless split */
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: var(--spacing-3xl);
    background: #F8F3E9;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.manifesto-image-col {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.manifesto-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manifesto-content-col {
    padding: var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    /* Clean white backdrop for text */
}

.manifesto-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: #9CAD75;
    /* Brand accent */
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.manifesto-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #2C2416;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.manifesto-text {
    font-size: 1.125rem;
    color: #5A4A3A;
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
}

/* 2x2 Grid for Icons */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.manifesto-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.manifesto-icon {
    font-size: 1.5rem;
    color: #2C2416;
    background: #F4EFE6;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.manifesto-item-text {
    font-weight: 600;
    color: #2C2416;
    font-size: 0.95rem;
}

/* Responsive Manifesto */
@media (max-width: 900px) {
    .manifesto-section {
        grid-template-columns: 1fr;
    }

    .manifesto-image-col {
        min-height: 300px;
    }

    .manifesto-title {
        font-size: 2.5rem;
    }
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .grid-header-area {
        margin-bottom: var(--spacing-lg);
        text-align: center;
        align-items: center;
    }

    .about-article {
        text-align: center;
    }

    .card-ingredients,
    .card-founder,
    .card-lab,
    .card-mission {
        width: 100%;
        height: 300px;
        /* Uniform height on responsive */
    }

    .values-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }

    .value-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* === 8. Team Section (Meet the Artisans) === */
.team-section {
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, #FFFCF7, #fdfbf7);
    border-radius: 30px;
    /* Rounded corners to match Manifesto section */
}

.team-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.team-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2C2416;
    margin-bottom: var(--spacing-sm);
}

.team-subtitle {
    color: #7A6A5A;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image-wrapper {
    width: 200px;
    height: 250px;
    overflow: hidden;
    border-radius: 100px;
    /* Pill shape */
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 4px solid #fff;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2C2416;
    margin-bottom: 5px;
}

.team-role {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9CAD75;
    font-weight: 600;
}

/* Responsive Team */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
}