/* Ajustar tamaño y alineación de la imagen */
.nav-image {
    width: 60px; /* Ajustar el tamaño según sea necesario */
    display: block;
    margin: 0 auto;
}

/* Asegurarse de que los elementos del nav estén alineados al centro */
.navbar-nav .nav-item {
    display: flex;
    align-items: center;
    margin-right: 5px; /* Ajustar el espacio entre los elementos */
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem; /* Ajustar el padding si es necesario */
}

/* General Styles */
body {
    padding-top: 56px;
    margin: 0;
}

/* Navbar Styles */
.navbar {
    background-color: black;
}

.navbar-nav .nav-link,
.navbar-brand {
    color: white !important;
    font-weight: bold;
    margin-right: 10px; /* Ajustar el espacio entre los enlaces */
}

/* Navbar Toggler Styles (for mobile) */
.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Background Image Section */
.bg-image {
    background-image: url('https://via.placeholder.com/1200x800');
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
}

/* Carousel Styles */
.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    height: 150px;
    object-fit: cover;
}

.card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: black;
}

/* Modal Styles */
.modal-dialog {
    max-width: 80%;
    margin: 1.75rem auto;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: black;
}

.modal-body video {
    max-width: 100%;
    width: 60%;
    margin: 0 auto;
    display: block;
}

.modal-body.text-center img {
    margin: 0 auto;
}

.modal-footer.justify-content-center {
    display: flex;
    justify-content: center;
}

/* Section Titles */
.category-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    border-bottom: 1px solid black;
    padding-bottom: 10px;
}

/* Footer Styles */
footer .form-control {
    background-color: white;
    border: none;
    color: black;
    transition: background-color 0.3s ease;
}

footer .form-control:focus {
    background-color: #d3d3d3;
}

footer .btn-primary {
    background-color: #007bff;
    border: none;
}

footer#contacto {
    background-color: #dee2e6;
    padding-bottom: 60px;
}

/* Section Styles */
section#firma,
section#catalogo {
    padding-bottom: 60px;
}

section#firma {
    background-color: #f8f9fa;
}

/* Carousel Container and Inner Styles */
#inicio.carousel-slide,
#inicio,
.carousel-inner,
.carousel-item {
    height: 60vh !important;
}

.carousel-container {
    margin: 8% 12% 6% 12%;
    border-radius: 15px;
    overflow: hidden;
}

.carousel-inner img {
    border-radius: 15px;
}

/* Custom Heading Styles */
.custom-heading {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    /* Fuente llamativa y corporativa */
    font-weight: bold;
    /* Negrita para un efecto más llamativo */
    background-color: rgba(128, 128, 128, 0.5);
    /* Fondo gris semitransparente */
    padding: 2%;
    /* Espaciado interno */
    display: inline-block;
    /* Ajusta el tamaño del fondo al contenido del texto */
    border-radius: 5%;
    /* Bordes redondeados opcionales */
    color: white;
    /* Color del texto */
}

/* Ensure images are fluid */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Media query for alignment adjustments on small screens */
@media (max-width: 768px) {
    .row.align-items-center {
        flex-direction: column;
    }

    .order-md-1 {
        order: 1;
    }

    .order-md-2 {
        order: 2;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    #inicio.carousel-slide,
    #inicio,
    .carousel-inner,
    .carousel-item {
        height: 20vh !important;
    }

    .carousel-container {
        margin: 15% 10% 0 10%;
        border-radius: 15px;
        overflow: hidden;
    }

    .navbar-nav {
        flex-direction: column;
    }

    .navbar-nav .nav-item {
        margin-right: 0;
    }

    .custom-heading {
        font-size: 1.75rem;
        /* Tamaño de fuente similar a h3 */
        padding: 5px;
        /* Ajustar el padding si es necesario */
    }
}

/* Adjust carousel for larger screens */
@media (min-width: 1920px) and (min-height: 1080px) {
    #inicio.carousel-slide,
    #inicio,
    .carousel-inner,
    .carousel-item {
        height: 20vh !important;
    }
}

#formResponse {
    display: none;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    text-align: center;
}

#formResponse.success {
    background-color: #d4edda;
    color: #155724;
}

#formResponse.error {
    background-color: #f8d7da;
    color: #721c24;
}
