@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Raleway", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
    padding: 2rem;
}

footer .col {
    flex: 1;
    padding: 0 2.5rem;
}

header {
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1025;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    z-index: 1051;
}

/** SIDEBAR **/

#sidebar .toggle-icon {
    float: right;
    padding-right: 15px;
}
#sidebar .btn-toggle-nav {
    padding: 10px 0 0;
}
#sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar.open {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding-left: 1.5rem;
    padding-bottom: 1rem;
}

.dropdown-content {
    display: none;
}

.dropdown:hover .dropdown-content {
    display: block;
    margin-left: 20px;
}

.login-button {
    margin-bottom: 0;
    padding-bottom: 0;
}
.login-button .bg-primary {
    background-color: #2f80ed !important;
    padding: 33px 12px !important;
}

.sidebar a {
    text-decoration: none;
    color: black;
}

footer a {
    text-decoration: none;
    color: white;
}

/* Estilo general para el input */
.input-search {
    display: inline-block;
    min-width: 300px; /* Ajusta este valor según sea necesario */
    transition: width 0.3s ease; /* Transición suave al cambiar el tamaño */
}

/* Para el estado enfocado */
.input-search:focus {
    width: 250px; /* Ajusta este valor al ancho deseado cuando está enfocado */
}

#admin_table tbody tr td {
    vertical-align: middle;
    border-color: white;
}

#admin_table thead tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
#admin_table thead tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

#sidebar_panel ul .nav-item {
    width: 100%;
}

.nav-pills .nav-link {
    /* remove border radius */
    border-radius: 0;
}

.gallery-item {
    display: flex;
    align-items: stretch; /* Asegura que todos los elementos se estiren para ocupar la misma altura */
}

.gallery-item a {
    display: flex; /* Cambiar a flex para alinear icono y texto */
    align-items: center; /* Centrar verticalmente el contenido del enlace */
    text-decoration: none; /* Elimina subrayado del enlace */
    border: 1px solid #ccc; /* Añadir un borde transparente para evitar reflujo al hover */
    border-radius: 4px; /* Añadir esquinas redondeadas */
    padding: 0 1rem; /* Añadir relleno alrededor del contenido */
    width: 50%;
}

.gallery-item a:hover {
    border: 1px solid #007bff; /* Cambiar color del borde al pasar el ratón */
    background-color: rgba(0, 123, 255, 0.1); /* Color de fondo en hover */
}

.gallery-item btn-danger {
    height: auto; /* Asegura que el botón tenga la altura adecuada */
    align-self: stretch; /* Asegura que el botón se estire para igualar la altura del enlace */
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    opacity: 0.7;
}

.gallery-item .photo {
    transition: transform 0.3s ease;
}

.gallery-item .photo:hover {
    transform: scale(1.05);
    opacity: 0.7;
}

.modal-fullscreen {
    background-color: rgba(0, 0, 0, 0.9);
    /* Fondo negro semitransparente */
}

#productMenu {
    width: 33%; /* Ocupa un tercio del ancho de la pantalla */
    max-width: none; /* Permitir que supere el ancho predeterminado */
}

/* Estilo para botones cuadrados */
.btn-square {
    width: 1.5rem; /* Ajustable según tus necesidades */
    height: 1.5rem; /* Igual al ancho para mantener la forma cuadrada */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0; /* Centra perfectamente el contenido */
}

.mySwiper,
.mySwiper .swiper-wrapper,
.mySwiper .swiper-slide {
    height: 100vh !important; /* 👈 cada slide ocupa toda la pantalla */
}
[data-swiper-parallax] {
    background-attachment: fixed; /* hace que el scroll vertical real afecte */
}

/** CATEGORIAS **/
/* CAROUSEL */
.header-container {
    position: relative;
}
.home-page #categoryCarousel.carousel,
.packs-page .header-container #categoryCarousel.carousel,
.category-page #categoryCarousel.carousel {
    height: 98dvh;
    overflow: hidden;
}
.home-page .carousel-inner,
.packs-page .header-container .carousel-inner,
.category-page .carousel-inner {
    height: 100%;
}
.home-page .carousel-item,
.packs-page .header-container .carousel-item,
.category-page .carousel-item {
    height: 100vh;
}
.home-page .carousel-item img,
.packs-page .header-container .carousel-item img,
.category-page .carousel-item img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
}

