/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Navbar */
.navbar {
background: linear-gradient(to right, #f14e64, #f98d3a);
color: white;
padding: 10px 20px;
}

.navbar-brand {
font-weight: bold;
color: #fff;
margin-right: 50px; /* Ajusta el espaciado entre el logo y el menú */
}

.navbar-nav .nav-link {
color: #fff;
font-weight: 600;
margin-right: 28px;15px;
transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
color: #000;
}

/* Íconos de redes sociales */
.navbar-nav img {
height: 24px;
transition: transform 0.3s ease;
}

.navbar-nav img:hover {
transform: scale(1.2);
}

/* Slider principal */
#slider {
    position: relative;
    height: 100vh;
    background: url('img/slider1.jpg') no-repeat center center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-overlay {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Contenido del slider centrado */
.slider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 130px;
    max-width: 800px;
}

.slider-content h1 {
    font-size: 50px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #f14e64, #f98d3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider-content p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.6;
}


.slider-content .btn {
    background: linear-gradient(to right, #f14e64, #f98d3a);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 30px;
    color: #fff;
    transition: all 0.3s ease;
}

.slider-content .btn:hover {
    background: linear-gradient(to left, #f14e64, #f98d3a);
}

/* Services Section */
.services-section {
    position: relative; /* Necesario para el pseudo-elemento ::before */
    padding: 80px 20px;
    background: #fef6f6;
    background: url('img/fondo.png') no-repeat top center/cover;
    background-attachment: fixed;
    background-size: cover;
}

/* Parallax Section */
.parallax {
    position: relative; /* Necesario para el pseudo-elemento ::before */
    background-image: url('img/parrallax.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 30px 20px!important;
    text-align: center;
    color: white;
}

/* Contenido dentro de la sección */
.parallax h2,
.parallax p {
    position: relative; /* Asegura que el contenido esté en una capa superior */
    z-index: 2; /* Capa encima de la superposición */
}

blockquote {
    color:white;
}

.parallax h2 {
    background: linear-gradient(to right, #f14e64, #f98d3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.carousel-indicators [data-bs-target] {
    background-color: #fff;
}

.carousel-item blockquote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
}

.carousel-item p {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    color: #f14e64;
}

/* Superposición semitransparente */
.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Ajusta la opacidad aquí */
    z-index: 1; /* Capa debajo del contenido */
}

/* Footer */
footer {
    background: linear-gradient(to right, #f14e64, #f98d3a);
    color: #fff;
    text-align: center;
    padding: 20px;
}

.button {
    margin: 0 5px;
    padding: 10px 20px;
    border: none;
    background-color: #f8883c;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.button.active {
    background-color: #f15162;
}

.button:hover {
    background-color: #f8883c;
}

/* Parrallax */
h2 {
    font-size: 36px;
    font-weight: bold !important;
    background: linear-gradient(to right, #f14e64, #f98d3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

hr {
    border: 2px solid #f98d3a;
    opacity: 100%!important;
}

.blog-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-link {
    text-align: center;
    color: #FF6F61;
    padding-left: 190px;
    cursor: pointer;
}

.blog-link img {
    width: 50px;
    margin-bottom: 10px;
}

.btn-gradient {
    background: linear-gradient(to right, #FF6F61, #FF8E53);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-gradient:hover {
    background: linear-gradient(to right, #FF8E53, #FF6F61);
    color: #fff;
}

.btn-gradient span {
    font-size: 12px;
    display: block;
    margin-bottom: 5px;
    color: #666;
}


/* Portafolio */
        .portfolio-items {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: space-between;
        }

        .portfolio-item {
            flex: 0 0 calc(33.33% - 20px);
            box-sizing: border-box;
            display: none; /* Ocultamos inicialmente */
        }

        .portfolio-item.show {
            display: block; /* Mostramos los elementos filtrados */
        }

        .portfolio-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .portfolio-image {
            position: relative;
            width: 100%;
            height: 250px; /* Altura fija */
            overflow: hidden;
        }

        .portfolio-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .portfolio-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.6); /* Fondo negro semi-transparente */
            color: #fff;
            text-align: center;
            padding: 10px;
        }

        .portfolio-title {
            font-size: 1.2em;
            margin: 0;
            font-weight: bold;
        }

        .filter-menu {
            text-align: center;
            margin-bottom: 20px;
        }

        .filter-menu button {
            margin: 0 5px;
            padding: 10px 20px;
            border: none;
            background-color: #f8883c;
            color: #fff;
            border-radius: 5px;
            cursor: pointer;
        }

        .filter-menu button.active {
            background-color: #f15162;
        }

        .filter-menu button:hover {
            background-color: #f8883c;
        }

/* Blog */

    .blog-item {
            background-color: white;
            border: 1px solid #ddd;
            padding: 20px;
            margin-bottom: 20px;
        }

        .blog-item img {
            width: 100%;
            height: auto;
            margin-bottom: 10px;
        }

        .blog-item h5 {
            font-size: 1.3em;
            margin-bottom: 10px;
            color: #333;
        }

        .blog-item p {
            font-size: 1em;
            color: #555;
            margin-bottom: 10px;
        }

        .blog-item .blog-footer {
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        .blog-item button {
            padding: 10px 20px;
            border: none;
            background-color: #f8883c;
            color: white;
            border-radius: 5px;
            cursor: pointer;
        }

        .blog-item button:hover {
            background-color: #f15162;
        }

        .sidebar {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #ddd;
        }

        .sidebar h4 {
            color: #333;
            margin-bottom: 15px;
        }

        .sidebar ul {
            list-style: none;
            padding: 0;
        }

        .sidebar ul li {
            margin-bottom: 10px;
        }

        .sidebar ul li a {
            color: #f5734c;
            text-decoration: none;
        }

        .sidebar ul li a:hover {
            text-decoration: underline;
        }
        h2 {
            font-size: 36px;
            font-weight: bold !important;
            margin-bottom: 20px;
            background: linear-gradient(to right, #f14e64, #f98d3a);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

/* Contacto */

.contact-section {
    padding: 50px 0;
}

.contact-section .col-lg-8 {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-section .col-lg-4 {
    padding: 20px;
}

.contact-section h2 {
    font-weight: bold;
    margin-bottom: 30px;
    color: #f14e64;
}

.contact-section .form-control {
    border-radius: 5px;
}

.contact-section .btn-primary {
    background-color: #f5734c;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
}

.contact-section .btn-primary:hover {
    background-color: #f6744b;
}

.contact-section a {
    color: #f6744b!important;
}

.contact-section a:hover {
    color: #f6744b;
}

.filter-menu button {
            margin: 0 5px;
            padding: 10px 20px;
            border: none;
            background-color: #f8883c;
            color: #fff;
            border-radius: 5px;
            cursor: pointer;
        }

        .filter-menu button.active {
            background-color: #f15162;
        }

        .filter-menu button:hover {
            background-color: #f8883c;
        }




