/* Universal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Cuerpo y fondo de la piscina*/
body {
    font-family: 'Quicksand', sans-serif;
    color: #023E8A;
    background-image: url('img/fondo-piscina.jpg');
    background-repeat: repeat;
    background-size: 400px;
    line-height: 1.6;
}

/*header*/
header {
    background-color: #003F5C;
    color: #FFFFFF;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo i {
    font-size: 30px;
    color: #FFB703;
    margin-right: 12px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 5px;
}

nav a:hover {
    background-color: #0077B6;
}

/*Hero de video*/
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
}

.video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-contenido {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 63, 92, 0.5);
    padding: 40px 60px;
    border-radius: 15px;
}

.hero-contenido h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-contenido p {
    font-size: 20px;
    margin-bottom: 30px;
}

.boton {
    display: inline-block;
    background-color: #FFB703;
    color: #003F5C;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.boton:hover {
    background-color: #FB8500;
}

/* secciòn de productos */
.seccion-productos {
    background-color: #CAF0F8;
    padding: 80px 40px;
    text-align: center;
}

.seccion-productos h2 {
    font-size: 42px;
    font-weight: 700;
    color: #003F5C;
    margin-bottom: 10px;
}

.subtitulo {
    color: #0077B6;
    font-size: 18px;
    margin-bottom: 50px;
}

/* Contenedor de productos */

.contenedor-productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Tarjeta de productos */
.tarjeta-producto {
    width: 30%;
    background-color: #FFFFFF;
    border: 2px solid #90E0EF;
    border-radius: 15px;
    padding: 20px;
    margin: 15px;
    box-sizing: border-box;
    text-align: center;
}

.tarjeta-producto:hover {
    border-color: #0077B6;
    background-color: #F1F8FB;
}

.tarjeta-producto img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.tarjeta-producto h3 {
    color: #003F5C;
    font-size: 22px;
    margin-bottom: 10px;
}

.tarjeta-producto h3 i {
    color: #FFB703;
    margin-right: 8px;
}

.tarjeta-producto p {
    color: #5F5E5A;
    margin-bottom: 15px;
    font-size: 15px;
}

.precio {
    display: inline-block;
    background-color: #FFB703;
    color: #003F5C;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 18px;
}

/* Formulario de Contacto */
.seccion-contacto {
    background-color: #FFFFFF;
    padding: 80px 40px;
    text-align: center;
}

.seccion-contacto h2 {
    font-size: 42px;
    font-weight: 700;
    color: #003F5C;
    margin-bottom: 10px;
}

.formulario {
    max-width: 500px;
    margin: 40px auto 0;
    text-align: left;
}

.formulario label {
    display: block;
    font-weight: 600;
    color: #003F5C;
    margin-top: 15px;
    margin-bottom: 5px;
}

.formulario label i {
    color: #FFB703;
    margin-right: 8px;
}

.formulario input {
    width: 100%;
    padding: 12px;
    border: 2px solid #90E0EF;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    background-color: #FFFFFF;
}

/* Cambiar al pasar el cursor */
.formulario input:hover {
    border-color: #0077B6;
    background-color: #E0F7FA;
}

/* Cambiar cuando colocas el cursor */
.formulario input:focus {
    outline: none;
    border-color: #003F5C;
}

.formulario input[type="submit"] {
    background-color: #FFB703;
    color: #003F5C;
    border: none;
    cursor: pointer;
    font-weight: 700;
    margin-top: 25px;
    padding: 15px;
    border-radius: 30px;
    font-size: 18px;
}

.formulario input[type="submit"]:hover {
    background-color: #FB8500;
    border-color: #FB8500;
}

/* footer */
footer {
    background-color: #03045E;
    color: #FFFFFF;
    text-align: center;
    padding: 40px 20px;
}

.redes {
    margin-bottom: 20px;
}

.redes a {
    color: #FFFFFF;
    font-size: 28px;
    margin: 0 15px;
    text-decoration: none;
}

.redes a:hover {
    color: #FFB703;
}

footer p {
    margin: 8px 0;
    font-size: 14px;
}

footer i {
    color: #FFB703;
    margin-right: 5px;
}