/* Altura reducida solo para packs-page (select services) */
.packs-page .header-container #categoryCarousel.carousel {
    height: 30dvh !important;
}
.packs-page .header-container .carousel-item {
    height: 30vh !important;
}
.home-footer footer {
    height: 100dvh;
    padding-top: 15vh;
}
.cat-title {
    position: initial;
    bottom: 4vh;
    width: 100%;
    padding-left: 50px;
    padding-bottom: 20px;
    background-color: #fff;
    border: none;
}
.cat-title h1 {
    font-family: "Inter", sans-serif;
    color: #000000;
    margin-top: 5px;
    line-height: 1.15;
    font-size: 12px;
    margin-bottom: 22px;
    border: none;
}
.cat-title h3 {
    color: #000000;
    font-size: clamp(1rem, 2vw + 0.5rem, 3rem);
    margin-bottom: 0;
    line-height: 1.2;
    border: none;
}
.cat-title h3 p {
    padding-bottom: 0;
    padding-left: 3px;
    margin-bottom: 0;
    font-size: 24px;
    border: none;
}
.sub-title-container {
    background-color: #fafafa;
    padding: 10px 50px 5px;
    display: inline-block;
    width: 100%;
    position: relative;
}
.sub-title-container .sub-title-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.btn-services-content {
    position: absolute;
    right: 10px;
    top: -8px;
}
.sub-title {
    color: #9a9a9a;
    font-size: 13px;
    font-family: "Raleway", sans-serif;
}
.anchor-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    gap: 30px;
    font-family: "Raleway", sans-serif;
}
.anchor-list li a {
    text-decoration: none;
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 4px;
}
.anchor-list li a:hover {
    border-bottom: 2px solid #000000;
}
/*.anchor-list li a.active{
    border-bottom: 2px solid #000000;
}*/
.category-content .category-desc,
.service-content .service-desc {
    width: 80%;
    margin: 0 auto;
}
.category-content span,
.service-content span {
    font-family: "Raleway", sans-serif;
    font-size: 13px;
}
.category-content .cat-description,
.service-content .service-description {
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    font-weight: bolder;
}
.category-content h2,
.service-content h2 {
    font-family: "Raleway", sans-serif;
    font-size: 48px;
    font-weight: normal;
    margin-top: 30px;
    display: initial;
}
.category-content a {
    color: #000000;
}
.category-content a:hover > h2 {
    border-bottom: 3px solid #000000;
}

.buttons-container .col-12,
.buttons-container .col-6 {
    padding: 0 !important;
    margin: 10px 0 !important;
}
.buttons-container .col-12.col-xxl-6:first-child {
    padding-right: 5px !important;
}
.buttons-container .col-12.col-xxl-6:last-child {
    padding-left: 5px !important;
}
.category-content .service-list {
    list-style: none;
}
.category-content .service-list li {
    margin-bottom: 10px;
}
.contact-form .btn-action,
.buttons-container .btn-action,
.cart-container .btn-action,
.btn-services-content .btn-action {
    background-color: transparent;
    color: black;
    border: 0;
    border-bottom: 1px solid transparent;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    border-radius: 0 !important;
    line-height: 34px;
    transition: 0.4s all;
    position: relative;
}
/* Línea invisible inicialmente */
.contact-form .btn-action::after,
.buttons-container .btn-action::after,
.cart-container .btn-action::after,
.btn-services-content .btn-action::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: #000;
    transform: scaleX(0);
    transform-origin: center; /* Crece desde el centro */
    transition: transform 0.3s ease;
}

/* Animación al hover */
.contact-form .btn-action:hover::after,
.buttons-container .btn-action:hover::after,
.cart-container .btn-action:hover::after,
.btn-services-content .btn-action:hover::after {
    transform: scaleX(1);
}

.buttons-container .btn-video {
    background: transparent;
    color: #000000;
    font-size: 16px;
    border-radius: 0;
    line-height: 34px;
    font-family: "Raleway", sans-serif;
    border: 1px solid transparent;
    position: relative;
}
.buttons-container .btn-video span {
    position: relative;
}
.buttons-container .btn-video span:before {
    content: "";
    background: url("/storage/images/video-camera.svg");
    background-size: 100%;
    position: absolute;
    height: 26px;
    width: 26px;
    left: -36px;
    top: -4px;
}

.buttons-container .btn-video::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: #000;
    transform: scaleX(0);
    transform-origin: center; /* Crece desde el centro */
    transition: transform 0.4s ease;
}

/* Animación al hover */
.buttons-container .btn-video:hover::after {
    transform: scaleX(1);
}

.mobile-only {
    display: none;
}
@media (max-width: 768px) {
    .mobile-only {
        display: block;
        margin: 2rem 0;
    }
}

