@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
    /* Required Palette */
    --palette-green-main: #6eaa59;
    --palette-beige-light: #eff0ea;
    --palette-beige-dark: #9d9778;
    --palette-green-light: #b5d3aa;
    --palette-beige-mid: #d2d0c1;
    --palette-beige-pale: #ccc9b8;
    --palette-green-mid: #90be80;
    --palette-green-pale: #dcebd7;
    --palette-beige-alt: #b3af96;
    
    --font-serif: 'Cormorant Garamond', serif;
}

/* Base founder styles */
.founder-page {
    background-color: var(--palette-beige-light);
    overflow-x: hidden;
}

.font-serif {
    font-family: var(--font-serif) !important;
}

.text-green-main { color: var(--palette-green-main); }
.text-beige-dark { color: var(--palette-beige-dark); }
.text-beige-alt { color: var(--palette-beige-alt); }
.text-dark { color: #2c3e2c; }

.bg-beige-light { background-color: var(--palette-beige-light); }
.bg-green-pale { background-color: var(--palette-green-pale); }
.bg-beige-mid { background-color: var(--palette-beige-mid); }
.bg-beige-alt { background-color: var(--palette-beige-alt); }
.bg-beige-dark { background-color: var(--palette-beige-dark); color: var(--palette-beige-light); }
.bg-green-main { background-color: var(--palette-green-main); color: white; }

/* Typography */
.founder-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    font-weight: 500;
}

.founder-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--palette-beige-dark);
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--palette-green-main);
    margin-bottom: 20px;
    display: inline-block;
}

/* Sections */
.founder-section {
    padding: clamp(80px, 10vw, 150px) 0;
    position: relative;
}

.founder-header {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(27, 46, 27, 0.4), rgba(27, 46, 27, 0.7)), url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.founder-header-content {
    color: white;
    max-width: 800px;
}

.founder-header-content .founder-title {
    margin-bottom: 20px;
}

/* Layouts */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media(min-width: 992px) {
    .founder-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 100px;
    }
    
    .founder-grid.reverse > div:first-child {
        order: 2;
    }
    
    .founder-grid.reverse > div:last-child {
        order: 1;
    }
}

.founder-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.founder-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(144, 190, 128, 0.1);
    pointer-events: none;
}

.founder-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 1s ease;
}

.founder-img-wrapper:hover .founder-img {
    transform: scale(1.03);
}

.img-tall {
    aspect-ratio: 3/4;
}

.img-square {
    aspect-ratio: 1/1;
}

.image-offset {
    position: relative;
}

.image-offset::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--palette-beige-alt);
    z-index: 0;
}

.image-offset img {
    position: relative;
    z-index: 1;
}

@media(min-width: 992px) {
    .image-offset.right::before {
        left: 20px;
    }
}

/* Values Styling */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.value-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 30px;
}

.bg-beige-dark .value-item {
    border-color: rgba(255,255,255,0.1);
}

.value-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--palette-green-pale);
    line-height: 1;
    margin-bottom: 10px;
    font-style: italic;
}

.bg-beige-dark .value-number {
    color: var(--palette-beige-mid);
}

.value-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.bg-beige-dark .value-title {
    color: var(--palette-beige-light);
}

/* Contacts */
.founder-social {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid var(--palette-green-main);
    color: var(--palette-green-main);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link:hover {
    background: var(--palette-green-main);
    color: white;
}

/* Mission Quote */
.mission-quote {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.3;
    font-style: italic;
    color: var(--palette-beige-dark);
    margin-bottom: 30px;
    position: relative;
}

/* Helper Text */
.founder-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5a4a;
    font-weight: 300;
    margin-bottom: 25px;
}

.bg-beige-dark .founder-text {
    color: var(--palette-beige-light);
    opacity: 0.9;
}

/* Action Buttons */
.founder-action {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--palette-green-main);
    color: var(--palette-green-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.founder-action:hover {
    background-color: var(--palette-green-main);
    color: white;
}

/* ====================================================
   🔥 DYNAMIC EFFECTS & MICRO-INTERACTIONS
   ==================================================== */

/* 1. Ken Burns Effect on Header */
@keyframes slowZoom {
    0% { background-size: 100% auto; }
    100% { background-size: 110% auto; }
}
.founder-header {
    animation: slowZoom 25s linear infinite alternate;
}

/* 2. Text Reveal Animation for Header */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.founder-header-content {
    animation: slideUpFade 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 3. Image Offset Dynamic Hover */
.image-offset::before {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.image-offset:hover::before {
    transform: translate(15px, 15px);
}
.image-offset.right:hover::before {
    transform: translate(-15px, 15px);
}

/* 4. Values List Interactive Hover */
.value-item {
    transition: all 0.4s ease;
    padding: 30px 10px;
    border-radius: 8px;
    box-sizing: border-box;
}
.value-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(10px);
}
.value-item .value-number {
    transition: color 0.4s ease, transform 0.4s ease;
}
.value-item:hover .value-number {
    color: var(--palette-green-main);
    transform: scale(1.1);
}

/* 5. Smooth Float for Social Links & Buttons */
.social-link, .founder-action {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-link:hover, .founder-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(110, 170, 89, 0.2);
}

/* 6. Hover pulse on Logo Image */
.founder-img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.founder-img-wrapper:hover .founder-img {
    transform: scale(1.05);
}
