/* ==========================================================================
   About Page Specific Styles
   ========================================================================== */

/* Global container for the main content to keep things neat */
.about-page-content {
    padding: 60px 18px 80px;
    max-width: 1600px;
    margin: 0 auto;
    font-family: 'DM Sans', sans-serif; /* Ensuring correct base font */
}

/* Base heading styles (adjust based on your global settings) */
h2, h3, h4 {
    font-family: 'Playfair Display', serif; /* Use display font for headings */
    color: #c8a96e;
    font-weight: 700;
}

/* 1. Make h2 font size bigger */
.about-text-block h2 {
    font-size: 3rem; /* Significantly larger */
    margin-bottom: 20px;
    line-height: 1.2;
}

h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   About Intro Section
   -------------------------------------------------------------------------- */

/* Flexbox container for text and image */
.about-intro-flex {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch; /* Crucial for matching image height to text height */
}

.about-text-block {
    flex: 1; /* Take up 50% width */
}

.about-text-block p {
    line-height: 1.7;
    color: #a3acb8;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.about-image-block {
    flex: 1; /* Take up 50% width */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(200, 169, 110, 0.15);
    box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}

/* This is the key part that makes the image fill the container and look correct */
.about-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops the image to fill the space without distortion */
    display: block;
}

/* --------------------------------------------------------------------------
   Specialties Section (unchanged style, just cleaner classes)
   -------------------------------------------------------------------------- */
.about-specialties {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(22, 29, 39, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 169, 110, 0.15);
    border-radius: 16px;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.specialties-grid div {
    background: rgba(0,0,0,0.2);
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    color: #f2ede8;
    font-weight: 500;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Why Choose Us Section (New Layout)
   -------------------------------------------------------------------------- */
.about-why-choose-wrapper {
    margin-bottom: 60px;
}

.why-choose-content-flex {
    display: flex;
    gap: 50px;
    align-items: center;
}

.why-choose-image {
    flex: 1;
}

.why-choose-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.why-choose-text {
    flex: 1.5; /* Give more space to the text and stack */
}

.why-choose-text h3 {
    text-align: left; /* Aligns with the image-side layout */
    margin-top: 0;
}

/* 3. Make why cases stack column */
.benefits-column-stack {
    display: flex;
    flex-direction: column; /* This creates the vertical stack */
    gap: 20px;
}

.benefit-card {
    background: rgba(22, 29, 39, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 24px;
    border-radius: 12px;
}

.benefit-card h4 {
    color: #c8a96e;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
}

.benefit-card p {
    color: #a3acb8;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Location Section (New Layout)
   -------------------------------------------------------------------------- */
.about-location-flex {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(22, 29, 39, 0.65);
    border: 1px solid rgba(200, 169, 110, 0.15);
    border-radius: 16px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.location-details {
    flex: 1;
}

.location-details h3 {
    text-align: left;
    margin-top: 0;
}

.location-details p {
    color: #a3acb8;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 20px;
}

.contact-info {
    border-left: 2px solid rgba(200, 169, 110, 0.3);
    padding-left: 20px;
}

.contact-info p {
    margin: 0 0 10px 0;
    font-size: 1.125rem;
    color: #f2ede8;
}

.contact-info p.cash-only-note {
    font-size: 0.95rem;
    color: #c8a96e;
    font-style: italic;
    margin-top: 15px;
}

/* 4. Add image to the location */
.location-image {
    flex: 1;
}

.location-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Responsive Design (Media Queries)
   -------------------------------------------------------------------------- */

/* Large Tablets and Laptops */
@media (max-width: 1024px) {
    .about-text-block h2 {
        font-size: 2.5rem;
    }
    .why-choose-content-flex {
        gap: 30px;
    }
}

/* Tablets and Mobile Devices */
@media (max-width: 768px) {
    /* Stack intro section elements */
    .about-intro-flex {
        flex-direction: column;
    }
    
    .about-image-block {
        height: 400px; /* Force a height on mobile when stacked */
    }

    /* Stack why choose section elements */
    .why-choose-content-flex {
        flex-direction: column;
    }
    
    .why-choose-image {
        order: -1; /* Keep the image on top when stacked */
    }

    .why-choose-text h3 {
        text-align: center; /* Re-center heading on mobile */
    }

    /* Stack location section elements */
    .about-location-flex {
        flex-direction: column;
        padding: 30px;
    }
    
    .location-details h3 {
        text-align: center;
    }
    
    .contact-info {
        border-left: none; /* Remove side border on mobile */
        border-top: 2px solid rgba(200, 169, 110, 0.3);
        padding-left: 0;
        padding-top: 20px;
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .about-text-block h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    .about-page-content {
        padding: 40px 15px 60px;
    }
    .about-image-block {
        height: 300px;
    }
    .specialties-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* Smaller grid items on small mobile */
    }
}