/* Estilos para el menú principal y hamburguesa */
.main-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hamburger-menu {
    display: none;
}

.hamburger {
    display: inline-block;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

.mobile-nav {
    display: none;
}

.mobile-nav.open {
    display: block;
}

@media (max-width: 992px) {
    .main-menu {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
}

@media (max-width: 991px) {
    .main-menu {
        display: none;
    }
    .offcanvas {
        display: block;
    }
}

/* Estilos para el logo */
.logo-img {
    width: 100%;
    max-width: 200px;
}

@media (max-width: 768px) {
    .logo-img {
        max-width: 150px;
    }
}

/* Estilos para el carrusel */
.container {
    height: 100vh;
    width: 100%;
}

.slider {
    width: 100%;
    max-width: 1000px;
    height: 720px;
}

.tm-tab-link img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .carousel-control-prev, .carousel-control-next {
        font-size: 1.5rem;
    }

    .tm-tab-link img {
        width: 500px;
        height: auto;
    }

    .responsive-text {
        font-size: clamp(6px, 2vw, 10px);
    }
}

/* Estilos para los botones */
.btn-uniform {
    padding: 10px 20px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .btn-uniform {
        padding: 5px 10px;
        font-size: 14px;
    }
}

.logout-btn {
    background-color: #c1662a;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #b37812;
}

/* Estilos para el menú desplegable */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-menu {
    min-width: auto;
}

.dropdown-item {
    padding: 0.5rem 1rem;
}

/* Estilos para el offcanvas */
.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    overflow-y: auto;
    z-index: 1050;
}

.offcanvas-header {
    background-color: #C08B45;
    color: #fff;
}

.offcanvas-body {
    background-color: #c08b4569;
    padding: 10px;
}

.offcanvas-title {
    margin-right: auto;
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler-icon {
    background-color: #C08B45;
}

.navbar-toggler-icon-custom {
    background-color: #c08b4595;
    border: 2px solid #C08B45;
}

.navbar-toggler-icon-custom span {
    background-color: #c08b459b;
}

/* Estilos adicionales */
.tm-container-outer {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev, .carousel-control-next {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.tm-tabs-links {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0;
    margin: 0;
    list-style: none;
    white-space: nowrap;
}

.tm-tab-link-li {
    display: inline-block;
    margin: 0 10px;
}

.tm-tab-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.responsive-text {
    margin-top: 5px;
    font-size: clamp(8px, 1.5vw, 12px);
}

.responsive-text::after {
    content: attr(data-text);
    white-space: pre-line;
}
