/* About Page Styles */
.about-page {
    background-color: #050505;
    padding-top: 100px;
    /* Spacer for fixed navbar */
    padding-bottom: 100px;
}

.about-section {
    position: relative;
    min-height: 550px;
    width: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    /* Remove gaps and rounded corners for seamless look */
    margin: 0;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    padding: 60px 10%;
    max-width: 800px;
}

.about-title {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1;
    text-transform: lowercase;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: -2px;
}

.about-subtitle {
    font-family: 'Prompt', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    border-left: 6px solid #ffc107;
    padding-left: 25px;
}

.about-text {
    font-family: 'Sarabun', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.about-section-1 {
    background-image: url('../img/about/hero.png');
}

.about-section-2 {
    background-image: url('../img/about/extraction.png');
}

.about-section-3 {
    background-image: url('../img/about/world.png');
}

.about-section-4 {
    background-image: url('../img/about/raider.png');
}

.about-section-5 {
    background-image: url('../img/about/social.png');
}

/* Right-aligned variations */
.about-section.reverse {
    justify-content: flex-end;
}

.about-section.reverse .about-overlay {
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
}

.about-section.reverse .about-content {
    text-align: right;
}

.about-section.reverse .about-subtitle {
    border-left: none;
    border-right: 6px solid #ffc107;
    padding-left: 0;
    padding-right: 25px;
}

@media (max-width: 992px) {
    .about-section {
        min-height: 400px;
    }

    .about-title {
        font-size: 2.8rem;
    }

    .about-subtitle {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding-top: 80px;
    }

    .about-overlay {
        background: rgba(0, 0, 0, 0.8) !important;
    }

    .about-content {
        text-align: center !important;
        padding: 40px 5%;
    }

    .about-subtitle {
        border: none !important;
        padding: 0 !important;
    }
}