/* Genel Stil */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

header {
    text-align: center;
    margin: 20px 0;
}

.logo {
    width: 500px;
    height: auto px;
}

/* Kategoriler Bölümü */
nav.categories {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 10px 0; /* Ekstra boşluk ekledim */
    background-color: #333; /* Arka plan rengi ekledim */
}

nav.categories a {
    display: flex; /* Flex kullanarak içeriği ortalamak için */
    align-items: center; /* Dikey ortalama */
    justify-content: center; /* Yatay ortalama */
    width: 160px; /* Eşit genişlik */
    height: 55px; /* Eşit yükseklik */
    margin: 10px;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    color: #e6e6fa; /* Yazı rengini beyaz yap */
    background-color:#a4863d; /* Turuncu buton arkaplanı */
    border-radius: 10px; /* Silindirik arkaplan */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Buton gölge efekti */
}

nav.categories a:hover {
    background-color: #ffbd17; /* Hover efektinde koyulaşan turuncu */
    transform: translateY(-3px); /* Hover efekti ile yukarı hareket */
}

.slider-container {
    width: 100%; /* Slider genişliği */
    max-width: 700px; /* Maksimum genişlik */
    height: 400px; /* Slider yüksekliği */
    overflow: hidden; /* Ekran dışına taşan öğeleri gizler */
    position: relative;
    border-radius: 40px;  
    margin: 0 auto; /* Yatay ortalama */
    top: 20px;
}

.slider {
    display: flex; /* Slaytların yan yana sıralanmasını sağlar */
    transition: transform 0.8s ease; /* Slayt geçişlerinin yumuşak olmasını sağlar */
    width: 100%; /* Kapsayıcı genişlik */
    border-radius: 100px;
    
}

.slide {
    min-width: 100%; /* Her slayt ekranı tamamen kaplar */
    transition: transform 0.8s ease;
    border-radius: 100px;
    
}

.slide img {
    width: 100%;
    height: 100%; /* Resimlerin slayt alanını kaplaması */
    object-fit: cover; /* Resimlerin düzgün kırpılması */
    border-radius: 40px;
    
}

.controls {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding: 15px;
    display: flex;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 100px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
} 

/* Bilgi Bölümü */
.info-section {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    padding: 10px 0; /* Ekstra boşluk ekledim */
    background-color:  #e6e6fa; /* Arka plan rengi ekledim */
}

.info-item {
    text-align: center;
    font-size: 18px;
    font-family: 'Helvetica', sans-serif;
    font-weight: bolder;
    color: #000000;
}

a {
    color: inherit; /* Varsayılan metin rengini kullanır */
    text-decoration: none; /* Alt çizgiyi kaldırır */
  }
  

.info-item img {
    width: 50px;
    height: 50px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #a4863d;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #a4863d;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #a4863d;
}

.footer-bottom {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 20px;
}

.footer-bottom a {
    color: #a4863d;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Ürün Galerisi */
.product-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

.product-item {
    position: relative;
    width: calc(33.33% - 20px);
    margin-bottom: 25px;
    overflow: hidden; /* Taşma durumunda gizleme */
    transition: transform 0.4s ease; /* Hover animasyonu */
}

.product-item:hover {
    transform: scale(1.02); /* Hoverda büyütme efekti */
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.overlay {
    position: absolute;
    bottom: -100%; /* Başlangıçta görünmez */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    transition: bottom 0.3s ease; /* Animasyon */
}

.product-item:hover .overlay {
    bottom: 0; /* Hoverda yukarı çıkma animasyonu */
}

.description {
    margin-bottom: 10px;
    color: #000000; /* Açıklama rengi */
    font-weight: bolder;
    font-size: 1.0rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.price1 {
    font-weight: bold;
    color: #a4863d; /* Fiyat rengi */
    font-size: 1.2rem; /* Fiyat fontunu büyütme */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 5px;
}

/* Harita Bölümü */
.map {
    padding: 20px;
    text-align: center;
}

.map h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Herhangi bir display:none özelliği varsa kaldırın */
.map-container {
    display: block; /* Haritanın her zaman görünür olmasını sağlar */
}
/* Harita Konteyneri Genel Ayarları */
.map-container {
    width: 100%;
    max-width: 1400px; /* Haritanın maksimum genişliğini ayarlayın */
    height: 500px; /* Sabit yükseklik */
    margin: 20px auto; /* Ortala ve yukarı/aşağı boşluk bırak */
    border: 0px solid #ccc; /* Kenarlık ekle */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2); /* Hafif gölge ekle */
    border-radius: 8px; /* Kenarları yuvarla */
    overflow: hidden; /* Taşan içerikleri gizle */
    margin-top: 50px;
}

/* Footer Sosyal Medya */
.social-media {
    margin-top: 10px; 
    text-align: center;
    font-size: 16 px;
    font-family: 'Anton', sans-serif;
}

.social-media a {
    display: inline-block;
    margin:20px;
}

.social-media img {
    width: 100px; /* İstenilen boyutta ayarlayın */
    height: 100px; /* İstenilen boyutta ayarlayın */
    vertical-align: middle;
    transition: opacity 0.7s;
}

.social-media img:hover {
    opacity: 0.8; /* Hover efekti */
}

.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    
  }
  .box {
    width: 30%;
    left: 1%;
    height: 300px;
    border: 1px solid #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2); /* Hafif gölge ekle */
    border-radius: 10px;
  }

  .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .box .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    pointer-events: none; /* Resim üzerine tıklama etkisi olmaması için */
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  .full-width-image {
    width: 100%;
    height: 500px;
    top: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    border: 1px solid #000000; /* Çerçeve ekleniyor */
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2); /* Hafif gölge ekle */
    margin: 20px auto; /* Sayfa ile biraz boşluk bırakma */
  }
  .full-width-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .full-width-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 4.5rem;
    font-weight: bolder;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }

  .background-video {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 600px;
    object-fit: cover;
    z-index: -1; /* Places video behind the slider content */
  }

