/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
}

/* Slider/Carousel Stilleri */
.carousel-item img {
    height: 500px;
    object-fit: cover;
}

@media all and (min-width: 992px) {
    .carousel-item img {
        object-fit: contain;
    }
}

/* Kampanya Bandı */
.campaign-bar {
    background-color: #464556 !important;
}

.campaign-slider {
    white-space: nowrap;
    overflow: hidden;
}

/* Header Stilleri */
.navbar {
    box-shadow: none;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

.navbar-toggler {
    padding: 0;
    font-size: 24px;
    color: #464556;
}

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

.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: #000 !important;
}

.navbar-nav .nav-link:hover {
    color: #ff0000 !important;
}

/* Sağ Menü İkonları */
.nav-icon {
    color: #000;
    font-size: 32px;
    text-decoration: none;
    position: relative;
}

.nav-icon:hover {
    color: #ff0000;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ürün Kartı Stilleri */
.product-card {
    transition: transform 0.3s ease;
    border: none;
    margin-bottom: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-card .card-body {
    flex: none;
}

.product-card .card-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff0000;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

.add-to-cart {
    width: 100%;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    padding: 10px;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: #000;
    color: #fff;
}

/* En Çok Satanlar Başlığı */
.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ff0000;
}

/* Kategori Kartı Stilleri */
.category-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

.category-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.5s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(70,69,86,0.8), rgba(0,0,0,0.8));
}

.category-title {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.category-btn {
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    padding: 10px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.category-card:hover .category-title,
.category-card:hover .category-btn {
    transform: translateY(0);
    opacity: 1;
}

.category-btn:hover {
    background: #fff;
    color: #464556;
}

/* Mobil Menü Stilleri */
.offcanvas {
    background: #fff;
}

.offcanvas-header {
    padding: 20px;
    background: #464556;
}

.offcanvas-title {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.btn-close {
    background-color: #fff;
    opacity: 1;
    padding: 10px;
    margin: 0;
    transition: transform 0.3s ease;
}

.btn-close:hover {
    transform: rotate(90deg);
}

.offcanvas-body {
    padding: 0;
}

.mobile-menu {
    padding: 0;
    border: none;
}

.mobile-menu .nav-link {
    color: #000;
    font-size: 18px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu .nav-link:after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover {
    color: #464556;
    padding-left: 30px;
    background: #f8f9fa;
}

.mobile-menu .nav-link:hover:after {
    opacity: 1;
    right: 15px;
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .search-box-container {
        width: 50%;
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-icon {
        display: none;
    }

    .carousel-caption {
        display: none;
    }

    .search-box-container {
        display: none;
    }

    .sub-nav {
        position: static;
        padding: 10px 0;
    }

    .mobile-menu {
        height: 100%;
    }

    .category-card img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .category-card img {
        height: 250px;
    }

    .category-title {
        font-size: 24px;
    }

    .mobile-menu .nav-link {
        font-size: 14px;
        padding: 12px 0;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 30px;
    }

    .category-card img {
        height: 200px;
    }

    .category-title {
        font-size: 20px;
    }

    .mobile-menu {
        padding: 15px;
    }
}

/* Footer Stilleri */
.footer-area {
    background: #f8f9fa;
    padding: 80px 0 30px;
    margin-top: 80px;
}

/* Bülten Aboneliği */
.newsletter-section {
    max-width: 600px;
    margin: 0 auto 60px;
}

.newsletter-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.newsletter-desc {
    color: #666;
    margin-bottom: 20px;
}

.newsletter-form .input-group {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 30px;
    overflow: hidden;
}

.newsletter-form input {
    border: none;
    padding: 15px 25px;
}

.newsletter-form button {
    padding: 15px 30px;
    border-radius: 0 30px 30px 0;
    text-transform: uppercase;
    font-weight: 500;
}

/* Footer Widget */
.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #000;
}

/* Footer Linkler */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #000;
    padding-left: 5px;
}

/* Footer İletişim */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.footer-contact li i {
    margin-right: 10px;
    color: #000;
}

/* Sosyal Medya İkonları */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #333;
    color: #fff;
    transform: translateY(-3px);
}

/* TikTok alternatif ikonu için */
.social-icon .fa-tiktok:before {
    content: "🎵";
    font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji", sans-serif;
    font-size: 16px;
}

/* Güven Bantları */
.trust-badge {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.trust-badge i {
    font-size: 30px;
    color: #000;
    margin-bottom: 15px;
}

.trust-badge p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Alt Footer */
.bottom-footer {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.copyright {
    color: #666;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.payment-methods i {
    font-size: 24px;
    color: #666;
    transition: all 0.3s ease;
}

.payment-methods i:hover {
    color: #000;
}

/* Animasyonlar */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .footer-widget h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-widget {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .payment-methods {
        justify-content: center;
        margin-top: 20px;
    }
    .category-overlay {
        background: linear-gradient(to bottom, rgba(70,69,86,0.8), rgba(0,0,0,0.8));
    }
    .category-title,
    .category-btn {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Arama Kutusu Stilleri */
.search-box-container {
    width: 70%;
}

.search-form {
    width: 100%;
}

.search-input {
    border: 2px solid #eee;
    border-right: none;
    padding: 12px 20px;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #464556;
    box-shadow: none;
}

.search-btn {
    background: #464556;
    color: #fff;
    border: 2px solid #464556;
    border-radius: 0 30px 30px 0;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* Alt Navigasyon Stilleri */
.sub-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 80px;
    z-index: 999;
}

.sub-nav .nav {
    height: 50px;
}

.sub-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    padding: 15px 20px !important;
    color: #000 !important;
    transition: all 0.3s ease;
    position: relative;
}

.sub-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #464556;
    transition: all 0.3s ease;
}

.sub-nav .nav-link:hover:after {
    width: 100%;
}

.sub-nav .nav-link:hover {
    color: #464556 !important;
}

/* Responsive Ayarlar */
@media (max-width: 991px) {
    .search-box-container {
        width: 100%;
        margin: 15px 0;
    }
    
    .sub-nav {
        position: static;
        padding: 10px 0;
    }
    
    .sub-nav .nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        height: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .sub-nav .nav::-webkit-scrollbar {
        display: none;
    }
    
    .sub-nav .nav-link {
        white-space: nowrap;
    }
}

/* Mobil Arama Stilleri */
.mobile-search-toggle {
    position: fixed;
    right: 20px;
    bottom: 60px;
    width: 50px;
    height: 50px;
    background: #464556;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.mobile-search-toggle.active {
    background: #000;
    transform: rotate(90deg);
}

.mobile-search-box {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.mobile-search-box.active {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}

/* Fixed WhatsApp Butonu */
.whatsapp-float {
    position: fixed;
    right: 0px;
    top: 60%; /* Ekranın ortasından %10 aşağıda */
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50% 0px 0px 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i {
    font-size: 28px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Mobil cihazlarda WhatsApp butonu */
@media (max-width: 768px) {
    .whatsapp-float {
        top: 65%;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 24px;
    }
}
