:root{
    --primary-blue:#0b78e3;
}

.teko {
  font-family: "Teko", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400; /* o 300, 500, etc. */
  font-style: normal;
}

body{
    margin:0px;
    box-sizing: border-box;
}

p{
    margin: 0;
}

h1, h2, h3, h4, h5, p, h6, *{
    font-family: 'Teko', sans-serif;
    font-weight: 300;
}

h2.section-title{
    font-size: 3rem;
    color: #0b78e3;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 300;
}

/* Navbar styles */
.navbar {
    background-color: var(--primary-blue);
    border-bottom: 1px solid #ddd;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

/* Force dropdowns to be hidden by default */
.nav-item.dropdown .dropdown-menu, .dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1001;
}

/* Force show on click */
.nav-item.dropdown .dropdown-menu.show, .dropdown-submenu .dropdown-menu.show {
    display: block;
}

/* Desktop styles */
.nav-item.dropdown .dropdown-menu {
    top: 100%;
    left: 0;
    min-width: 200px;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    clear: both;
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

.dropdown-submenu > a::after {
    content: '▸';
    float: right;
    margin-left: 10px;
}

/* Base Dropdown Styles */
.nav-item.dropdown .dropdown-menu, .dropdown-submenu .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1001;
}

/* Show class to display menus on click */
.nav-item.dropdown .dropdown-menu.show, .dropdown-submenu .dropdown-menu.show {
    display: block;
}

/* Desktop-specific styles */
.nav-item.dropdown .dropdown-menu {
    top: 100%;
    left: 0;
    min-width: 200px;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    clear: both;
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

.dropdown-submenu > a::after {
    content: '▸';
    float: right;
    margin-left: 10px;
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: .25rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 1001;
    padding: 5px 0;
}

.nav-item.dropdown > .dropdown-menu.show {
    display: block;
}

.dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
    font-size: 1.5rem;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: -6px;
    left: 100%;
    margin-top: 0;
    display: none;
}

.dropdown-submenu > .dropdown-menu.show {
    display: block;
}

.dropdown-submenu > .dropdown-item.dropdown-toggle::after {
    content: '▸';
    display: inline-block;
    font-size: 1.1em;
    margin-left: 10px;
    vertical-align: middle;
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}


.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover {
    background-color: #f0f0f0;
    color: #007bff;
}

/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    z-index: 1;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #00aaff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Social buttons */
.social-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-buttons a {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    transition: transform 0.3s;
}

.social-buttons a:hover {
    transform: scale(1.1);
}

.whatsapp {
    background-color: #25D366;
}

.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Responsive styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-blue);
        position: absolute;
        top: 106px;
        left: 0;
        padding: 1rem 0;
        z-index: 999; 
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: left;
        margin: 0;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    
    .nav-item.dropdown .dropdown-menu, 
    .dropdown-submenu .dropdown-menu {
        position: static;
        display: none; /* Hidden by default */
        width: 100%;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding-left: 0;
    }

    .dropdown-menu .dropdown-item {
        color: #ffffff;
    }

    .nav-item.dropdown .dropdown-menu.show, 
    .dropdown-submenu .dropdown-menu.show {
        display: block;
    }

    .dropdown-submenu > .dropdown-item.dropdown-toggle::after {
        float: none;
        margin-left: 8px;
    }
}

/* index */


/* Global Styles */
.bg-1{
    background-image: url("/img/bg-1.png");
    background-repeat: no-repeat;
    width: 100%;
    height: 550px;
    position: absolute;
    left: -39%;
    top: 3%;
}

