* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

.katalog {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.short-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.short-header p {
    color: #777788;
}

.short-by {
    display: flex;
    align-items: center;
}

.short-by h4 {
    font-size: 15px;
    text-transform: uppercase;
    color: #777788;
}

.short-btn {
    color: #777788;
    font-size: 15px;
    margin-left: 15px;
}

.active {
    color: #51C2B3;
    border-bottom: 3px solid #51C2B3;
    padding-bottom: 2px;
}

.katalog-container {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 20px;
}

.catalog-category-item.active {
    color: #ff6600;
    font-weight: bold;
}

.catalog-video{
    width: 100%;
    height: 600px;
    margin-top: 50px;
}

.catalog-video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-name h3{
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 3.5rem;
    letter-spacing: -0.02em;
    color: #385f5b;
    transition: 0.4s;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

.catalog-image{
    width: 100%;
    height: 234px;
}

.catalog-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.4s;

}

.catalog-card:hover .catalog-image img{
    transform: scale(1.2);
}




.catalog-card{
    width: 30%;
    height: 350px;
}

.catalog-card a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    justify-content: space-around;
}

.katalog-box {
    width: 25%;
    padding: 10px;
    margin: 0;
    position: relative;
}

.katalog-bottom {
    position: relative;
    overflow: visible;
    height: 56px;
    background-color: #F6F6F6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.katalog-info {
    padding: 0 5px 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    width: 63%;
}

.katalog-info h4 {
    color: #777788;
}

.katalog-download {
    float: right;
    margin: 0;
    padding: 14px 25px;
    line-height: 1.25em;
    color: #777788;
    overflow: hidden;
    background: #EBECEC;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.katalog-download label {
    font-size: 30px;
}

.katalog-hover {
    position: relative;
    display: inline-block;
    width: 100%;
}



.image-one {
    transition: all 0.3s;
    opacity: 1;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.image-two {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s;
    opacity: 0;
    z-index: 1;
}

.katalog-hover:hover .image-one {
    opacity: 0;
}

.katalog-hover:hover .image-two {
    opacity: 1;
}

@media (max-width:900px) {
    .image-one {
        object-fit: contain;
    }

    .image-two {
        object-fit: contain;
    }

    .katalog-box {
        width: 100%;
    }

    .short-header {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 20px;
    }

}



.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

/* İçerik kutusu */
.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 40px 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: sans-serif;
}

/* X ikonu (modal kapatma) */
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: 0.2s ease;
}

.modal-close:hover {
    color: red;
}

/* Modal aktif durumu */
#modal1:checked~.modal1,
#modal2:checked~.modal2 {
    display: block;
}

/* Checkboxları gizle */
.modal-toggle {
    display: none;
}

/* İndirme butonu */
.modal-download {
    display: inline-block;
    margin: 20px 0;
    background-color: #007bff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.modal-download:hover {
    background-color: #0056b3;
}

/* Modal 2 açma butonu */
.modal-next {
    display: inline-block;
    margin-top: 30px;
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
}




.catalog-detail-gallery {
    width: 100%;
    height: auto;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    height: 500px;
}

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

.slide {
    flex: 0 0 33.333%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #d4d4d4, #d4d3d3);
    position: relative;
    opacity: 0.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}




@media (max-width: 1023px) {
    .slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {
    .slide {
        flex: 0 0 100%;
    }
    .thumbnails {
        display: none;
    }
}

.slide.active {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 460px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    color: #ccc;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-button:hover {
    background: #f0f0f0;
    border-color: #999;
    color: #333;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: #fafafa;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 8px;
    border: 2px solid linear-gradient(135deg, #f0f0f0, #e8e8e8);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px linear-gradient(135deg, #f0f0f0, #e8e8e8);
    opacity: 0.6;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    color: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    opacity: 1;
}

.slide-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .slider-container {
        width: 95%;
        margin: 20px;
    }
    .prev{
        display: none;
    }

       .next{
        display: none;
    }
    .product-image {
        width: 100%;
        height: 100%;
        }

    .thumbnails {
        gap: 10px;
        padding: 15px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }
}

.catalog-detail-gallery-download {
    position: absolute;
    bottom: 6%;
    right: 5%;
    width: 368px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 50px rgba(128, 128, 128, 0.5);
}

.catalog-detail-name {
    width: 100%;
    padding: 10px;
}


.catalog-new-name{
    position: absolute;
    bottom: 6%;
    left: 5%;
    width: 368px;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 99;
    height: 56px;
    background-color: #e7ecec;
    display: flex
;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 50px rgba(128, 128, 128, 0.5);
}

.catalog-new-name h3{
    color: #777788;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s ease;
}


.catalog-detail-name h3 {
    color: #777788;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    line-height: 30px;
    height: 30px;
    white-space: nowrap;
    font-weight: 300;
    text-transform: uppercase;
}

.catalog-detail-gallery-buttons {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
}

.favori-button-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.favori-button {
    width: 20%;
    height: 56px;
    background-color: #EFF0F0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.favori-button-icon::before {
    content: "☆";
    font-size: 30px;
    color: #ff9800;
    display: block;
    text-align: center;
    line-height: 30px;
    transition: 0.3s;
}


.favori-button-icon:hover::before {
    content: "★";
    color: #ff9800;
}


.download-button {
    width: 100%;
    height: 56px;
    background-color: #e7ecec;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}


.download-button a span {
    color: #777788;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.download-button a:hover span {
    color: #ff9800;
}

.catalog-detail-gallery-download-up {
    width: 100%;
    padding: 10px;
}

.catalog-detail-gallery-download-up h6 {
    line-height: 30px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ff9800;

}

@media (max-width: 767px) {
    .thumbnails {
        display: none; /* mobilde thumbnails gizlədilir */
    }

    .catalog-detail-gallery-download{
        width: 276px;
        height: 132px;
        left: 8%;
        top: 60%;
    }

    .catalog-detail-name h3{
        font-size: 18px;
    }
}



.catalog-categories{
    width: 100%;
    height: 60px;
    padding: 20px;
}

.catalog-categories ul{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-categories ul li {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    display: inline-block; /* xətt düzgün görünsün deyə */
    padding-bottom: 5px;   /* xətt ilə mətn arasında məsafə */
}
.catalog-categories ul li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px; /* xətt qalınlığı */
    background-color: #000;
    transition: width 0.3s ease;
}

.catalog-categories ul li:hover::after {
    width: 100%; /* soldan sağa böyüyür */
}
