
@font-face {
    font-family: 'Athelas-Bold';
    src: url('../fonts/Athelas-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Athelas-BoldItalic';
    src: url('../fonts/Athelas-BoldItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Athelas-Italic';
    src: url('../fonts/Athelas-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Athelas_regular';
    src: url('../fonts/Athelas-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Sinday_College';
    src: url('../fonts/SindayCollegeDemo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Letras    */
    .parisienne-regular {
      font-family: "Parisienne", serif;
      font-weight: 400;
      font-style: normal;
    }

    .quattrocento-sans-regular {
      font-family: "Quattrocento Sans", serif;
      font-weight: 400;
      font-style: normal;
    }

    .quattrocento-sans-bold {
      font-family: "Quattrocento Sans", serif;
      font-weight: 700;
      font-style: normal;
    }

    .quattrocento-sans-regular-italic {
      font-family: "Quattrocento Sans", serif;
      font-weight: 400;
      font-style: italic;
    }

    .quattrocento-sans-bold-italic {
      font-family: "Quattrocento Sans", serif;
      font-weight: 700;
      font-style: italic;
    }


    .montserrat-<uniquifier> {
      font-family: "Montserrat", serif;
      font-optical-sizing: auto;
      font-weight: <weight>;
      font-style: normal;
    }
/* Estilos generales */
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Quattrocento Sans:wght@300;600&display=swap');

    body {
        font-family: 'Playfair Display', serif;
        background-color: #f8f9fa;
        color: #333;
    }

    h1, h2, h3 {
/*        font-family: 'Parisienne', serif;*/
        font-size:3rem !important;
        font-family: 'Sinday_College' !important;
        font-weight: 100 !important;

    }

    p, a, button, input, textarea,span {
        font-family: 'Athelas-Regular' !important;
        font-size: 1.325rem !important;
    }

    /* Navegación */
    .navbar {
    /*    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    }

    .navbar-brand {
        font-weight:300 !important;
    }

    /* Secciones */
    section {
        padding: 60px 0;
    }

    h2 {
        margin-bottom: 20px;
        color: #343a40;
    }

    /* Botones */
    .btn-primary {
        background-color: #007bff;
        border: none;
        padding: 10px 20px;
        font-size: 18px;
        transition: background-color 0.3s;
    }

    .btn-primary:hover {
        background-color: #0056b3;
    }

    /* Galería */
    .galeria-item {
        transition: transform 0.3s ease-in-out;
        cursor: pointer;
    }

    .galeria-item:hover {
        transform: scale(1.1);
    }

    /* Formulario de contacto */
    form {
        max-width: 600px;
        margin: 0 auto;
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    form input,
    form textarea {
        margin-bottom: 15px;
        border-radius: 5px;
    }

    #form-msg {
        font-weight:300 !important;
    }


/* Estilo para la navbar transparente */
    .navbar {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10; /* Asegura que esté por encima del carrusel */
        background-color: rgba(255, 255, 255, 0); /* Fondo transparente */
        transition: background-color 0.3s ease; /* Para efectos suaves */
    }

    .navbar-brand {
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        font-weight:300 !important;
        text-align: center;
        display: block;
    }

    .navbar-brand span {
        font-size: 0.8rem;
        display: block;
        font-weight:300 !important;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #777;
    }

    .navbar-nav {
        display: flex;
        gap: 1rem;
    }

    .nav-link {
        font-family: 'Quattrocento Sans', sans-serif;
        font-size: 1rem;
        color: white;
        text-decoration: none;
        transition: color 0.3s;
    }

    .nav-link:hover {
        color: black;
    }

    .navbar-center {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    /* Carrusel */
    .carousel-item {
        height: 100vh;
        min-height: 400px;
        background-size: cover;
        background-position: center;
    }

    .carousel-caption {
        bottom: 20%;
    }

    .carousel-caption h1 {
        font-family: 'Parisienne', cursive;
        font-size: 3rem;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .carousel-caption p {
        font-size: 1.2rem;
        color: white;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    .carousel-indicators [data-bs-target] {
        background-color: white;
    }

    /* Cambio de fondo en scroll */
    .navbar.scrolled {
        background-color: rgba(255, 255, 255, 1); /* Cambia a un fondo opaco al hacer scroll */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-link {
        color: white; /* Asegura que el texto sea visible sobre las imágenes */
    }

    .navbar.scrolled .nav-link {
        color: #333; /* Cambia a un color oscuro cuando el fondo es opaco */
    }

    /* Estilos específicos para móviles */
    @media (max-width: 768px) {
        .navbar {
            position: fixed !important; /* Fija la navbar en móviles */
        }

        .navbar.scrolled {
            background-color: rgba(255, 255, 255, 1); /* Cambia a un fondo opaco al hacer scroll */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .navbar .nav-link {
            color: #333; /* Texto oscuro para móviles */
        }
    }
    /* Ocultar en escritorio, mostrar en móviles */
    .mobile-only {
        display: none !important; /* Ocultar por defecto */
    }

    @media (max-width: 768px) {
        .mobile-only {
            display: flex !important; /* Mostrar en pantallas pequeñas */
            position: absolute;
            right: 13px;
        }
    }


/* Menú móvil personalizado */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background-color: #f8f9fa;
            z-index: 1050;
            transition: left 0.3s ease;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .mobile-menu.open {
            left: 0;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-menu-links {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 2rem;
        }

        .mobile-menu-links a {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1.2rem;
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #ddd;
            padding-bottom: 0.5rem;
        }

        .mobile-menu-footer {
            text-align: center;
            font-size: 0.9rem;
            color: #777;
        }

        .mobile-menu-footer .social-icons {
            margin-top: 1rem;
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .mobile-menu-footer .social-icons a {
            color: #333;
            font-size: 1.2rem;
        }

/* Estilo para la sección de bienvenida */
        #inicio {
            padding: 4rem 0;
            background-color: #fff;
        }

        #inicio .saludo {
            font-family: 'Parisienne', cursive;
            font-size: 3rem !important;
            color: #333;
            margin-bottom: 0;
        }

        #inicio .nombre {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1.5rem;
            font-weight:300 !important;
            color: #333;
        }

        #inicio .descripcion {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1rem;
            font-weight:300 !important;
            color: #555;
            line-height: 1.8;
        }

        #inicio .linea-divisoria {
            border-left: 1px solid #ddd;
            height: 100%;
        }

        @media (max-width: 768px) {
            #inicio .linea-divisoria {
                display: none;
            }

            #inicio .descripcion {
                text-align: center;
                margin-top: 2rem;
            }
        }
        /*-----------------------------------*/
        #love-stories {
            padding: 4rem 0;
            background-color: #fff;
            text-align: center;
        }

        #love-stories h2 {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1.8rem;
            color: #333;
            margin-bottom: 1rem;
        }

        #love-stories .divider {
            width: 50px;
            height: 2px;
            background-color: #333;
            margin: 0 auto 3rem;
        }

        .story {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            transition: transform 0.3s;
        }

        .story img {
            width: 100%;
            display: block;
            transition: transform 0.3s;
        }

        .story:hover img {
            transform: scale(1.1);
        }

        .story .overlay {
            position: absolute;
            top: -100%; /* Inicialmente fuera de vista */
            left: 0;
            width: calc(100% - 30px); /* Reducimos el ancho para crear margen en los lados */
            height: calc(100% - 30px); /* Reducimos la altura */
            background-color: rgba(240, 248, 255, 0.85);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0; /* Añadimos esto para que no sea visible hasta el hover */
            padding: 15px; /* Espaciado interno */
            transition: top 0.5s ease, opacity 0.3s ease; /* Transición para movimiento y opacidad */
            margin: 0px 15px 15px 15px; /* Espaciado externo para separarlo de los bordes */
            border-radius: 8px; /* Mantiene el mismo borde redondeado que la imagen */
        }

        .story:hover .overlay {
            top: 15px; /* Baja dentro del margen */
            opacity: 1; /* Se hace visible */
        }

        .overlay h3 {
            font-family: 'Quattrocento Sans', sans-serif;
            font-weight:300 !important;
            font-size: 1.2rem;
            color: #333;
            margin: 0;
        }

        .overlay p {
            font-family: 'Quattrocento Sans', sans-serif;
            font-weight:300 !important;
            font-size: 1rem;
            color: #555;
            margin: 0.5rem 0 0;
        }

        /* Estilos para dispositivos móviles */
        @media (max-width: 768px) {
            .story .overlay {
                top: 15px; /* Siempre visible en móviles */
                opacity: 1; /* Asegura que esté visible */
            }
        }


        /* Opciones principales */
        .links-story-link {
            text-decoration: none;
            color: inherit;
        }

        .links-story {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            transition: transform 0.3s;
        }

        .links-story img {
/*            height: 225px !important;*/
            width: 100%;
            display: block;
            transition: transform 0.3s;
        }

        .links-story:hover img {
            transform: scale(1.1);
        }

        /* Fondo del overlay oculto inicialmente */
        .links-story .links-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: calc(100% - 30px); /* Reducimos el ancho para crear margen en los lados */
            height: calc(100% - 30px); /* Reducimos la altura */
            background-color: rgba(240, 248, 255, 0); /* Fondo invisible inicialmente */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin: 15px 15px 0px 15px; /* Espaciado externo para separarlo de los bordes */
            transition: background-color 0.3s;
        }

        /* Texto siempre visible */
        .links-story .links-overlay h3 {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 3rem;
            color: white; /* Texto blanco siempre visible */
            margin: 0;
            transition: color 0.3s ease; /* Transición suave del color */
        }

        /* Efecto hover: muestra el fondo y cambia el color del texto */
        .links-story:hover .links-overlay {
            background-color: rgba(240, 248, 255, 0.85); /* Muestra el fondo */
        }

        .links-story:hover .links-overlay h3 {
            color: #333; /* Cambia el texto a negro */
        }

/* Footer General */
        .footer {
            background-color: #fff;
            color: #333;
        }

        .footer-title {
            font-family: 'Parisienne', cursive;
            font-size: 2rem;
            font-weight:300 !important;
            color: #000;
        }

        .footer-text {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1rem;
            font-weight:300 !important;
            color: #666;
            line-height: 1;
            margin-bottom: 1rem;
            text-align: justify;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: center;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1rem;
            font-weight:300 !important;
            color: #000;
            text-decoration: none;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        .social-icons a {
            color: #333;
            font-size: 1.5rem;
            margin: 0 0.5rem;
            transition: color 0.3s;
        }

        .social-icons a:hover {
            color: #000;
        }

        .btn-footer {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1rem;
            font-weight:300 !important;
            color: #000;
            background-color: #e6f0fa;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: background-color 0.3s, color 0.3s;
        }

        .btn-footer:hover {
            background-color: #d0e4f5;
            color: #333;
        }

        .footer-bottom p {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 0.9rem;
            color: #999;
            margin: 0.5rem 0;
        }

        hr {
            border-top: 1px solid #ddd;
            margin: 1rem 0;
        }


/* Sección de Contacto */
        #contacto {
            background-color: #fff;
            padding: 4rem 0;
            font-family: 'Quattrocento Sans', sans-serif;
        }

        .contact-title {
            font-family: 'Parisienne', cursive;
            font-size: 2rem;
            font-weight:300 !important;
            color: #000;
        }

        .contact-subtitle {
            font-size: 1.2rem;
            font-weight:300 !important;
            color: #555;
            margin-bottom: 2rem;
        }

        .contact-info {
            font-size: 1rem;
            font-weight:300 !important;
            color: #555;
            margin-bottom: 0.5rem;
        }

        .contact-social a {
            font-size: 1.5rem;
            color: #555;
            margin-right: 1rem;
            transition: color 0.3s ease;
        }

        .contact-social a:hover {
            color: #000;
        }

        .contact-input {
            font-size: 1.2rem;
            font-weight:300 !important;
            border: none;
            border-bottom: 1px solid #ccc;
            border-radius: 0;
            padding: 0.5rem 0;
            transition: border-color 0.3s;
        }

        .contact-input:focus {
            border-color: #000;
            outline: none;
        }

        .btn-contact {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1rem;
            font-weight:300 !important;
            color: #fff;
            background-color: #dbe9f6;
            border: none;
            padding: 0.75rem 2rem;
            text-transform: uppercase;
            transition: background-color 0.3s ease;
        }

        .btn-contact:hover {
            background-color: #b9d3e8;
        }

        /* Imagen al lado derecho */
        .contact-image-wrapper {
            position: relative;
            display: inline-block;
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
        }

        .contact-image {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
        }

        /* Ajustes responsivos */
        @media (max-width: 768px) {
            #contacto .contact-title {
                text-align: center;
            }

            #contacto .contact-subtitle,
            #contacto .contact-info,
            #contacto .contact-social {
                text-align: center;
            }

            #contacto .contact-image-wrapper {
                margin-top: 2rem;
            }
        }


        form {
            max-width: 600px;
            margin: 0 auto;
            background: #fff;
            padding: 20px 20px 20px 0px !important;
            margin: 20px 20px 20px 0px !important;
            border-radius: 10px;
            box-shadow: none;
        }


        /* Sección Nosotros */
        #nosotros {