.bg-2{
    background-image: url("/img/bg-2.png");
    background-repeat: no-repeat;
    filter: blur(0,5);
    width: 100%;
    height: 45%;
    position: absolute;
    bottom: 0;
    left: 81%;
    filter: blur(0px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: 0;
    background-size: cover;
    background-position: center bottom;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
}

h1, h2, h3 {
    color: #222;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}
.title-line{
    width: 20%;
    border: 2px solid var(--primary-blue);
    margin: 10px auto;
    display: flex;
    align-self: center;
}

.glide1, .glide2, .glide3 {
    position: relative;
}

.glide__arrow{
    border-radius: 50px;
/*     box-shadow: none;
 */}

@media (min-width: 900px) {
    .glide__arrow svg{
        height: 22px;
        width: 20px;
    }

    .glide__arrow--left{
        left: -64px;
    }
    .glide__arrow--right{
        right: -64px;
    }
}

.slide img{
    filter: brightness(0.5);
}


.uk-image{
    height: 100%;
}
.uk-section-default{
    position: relative;
    z-index: 0;
    background: none;
}

/* --- Category Section --- */
.categories-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.category-card {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    justify-content: center; 
    align-items: center;
    min-height: 120px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #FFFFFF; 
    font-weight: bold;
}

.bg-container-1{
    background-image: url("/img/background-1.jpeg");
    background-repeat:no-repeat ;
    background-position: 50% -10%;
}

/* --- Featured Products Grid --- */
.products-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.filter-toggle-button{
    margin: 5px;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.product-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffc107;
    color: #212529;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 0;
}

.product-tag.offer {
    background-color: #dc3545;
    color: white;
}

.product-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    text-decoration: none;
}

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.2rem;
}

.product-card h2 {
    font-size: 1.4rem;
    margin: 0.5rem 0 0.8rem;
    color: #333;
    line-height: 1.3;
    width: 100%;
    text-align: center;
}

.product-card .product-description {
    position: relative;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.btn {
    background: #007bff;
    color: white;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* --- "About Us" Section --- */
.features-section {
    position: relative;
    padding: 3rem 1rem;
    margin-top: 3rem;
    border-radius: 8px;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: #007bff;
}

.feature-item p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Thumbnail Gallery for Modal  --- */
.thumbnail-gallery {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail-gallery .thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1 solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumbnail-gallery .thumbnail:hover {
    border-color: #007bff;
}

/* --- Modal Styles--- */
.modal {
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    margin: auto;
}

.close {
    position: absolute;
    top: 20px; right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#prevBtn, #nextBtn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    border: none;
    background: transparent;
    user-select: none;
    transform: translateY(-50%);
}

#prevBtn {
    left: 15px;
}

#nextBtn {
    right: 15px;
}

.banner-container{
    width:100%;
    height:450px;
    display:flex;
    flex-wrap:no-wrap;
    overflow:hidden;
}

.banner-container img{
    width:100%;
    height:200%;
}

    .slider-container {
    position: relative;
    width: 100%;
    height: 450px;
    margin: 0;
    overflow: hidden;
    background-color: #000; 
}

.slider-title {
    position: absolute;
    top: 73%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    z-index: 10;
    text-align: center;
    font-family:"Teko", sans-serif ;
    text-transform: uppercase;
}

.slider-logo {
    border-radius: 50%;
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    z-index: 10;
    text-align: center;
    font-family:"Teko", sans-serif ;
    text-transform: uppercase;
    width: 180px;
}

.slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.7;
}

.slide-caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 1;
    z-index: 10;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

@media (min-width: 768px) {
    .slider-container {
        height: 600px;
    }

    .slider-title {
        font-size: 4.5rem;
    }
    .filter-toggle-button{
        display: none;
    }
}

@media (max-width: 768px) {
    .slider-button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .slide-caption {
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .slider-title {
        font-size: 2.5rem;
    }

    .slider-button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .slide-caption {
        bottom: 5px;
        left: 5px;
        font-size: 10px;
        padding: 4px 8px;
    }
}


/* Listado de productos */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f8f9fa;
}

.main-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 15px;
    box-sizing: border-box;
    overflow: hidden;
}

main{
    overflow: hidden;
}


.page-title {
    text-align: center;
    color: #007bff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 40px;
}

.content-grid {
    display: flex;
    gap: 40px;
    width: 100%;
}

