/* Genel Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: #3289a8;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.site-name {
    color: #fff;
    font-size: 1.8em;
    font-weight: 700;
}

/* Menü Linkleri */
.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin: 0 20px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
}

.navbar ul li a:hover {
    color: #000;
}

/* Ürün Detayları */
.product-details {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

.product-details h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Ürün Bilgisi */
.product-info {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.product-image {
    width: 30%;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.product-description {
    width: 45%;
    text-align: left;
    padding-left: 20px;
}

.product-description h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.product-description p {
    font-size: 1.1em;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 10px;
}

.add-to-cart {
    background-color: #3289a8;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #276f87;
}

/* Küçük Görseller */
/* Küçük Görseller */
.thumbnail-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Esnek düzen kullanarak, taşan görselleri alt satıra geçirir */
    margin-top: 20px;
    gap: 15px; /* Görseller arasındaki mesafeyi ayarlıyoruz */
}

/* Thumbnail Görsellerinin Stil Ayarları */
.thumbnail {
    width: 120px; /* Görselin başlangıç genişliğini belirliyoruz */
    height: 120px; /* Görselin başlangıç yüksekliğini belirliyoruz */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease; /* Hover efektini ekliyoruz */
}

.thumbnail:hover {
    transform: scale(1.1); /* Hover durumunda görsel büyür */
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    /* Görsellerin daha küçük boyutlarda görünmesini sağlıyoruz */
    .thumbnail {
        width: 80px; /* Küçük ekranlarda daha küçük boyutlar */
        height: 80px;
    }

    /* Daha fazla sayıda görseli alt satırlara sığdırıyoruz */
    .thumbnail-images {
        justify-content: space-around; /* Ekranda görselleri daha iyi hizalar */
    }

    /* Görsellerin alt satırlara taşmasını engelliyoruz ve responsive şekilde hizalıyoruz */
    .thumbnail {
        width: 90px; /* Görsellerin mobildeki genişliğini biraz daha küçültüyoruz */
        height: 90px;
    }
}

@media (max-width: 480px) {
    /* Daha küçük ekranlar için görselleri biraz daha küçültüyoruz */
    .thumbnail {
        width: 70px; /* Küçük ekranlar için daha küçük boyut */
        height: 70px;
    }
}


/* Footer */
footer {
    background-color: #3289a8;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    font-size: 1em;
}
/* WhatsApp Yönlendirme Butonu */
.whatsapp-button {
    background-color: #25D366; /* WhatsApp'ın yeşil rengi */
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex; /* Flexbox düzeni kullanıyoruz */
    align-items: center; /* Simge ve metni yatayda ortalar */
    justify-content: center;
    gap: 10px; /* Buton ile simge arasında boşluk */
    transition: background-color 0.3s ease;
    width: auto;
}

.whatsapp-button:hover {
    background-color: #128C7E; /* Hover durumunda daha koyu yeşil */
}

.whatsapp-button:active {
    background-color: #075E54; /* Butona tıklanma durumunda renk değişir */
}

/* WhatsApp İkonu */
.whatsapp-icon {
    width: 25px; /* İkonun boyutunu ayarlıyoruz */
    height: auto;
    margin-right: 10px; /* İkon ile metin arasındaki mesafeyi ayarlıyoruz */
}


/* Diğer Ürünler Bölümü */
.other-products {
    margin-top: 20px; /* Diğer ürünler bölümü üstten boşluk bırakır */
    text-align: center;
}

.other-products h5 {
    font-size: 1em; /* Başlık boyutunu daha da küçültüyoruz */
    margin-bottom: 10px; /* Başlık altındaki boşluğu küçültüyoruz */
    color: #333;
}

.product-thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px; /* Ürünler arasındaki mesafeyi koruyoruz */
}

.product-link {
    display: block;
    text-align: center;
    color: #333;
    text-decoration: none;
}

.product-thumbnail {
    width: 180px; /* Görsellerin genişliğini küçültüyoruz */
    height: 270px; /* Görsellerin yüksekliğini koruyoruz */
    object-fit: cover; /* Görselin kutuya sığmasını sağlar */
    border-radius: 8px; /* Kenarları yuvarlatır */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Görsellere hafif gölge ekler */
    transition: transform 0.3s ease-in-out; /* Hover efekti için animasyon */
}

.product-link p {
    margin-top: 8px; /* Ürün adıyla görsel arasındaki mesafeyi koruyoruz */
    font-size: 0.9em; /* Ürün isminin font boyutunu koruyoruz */
    color: #333;
    font-weight: bold;
}

/* Görsellere Hover Efekti */
.product-thumbnail:hover {
    transform: scale(1.05); /* Hover'da görseli büyütür */
}

.product-link:hover {
    text-decoration: underline; /* Linke tıklanabilirlik hissi katmak için altını çizer */
}

.contact {
    padding: 60px 20px;
    background-color: #f5f7f9; /* Hafif gri beyaz arka plan */
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.contact h2 {
    font-size: 2.4em;
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;  /* Başlığı ortaladım */
}

.contact p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* İletişim Bilgileri */
.contact-info {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 40px;
    text-align: left; /* Sola hizalama eklendi */
}

/* Büyük Görsel için Zoom Efekti */
.main-image {
    transition: transform 0.3s ease; /* Zoom animasyonu */
    cursor: pointer; /* Tıklanabilir imleci gösterelim */
}

/* Küçük ekranlarda zoom efekti kaldırılacak */
@media (max-width: 768px) {
    .main-image {
        cursor: default; /* Mobilde normal imleci göster */
        transform: none; /* Mobilde zoom efekti iptal edilir */
    }
}