/*            background-color: #f9f9f9;*/
            padding: 4rem 0;
        }

        .about-title {
            font-family: 'Parisienne', cursive;
            font-size: 2.5rem;
            font-weight:300 !important;
            color: #000;
            margin-bottom: 1rem;
        }

        .about-description {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1.2rem;
            font-weight:300 !important;
            color: #555;
            line-height: 1.8;
        }

        /* Carrusel de Testimonios */
        #testimonial-carousel {
            max-width: 100% !important;
            margin: 0 auto;
            padding: 3rem 0;
            position: relative;
        }

        .testimonial-item {
            font-family: 'Quattrocento Sans', sans-serif;
            display: block;
        }

        .testimonial-item.d-none {
            display: none;
        }

        .testimonial-name {
            font-family: 'Parisienne', cursive;
            font-size: 2rem;
            font-weight:300 !important;
            color: #000;
            margin-bottom: 0.5rem;
        }

        .testimonial-location {
            font-size: 1.1rem;
            font-weight:300 !important;
            color: #777;
            margin-bottom: 1.5rem;
        }

        .testimonial-text {
            font-size: 1rem;
            font-weight:300 !important;
            color: #333;
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .testimonial-counter {
            font-size: 1rem;
            font-weight:300 !important;
            color: #000;
            margin-top: 2rem;
        }

        .testimonial-navigation {
            margin-top: 2rem;
        }

        .testimonial-nav {
            font-size: 1.5rem;
            font-weight:300 !important;
            background: none;
            border: none;
            color: #000;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .testimonial-nav:hover {
            color: #555;
        }


/* Estilo de la sección de servicios */
        #servicios {
            background-color: #fff;
            padding: 4rem 0;
        }

        .section-title {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 2rem;
            font-weight:300 !important;
            color: #333;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-family: 'Parisienne', cursive;
            font-size: 1.8rem;
            font-weight:300 !important;
            color: #000;
            margin-bottom: 2rem;
        }

        .category-filters {
            margin-bottom: 2rem;
        }

        .category-link {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1rem;
            font-weight:300 !important;
            color: #555;
            margin: 0 1rem;
            text-decoration: none;
            transition: color 0.3s;
        }

        .category-link.active,
        .category-link:hover {
            color: #000;
            font-weight:300 !important;
        }

        .service-item {
            text-align: center;
            margin-bottom: 2rem;
        }

        .service-item img {
            border-radius: 8px;
            transition: transform 0.3s ease;
        }

        .service-item img:hover {
            transform: scale(1.05);
        }

        .service-title {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1.5rem;
            font-weight:300 !important;
            color: #000;
            margin-top: 1rem;
        }

        .service-description {
            font-family: 'Quattrocento Sans', sans-serif;
            font-size: 1rem;
            font-weight:300 !important;
            color: #555;
            margin-top: 0.5rem;
        }


