/* --- Base Styles and Typography --- */
:root {
    --body-font: Verdana, Arial, Helvetica, sans-serif;
    --dark-blue: #001248;
    --white: #FFFFFF;
    --text-color-body: #003333;
    --text-color-sm: #003366;
    --text-color-red: #FF0000;
    --text-color-black: #000000;
    --text-color-gray: #333333;
    --content-max-width: 800px;
    --border-radius-lg: 15px; /* Large rounded corners for images and main content */
    --border-radius-sm: 5px;  /* Smaller rounded corners */
}

/* Original body background color */
.dark-background {
    background-color: var(--dark-blue);
}

/* Original class mappings (reused for consistency) */
.body-text {
    font-family: var(--body-font);
    font-size: 12px;
    color: var(--text-color-body);
    text-align: center;
}

.body-bold-black {
    font-family: var(--body-font);
    font-size: 13px;
    color: var(--text-color-black);
    font-weight: bold;
    text-align: center;
}

.body-bold-red {
    font-family: var(--body-font);
    font-size: 20px;
    color: var(--text-color-red);
    font-weight: bold;
    text-align: center;
}

.body-sm {
    font-family: var(--body-font);
    font-size: 10px;
    color: var(--text-color-sm);
    text-align: center;
}

/* --- Layout and Responsiveness --- */
.page-container {
    max-width: var(--content-max-width);
    margin: 0 auto; /* Center the container */
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.header-section {
    padding: 20px 0;
    text-align: center;
    background-color: var(--white);
}

.nav-links {
    padding: 10px 0;
}

.nav-link {
    text-decoration: none;
    padding: 0 10px;
}

/* Logo styling */
.main-logo {
    max-width: 576px; /* Based on original HTML size */
    width: 100%;
    height: auto;
    /* Centering and display properties */
    display: block;
    margin: 0 auto 10px; /* Center horizontally, 10px margin below */
    /* Corner and Border removal */
    border-radius: 0; 
    border: none; /* Removes the outline/border */
}


/* 🔄 UPDATED CSS: Set content background to white */
.content-section {
    background-color: var(--white); /* Changed from light-gray to white */
    padding: 10px;
}

/* Main Content Boxes - already white, no change needed here */
.intro-box, .car-details-box, .contact-box {
    background-color: var(--white);
    padding: 20px;
    margin-bottom: 10px;
    border-radius: var(--border-radius-sm); 
}

/* Image Containers and Styling */
.main-image-container {
    text-align: center;
    padding: 20px 0;
    background-color: var(--white);
    margin-bottom: 10px;
}

.main-car-image {
    max-width: 95%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

/* Styles for all other images */
.page-container img:not(.main-logo) {
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--text-color-gray); /* Used a darker gray border for contrast */
    display: block;
    width: 100%;
    height: auto;
}

/* Styling for the Single Image Gallery */
.single-images-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: var(--white);
    padding: 10px;
}

/* Ensure the large images scale correctly */
.single-images-gallery img {
    max-width: 100%;
    height: auto;
}

/* Styling for the Two-Column Gallery */
.more-pics-heading {
    background-color: var(--white);
    padding: 20px 10px;
    margin: 0;
}

.two-col-gallery {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 10px;
    background-color: var(--white);
    padding: 10px;
    margin-top: 0;
}

.two-col-gallery a {
    text-align: center;
    display: block;
}

/* Media Query for Tablet/Desktop Layout (Two-Column Gallery) */
@media (min-width: 600px) {
    .two-col-gallery {
        grid-template-columns: 1fr 1fr; 
        column-gap: 20px;
    }

    /* Adjust image sizes within the grid */
    .two-col-gallery img {
        width: 100%; 
        height: auto;
        max-width: 380px;
    }
}