/* About Page Specific Styles */

/* 1. Hero / Company Overview (Apple Style - Background Image) */
.about-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/installing fence.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 0;
    color: white;
    overflow: hidden;
}

/* Reusing hero classes from Services where possible, but explicit here for safety */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-eyebrow {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-laser);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    /* Subtle gradient suitable for dark backgrounds */
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Fallback for legibility if gradient fails to contrast */
    text-shadow: none;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 500;
    max-width: 750px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .about-hero {
        height: auto;
        padding: 8rem 0;
    }

    .about-hero h1 {
        font-size: 2.8rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }
}

/* 2. Value Proposition (Dark Section) */
.value-prop-section {
    background-color: var(--color-woodsmoke);
    color: white;
    padding: 8rem 0;
    position: relative;
}

.value-prop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.value-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.value-text p {
    color: #a3a3a3;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.stat-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-laser);
    margin-bottom: 0.25rem;
}

.stat-item span {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 0.05em;
}

.value-visual {
    position: relative;
}

.value-visual img {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* 3. Green Pillars (What Makes Us Green) */
.green-pillars-section {
    padding: 8rem 0;
    background-color: var(--color-desert-storm);
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 5rem;
    text-align: center;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(59, 86, 139, 0.1);
    color: var(--color-chambray);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
}

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-woodsmoke);
}

.pillar-card p {
    font-size: 0.95rem;
    color: #666;
}

/* 4.5 Team & Impact Gallery (Apple-style Asymmetric Grid) */
.team-gallery-section {
    padding: 8rem 0;
    background-color: white;
}

.team-gallery-section .section-intro {
    max-width: 700px;
    margin: 0 auto 5rem;
    text-align: center;
}

.team-gallery-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-woodsmoke);
    margin-bottom: 1rem;
}

.team-gallery-section .section-intro p {
    font-size: 1.1rem;
    color: #666;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Asymmetric Grid Sizing */
.gallery-large {
    grid-column: span 7;
    height: 400px;
}

.gallery-small {
    grid-column: span 5;
    height: 400px;
}

.gallery-medium {
    grid-column: span 6;
    height: 350px;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-large,
    .gallery-small,
    .gallery-medium {
        grid-column: span 1;
        height: 280px;
    }

    .team-gallery-section {
        padding: 4rem 0;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        height: 300px;
    }
}

/* 5. Vision & Mission */
.vision-mission-section {
    padding: 6rem 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vm-card {
    padding: 4rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vm-card.vision {
    background-color: var(--color-chambray);
    color: white;
}

.vm-card.mission {
    background-color: #f0f7ff;
    color: var(--color-woodsmoke);
}

.vm-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vm-card p {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 35rem;
}

.bg-pattern-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    opacity: 0.05;
    color: currentColor;
    transform: rotate(-15deg);
}

/* 5. Closing / Impact */
.impact-section {
    padding: 8rem 0;
    text-align: center;
    background: white;
}

.impact-content {
    max-width: 800px;
    margin: 0 auto;
}

.impact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-woodsmoke);
}

.impact-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .about-hero {
        padding: 6rem 0 4rem;
    }

    .about-hero h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .value-prop-section {
        padding: 4rem 0;
    }

    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .green-pillars-section {
        padding: 4rem 0;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .vm-card {
        padding: 2.5rem;
    }

    .impact-section {
        padding: 4rem 0;
    }
}

/* Founder Section */
.founder-section {
    padding: 8rem 0;
    background-color: var(--color-desert-storm);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.founder-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.founder-text h2 {
    font-size: 2.5rem;
    color: var(--color-woodsmoke);
    margin-bottom: 1.5rem;
}

.founder-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.founder-text blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-chambray);
    border-left: 4px solid var(--color-laser);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 900px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}