/* Estilo de la sección de portafolio */
        #portafolio {
            background-color: #fff;
            padding: 4rem 0;
        }

        .portfolio-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 2rem;
            font-weight:300 !important;
            color: #333;
            margin-bottom: 1rem;
        }

        .portfolio-subtitle {
            font-family: 'Parisienne', cursive;
            font-size: 1.8rem;
            font-weight:300 !important;
            color: #000;
            margin-bottom: 2rem;
        }

        .category-filters {
            margin-bottom: 2rem;
        }

        .category-link {
            font-family: 'Montserrat', sans-serif;
            font-size: 1rem;
            font-weight:300 !important;
            color: #555;
            margin: 0 1rem;
            text-decoration: none;
            transition: color 0.3s;
        }

        .category-link.active,
        .category-link:hover {
            color: #000;
            font-weight:300 !important;
        }

        .portfolio-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 2rem;
        }

        .portfolio-item img {
            width: 100%;
            display: block;
            transition: transform 0.3s ease;
        }

        .portfolio-item:hover img {
            transform: scale(1.05);
        }



/* Ajustes responsivos */
@media (max-width: 768px) {
    h1, h2, h3 {
        font-family: 'Parisienne', serif;
    }

    p, a, button, input, textarea,span {
        font-family: 'Quattrocento Sans', sans-serif;
        font-size: .9rem !important;
    }
    #nosotros img{
        width: 100% !important;
    }
}


