/* Main container for the About Us page */
.about-us-container {
    width: 100%;
    max-width: 1200px; /* Constrain width for better readability */
    margin: 0 auto;
    padding: 3rem 2rem;
    color: white;
}

/* General section styling */
.about-section {
    display: flex;
    gap: 2rem;
}

/* Top Section Layout */
.top-section {
    align-items: stretch; /* CRITICAL: Make columns equal height */
    margin-bottom: 3rem;
}

.about-text {
    flex: 1; /* Takes up half the space */
    min-width: 300px;
    padding-right: 2rem;
}

.about-image-main {
    flex: 1; /* Takes up the other half */
    min-width: 300px;
    background-image: url('images/m1-1.jpg');
    background-size: cover;
    background-position: center 30%; /* Vertically align to 30% from the top */
    border-radius: 8px; /* Optional: adds rounded corners */
}

/* Bottom Section Layout */
.bottom-section {
    align-items: center;
    background-color: #8B0000;
    padding: 2rem;
    border-radius: 8px;
    flex-wrap: wrap-reverse; /* Puts image first on mobile when wrapped */
}

.about-image-scooter {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.about-image-scooter img {
    max-width: 250px;
    width: 100%;
}

.welcome-text {
    flex: 2;
    min-width: 300px;
}

/* Typography and Accents */
.page-title, .tagline, .about-text h2, .welcome-text h2, .order-now-link {
    color: #FFD700;
}

.page-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.tagline {
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.welcome-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1rem;
}

.welcome-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.signature {
    text-align: right;
    font-style: italic;
}

.order-now-link {
    display: inline-block;
    margin-top: 1.5rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.order-now-link:hover {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-section, .bottom-section {
        flex-direction: column;
    }
    .about-text {
        padding-right: 0;
    }
    .about-image-main {
        min-height: 300px; /* Give the background image a height on mobile */
        margin-top: 2rem;
    }
}
