/* --- 5. PAGE SPECIFIC: ABOUT HEADER --- */
.about-header { padding: 80px 10% 40px; text-align: center; }
.about-header h1 { 
    margin-bottom: 20px; 
    font-size: 2.5rem; 
    position: relative; 
    padding-bottom: 10px; 
    text-transform: uppercase;
    color: #111;
}
.about-header h1::after { 
    content: ''; 
    width: 60px; height: 4px; 
    background: #c5a059; 
    position: absolute; bottom: 0; left: 50%; 
    transform: translateX(-50%); 
}

/* --- 6. PAGE SPECIFIC: CONTENT SECTIONS --- */
.about-container {
    display: grid;
    /* FIX: min(100%, 350px) tells the browser: 
       "Try to be 350px wide, but if the screen is smaller, just stay 100% wide" */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 60px;
    padding: 40px 10% 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    width: 100%; /* Ensures the container doesn't exceed its parent */
}

.about-image img {
    width: 100%;
    max-width: 100%; /* Safety: keeps image from ever being wider than its box */
    height: auto;
    border-left: 10px solid #c5a059;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

.about-text h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 25px;
    padding: 0 10% 80px;
}

.value-card {
    background: white;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.value-card h3 {
    color: #c5a059;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* --- 7. PAGE SPECIFIC: MOBILE (Shift @ 1200px) --- */
@media (max-width: 1200px) {
    /* 1. Fix the main layout and stop the wiggle */
    .about-container {
        grid-template-columns: 1fr;
        padding: 40px 5%;
        gap: 30px;
    }

    /* 2. Put the property/brand image on TOP of the text */
    .about-image {
        order: -1;
    }

    /* 3. Fix the smaller 'Values' cards so they don't wiggle either */
    .values-grid {
        grid-template-columns: 1fr;
        padding: 0 5% 40px;
    }
}
/* --- 6. FOOTER STYLES --- */
.main-footer {
    background: #111;
    color: #eee;
    padding: 60px 10% 20px;
    margin-top: 60px;
    border-top: 2px solid #c5a059; /* Matching the dropdown gold line */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #3160d6; /* Matching your Blue logo span */
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-section h4 {
    color: #c5a059;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-section ul a:hover {
    color: #c5a059;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: #666;
}

/* Footer Responsive Fix */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
