/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos Generales */
body {
    font-family: 'Arial', sans-serif;
    background-color: #00eaff;
}

/* Encabezados */
h1, h2 {
    font-weight: bold;
}

/* Menú de Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #01b8b2;
    padding: 15px;
    z-index: 100;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: rgb(13, 14, 13);
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    transition: background-color 0.3s;
}

.navbar ul li a:hover {
    background-color: #1000f6;
    border-radius: 5px;
}

/* Banner con Parallax */
.parallax-banner {
    background-image: url('https://via.placeholder.com/1500x800');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 20px;
}

.parallax-banner h1 {
    font-size: 4em;
}

.parallax-banner p {
    font-size: 1.5em;
}

/* Galería de Imágenes */
.gallery {
    padding: 50px 20px;
    background-color: #0548ff;
    text-align: center;
}

.gallery h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px; /* Altura fija para todas las imágenes */
    object-fit: cover; /* Ajusta la imagen sin deformarla */
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Formulario de Contacto */
.contact-form {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.contact-form h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px;
    background-color: #10dcd5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.35s;
}

.contact-form button:hover {
    background-color: #0688d8;
}

/* Animación de Carga */
.loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader span {
    font-size: 50px;
    color: #0073ff;
    animation: blink 1.5s infinite;
    display: inline-block;
}

.loader span:nth-child(1) {
    animation-delay: 0s;
}

.loader span:nth-child(2) {
    animation-delay: 0.3s;
}

.loader span:nth-child(3) {
    animation-delay: 0.65s;
}

/* Animación de parpadeo */
@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