/*Burasi Urunlerin satisinin oldugu sayfanin css dosyasi*/

.product-page {
    display: flex;
    gap: 20px;
    padding: 20px;
    
}

.product-main {
    display: flex;
    gap: 10px; /* Daha fazla metin alanı sağlamak için azaltıldı */
}

.image-gallery {
    display: flex;
    flex-direction: row; /* Küçük resimleri yan yana hizalamak için */
    gap: 10px; /* Aralarındaki boşluk */
    
}

.main-image {
    flex: 1; /* Ana resim alanı için esneklik */
}

.main-image img {
    width: 100%; /* Responsive hale getirmek için */
    max-width: 600px; /* Maksimum genişlik */
    height: auto; /* Yükseklik otomatik ayarlanır */
    object-fit: cover;
    border-radius: 8px;
    
}

.thumbnail-images {
    display: flex;
    flex-direction: column; /* Küçük resimleri dikey hizalamak için */
    gap: 10px;
}

.thumbnail-images img {
    width: 100%; /* Responsive hale getirmek için */
    max-width: 100px; /* Maksimum genişlik */
    height: auto; /* Yükseklik otomatik ayarlanır */
    object-fit: cover;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
}
    

.thumbnail-images img:hover {
    transform: scale(1.05);
}

.product-info {
    max-width: none; /* Genişlik kısıtlamasını kaldır */
    width: auto; /* Mevcut alanı kullanmasına izin ver */
    flex: 1; /* Flex konteynerde daha fazla alan kaplamak için */
}

.product-info h1 {
    font-size: 1.2rem; /* Daha büyük başlık boyutu */
    color: #0e300e;
    margin-bottom: 20px;
    font-weight: bolder;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: 20px;
    
}

.price {
    font-size: 1.2rem; /* Daha büyük fiyat boyutu */
    color: #a4863d;
    margin-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: 20px;
    font-weight: 700;
    margin-top: -10px;
    
}


.description1 {
    margin-bottom: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8rem; /* Daha büyük metin boyutu */
    line-height: 1.5; /* Satırlar arasında boşluk */
    max-width: 100%; /* .product-info'nun tam genişliğini kullanır */
    margin-left: 20px;
    font-weight: bolder;
   
}

.add-to-cart,
.buy-now {
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    cursor: pointer;
    color: #fff;
    border-radius: 80px;
    font-size: 1.2rem; /* Daha büyük buton boyutu */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    margin-left: 20px;
   
}

.buy-now {
    background-color: #226825;
}

.wood-selection {
    margin-top: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8rem; /* Daha büyük ağaç seçimi boyutu */
    margin-bottom: 20px;
    margin-left: 20px;
    font-weight: 700;
    margin-top: -20px;
    
}

#wood-type {
    padding: 2px;
    font-size: 1.0rem; /* Daha büyük ağaç türü boyutu */
    font-weight: border;
    margin-top: 10px;
    
}

/* Add this CSS to your stylesheet */
.related-products {
    display: flex;
    flex-direction: column; /* Stacks images vertically */
    align-items: center; /* Centers the images horizontally */
    gap: 10px; /* Adds space between images */
}
.related-products img {
    width: 75px; /* Adjust width as needed */
    height: 75px; /* Maintains aspect ratio */
    flex-direction: column; /* Stacks images vertically */
    border-radius: 15%;
}

.related-product-list {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.related-product {
    text-align: center;
    max-width: 75px;
}

.seller-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: -20px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;

}

