* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
#header {
    background-image: url('intro.jpg');
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

#header img {
    height: 50vmin;
    filter: drop-shadow(#0000005b 0px 0px 0.5rem);
}

/* About Section (increased height) */
#about {
    background-color: #f4f4f4;
    padding: 10rem 2rem;  /* Aumenta la altura */
    text-align: center;
    filter: drop-shadow(0px 0px 0.4rem)
    
}

#about .content h2 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: #222;
    filter: drop-shadow(#0000005b 0px 0px 0.2rem);
}

#about p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Products with Individual Images */
#featured-products {
    background-image: url('segunda.jpg');
    background-size: cover;
    background-attachment: fixed;
    padding: 4rem 2rem;
    color: rgb(255, 255, 255);
    text-align: center;
    font-family: 'Chivo';
}

#featured-products a {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-top: 30px;
    text-decoration: none;
    color: white;
}

#featured-products h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Chivo';
    color: white;
    filter: drop-shadow(#ffffff 0px 0px 0.4rem);
}

.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    width: 30%;
    background-color: rgba(0, 0, 0, 0.61);
    margin: 1rem;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #fff;
}

.card:hover {
    transform: scale(1.05);
    background-color: rgba(0, 0, 0, 0.801);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 1.1rem;
}

/* Contact Section */
#contact {
    background-color: #f4f4f4;
    color: rgb(0, 0, 0);
    padding: 4rem 2rem;
    text-align: center;
    font-family: 'Chivo';
    height: 100vh;
    align-items: center;
    filter: drop-shadow(#000000b7 0px 0px 0.4rem)
}

#contact h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
    filter: drop-shadow(#000000 0px 0px 1.5rem);
}

form {
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Chivo';
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-family: 'Chivo';
}

form input,
form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
    font-family: 'Chivo';
}

form button {
    padding: 1rem 2rem;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Chivo';
}

form button:hover {
    background-color: #777;
}



/* Keyframes */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}