/* Ocultar todas las secciones excepto la activa */
section {
    display: none;
}

section.active {
    display: block !important;
}

/* Animaciones de aparición */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/*---------------------portafolio------------------*/

.portfolio-title {
    font-family: 'Montserrat', sans-serif;
    font-weight:300 !important;
    font-size: 2rem;
}

.portfolio-subtitle {
    font-size: 1.2rem;
    color: #777;
}

.category-filters {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.category-link {
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    padding: 5px 15px;
    border: 2px solid #333;
    border-radius: 20px;
    transition: all 0.3s;
}

.category-link:hover, .category-link.active {
    background-color: #333;
    color: white;
}

/* Estilos para imágenes */
.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.portfolio-item img:hover {
    transform: scale(1.05);
}

/* Estilos generales */
.category-filters {
    margin-bottom: 20px;
}
.category-link {
    margin: 0 10px;
    text-decoration: none;
    font-weight:300 !important;
    color: #333;
    cursor: pointer;
}
.category-link.active {
    color: #000;
    text-decoration: underline;
}

/* Contenedor de imagen */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Imagen dentro del portfolio */
.portfolio-item img {
    width: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Efecto hover: Agrandar imagen y aplicar un filtro */
.portfolio-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Overlay con ícono */
.portfolio-item::before {
    content: "\f002"; /* Ícono de lupa */
    font-family: "Font Awesome 5 Free"; /* Librería de íconos */
    font-weight:300 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mostrar el overlay al hacer hover */
.portfolio-item:hover::before {
    opacity: 1;
}


/* Modal de carrusel */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    text-align: center;
    width: 90%;
    max-width: 900px;
}
.modal-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

/* Botón de cierre */
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Botones de navegación */
.prev, .next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 10px;
}
.prev {
    left: 20px;
}
.next {
    right: 20px;
}



/* Contenedor de categorías */
.category-container {
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Diseño flexible para las categorías */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    max-width: 100%;
}

/* Botón de categoría */
.category-link {
    display: inline-block;
    background: #f8f9fa;
    color: #333;
    padding: 12px 18px; /* Aumentamos el padding para más espacio */
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight:300 !important;
    transition: all 0.3s ease-in-out;
    border: 1px solid #ddd;
    text-align: center;
}

/* Efecto hover */
.category-link:hover {
    background: black;
    color: white;
}

/* Categoría activa */
.category-link.active {
    background: black;
    color: white;
}

/* 🚀 DISEÑO RESPONSIVO */
@media (max-width: 768px) {
    .category-container {
        padding: 15px; /* Más espacio en móviles */
    }

    .category-filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles */
        gap: 12px;
        justify-content: center;
    }

    .category-link {
        font-size: 0.9rem; /* Reducimos el tamaño de la fuente */
        padding: 10px; /* Más pequeño */
        text-align: center;
        display: block;
        width: 100%; /* Que las categorías se ajusten al grid */
    }
}

