/* Oto Parça Bul - Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Container max-width eşitleme - Tüm sayfalar için aynı genişlik */
main .container,
body > .container {
    max-width: 1400px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Müşteri sayfaları için linkler - altı çizili olmasın */
.header a,
.nav a,
.mobile-nav a,
footer a,
.category-card-new,
.category-card-new a,
.product-card-item a,
.btn-view-all,
.hero-buttons a,
.product-btn,
.newsletter a,
.bayi-section a {
    text-decoration: none !important;
}

.header a:hover,
.nav a:hover,
.mobile-nav a:hover,
footer a:hover,
.category-card-new:hover,
.category-card-new a:hover,
.product-card-item a:hover,
.btn-view-all:hover,
.hero-buttons a:hover,
.product-btn:hover,
.newsletter a:hover,
.bayi-section a:hover {
    text-decoration: none !important;
}

/* Header - Professional Design (Müşteri sayfaları için) */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 0;
    min-width: 240px;
    margin-left: 0;
}

.logo-link {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 240px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s ease;
}

.logo-link:hover .logo-icon {
    background: rgba(255, 255, 255, 0.8);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Nav - Professional Design */
.nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 20px;
    min-width: 0;
}

.nav a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 3px 3px 0 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-1px);
}

.nav a:hover::before {
    transform: translateX(-50%) scaleX(1);
    width: 60%;
}

.nav a.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    font-weight: 700;
}

.nav a.active::before {
    transform: translateX(-50%) scaleX(1);
    width: 80%;
}

/* Header Icons - Professional Design */
.header-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.user-dropdown-wrapper {
    position: relative;
}

.user-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #2d3748;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 42px;
    height: 42px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* User name button özel stilleri - icon-btn'u override eder */
.user-name-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 14px !important;
    min-width: 120px !important;
    max-width: 200px !important;
    width: auto !important;
    height: 42px !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(37, 99, 235, 0.1) !important;
}

.user-name-btn .user-name {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #2d3748 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Bootstrap dropdown-toggle'un otomatik eklediği ok'u gizle */
.user-name-btn.dropdown-toggle::after {
    display: none !important;
}

.user-dropdown-icon {
    font-size: 12px;
    color: #2d3748;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.user-icon-mobile {
    display: none !important;
}

.user-name-btn[aria-expanded="true"] .user-dropdown-icon {
    transform: rotate(180deg);
}


.icon-btn:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.icon-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon-btn i {
    font-size: 1.15rem;
}

/* Text Buttons for Login/Register */
.text-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 18px;
    height: 42px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.text-btn:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.text-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-btn {
    margin-right: 8px;
}

.register-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: 1px solid #2563eb;
}

.register-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #ffffff;
    border-color: #1d4ed8;
}

/* Dropdown Menu - Professional Design */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 8px;
    margin-top: 8px;
    background: white;
    min-width: 220px;
}

.dropdown-item {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    transform: translateX(4px);
}

.dropdown-item i {
    width: 20px;
    font-size: 16px;
}

.dropdown-divider {
    margin: 8px 0;
    border-color: rgba(0, 0, 0, 0.08);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 10px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 0 5px;
    box-sizing: border-box;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Varsayılan olarak gizli */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 8px;
    align-items: center;
    justify-content: center;
}

.menu-toggle i {
    font-size: 1.5rem;
}

