@font-face {
    font-family: africaFonts; /* set name */
    src: url(../fonts/ClockworkLemon.otf); /* url of the font */
}
@font-face {
    font-family: blackBound; /* set name */
    src: url(../fonts/Mojita.ttf); /* url of the font */
}
body {
    font-family: Arial, sans-serif;
    margin: 0px;
    display: flex;
    justify-content: center;
}
.product-container {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    width: 100%;
}
.gallery{
    width: 100%;
}
/* Ana slider */
.swiper.mainSwiper {
    width: 100%;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 10px;
    cursor: zoom-in;
}
.swiper.mainSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
/* Thumbnail slider */
.swiper.thumbSwiper {
    margin-top: 15px;
}
.swiper.thumbSwiper img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}
.swiper-thumb-active {
    border: 2px solid #007bff !important;
}
/* Sağ taraf */
.product-info {
    flex: 1;
}
.price {
    color: #e63946;
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0;
}
button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
}
button:hover {
    background-color: #0056b3;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    transform: scale(0.8);
}
.lightbox img.show {
    opacity: 1;
    transform: scale(1);
}
/* Zoom efekti */
.lightbox img:hover {
    transform: scale(1.3);
    cursor: zoom-out;
}
.lightbox .close,
.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
}
.lightbox .close {
    top: 30px;
    right: 40px;
    font-size: 35px;
    transform: none;
}
.lightbox .prev { left: 50px; }
.lightbox .next { right: 50px; }

h2 {
    font-size: clamp(20px, 3vw, 28px);
    text-align: center;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 30px;
}

/* Swiper alanı */
.container-swiper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 16px;
}
.swiper {
    width: 100%;
    padding-bottom: 40px;
}

.swiper-slide {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.product-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-info {
    padding: 16px;
    text-align: center;
}

.product-info h3 {
    font-size: 18px;
    margin: 10px 0 6px;
    font-weight: 600;
    color: #1f2937;
}

.product-info p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 12px;
}

.product-info .price {
    font-weight: 700;
    font-size: 16px;
    color: #10b981;
}

/* Navigasyon */
.swiper-button-next,
.swiper-button-prev {
    color: #10b981;
    --swiper-navigation-size: 26px;
}

/* Pagination */
.swiper-pagination-bullet {
    background: #d1d5db;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: #10b981;
}

/*  FONT SETTİON*/
.sec-title h2{
    font-family: africaFonts;
    text-transform: uppercase;
}
.container-swiper h2{
    font-family: africaFonts;
    text-transform: uppercase;
}