/* About Page Specific Styles */

/* About Hero Section */
.about-hero-section {
    padding: 140px 0 60px; /* Account for fixed navbar + extra padding */
    background-color: #ffffff;
}

.about-main-title {
    font-size: 120px;
    line-height: 1.2;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: left;
}

.about-subtitle {
    color: rgba(17, 17, 17, 0.8);
    text-align: left;
    max-width: 645px;
    margin: 0;
}

/* Hero Image Section */
.about-hero-image-section {
    padding: 0 0 40px;
    background-color: #ffffff;
}

.about-hero-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 0;
}

.about-hero-image img,
.about-hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Contentful About Content */
.contentful-about-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.contentful-title {
    font-size: 80px;
    line-height: 1.2;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: left;
}

.contentful-subtitle {
    color: rgba(17, 17, 17, 0.8);
    text-align: left;
    max-width: 645px;
    margin-bottom: 20px;
}

.contentful-description {
    color: rgba(17, 17, 17, 0.7);
    text-align: left;
    max-width: 800px;
}

/* Journey Section */
.journey-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.journey-title {
    font-size: 40px;
    line-height: 1.2;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 0;
}

.journey-description {
    color: rgba(17, 17, 17, 0.8);
    margin-bottom: 0;
}

/* Timeline Styles */
.timeline-container {
    margin-top: 60px;
}

.timeline-item {
    margin-bottom: 60px;
}

.timeline-year {
    font-size: 60px;
    line-height: 1.2;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 0;
}

.timeline-description {
    color: rgba(17, 17, 17, 0.8);
    margin-bottom: 0;
}

.timeline-divider {
    height: 1px;
    background-color: #111111;
    margin: 60px 0;
}

/* What We Do Section */
.what-we-do-section {
    padding: 0 0 60px;
    background-color: #ffffff;
}

.what-we-do-content {
    padding-bottom: 24px;
}

.what-we-do-title {
    font-size: 40px;
    line-height: 1.2;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.what-we-do-description {
    color: rgba(17, 17, 17, 0.8);
    margin-bottom: 0;
}

.what-we-do-image {
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 563/373;
}

.what-we-do-image video {
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer Section */
.footer-section {
    background-color: #1d1d1d;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-brand-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social-link {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-social-link:hover {
    opacity: 0.8;
    color: #ffffff;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-copyright,
.footer-privacy {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-privacy {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-privacy:hover {
    opacity: 0.6;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .about-main-title {
        font-size: 100px;
    }
    
    .timeline-year {
        font-size: 50px;
    }
    
    .journey-title,
    .what-we-do-title {
        font-size: 36px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .about-main-title {
        font-size: 80px;
    }
    
    .timeline-year {
        font-size: 44px;
    }
    
    .journey-title,
    .what-we-do-title {
        font-size: 32px;
    }
    
    .about-subtitle,
    .journey-description,
    .timeline-description,
    .what-we-do-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 120px 0 40px;
    }
    
    .about-main-title {
        font-size: 60px;
        text-align: left;
        margin-bottom: 20px;
    }
    
    .about-subtitle {
        font-size: 20px;
        max-width: 100%;
    }
    
    .about-hero-image {
        height: 300px;
    }
    
    /* Ensure side padding for About page containers on mobile */
    .about-hero-section .container-fluid,
    .about-hero-image-section .container-fluid,
    .journey-section .container-fluid,
    .what-we-do-section .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .about-hero-image-section {
        padding: 0 !important;
    }

    .journey-section {
        padding: 60px 0 !important; /* Ensure About page keeps spacing on mobile */
    }
    
    .timeline-container {
        margin-top: 40px;
    }
    
    .timeline-item {
        margin-bottom: 40px;
    }
    
    .timeline-year {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .timeline-divider {
        margin: 40px 0;
    }
    
    .journey-title,
    .what-we-do-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .journey-description,
    .timeline-description,
    .what-we-do-description {
        font-size: 18px;
    }
    
    .what-we-do-section {
        padding: 0 0 40px; /* Top intentional, bottom spacing kept */
    }
    
    .what-we-do-section .row {
        flex-direction: column-reverse;
    }
    
    .what-we-do-content {
        margin-bottom: 30px;
        padding-bottom: 0;
        padding-top: 40px;
    }

    .what-we-do-image {
        /* spacing handled by content padding */
    }
    
    .footer-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .about-hero-section {
        padding: 100px 0 30px;
    }
    
    .about-main-title {
        font-size: 48px;
        line-height: 1.1;
    }
    
    .about-subtitle {
        font-size: 18px;
    }
    
    .about-hero-image {
        height: 250px;
    }
    
    /* Preserve horizontal padding on very small iPhones */
    .about-hero-section .container-fluid,
    .about-hero-image-section .container-fluid,
    .journey-section .container-fluid,
    .what-we-do-section .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .about-hero-image-section {
        padding: 0 !important;
    }

    .journey-section {
        padding: 60px 0 !important; /* Override global reset on small iPhones */
    }
    
    .timeline-container {
        margin-top: 30px;
    }
    
    .timeline-item {
        margin-bottom: 30px;
    }
    
    .timeline-year {
        font-size: 32px;
    }
    
    .timeline-divider {
        margin: 30px 0;
    }
    
    .journey-title,
    .what-we-do-title {
        font-size: 24px;
    }
    
    .journey-description,
    .timeline-description,
    .what-we-do-description {
        font-size: 16px;
    }
    
    .what-we-do-section {
        padding: 0 0 30px;
    }
    
    .what-we-do-content {
        margin-bottom: 20px;
    }
    
    .footer-social {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-social-link {
        font-size: 14px;
    }
    
    .footer-copyright,
    .footer-privacy {
        font-size: 14px;
    }
    
    /* Disable all video interactions on mobile for about page */
    .about-hero-image video,
    .what-we-do-image video {
        pointer-events: none !important;
    }
}
