/* Genel Stil Ayarları */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
}

/* Link Stilleri - Altı Çizgili Olmasın */
a {
    text-decoration: none !important;
}

/* Renk Paleti - Fotoğrafçı için Renkli ve Şık */
:root {
    --primary-color: #5D5FEF; /* Mor */
    --secondary-color: #00C2CB; /* Turkuaz */
    --accent-color: #FF6B6B; /* Kırmızı */
    --accent-secondary: #FFD166; /* Sarı */
    --dark-color: #2D3047; /* Koyu Lacivert */
    --light-color: #FFFFFF; /* Beyaz */
    --text-color: #333333; /* Koyu Gri */
    --text-light: #6C757D; /* Açık Gri */
    --bg-soft-color: #F8F9FA; /* Soft Arkaplan */
    --search-bg: #EFF2F7; /* Arama Arkaplan */
    --wishlist-bg: #FFF0F0; /* Favoriler Arkaplan */
    --cart-bg: #F0F7FF; /* Sepet Arkaplan */
    --user-bg: #F0F0FF; /* Kullanıcı Arkaplan */
}

/* Top Bar Stilleri */
.top-bar {
    background: var(--dark-color);
    font-size: 0.85rem;
    padding: 8px 0; /* Yüksekliği daha fazla arttırdık */
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.top-bar a {
    color: rgba(255,255,255,0.9) !important;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.top-bar a i {
    margin-right: 6px;
    font-size: 16px; /* İkon boyutunu arttırdık */
    color: var(--accent-secondary);
}

.top-bar a:hover {
    color: var(--light-color) !important;
}

.top-bar .list-inline-item:not(:last-child) {
    margin-right: 1.2rem;
}



/* Kompakt Header Stilleri */
.compact-header {
    background: var(--light-color);
    padding-top: 1rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

/* Logo Stilleri */
.navbar-brand img {
    max-height: 48px; /* Logo boyutunu daha fazla arttırdık */
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0.4rem 0; /* Logo alanına özel padding arttırdık */
}

/* Ana Menü Ortalama */
.center-menu {
    display: flex;
    justify-content: center;
}

/* Kategori Menü Stilleri */
.category-menu {
    background: var(--light-color);
    border-top: 1px solid rgba(0,0,0,0.03);
    padding: 0.5rem 0; /* Yüksekliği daha fazla arttırdık */
    margin-top: 0.4rem;
}

/* Ana Menü Stilleri - Kategori Odaklı */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    font-size: 0.9rem; /* Font boyutunu daha fazla arttırdık */
    padding: 0.6rem 1.2rem; /* Padding'i daha fazla arttırdık */
    color: var(--dark-color);
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

.navbar-nav .nav-link i {
    margin-right: 6px;
    font-size: 1rem; /* İkon boyutunu arttırdık */
    color: var(--primary-color);
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 60%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Kategori Dropdown */
.category-dropdown {
    position: relative;
}

.category-dropdown .dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
    min-width: 220px;
    margin-top: 10px;
}

.category-dropdown .dropdown-item {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
    color: var(--dark-color);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.category-dropdown .dropdown-item i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.category-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.category-dropdown .dropdown-item:hover {
    background-color: rgba(93, 95, 239, 0.05);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

/* Arama Kutusu Stilleri */
.search-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    height: 46px;
    border: 1px solid #ededed !important;
    border-radius: 30px !important;
    padding: 10px 50px 10px 20px !important;
    background-color: #fafafa !important;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-input:focus {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 36px;
    height: 36px;
    border: none !important;
    background: transparent !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    padding: 0 !important;
}

.search-button:hover {
    color: var(--dark-color) !important;
    transform: scale(1.05);
}

.search-button i {
    font-size: 14px;
}

/* Buton Stilleri - Renkli ve Soft */
.header-btn {
    width: 44px; /* Boyutu daha fazla arttırdık */
    height: 44px; /* Boyutu daha fazla arttırdık */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--dark-color);
    border: none;
    font-size: 1.1rem; /* İkon boyutunu arttırdık */
    margin-left: 12px; /* Margin'i arttırdık */
    position: relative;
}

.header-btn.wishlist-btn {
    background: var(--wishlist-bg);
    color: var(--accent-color);
}

.header-btn.cart-btn {
    background: var(--cart-bg);
    color: var(--primary-color);
}

.header-btn.user-btn {
    background: var(--user-bg);
    color: var(--primary-color);
}

.header-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.header-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--accent-color);
    border-radius: 50%;
    width: 20px; /* Boyutu arttırdık */
    height: 20px; /* Boyutu arttırdık */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Header Icons Group */
.header-icons-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
}

.login-btn, .register-btn {
    padding: 8px 20px;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.login-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-left: 5px;
}

.login-btn:hover {
    background-color: rgba(93, 95, 239, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.register-btn {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.register-btn:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Kullanıcı Menüsü */
.user-dropdown .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: none;
    padding: 0;
    background: var(--light-color);
    overflow: hidden;
    margin-top: 15px;
}

.user-dropdown .dropdown-header {
    background: var(--primary-color);
    color: white;
    padding: 12px 16px; /* Padding'i azalttık */
    font-size: 0.95rem; /* Font boyutunu küçülttük */
    font-weight: 600;
}

.user-dropdown .dropdown-item {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.user-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown .dropdown-item i {
    width: 20px;
    margin-right: 0.8rem;
    color: var(--primary-color);
}

.user-dropdown .dropdown-item:hover {
    background-color: rgba(93, 95, 239, 0.05);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

/* Login ve Register Butonları - Oval */
.login-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    padding: 0.5rem 1.2rem; /* Padding'i daha fazla arttırdık */
    transition: all 0.3s ease;
    font-size: 0.9rem; /* Font boyutunu daha fazla arttırdık */
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    line-height: 1.5;
}

.login-btn i {
    margin-right: 8px;
    font-size: 1rem; /* İkon boyutunu arttırdık */
}

.login-btn:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 95, 239, 0.2);
}

.register-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    border-radius: 30px;
    font-weight: 500;
    padding: 0.5rem 1.2rem; /* Padding'i daha fazla arttırdık */
    transition: all 0.3s ease;
    font-size: 0.9rem; /* Font boyutunu daha fazla arttırdık */
    display: inline-flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(93, 95, 239, 0.2);
    margin-right: 0;
    line-height: 1.5;
}

.register-btn i {
    margin-right: 8px;
    font-size: 1rem; /* İkon boyutunu arttırdık */
}

.register-btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 48, 71, 0.3);
}

