
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

header {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    background-image: url('images/chef-vidal-6-1.jpg'); /* Background image for header */
    background-size: cover;
    background-position: center;
    position: relative;
}

header h1 {
    font-size: 3em;
    margin: 0;
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.5em;
    color: #d4af37; /* Color dorado */
    position: relative;
    z-index: 1;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay to darken background image */
    z-index: 0;
}

section {
    padding: 50px 0;
}

.container {
    width: 80%;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    color: #d4af37; /* Color dorado */
    margin-bottom: 20px;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    text-align: center;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.about-text {
    flex: 2;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h3 {
    font-size: 1.0em;
    margin-bottom: 10px;
    color: #222;
}

.gallery {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.gallery img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #d4af37;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Make the container responsive */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensure the about section stacks vertically on smaller screens */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        width: 100%;
        height: auto;
    }

    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}

/* Adjust header for smaller screens */
@media (max-width: 768px) {
    header {
        padding: 50px 0;
    }

    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1.2em;
    }
}

/* Make the footer more compact on small screens */
@media (max-width: 768px) {
    footer p {
        font-size: 1em;
    }
}

/* Contenedor del slider */
.slider {
    width: 100%;
    max-width: 300px;
    height: auto;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.slides {
    display: flex;
    width: 600%;
    height: 100%;
}

.slide {
    width: 16.66%;
    transition: 0.6s ease;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Botones de navegación manual */
.navigation-manual {
    position: absolute;
    width: 100%;
    bottom: 10px;
    display: flex;
    justify-content: center;
}

.manual-btn {
    border: 2px solid #fff;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    margin: 0 5px;
    transition: 0.3s;
}

.manual-btn:hover {
    background: #fff;
}

/* Hacer que las imágenes sean responsivas */
@media (max-width: 768px) {
    .slides {
        width: 100%;
    }

    .slide {
        width: 100%;
    }
}

input[name="radio-btn"] {
    display: none;
}

#radio1:checked ~ .slides {
    transform: translateX(0);
}

#radio2:checked ~ .slides {
    transform: translateX(-16.66%);
}

#radio3:checked ~ .slides {
    transform: translateX(-33.33%);
}

#radio4:checked ~ .slides {
    transform: translateX(-50%);
}

#radio5:checked ~ .slides {
    transform: translateX(-66.66%);
}

#radio6:checked ~ .slides {
    transform: translateX(-83.33%);
}
