/* Genel CSS */
body {
    font-family: 'Arial', sans-serif; /* Okunabilir bir sans-serif font */
    font-size: 16px; /* Varsayılan body metin boyutu */
    line-height: 1.6; /* Satır yüksekliği */
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden;
}

        /* Sonsuz Döngü Animasyonu YORUMLAR */
        @keyframes slide {
            from { transform: translateX(0); }
            to { transform: translateX(-100%); }
        }
        .animate-slide {
            display: flex;
            animation: slide 20s linear infinite;
        }


/* Navbar Styles */
/* Navbar Background */
.navbar-bg {
    background-color: #6B705C !important;
	
}

/* Navbar Structure and Layout */
.navbar {
    background-color: #6B705C; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

/* Navbar Logo */
.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 50px;
    margin-right: 10px;
}

.navbar-logo span {
    font-size: 18px;
    font-weight: bold;
    color: #f2f2f2;
}

/* Navbar Links */
.navbar-links {
    height: 100%; /* Navbar boyunu kapsayacak */
}

.navbar-links a {
    color: #f2f2f2;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 18px;
    display: flex; /* Blok haline getirip dikeyde ortalama yapıyoruz */
    align-items: center;
    justify-content: center;
    height: 100%; /* Yüksekliği tam olarak kapsıyor */
    position: relative;
    transition: color 0.3s ease-in-out;
    z-index: 1;
    overflow: hidden; /* Arka plan taşmaması için */
}

.navbar-links a::before {
    content: '';
    position: absolute;
    top: -100%; /* Başlangıçta görünmez */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #7d8a64; /* Navbar ile uyumlu arka plan rengi */
    z-index: -1;
    transition: top 0.3s ease-in-out; /* Yukarıdan aşağıya geçiş */
}

.navbar-links a:hover::before {
    top: 0; /* Hover sırasında arka plan tam bloğu kapsar */
}

.navbar-links a i {
    margin-right: 8px; /* İkon ile metin arası boşluk */
}

.navbar-links a::after {
    content: ''; /* Pseudo element for underline */
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #B7B7A4; /* Alt çizgi rengi */
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}


.navbar-links a:hover {
    color: #ffffff; /* Metin rengini beyaz yapıyoruz */
}

.navbar-links a:hover::after {
    width: 100%; /* Alt çizgi tam genişlikte görünür olacak */
    left: 0;
    transform: translateX(0);
}

.navbar-links i {
    font-size: 1.2rem;
}

/* Navbar Toggle Button */
.navbar-toggle {
    display: none;
    cursor: pointer;
    color: #f2f2f2;
    font-size: 24px;
    padding: 10px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Navbar Phone Section */
.navbar-phone {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #f2f2f2;
}

.navbar-phone a {
    color: #f2f2f2;
    text-decoration: none;
}

.navbar-phone a:hover {
    color: #B7B7A4;
}

/* Social Media Icons */

/* Toggled navbar button style */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-item {
    position: relative;
}

/* Siyah overlay */
.carousel-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Siyah yarı saydam kaplama */
    z-index: 1;
}

/* Yazılar önde gözüksün */
.carousel-caption {
    position: absolute;
    z-index: 2; /* Overlay'in üstünde olacak */
    color: white;
    text-align: center;
}


.carousel-inner img {
    height: auto; /* Görüntülerin kendi oranlarına göre yükseklik ayarlaması */
    max-height: 600px; /* Maksimum 600px yükseklik ile sınırlayalım */
    width: 100%; /* Genişlik %100 olarak kalacak */
    object-fit: cover; /* Görüntülerin düzgün kırpılması */
    
}

/* Product Styles */

.product-info {
    padding: 20px;
    text-align: left;
    background-color: #f9f9f9;
    transition: background-color 0.3s;
}


/* Reviews Styles */