.seller-info a {
    color: #a4863d;
    text-decoration: none;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;

}


@media only screen and (max-width: 768px) {
    .overlay {
        position: static;
        background-color: transparent;
        transform: translateY(0);
        opacity: 1;
        padding: 0;
    }

    .description, .price {
        text-align: center;
        margin-top: 10px;
    }

    .description {
        font-size: 9px; /* Küçük ekranlarda daha küçük yazı */
        font-weight: bold ;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }


    .logo {
        width: 70%; /* Mobil için logo boyutunu ayarlama */
    }

    nav.categories {
        flex-direction: row; /* Yatay yönlendirme */
        flex-wrap: wrap; /* Taşma durumunda bir alt satıra geçebilmesi için */
        margin: 20px 0;
        padding: 0px 0; /* Ekstra boşluk ekledim */
    }

    nav.categories a {
        width: 13%; /* Mobilde genişliği ayarlama */
        height: 30px; /* Eşit yükseklik */
        text-align: center; /* Metni ortalama */
        font-size: 10px ;
    }

    .info-section {
        align-items: center; /* Ortalamak için */
    }

    .gallery img {
        width: 90%; /* Galeri resimlerinin boyutunu ayarlama */
        margin: 10px 0; /* Dikey boşluk ekleme */
    }

    .map-container {
        height: 300px; /* Mobil için daha küçük yükseklik */
        width: 100%; /* Tam genişlik */
    }

    .background-video {
        position: absolute;
        top: 10%;
        left: 0;
        width: 100%;
        height: 600px;
        object-fit: cover;
        z-index: -1; /* Places video behind the slider content */
    }

    .controls {
        margin-top: 0px;
        margin-top: 0px;
    }

    .full-width-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 2.7rem;
        font-weight: bolder;
        text-align: center;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    }

      .box .overlay-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
        pointer-events: none; /* Resim üzerine tıklama etkisi olmaması için */
    }


      .product-page {
        flex-direction: column;
    }

    .product-main {
        flex-direction: column; /* Mobilde dikey hizalama */
    }

    .image-gallery {
        display: flex;
        flex-direction: column; /* Ana ve küçük resimleri dikey hizala */
        align-items: center;
    }

    .main-image {
        flex: 1; /* Ana resim alanı için esneklik */
    }
    
    .main-image img {
        width: 100%; /* Responsive hale getirmek için */
        max-width: 90%; /* Maksimum genişlik */
        height: auto; /* Yükseklik otomatik ayarlanır */
        object-fit: cover;
        border-radius: 8px;
        margin-left: 20px;
    }

    .thumbnail-images {
        flex-direction: row; /* Küçük resimleri yatay sırala */
        margin-top: 0px; /* Ana resim ile küçük resimler arasında boşluk */
        margin-left: 0px;
    }

    .thumbnail-images img {
        width: 100%; /* Responsive hale getirmek için */
        max-width: 100px; /* Maksimum genişlik */
        height: auto; /* Yükseklik otomatik ayarlanır */
      
    }

    .product-info h1 {
        font-size: 1.5rem;
        text-align: center;
        font-weight: 700;
    }

    .price {
        font-size: 1.5rem;
        text-align: center;
        font-weight: 700;
        margin-top: -10px;
        
    }

    .description1 {
        font-size: 0.9 rem;
        text-align: center;
    }
    
    .add-to-cart,
    .buy-now {
        padding: 10px 10px;
        margin-right: 10px;
        border: none;
        cursor: pointer;
        color: #fff;
        border-radius: 120px;
        font-size: 15px; /* Daha büyük buton boyutu */
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-left:35%;
        margin-bottom: 5%;
        font-style: border;
        align-items: center;
    }

    .wood-selection {
        margin-top: 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 20px; /* Daha büyük ağaç seçimi boyutu */
        margin-bottom: 20px;
        margin-left: 20px;
        font-style: border;
        text-align: center;
    }
    
    #wood-type {
        padding: 0px;
        font-size: 15px; /* Daha büyük ağaç türü boyutu */
        margin-left: 10px;
        margin-bottom: 20px;
        font-style: border;
        text-align: center;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .description {
        margin-bottom: 10px;
        color: #000000; /* Açıklama rengi */
        font-weight: bold;
        font-size: 0.6rem;
        text-align: center;
        margin-right: 20px;
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .price1 {
        font-weight: bolder;
        color: #a4863d; /* Fiyat rengi */
        font-size: 0.5rem; /* Fiyat fontunu büyütme */
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .seller-info {
        background-color: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
        margin-top: -20px;
        text-align: center;
        font-weight: 400;
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    }
    
    .seller-info a {
        color: #a4863d;
        text-decoration: none;
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 500;
    }

}




