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

/* Encabezado principal con imagen de fondo */
#header {
    background: url('./assets/images/inicial.png') no-repeat center center/cover;
    height: 100vh; /* Toda la altura de la ventana */
    position: relative;
    color: #fff;
    text-align: center;
}

/* Índice en la parte superior */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Fondo sólido */
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Añade sombra para resaltar */
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem; /* Separación entre enlaces */
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.nav-link:hover {
    background: #ff6600;
    color: #fff;
}

/* Contenedor del título centrado */
.header-content {
    position: absolute;
    top: 50%; /* Centrado vertical */
    left: 50%; /* Centrado horizontal */
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

/* Título */
.header-title {
    font-size: 5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Mejora la visibilidad */
}


/* Section Styles */
.section {
    padding: 3rem 2rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff6600;
}

.section-text {
    margin: 1.5rem 0;
    line-height: 1.6;
    font-size: 1.2rem;
}

/* Gallery Styles */
.gallery {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.gallery-img {
    max-width: 100%;
    width: 250px;
    height: auto;
    object-fit: cover;
    border: 2px solid #ccc;
    transition: transform 0.3s, border-color 0.3s;
    border-radius: 10px;
}

.gallery-img:hover {
    transform: scale(1.05);
    border-color: #ff6600;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    text-align: left;
    max-width: 600px;
    margin: 1rem auto;
}

.features-list li {
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    background-color: #fff;
    border-left: 5px solid #ff6600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Ubicación Section */
.map-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.map-link:hover {
    background-color: #333;
}

/* Form Styles */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
    background-color: #fff;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-input:focus, .form-textarea:focus {
    border-color: #ff6600;
    outline: none;
}

.form-button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: #ff6600;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-button:hover {
    background-color: #333;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

.footer-text {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 8px 12px;
    }

    .header-title {
        font-size: 2rem;
    }

    .gallery-img {
        width: 90%; /* Ajusta las imágenes para pantallas pequeñas */
    }

    .section-title {
        font-size: 2rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1rem;
    }
}

/* Botones flotantes */
.floating-buttons {
    position: fixed;
    bottom: 1rem; /* Se separan un poco del borde inferior */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around; /* Espaciado uniforme entre botones */
    align-items: center;
    z-index: 100;
}

/* Estilos generales para los botones redondos */
.floating-button {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    width: 60px; /* Tamaño igual en ancho y alto para que sea un círculo */
    height: 60px;
    border-radius: 50%; /* Hace los botones redondos */
    background-color: #ff6600; /* Naranja por defecto */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Sombra para resaltar */
    transition: background 0.3s, transform 0.3s;
}

.floating-button:hover {
    background-color: #333; /* Cambia el fondo al pasar el cursor */
    color: #ff6600;
    transform: scale(1.1); /* Efecto de agrandamiento */
}

/* Botón específico: Llamar */
.call-button {
    background-color: #34c759; /* Verde para llamadas */
}

.call-button:hover {
    background-color: #28a745;
}

/* Botón específico: WhatsApp */
.whatsapp-button {
    background-color: #25d366; /* Color de WhatsApp */
}

.whatsapp-button:hover {
    background-color: #1ebe57;
}

/* Botón específico: Correo */
.email-button {
    background-color: #007bff; /* Azul para correo */
}

.email-button:hover {
    background-color: #0056b3;
}
