@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
    font-family: "Roboto", sans-serif;
    background-color: #f2f2f2;
}

.navbar-brand img {
    margin-right: 10px;
}

.nav-link {
    color: #000 !important;
    /* margin-right: 20px; */
    margin-left: 20px;
    font-size: 16px;
    font-weight: 400;
}

.navbar-nav .nav-link:hover {
    color: #999999 !important;
}

.navbar-nav .nav-link:last-child {
    margin-right: 0;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,.5);
}

.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(0,0,0,.7);
}

.fa-search {
    font-size: 20px;
    color: #000;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    margin-bottom: 50px;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img-top {
    border-bottom: 1px solid #f0f0f0;
}

.card-body {
    text-align: center;
    padding: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
    margin-top: auto;
}

.btn-light {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    padding: 10px 15px;
    color: #6c757d;
}

.btn-light:hover {
    background-color: #e2e6ea;
}

.main-carousel .item {
    background-color: #eaeceb;
    display: flex;
    justify-content: left;
    align-items: left;
    position: relative;
}

.extrahidden {
    overflow: hidden;
}

/* .owl-carousel .item img {
    height: 50em;
} */

.navbar-toggler {
    border: none;
    background-color: #fff;
}
.product-title{
    padding-bottom: 8px;   
    position: relative;
}

.product-title::after{
    content: '';
    width: 3%;
    height: 2px;
    background-color: #c7000b;
    position: absolute;
    left: 50%;
    margin-left: -1.5%;
    bottom: 0;
    /* min-width: 35px; */
}

.card-body>.btn-light{
    background-color: transparent;
    /* border: none; */
}

.btn-katalog{
    border: solid;
    border-width: 1px;
    border-radius: 0px;
    font-weight: 500;

    display: flex;          /* Enable flexbox */
    align-items: center;    /* Align items vertically centered */
    gap: 10px;              /* Optional: add spacing between items */
    margin-bottom: 10px;    /* Optional: add spacing between items */
}

.btn-katalog:hover{
    background-color: #212529;
    color:#c0c0c0;
    transition: 0.2s;
}


.navbar-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.details-text {
    display: none;
    margin-left: 5px;
}


.details-text {
    display: inline;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    margin-left: 5px;
    margin-right: 5px;
}

.product-video {
    width: 100%;
    height: auto;
    filter: brightness(93%); /* Adjust as needed */
}

.card>video {
    width: 100%;
    height: auto;
    filter: brightness(93%); /* Adjust as needed */
}

.btn-details {
    border: none;
    background-color: transparent;
    color: #000;
    padding: 10px 20px;
    border-radius: 0px;
    font-weight: 500;
    transition: 0.2s;
}

.btn-details:hover {
    border: none;
    background-color: #212529;
    color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 0px;
    font-weight: 500;
    transition: 0.2s;
}

.card:hover .btn-details {
    border: #000;
    border-style: solid;
    border-width: 1px;
}

.card:hover .details-text {
    opacity: 1;
}


.return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #c7000b;
    color: #fff;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    opacity: 0;
    z-index: 1000;
    cursor: pointer;
    transition: opacity 0.5s;
}

.underline {
    position: relative;
    display: inline-block;
    color: #333;
    text-decoration: none;
  }
  
.underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: transform 0.3s;
    transform: scaleX(1);
    transform-origin: bottom right;
}

/* product page */
.product-container .carousel-container {
    border-radius: 24px;
    background-color: #fff;
    display: flex;
    overflow: hidden;
}

.details-container{
    padding: 20px;
    border-radius: 24px;
    overflow: hidden;
    background-color: #fff;
}


.details-container .title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
    padding-bottom: 8px;   
    position: relative;
}


.details-container .title::after{
    content: '';
    height: 2px;
    background-color: #c7000b;
    position: absolute;
    left: 50%;
    margin-left: -17.5px;
    bottom: 0;
    width: 35px;
}

.info-box {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}


.carousel-indicators .thumbnail {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100px;
    height:fit-content; 
    /* opacity: 0; */
}

.carousel-container .arrow {
    border-style: solid;
    border-radius: 40px;
    background-color: #212529;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.hidden{
    opacity: 0;
    transition: 0.3s;
}

.contact {
    display: flex;          /* Enable flexbox */
    align-items: center;    /* Align items vertically centered */
    gap: 10px;              /* Optional: add spacing between items */
    margin-bottom: 10px;    /* Optional: add spacing between items */
}

.contact .icon {
    margin-right: 10px;     /* Optional: add spacing between icon and text */
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.map-container iframe {
    width: 100%;
    border: 0;
    border-radius: 24px;
}

footer{
    border-top: solid 1px #aaa;
}

.footernavbar .nav-link {
    font-size: 14px;
    margin-left: 0px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links li {
    list-style: none;
}

.social-links a {
    color: #212529;
    font-size: 24px;
}

@media (max-width: 768px) {
    .main-carousel .item img {
        /* height: 20em; */
    }

    .details-container .title::after{
        content: '';
        width: 3%;
        height: 2px;
        background-color: #c7000b;
        position: absolute;
        left: 50%;
        margin-left: -17.5px;
        bottom: 0;
        width: 35px;
    }

    .product-container .carousel-container {
        margin-right: 0px;
    }
}

/* Navbar collapse transition effects */
@media (max-width: 992px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-collapse ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .navbar-toggler {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 1001;
    }

    .navbar-toggler i {
        font-size: 24px;
        transition: transform 0.3s ease; /* Add transition for icon rotation */
    }
}