.portfolio-item img {
    will-change: transform, filter;
}

.portfolio-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.75);
    transition: transform 0.2s ease-out, filter 0.2s ease-out;
}


/* Ajustes generales del modal/carrusel */
.modal {
    display: none; /* Ocultar por defecto */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
}

/* Contenedor de la imagen en el modal */
.modal-content {
    max-width: fit-content !important;
    max-height: 80vh;
    margin: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

#img_parroquia_1, #img_parroquia_2, #img_parroquia_3{
    border-radius: 5px;
    width: 176px !important;
}
.class_parroquia p{
    font-size: 17px !important;
    line-height: 20px !important;
    margin: 0px 0px 0px 0px !important;
    padding: 0px 0px 0px 0px !important;
}
/* Ajustes para móviles */
@media (max-width: 768px) {
    .modal-content {
        max-width: 90%; /* Ocupar más espacio en móviles */
        max-height: 70vh; /* Altura más reducida */
    }
    #img_parroquia_1, #img_parroquia_2, #img_parroquia_3{
        border-radius: 5px;
        width: 145px !important;
    }
    .class_parroquia p{
        font-size: 14px !important;
        line-height: 15px !important;
        margin: 0px 0px 0px 0px !important;
        padding: 0px 0px 0px 0px !important;
    }

    .clase_divnosotros{
        padding-right: calc(var(--bs-gutter-x)* .5) !important;
        padding-left: calc(var(--bs-gutter-x)* .5) !important;
    }

}

/* Botón de cerrar */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/*----------------*/

/* 📌 Galería oculta inicialmente */
/* Ocultar inicialmente la galería y el modal */
.hidden {
    display: none !important;
}

/* Galería */
.gallery-container {
    width: 100%;
    padding: 1rem;
    background-color: #f8f9fa;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    overflow: hidden;
}

/* Diseño de imágenes en la galería */
.gallery-image {
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Modal de imagen */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 1001;
}

/* Imagen dentro del modal */
.modal-image {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}

/* Botón para cerrar modal */
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* Botones de navegación en el modal */
.prev-image,
.next-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.prev-image { left: 10px; }
.next-image { right: 10px; }


/* Estilos para la galería */
.gallery-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 1rem;
    text-align: center;
    color: #333;
}

.gallery-description {
    font-size: 1rem;
    text-align: center;
    color: #555;
    margin-bottom: 1rem;
}

#carousel-images .carousel-item {
    height: auto !important;
    min-height: 200px !important;
    background-size: cover;
    background-position: center;
}
/*---------------------*/

.nav-link:focus, .nav-link:hover {
    color: white !important;
}

