/* --- ABOUT US SECTION --- */
.aboutUs {
    padding: 10rem 8%;
    background-color: var(--about-bg); 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden; /* Clean entrance for animations */
}

.about-container {
    max-width: 1300px;
    display: flex;
    align-items: center;
    gap: 100px;
    width: 100%;
}

.about-content {
    flex: 1.2;
}

.about-tag {
    display: block;
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.aboutUs-text {
    /* Fluid typography: scales based on screen size */
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--about-text); 
    line-height: 1.5;
    font-weight: 700;
    transition: color 0.5s ease;
}

.accent-line {
    width: 80px;
    height: 6px;
    background-color: var(--accent-color);
    margin-top: 3rem;
}

/* --- IMAGE STYLING --- */
.about-image-wrapper {
    flex: 1;
    position: relative;
    padding: 20px;
    display: block; /* Visible by default on desktop */
}

.about-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.image-border-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 12px solid var(--accent-color);
    z-index: 1;
    transform: translate(20px, -20px);
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.about-tag.reveal { transition-delay: 0.2s; }
.aboutUs-text.reveal { transition-delay: 0.4s; }
.accent-line.reveal { transition-delay: 0.6s; }

.about-image-wrapper.reveal { 
    transition-delay: 0.5s;
    transform: translateX(30px); 
}

.about-image-wrapper.reveal.active {
    transform: translateX(0);
}

/* --- MEDIA QUERIES --- */

/* Laptops & Small Desktops */
@media (max-width: 1200px) {
    .about-container {
        gap: 50px;
    }
    .about-main-image {
        height: 500px;
    }
}

/* Tablets, Mobile & Foldables: The "Clean Stack" Strategy */
@media (max-width: 992px) {
    .aboutUs {
        padding: 8rem 10%; /* Center the text with more side padding */
    }

    .about-container {
        justify-content: center;
        text-align: center;
    }

    .about-content {
        flex: 1;
        max-width: 800px; /* Limits line length for readability */
    }

    /* REMOVE IMAGE: Ensuring the heritage text is the hero on mobile */
    .about-image-wrapper {
        display: none;
    }

    .accent-line {
        margin: 2rem auto 0; /* Center the accent line below text */
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .aboutUs {
        padding: 6rem 5%;
    }
    .aboutUs-text {
        font-size: 1.6rem;
    }
}

/* Small Phones & Foldables (Folded) */
@media (max-width: 380px) {
    .aboutUs {
        padding: 5rem 1.5rem;
    }
    .aboutUs-text {
        font-size: 1.4rem;
    }
    .about-tag {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
}