/* --- Filter Section --- */
.filter-section {
    flex-basis: 280px;
    flex-shrink: 0; 
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 25px;
    align-self: flex-start;
    margin: 5px;
}

.filter-card-title {
    color: #343a40;
    font-size: 1.3rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}
.filter-card-title i {
    margin-right: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.form-control,
.form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.price-inputs {
    display: flex;
    gap: 10px;
}
.price-inputs .form-control {
    flex: 1;
}

.clear-filters-button {
    display: block;
    padding: 10px 20px;
    margin-top: 20px;
    border: 1px solid #6c757d;
    border-radius: 5px;
    background-color: transparent;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.clear-filters-button:hover {
    background-color: #6c757d;
    color: #ffffff;
}
.clear-filters-button i {
    margin-right: 5px;
}

/* --- Product Listing Section --- */
.product-listing {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 5px;
}

.product-item {
    display: flex;
}

.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card-image-container {
    background-color: #f0f2f5;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}
.product-card-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.product-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 8px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card-category {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 12px;
}
.product-card-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-card-footer {
    padding: 20px;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.product-card-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #28a745;
    margin-bottom: 15px;
    width: 100%;
    text-align: right;
    padding-top: 8px;
    border-top: 1px dashed #eee;
}
.detail-button {
    display: inline-block;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    width: 100%; 
    box-sizing: border-box;
}
.detail-button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
.detail-button i {
    margin-left: 5px;
}

/* --- Info Message (No Products Found) --- */
.info-message {
    background-color: #e2f2ff;
    color: #0056b3;
    border: 1px solid #b8daff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 40px auto;
    grid-column: 1 / -1;
}
.info-message-icon {
    margin-right: 10px;
    font-size: 2rem;
    vertical-align: middle;
}
.info-message-heading {
    font-size: 1.5rem;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #004085;
}
.info-message-text {
    margin-bottom: 0;
}
.info-message-link {
    color: #004085;
    font-weight: 600;
    text-decoration: underline;
}
.info-message-link:hover {
    text-decoration: none;
}

/* --- Responsive Adjustments --- */

@media (max-width: 1200px) {
    .filter-section {
        flex-basis: 240px; 
    }
    .content-grid {
        gap: 25px;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .main-wrapper {
        padding: 20px 10px; 
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .content-grid {
        flex-direction: column; 
        gap: 30px;
    }

    .filter-section {
        order: -1;
        width: 100%;
    }

    .product-listing {
        grid-template-columns: repeat(auto-fill, minmax(220px, 3fr));
        gap: 10px;
    }
}

/* --- Category Gallery Section --- */
.category-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.category-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-gallery-name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.category-gallery-item:hover .category-gallery-name {
    opacity: 1;
}

/* Responsive adjustments for the gallery */
@media (max-width: 767px) {
    .category-gallery-name {
        font-size: 1rem;
        padding: 8px;
        opacity: 1; /* Always visible on mobile */
    }

    .uk-grid-small {
        margin-left: -10px;
    }
    .uk-grid-small > * {
        padding-left: 10px;
    }
}


.about-text{
    font-weight: 300;
}

.uk-container{
    padding: 0;
}


/**********about **********/
.about-list{
    font-size: 1.5rem;
}

/* Search bar styles */
.search-bar {
    display: flex;
    align-items: center;
    margin: 0 1.5rem;
    flex-grow: 1;
    max-width: 600px;
}

.search-form {
    display: flex;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 25px;
    overflow: hidden;
    background-color: #fff;
}

.search-input {
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.search-button {
    background-color: #0d6efd;
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 0 25px 25px 0;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #0b5ed7;
}

@media (max-width: 768px) {
    .search-bar {
        width: 100%;
        margin: 1rem 0;
        order: 3; /* Change order on mobile */
    }

    .navbar-container {
        flex-wrap: wrap;
    }
}


/* Custom rule to fix submenu layout */
.nav-item.dropdown > .dropdown-menu > .dropdown-submenu > .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    background-color: rgba(0,0,0,0.05);
    padding-left: 15px;
}
