/* ===========================================
   EquiLux Trailers - About Page Styles
============================================ */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1500462918059-b1a0cb512f1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    margin-top: 100px;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-header h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.6rem;
    color: var(--accent-light);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.3), transparent);
}

/* Story Section */
.story-section {
    background-color: var(--white);
    padding: 100px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.story-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.image-caption i {
    font-size: 1.5rem;
    color: var(--accent-light);
}

.image-caption p {
    color: var(--white);
    margin: 0;
    font-style: italic;
}

.story-content h2 {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.story-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--primary));
}

.story-text p {
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.story-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat p {
    color: var(--text);
    font-weight: 600;
    margin: 0;
}

/* Craftsmanship Section */
.craftsmanship-section {
    background-color: var(--background);
    padding: 100px 0;
}

.craftsmanship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.craft-item {
    background: var(--white);
    padding: 45px 35px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.craft-item:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent);
}

.craft-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.craft-item:hover .craft-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.craft-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.craft-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Team Section */
.team-section {
    background-color: var(--white);
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.position {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info p:last-child {
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
    .story-grid {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    .page-header {
        padding: 150px 0 100px;
        background-attachment: scroll;
    }
    
    .page-header h1 {
        font-size: 3.2rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .story-image img {
        height: 400px;
    }
    
    .craftsmanship-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 80px;
        padding: 120px 0 80px;
        min-height: 350px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .story-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .craftsmanship-grid,
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .craft-item,
    .team-card {
        padding: 35px 25px;
    }
}

@media (max-width: 576px) {
    .story-image img {
        height: 300px;
    }
    
    .image-caption {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}