/* Responsive Styles for Reviews */
@media (max-width: 768px) {
    .navbar-logo {
        display: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background-color: #6B705C;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        padding-top: 60px;
        z-index: 1000;
    }

    .navbar-links a {
        padding: 10px 20px;
        width: 100%;
    }

    .navbar-phone {
        display: block;
    }

    .product-info {
        font-size: 0.9em;
        text-align: center;
    }

    .carousel-inner img {
        max-height: 400px; /* Küçük ekranlarda 400px ile sınırlı */
    }
}

.map-container {
    margin-bottom: 20px;
    width: 100%;
}

.footer {
    background-color: #6B705C;
    color: #f2f2f2;
    padding: 40px 0;
    text-align: left;
}

.footer h5 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #f2f2f2;
}

.footer p {
    font-size: 14px;
    color: #b7b7a4;
}

.footer a {
    color: #f2f2f2;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #B7B7A4;
}

.footer-bottom {
    background-color: #343a40;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: #b7b7a4;
}

.footer-bottom {
    text-align: center;
    flex-basis: 100%;
    margin-top: 20px;
    border-top: 1px solid #777;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
    font-size: 18px;
}

.whatsapp-button:hover {
    background-color: #20b558;
    transform: scale(1.1);
}

.whatsapp-button i {
    margin-right: 10px;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #6B705C;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
}

.scroll-to-top:hover {
    background-color: #B7B7A4;
    transform: scale(1.1);
}

.scroll-to-top i {
    margin-right: 0;
}

/* Fullscreen overlay menu */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}


/* Ürünler */
.product-section {
    background-color: #f9f9f9;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card .price {
    font-size: 18px;
    color: #6B705C;
    font-weight: bold;
}

.filter-btn {
    margin: 5px;
}

.filter-btn.active {
    background-color: #6B705C;
    color: white;
}

.product-item {
    display: none;
}

    /* Carousel Styling */
        .carousel-item img {
            height: 500px;
            object-fit: cover;
            border-radius: 10px;
        }

        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            padding: 15px;
        }

        .carousel-indicators [data-bs-target] {
            background-color: #007bff;
            border-radius: 50%;
        }

        /* Product Details */
        .product-info {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .product-info h1 {
            font-size: 2.5rem;
            font-weight: 600;
        }

        .product-info p {
            font-size: 1.1rem;
            color: #6c757d;
        }

        /* Kirala Butonu */
        .btn-kirala {
            background-color: #25d366;
            border: none;
            padding: 12px 24px;
            font-size: 1.2rem;
            border-radius: 50px;
            color: white;
            display: block;
            margin-top: 20px;
            transition: background-color 0.3s ease, transform 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            text-decoration: none;
        }

        .btn-kirala:hover {
            background-color: #22bb5b;
            transform: scale(1.05);
        }

        .btn-kirala i {
            margin-right: 10px;
            font-size: 1.5rem;
        }

        /* Ekstra Bilgiler */
        .product-features {
            background-color: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-top: 20px;
        }

        .product-features h4 {
            font-weight: bold;
            margin-bottom: 15px;
        }

        .feature-item {
            font-size: 1.1rem;
            color: #495057;
        }

        .feature-item:not(:last-child) {
            margin-bottom: 10px;
        }


/* Avatar img için daha spesifik bir CSS */
.card .avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover; /* Resimlerin düzgün kırpılması */
    border: 2px solid #ccc; /* Avatarlar için hafif bir sınır eklenir */
}


/* İletişim Sayfası */
.contact-info-section a {
    text-decoration: none;
}

.contact-info-section a:hover {
    text-decoration: underline; /* İsterseniz hover durumunda altı çizilsin */
}

/* Thumbnail Container - Kaydırma Çubuğunu Gizleme */
.thumbnail-container {
    display: flex;
    gap: 0.75rem; /* Thumbnaillar arası boşluk */
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox için kaydırma çubuğunu kaldır */
    -ms-overflow-style: none; /* IE ve Edge için kaydırma çubuğunu kaldır */
}

/* Chrome, Safari ve diğer Webkit tabanlı tarayıcılar */
.thumbnail-container::-webkit-scrollbar {
    display: none;
}

