* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f2f2f2;
}

/* HEADER */
.header {
    background: #111;
    color: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

/* BANNER */
.banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../img/banner.jpg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.btn {
    background: #ff9800;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
}

/* PRODUCTOS */
.productos {
    padding: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.card button {
    background: #111;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
}

/* CONTACTO */
.contacto {
    background: white;
    padding: 30px;
    text-align: center;
}

/* FOOTER */
.footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 15px;
}
.card img {
    width: 100%;
    height: 500px;       
    object-fit: cover;   
    border-radius: 10px;
}
.card {
    display: flex;
    flex-direction: column;
}

.card button {
    margin-top: auto;
}
.banner {
    background-image:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url("../img/banner.jpg");

    background-size: cover;
    background-position: center;
    height: 400px;

    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}
.contacto-form {
    padding: 40px;
    background: #f2f2f2;
    display: flex;
    justify-content: center;
}

.contacto-form form {
    background: white;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contacto-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contacto-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contacto-form textarea {
    resize: none;
    height: 120px;
}

.contacto-form button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #111;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
