/* CONSOLIDATED STYLESHEET
   Scoping Strategy: #section-id .class { ... }
*/

:root {
    --brand-red: #7C1B1B;
    --brand-red-dark: #631515;
    --brand-gray: #f4f4f4;
    --brand-dark: #333333;
}

/* --- Global Defaults (Unscoped) --- */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--brand-dark);
    background-color: var(--brand-gray);
}

/* Form Error Messages (Used in Contact Section) */
.form-error-message {
    color: #DC2626;
    font-size: 0.75rem;
    min-height: 1.25rem;
    margin-top: 0.25rem;
}

/* --- SECTION: HOME (#home) --- */
#home .btn-primary {
    background-color: var(--brand-red);
    transition: background-color 0.3s ease;
}
#home .btn-primary:hover {
    background-color: var(--brand-red-dark);
}

/* --- SECTION: SERVICES (#services) --- */
#services .service-card {
    border-left: 4px solid var(--brand-red); /* Custom accent for cards */
}
#services .service-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* --- SECTION: ABOUT (#about) --- */
#about img {
    border: 4px solid white; /* Specific styling for about image */
}

/* --- SECTION: TESTIMONIALS (#testimonials) --- */
#testimonials .testimonial-card {
    position: relative;
}
#testimonials .testimonial-card::before {
    content: '"'; /* Add decorative quote mark */
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 10px;
    color: rgba(124, 27, 27, 0.1); /* Faint brand red */
    font-family: serif;
}

/* --- SECTION: CONTACT (#contact) --- */
#contact input:focus, 
#contact select:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 1px var(--brand-red);
}

/* --- FOOTER --- */
footer a {
    transition: color 0.2s ease;
}
footer a:hover {
    color: var(--brand-red);
    text-decoration: underline;
}