/**
 * About Us Page Styles
 * Comprehensive styling for the About Us page sections
 */

/* Hero Section - Solid Navy Blue (Authentic Printmax) */
.about-hero {
    position: relative;
    min-height: 400px;
    background: var(--primary-blue, #1E5AA8);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem; /* Add proper padding for spacing */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.separator {
    opacity: 0.6;
}

/* About Content Container */
.about-content {
    padding: 0;
}

/* Section Padding */
.section-padding {
    padding: 4rem 0;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Background Variants */
.bg-light {
    background-color: var(--gray-50);
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.bg-primary {
    background: var(--primary-blue, #1E5AA8);
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    color: white;
}

.bg-primary .section-title,
.bg-primary .section-subtitle {
    color: white;
}

/* Company Story Section */
.company-story {
    position: relative;
}

.story-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.story-content p {
    margin-bottom: 1.5rem;
}

.story-content h3 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Mission Statement Section */
.mission-statement {
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    margin-bottom: 2rem;
}

.mission-icon .material-icons {
    font-size: 2.5rem;
    color: white;
}

.mission-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--gray-600);
}

/* Company Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-blue, #1E5AA8);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.value-icon .material-icons {
    font-size: 1.8rem;
    color: white;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.value-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Achievements & Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.stat-icon .material-icons {
    font-size: 1.8rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Company Timeline Section */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-blue);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-left {
    flex-direction: row;
}

.timeline-right {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    position: relative;
}

.timeline-left .timeline-content::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: white;
}

.timeline-right .timeline-content::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-right-color: white;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-marker .material-icons {
    color: white;
    font-size: 1.2rem;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.timeline-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.member-photo {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-blue, #1E5AA8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-placeholder .material-icons {
    font-size: 4rem;
    color: white;
    opacity: 0.7;
}

.member-info {
    padding: 1.5rem;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.member-position {
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-experience,
.member-specialties {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.member-experience .material-icons,
.member-specialties .material-icons {
    font-size: 1rem;
    color: var(--primary-blue);
}

.member-bio {
    color: var(--gray-600);
    line-height: 1.6;
    margin-top: 1rem;
}

/* Call to Action Section */
.about-cta {
    text-align: center;
    background: rgba(30, 90, 168, 0.05);
    border-radius: 20px;
    margin: 2rem 0;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.cta-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-blue, #1E5AA8);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 90, 168, 0.3);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .values-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-left,
    .timeline-right {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-content {
        margin: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-left .timeline-content::after,
    .timeline-right .timeline-content::after {
        display: none;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
    }
    
    .timeline-marker .material-icons {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .value-item,
    .team-member {
        margin: 0 -15px;
    }
    
    .bg-light,
    .bg-primary {
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Animation Classes */
/* Removed conflicting .fade-in styles - animations are handled by block CSS and animations.js */

/* Print Styles */
@media print {
    .about-hero {
        background: none !important;
        color: black !important;
        min-height: auto;
    }
    
    .hero-overlay {
        background: none !important;
    }
    
    .bg-primary {
        background: none !important;
        color: black !important;
    }
    
    .timeline-container::before {
        display: none;
    }
    
    .timeline-marker {
        display: none;
    }
    
    .team-member,
    .value-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
