/* Reset de estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

/* Navbar fijo en la parte superior */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #0a1128;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-link{
    background-color: #0a1128;
    color: #fff;
}

/* Estilo para el icono del toggle en el navbar */
.navbar-toggler-icon {
    background-image: none; /* Elimina la imagen predeterminada de las tres líneas */
    border-top: 3px solid white;  /* Crea la primera línea */
    border-bottom: 3px solid white;  /* Crea la segunda línea */
    width: 30px;  /* Ancho del icono */
    height: 22px;  /* Altura total del icono */
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';  /* Crea las dos líneas adicionales */
    position: absolute;
    left: 0;
    right: 0;
    background-color: white; /* Color blanco para las líneas */
    height: 3px;  /* Alto de las líneas */
}

.navbar-toggler-icon::before {
    top: 0;  /* Coloca la primera línea arriba */
}

.navbar-toggler-icon::after {
    bottom: 0;  /* Coloca la segunda línea abajo */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.menu {
    list-style-type: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #007bff;
}

/* Ocultar el menú en dispositivos móviles y mostrar el icono de menú */
.menu-icon {
    display: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* Configuración de menú responsive */
#menu-toggle {
    display: none;
}

#menu-toggle:checked + .menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    /* Dropdown menu en responsive */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
    }
}


/* Sección de Héroe */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-image.jpg') no-repeat center center/cover;
    color: #fff;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.cta-button {
    background: #f0a500;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0px 4px 15px rgba(240, 165, 0, 0.3);
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #c97f00;
}

/* Sección de Servicios */
.services {
    padding: 3rem 1.5rem;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0a1128;
}

.service-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: #0a1128;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #666;
    font-size: 1rem;
}

/* Pie de Página */
.footer {
    background: #0a1128;
    position: fixed;
    bottom: 0;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    width: 100%;
    height: 50px; /* Ajusta la altura según sea necesario */
}

/* Estilo para el botón "Ver Más" */
.service-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.service-button:hover {
    background: #0056b3;
}

/* Estilo para hacer que las tarjetas tengan altura uniforme */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: #0a1128;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #666;
    font-size: 1rem;
    flex-grow: 1;
}

/* Botón "Ver Más" alineado al final de cada tarjeta */
.service-button {
    display: block;
    width: 100%;
    padding: 0.8rem 0; /* Ajuste de altura */
    text-align: center;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 0 0 15px 15px; /* Bordes redondeados en la parte inferior */
    font-weight: bold;
    transition: background 0.3s ease;
}

.service-button:hover {
    background: #0056b3;
}


/* Responsividad para dispositivos móviles */
@media (max-width: 768px) {
    .service-cards {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .card {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #0a1128;
    color: #FFF;
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.dropdown-menu li a {
    color: #fff;
    padding: 0.5rem 1rem;
    display: block;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #007bff;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item{
    color: #fff;
}


/* Estilos para la sección de contacto */
.contact-section {
    padding: 2rem;
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-form,
.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form label,
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.contact-info h3 {
    color: #333;
}

.whatsapp-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.whatsapp-button:hover {
    background: #1ebe57;
}

/* Responsividad */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .menu {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Estilo para la sección de WhatsApp */
.whatsapp-section {
    margin-top: 30px; /* Ajusta este valor para dar más o menos separación */
}

/* Estilo para la sección Hero */
.hero-section {
    position: relative;
    height: 100vh; /* La sección hero ocupa toda la altura de la ventana */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fondo oscuro semitransparente en la sección hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro con opacidad */
    z-index: 1; /* Se coloca debajo del contenido */
}

/* Contenedor de partículas */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Las partículas se muestran detrás del contenido */
}

/* Aseguramos que el contenido se quede encima de las partículas */
.hero-section .container {
    position: relative;
    z-index: 2; /* El contenido del hero queda encima del fondo oscuro y las partículas */
    text-align: center;
}

/* Estilo del texto */
.hero-section h1,
.hero-section p {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Sombra en el texto para mejorar la visibilidad */
}

.table-section {
    padding: 50px 0;
}

.hero-camaras {
    background-color: #0a1128;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.nav-tabs{
    color: #0a1128;
}

.price{
    font-size: 25px;
}

.costo{
    font-size: 25px;
    text-align: center;

}

/* Estilo para el botón flotante */
#scrollToTop {
    position: fixed;
    bottom: 60px;  /* Deja más espacio desde la parte inferior */
    right: 30px;   /* Deja más espacio desde el lado derecho */
    background-color: #0a1128; /* Color de fondo */
    color: white; /* Color de la flecha */
    border: none;
    border-radius: 10px;  /* Bordes redondeados */
    width: 50px;   /* Tamaño del botón (cuadrado) */
    height: 50px;  /* Tamaño del botón (cuadrado) */
    display: none; /* Inicialmente oculto */
    z-index: 1000; /* Asegura que esté sobre otros elementos */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center; /* Alinea el contenido dentro del botón */
    line-height: 50px;  /* Centra la flecha verticalmente */
    font-size: 24px;  /* Tamaño de la flecha */
    cursor: pointer;  /* Cambia el cursor al pasar sobre el botón */
}

/* Efecto de hover */
#scrollToTop:hover {
    background-color: #001833; /* Color un poco más oscuro al pasar el mouse */
}

/* Estilo para la flecha */
#scrollToTop i {
    font-size: 24px; /* Ajusta el tamaño de la flecha */
}

