/* --- Casa de Abuelita 2025 ---
   Author: Adriana Padilla
   Cleaned, combined, responsive & cohesive
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #fff8f3;
    color: #3d3d3d;
}

a {
    text-decoration: none;
    color: #b04a5a;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: #d35400;
}

/* --- Header & Navigation --- */
header {
    background-color: #f7c8c0;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header nav a {
    margin: 0 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

nav a.active {
    text-decoration: underline;
    color: #7a3c47;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: #f7c8c0;
    color: #3d3d3d;
}

.hero h1 {
    font-size: 2.8rem;
    color: #b04a5a;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
}

/* --- Containers & Headings --- */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
}

h2 {
    color: #b04a5a;
    margin-bottom: 20px;
    text-align: center;
}

/* --- About Section --- */
.about {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    text-align: center;
}

.about p {
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #b04a5a;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* --- Contact Section --- */
.contact {
    background: #fff4f0; /* softer, less yellow, more cohesive */
    padding: 80px 20px;
}

.contact .container {
    text-align: center;
    max-width: 900px;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-info li {
    font-size: 1.1rem;
}

.contact-info a {
    color: #d35400;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Horizontal layout on wider screens */
@media(min-width: 768px) {
    .contact-info {
        flex-direction: row;
        justify-content: center;
    }

    .contact-info li {
        margin: 0 15px;
    }
}

/* --- Footer --- */
.site-footer {
    background-color: #f7c8c0;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    font-size: 0.95rem;
    color: #3d3d3d;
}

.site-footer a {
    color: #b04a5a;
    font-weight: bold;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about, .contact, .service-card {
        padding: 20px;
    }
}
