/* General Styles */
:root {
    --primary-color: #4CAF50; /* Green for nature/freshness */
    --secondary-color: #607D8B; /* Blue-grey for stability/home */
    --accent-color: #FFC107;   /* Amber for highlights/energy */
    --text-color: #333;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --dark-grey: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-grey);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8em;
    line-height: 1.2;
    color: var(--white);
}

h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: darken(var(--primary-color), 10%); /* This won't work in pure CSS, but concept is darker green */
    background-color: #45a049; /* Example darker shade */
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1600x800?text=Naturaleza+y+Bienestar') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Make it take up more of the viewport height */
}

.hero-content {
    max-width: 800px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Section */
.about-section {
    background-color: var(--light-grey);
    padding: 60px 20px;
    text-align: center;
}

.promise-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.promise-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1 1 calc(33% - 40px); /* Adjust for 3 columns, minus gap */
    max-width: 350px;
    transition: transform 0.3s ease;
}

.promise-item:hover {
    transform: translateY(-5px);
}

.promise-item img {
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Products Section */
.products-section {
    padding: 60px 20px;
    background-color: var(--white);
    text-align: center;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background-color: var(--light-grey);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1 1 calc(33% - 40px); /* Adjust for 3 columns, minus gap */
    max-width: 380px;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.category-card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
}

.category-card p {
    font-size: 0.95em;
    color: var(--dark-grey);
    margin-bottom: 20px;
    min-height: 4em; /* Ensure consistent card height */
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.testimonials-section h2 {
    color: var(--white);
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(50% - 40px); /* Two columns */
    max-width: 500px;
    text-align: left;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    font-weight: 600;
    text-align: right;
    margin-top: 15px;
    color: var(--accent-color);
}


/* CTA / Contact Section */
.cta-contact-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--white);
}

.cta-contact-section h2 {
    color: var(--primary-color);
}

.cta-contact-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.btn-phone {
    font-size: 1.3em;
    padding: 15px 30px;
    margin-bottom: 40px;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-grey);
}

.btn-phone:hover {
    background-color: darken(var(--accent-color), 10%);
    background-color: #e6b100; /* Example darker shade */
    color: var(--white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
    margin-top: 30px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
}

/* Footer */
.footer-section {
    background-color: var(--dark-grey);
    color: var(--light-grey);
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer-section p {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .promise-item,
    .category-card {
        flex: 1 1 calc(50% - 30px); /* Two columns on tablets */
    }

    .testimonial-card {
        flex: 1 1 100%; /* One column on tablets/mobiles */
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.6em;
    }

    .promise-item,
    .category-card {
        flex: 1 1 100%; /* Single column on smaller screens */
        max-width: 400px; /* Limit width for single column */
    }

    .testimonial-card {
        max-width: 100%;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .btn-phone {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 15px;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.4em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        font-size: 0.9em;
    }
}