.search-icon-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52,152,219,0.4);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: none;
}

.mobile-menu-toggle .navbar-toggler {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(93, 95, 239, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer Stilleri */
footer {
    background-color: var(--bg-soft-color);
    padding: 3rem 0 2rem;
    color: var(--text-color);
    margin-top: 3rem;
}

footer h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--dark-color);
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

/* Ana Menü Hover ve Active Efektleri */
.main-menu-wrapper {
    padding: 0;
}

.category-nav .nav-item {
    position: relative;
}

.category-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding: 18px 18px;
}



.category-nav .nav-link:hover,
.category-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(93, 95, 239, 0.08);
}

.category-nav .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: none;
    padding: 8px 0;
    margin-top: 5px;
}

.category-nav .dropdown-item {
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.category-nav .dropdown-item:hover {
    background-color: rgba(93, 95, 239, 0.05);
    color: var(--primary-color);
    padding-left: 25px;
}

footer ul li a {
    color: var(--text-light);
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

footer ul li i {
    color: var(--primary-color);
}

footer .payment-methods i {
    color: var(--text-light);
    transition: all 0.3s ease;
}

footer .payment-methods i:hover {
    color: var(--primary-color);
}

footer hr {
    background-color: rgba(0,0,0,0.1);
}

/* Responsive Ayarlar */
@media (max-width: 991.98px) {
    .center-menu {
        justify-content: flex-start;
    }
    
    .compact-header {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        max-height: 36px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .category-menu {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .auth-buttons {
        display: none;
    }
    
    .header-icons-group {
        justify-content: flex-end;
    }
    
    .search-expandable.active .search-input {
        width: 180px;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    footer h5 {
        margin-top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        font-size: 0.75rem;
    }
    
    .header-btn {
        width: 32px;
        height: 32px;
        margin-left: 8px;
    }
    
    .search-expandable.active .search-input {
        width: 150px;
    }
}