/* Mobile Menu - Professional Design */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 43, 72, 0.98) 0%, rgba(37, 99, 235, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 2000;
    padding: 80px 20px 20px;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Menu - Sadece mobilde görünür */
@media (max-width: 768px) {
    .mobile-menu.active {
        display: block;
    }
}

/* Masaüstünde kesinlikle gizle */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu.active {
        display: none !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-menu-close i {
    font-size: 1.5rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav a::before {
    content: '→';
    font-size: 16px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-nav a:hover::before,
.mobile-nav a.active::before {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Header - Müşteri sayfaları için */
@media (max-width: 768px) {
    .header {
        padding: 0;
    }
    
    .header-content {
        padding: 12px 15px;
    }
    
    .header .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(37, 99, 235, 0.1);
        border-radius: 10px;
        width: 42px;
        height: 42px;
    }
    
    .text-btn {
        font-size: 12px;
        padding: 8px 12px;
        height: 38px;
    }
    
    .login-btn {
        margin-right: 6px;
    }
    
    .header-icons {
        gap: 8px;
    }
    
    .user-name-btn {
        padding: 8px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        width: 38px !important;
        height: 38px !important;
        justify-content: center !important;
    }
    
    .user-name-btn .user-name {
        display: none !important;
    }
    
    .user-name-btn .user-dropdown-icon {
        display: none !important;
    }
    
    .user-name-btn .user-icon-mobile {
        display: block !important;
        font-size: 18px;
        color: #2d3748;
    }
    
    .icon-btn {
        width: 38px;
        height: 38px;
    }
    
    .logo {
        min-width: 150px;
    }
    
    .logo-icon {
        width: 150px;
        height: 60px;
    }
    
    .nav {
        margin: 0;
    }
}

/* Navbar - Old (kept for compatibility) */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

#sepet-badge {
    font-size: 10px;
    line-height: 1;
    padding: 0;
    min-width: 18px;
    text-align: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 50px 50px;
}

/* Search Section */
.search-section .card {
    border-radius: 15px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 15px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.category-card i {
    transition: transform 0.3s ease;
}

.category-card:hover i {
    transform: scale(1.1);
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.product-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Buttons */
.btn {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

/* Cards */
.card {
    border-radius: 15px;
    border: none;
}

.card-body {
    padding: 1.5rem;
}

/* Badges */
.badge {
    border-radius: 6px;
    padding: 0.35em 0.65em;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a:hover {
    color: white !important;
    text-decoration: none !important;
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 !important;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .search-section .card {
        margin-top: -30px;
    }
    
    .product-card img {
        height: 200px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Scroll to Top Button */
#scrollTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1001;
}

#scrollTop:hover {
    background: var(--dark-color);
    transform: translateY(-5px);
}

#scrollTop.show {
    display: flex;
}

/* Utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a58ca;
}

/* ============================================
   TEMP TEMPLATE STYLES - AutoParts Design
   ============================================ */

/* Hero Section - New Design */
.hero {
    position: relative;
    background-image: url('../images/fe98c486df200feaa0daccdcf1b818cd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 43, 72, 0.85) 0%, rgba(37, 99, 235, 0.75) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    color: white;
}

.campaign-badge {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    width: fit-content;
}

.hero-left h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero-left p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: rgba(37, 99, 235, 0.3);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: fit-content;
}

.btn-primary:hover {
    background-color: rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 14px 28px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.3s;
}

.btn-secondary:hover {
    border-color: white;
}

.hero-right {
    position: relative;
}

.hero-product-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: block;
    overflow: hidden;
}

.guarantee-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 250px;
}

.guarantee-icon {
    width: 50px;
    height: 50px;
    background-color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.guarantee-text h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.guarantee-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Stats Section */
.stats {
    padding: 30px 0;
    margin-top: 40px;
}

.stats-content {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    margin-bottom: 8px;
    color: white;
}

.stat-item p {
    font-size: 16px;
    color: white;
    opacity: 0.9;
}

/* Hero to Section Transition */
.hero-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    overflow: hidden;
    z-index: 1;
}

.hero-transition svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Section Styles */
.section {
    padding: 80px 20px;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 36px;
    color: #1A2B48;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

.section-title p strong {
    color: #2563eb;
}

/* Categories Grid - New Design */
.categories-grid {
    max-width: 1400px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card-new {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.category-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.category-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.category-icon.blue { background-color: #2563eb; }
.category-icon.red { background-color: #ef4444; }
.category-icon.orange { background-color: #f97316; }
.category-icon.yellow { background-color: #eab308; }
.category-icon.dark-blue { background-color: #1A2B48; }
.category-icon.green { background-color: #10b981; }
.category-icon.purple { background-color: #a855f7; }
.category-icon.pink { background-color: #ec4899; }

.category-info {
    padding: 0px;
}

.category-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.category-info p {
    font-size: 14px;
    color: #666;
}

.view-all-btn {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    background-color: #2563eb;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Products Grid - New Design */
.products-grid {
    max-width: 1400px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-badge.discount { background-color: #ef4444; color: white; }
.product-badge.bestseller { background-color: #2563eb; color: white; }
.product-badge.new { background-color: #10b981; color: white; }

.product-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-image-container {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-category {
    font-size: 12px;
    color: #2563eb;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44.8px; /* 2 satır için: 16px * 1.4 * 2 = 44.8px */
    max-height: 44.8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-rating .stars {
    color: #fbbf24;
}

.product-rating .reviews {
    color: #999;
}

.product-price {
    margin-bottom: 10px;
}

.product-price .current {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.product-price .old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-price .price-kdv {
    color: #666;
    font-size: 0.9rem;
    display: inline-block;
    margin-left: 4px;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #10b981;
    font-size: 14px;
    margin-bottom: 15px;
}

.product-btn {
    width: 100%;
    background-color: #2563eb;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.product-btn:hover {
    background-color: #1d4ed8;
}

/* Why Choose Us */
.features-grid {
    max-width: 1400px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
}

/* Brands Section */
.brands-grid {
    max-width: 1400px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.brand-card {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-height: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.brand-logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .brand-card {
        padding: 8px;
        min-height: 120px;
    }
    
    .brand-logo-img {
        max-height: 80px;
    }
}

@media (max-width: 576px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Mağaza Aç Section */
.bayi-section {
    position: relative;
    overflow: hidden;
}

.bayi-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.bayi-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.bayi-section .container {
    position: relative;
    z-index: 1;
}

.bayi-section h2 {
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bayi-section p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.bayi-section .d-flex {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bayi-section .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
}

.bayi-section .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.bayi-section .btn:hover::before {
    width: 300px;
    height: 300px;
}

.bayi-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.bayi-section .btn:active {
    transform: translateY(-1px);
}

.bayi-section .btn-light {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

.bayi-section .btn-light:hover {
    background-color: #e0e0e0;
    color: #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.bayi-section .btn-outline-light {
    background-color: #ffffff;
    color: #666;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.bayi-section .btn-outline-light:hover {
    background-color: #f8f9fa;
    color: #333;
    border-color: #bbb;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.bayi-section .bi-shop-window {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
    .bayi-section h2 {
        font-size: 2rem !important;
    }
    
    .bayi-section .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float i {
    font-size: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    #scrollTop {
        bottom: 90px;
        right: 20px;
        width: 46px;
        height: 46px;
    }
}

/* Responsive - New Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-left h2 {
        font-size: 32px;
    }

    .categories-grid,
    .products-grid,
    .features-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }

    .stats-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