.video-thumb {
    display: block; /* para poder usar margin auto */
    margin: 0 auto; /* centrar */
    max-width: 450px; /* ajústalo a tu gusto */
    height: auto; /* mantiene proporción */
    object-fit: contain; /* no “corta” la imagen */
    cursor: pointer; /* indica que es clicable */
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 100; /* o un nº mayor si lo necesitas */
}

.user-panel main.container-fluid {
    display: flex;
    justify-content: center;
}
.user-panel div.container-fluid {
    max-width: 1500px;
}
.header-menu {
    display: flex;
    flex-direction: row;
}
.header-menu img {
    width: 149px;
    height: 35px;
    margin-top: 12px;
}

/** CONTACTO **/
.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5% !important;
}

/** CARRITO **/
.cart-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/** header SCROLL **/
/** SCROLL EFFECTS **/
/* Elementos fixed cuando se hace scroll */
.fixed-header {
    position: fixed !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
}
.fixed-logo-header {
    margin-top: 0 !important;
}

/* Overlay semitransparente */
.scroll-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(77, 77, 77, 0.3);
    z-index: 999;
    opacity: 0;
    transition: all 0.3s ease;
}
.show-overlay {
    opacity: 1;
}

@media screen and (max-width: 1800px) {
    .buttons-container .col-12,
    .buttons-container .col-12.col-xxl-6:last-child {
        padding-left: 0px !important;
        width: 100%;
    }
}

@media screen and (max-width: 1630px) {
    .category-content h2,
    .service-content h2 {
        font-size: 36px;
    }
    .category-content .service-list li {
        margin-bottom: 4px;
    }
}

@media screen and (min-width: 768px) and (max-width: 820px) and (orientation: portrait) {
    .home-page .carousel,
    .packs-page .header-container .carousel,
    .category-page .carousel {
        height: 50dvh;
    }

    .home-page .carousel-item,
    .packs-page .header-container .carousel-item,
    .category-page .carousel-item {
        height: 50vh;
    }
    .anchor-list {
        width: 75%;
    }
    .anchor-list li a {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .category-content .category-desc,
    .service-content .service-desc {
        width: 100%;
        margin: 0 auto;
    }

    .home-page #categoryCarousel.carousel,
    .packs-page .header-container #categoryCarousel.carousel,
    .category-page #categoryCarousel.carousel {
        height: 50dvh;
    }
    .home-page .carousel-item,
    .packs-page .header-container .carousel-item,
    .category-page .carousel-item {
        height: 50vh;
    }

    .cat-title {
        padding-bottom: 9px;
    }
    .cat-title h1 {
        margin-bottom: 0px;
    }
    .carousel {
        position: relative;
        height: 50vh;
    }

    .sub-title-container .sub-title-text {
        height: 48px;
    }

    .anchor-list {
        list-style: none;
        padding: 0;
        margin: 0;
        border: 1px solid #aaa;
        font-family: sans-serif;
        flex-direction: column;
        width: 70%;
        position: absolute;
        background: #fff;
        z-index: 99;
        gap: 10px;
    }

    .anchor-list li {
        padding: 8px;
        background: #fff;
        cursor: pointer;
    }

    .anchor-list li:hover {
        background: #eee;
    }
    #menuCategory li:not(.menu-toggle) {
        display: none;
    }
    #menuCategory .menu-toggle {
        width: 100%;
    }

    /** packs-page **/
    .packs-page .cat-title {
        padding: 0;
    }

    .packs-page .cat-title h1 {
        width: 87%;
        margin: 10px auto 20px;
    }
    .packs-page .cat-title h3 {
        width: 87%;
        margin: 0 auto;
    }
    .packs-page .cat-title h3 p {
        padding-left: 0;
    }
    .packs-page .services-container {
        margin-top: 0 !important;
    }
    .packs-page .services-container > .d-flex {
        margin: 1rem !important;
    }
    .packs-page .carousel {
        height: auto !important;
    }

    #confirmBar .d-flex {
        flex-direction: column;
    }

    /** services-page **/
    #serviceCarousel.carousel {
        height: auto !important;
    }

    /** CONTACT PAGE **/
    .contact-page {
        flex-direction: column;
        height: 100% !important;
        margin-top: 80px;
    }

    /** SCROLL EFFECTS **/
    /* Elementos fixed cuando se hace scroll */
    .fixed-header {
        position: fixed !important;
        top: 0 !important;
        z-index: 1000 !important;
        transition: all 0.3s ease !important;
    }

    /* Overlay semitransparente */
    .scroll-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: rgba(77, 77, 77, 0.3);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
}

/* Logo del sidebar más pequeño en móvil */
@media (max-width: 768px) {
    .tm-sidebar-logo img {
        height: 40px !important;
    }
}
