/* ===== STYLE.CSS - TAM UYUMLU & EKSİKSİZ ===== */

/* === TEMEL STİLLER === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* === HEADER STİLLERİ === */
.header-area {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Masaüstü Menü */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kategori-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.kategori-menu-item:hover,
.kategori-menu-item.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.kategori-urun-sayisi {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.kategori-menu-item:hover .kategori-urun-sayisi,
.kategori-menu-item.active .kategori-urun-sayisi {
    background: rgba(255,255,255,0.3);
}

/* Kategori Dropdown */
.kategori-dropdown {
    position: relative;
}

.kategori-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
}

.kategori-dropdown:hover .kategori-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kategori-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #333;
}

.kategori-dropdown-item:hover {
    background: rgba(0,0,0,0.05);
}

/* Sepet Sayacı */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* === SLIDER STİLLERİ === */
.slider-section {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 600px;
    width: 90%;
}

.slider-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-button {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255,255,255,0.9);
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.slider-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-prev,
.slider-next {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: white;
    transform: scale(1.1);
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* === HERO SECTION (Slider yoksa) === */
.hero-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.9) 0%, rgba(139,92,246,0.9) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-section a {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section a:first-child {
    background: white;
}

.hero-section a:last-child {
    border: 2px solid white;
}

.hero-section a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* === KATEGORİ GRID STİLLERİ === */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.grid-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.grid-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-card:hover .product-image {
    transform: scale(1.1);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.grid-card:hover .grid-overlay {
    opacity: 1;
}

.view-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.grid-card:hover .view-icon {
    transform: scale(1);
}

.grid-content {
    padding: 20px;
}

.grid-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.grid-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.grid-actions {
    display: flex;
    gap: 10px;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* === ÜRÜN GRID STİLLERİ === */
.featured-products-grid,
.new-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-image-container:hover .zoom-overlay {
    opacity: 1;
}

.zoom-icon {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.product-image-container:hover .zoom-icon {
    transform: scale(1);
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.3;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #10b981;
}

.product-description {
    color: #666;
    margin: 10px 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-add-cart:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* === ÖZELLİKLER BÖLÜMÜ === */
.features-area {
    padding: 80px 0;
    text-align: center;
}

.features-area h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* === NEWSLETTER BÖLÜMÜ === */
.newsletter-area {
    padding: 80px 0;
    text-align: center;
}

.newsletter-area h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-area p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter-button {
    padding: 15px 30px;
    background: #f59e0b;
    color: #000;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #d97706;
}

/* === FOOTER STİLLERİ === */
.footer-area {
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-area h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-area ul {
    list-style: none;
}

.footer-area ul li {
    margin-bottom: 10px;
}

.footer-area ul li a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-area ul li a:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* === SEPET MODAL STİLLERİ === */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.cart-modal.active {
    right: 0;
}

.cart-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: between;
    align-items: center;
    background: #f8fafc;
}

.cart-modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: #e5e7eb;
}

.cart-items-container {
    padding: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.cart-item {
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
    line-height: 1.3;
}

.cart-item-variants {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.cart-item-price {
    font-weight: bold;
    color: #10b981;
    font-size: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: #fef2f2;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* === VARIANT MODAL STİLLERİ === */
.variant-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.variant-modal.active {
    opacity: 1;
    visibility: visible;
}

.variant-modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.variant-modal.active .variant-modal-content {
    transform: scale(1);
}

.variant-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1f2937;
    text-align: center;
}

.option-group {
    margin-bottom: 25px;
}

.option-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #374151;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.option-btn:hover {
    border-color: #9ca3af;
    transform: translateY(-2px);
}

.option-btn.selected {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
}

.variant-modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.variant-cancel {
    flex: 1;
    padding: 12px;
    border: 2px solid #d1d5db;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.variant-cancel:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.variant-confirm {
    flex: 2;
    padding: 12px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.variant-confirm:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* === BİLDİRİM STİLLERİ === */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    z-index: 10001;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.notification button:hover {
    background: rgba(255,255,255,0.2);
}

/* === ANİMASYONLAR === */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* === RESPONSIVE TASARIM === */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .slider-title {
        font-size: 2.5rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .categories-grid,
    .featured-products-grid,
    .new-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

/* Küçük Tablet (576px - 768px) */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .slider-section {
        height: 400px;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .slider-subtitle {
        font-size: 1rem;
    }
    
    .slider-button {
        padding: 10px 25px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .categories-grid,
    .featured-products-grid,
    .new-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .features-area {
        padding: 60px 0;
    }
    
    .features-area h2 {
        font-size: 2rem;
    }
    
    .newsletter-area {
        padding: 60px 0;
    }
    
    .newsletter-area h2 {
        font-size: 2rem;
    }
    
    .cart-modal {
        max-width: 350px;
    }
}

/* Mobil (0 - 576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .slider-section {
        height: 300px;
    }
    
    .slider-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .slider-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .slider-button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .hero-section a {
        padding: 10px 20px;
        margin: 5px;
        display: block;
        width: 200px;
        margin: 10px auto;
    }
    
    .categories-grid,
    .featured-products-grid,
    .new-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-card,
    .product-card {
        margin: 0 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .newsletter-form input {
        padding: 12px 15px;
        border-radius: 12px 12px 0 0;
    }
    
    .newsletter-button {
        padding: 12px 15px;
        border-radius: 0 0 12px 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-modal {
        max-width: 100%;
        right: -100%;
    }
    
    .variant-modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .option-buttons {
        justify-content: center;
    }
    
    .variant-modal-actions {
        flex-direction: column;
    }
}

/* Çok Küçük Mobil (0 - 400px) */
@media (max-width: 400px) {
    .kategori-menu-item {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .slider-section {
        height: 250px;
    }
    
    .slider-title {
        font-size: 1.3rem;
    }
    
    .slider-subtitle {
        font-size: 0.8rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-view,
    .btn-add-cart {
        width: 100%;
        justify-content: center;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-image {
        margin: 0 auto 10px;
    }
}

/* === ÖZEL DURUMLAR === */

/* Yüksek Çözünürlük Ekranlar */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Koyu Tema Desteği */
@media (prefers-color-scheme: dark) {
    .grid-card,
    .product-card {
        background: #1f2937;
        color: white;
    }
    
    .grid-title,
    .product-title {
        color: white;
    }
    
    .grid-description,
    .product-description {
        color: #d1d5db;
    }
}

/* Yazdırma Stilleri */
@media print {
    .header-area,
    .footer-area,
    .cart-modal,
    .variant-modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Erişilebilirlik İyileştirmeleri */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Odak Stilleri */
.btn-accessibility:focus,
.kategori-menu-item:focus,
.option-btn:focus,
.quantity-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Yüksek Kontrast Modu */
@media (prefers-contrast: high) {
    .grid-card,
    .product-card {
        border: 2px solid black;
    }
    
    .kategori-menu-item {
        border: 1px solid black;
    }
}

/* === UTILITY CLASSES === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

/* === LOADING ANIMATIONS === */
.loading-spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.skeleton-loader {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* === SCROLLBAR STYLES === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Dark mode scrollbar */
@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-track {
        background: #374151;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #6b7280;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }
}

/* === SELECTION STYLES === */
::selection {
    background: #3b82f6;
    color: white;
}

::-moz-selection {
    background: #3b82f6;
    color: white;
}
/* === MOBİL KATEGORİ MENÜSÜ - AÇILIR/KAPANIR === */
@media (max-width: 768px) {
    /* Mobil Menü Container */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        z-index: 1001;
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
        padding: 0;
    }

    .mobile-menu.active {
        left: 0;
    }

    /* Mobil Menü Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    /* Mobil Menü Header */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        background: #3b82f6;
        color: white;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .mobile-menu-title {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 0.25rem;
        border-radius: 4px;
        transition: background 0.3s ease;
    }

    .mobile-menu-close:hover {
        background: rgba(255,255,255,0.2);
    }

    /* Mobil Kategori Listesi */
    .mobile-menu-list {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    /* Mobil Kategori Item */
    .mobile-kategori-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        border-bottom: 1px solid #e5e7eb;
        text-decoration: none;
        color: #374151;
        transition: all 0.3s ease;
        background: white;
    }

    .mobile-kategori-item:hover {
        background: #f8fafc;
        color: #3b82f6;
    }

    .mobile-kategori-item.active {
        background: #3b82f6;
        color: white;
    }

    .mobile-kategori-item-content {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex: 1;
    }

    .mobile-kategori-icon {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        color: inherit;
    }

    .mobile-kategori-text {
        flex: 1;
        font-weight: 500;
        font-size: 0.95rem;
    }

    .mobile-kategori-meta {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Alt Kategori Container */
    .mobile-alt-kategoriler {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        background: #f9fafb;
    }

    .mobile-alt-kategoriler.active {
        max-height: 1000px;
    }

    /* Alt Kategori Item */
    .mobile-alt-kategori-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        border-bottom: 1px solid #e5e7eb;
        text-decoration: none;
        color: #6b7280;
        transition: all 0.3s ease;
        background: #f9fafb;
        font-size: 0.9rem;
    }

    .mobile-alt-kategori-item:hover {
        background: #f3f4f6;
        color: #374151;
    }

    .mobile-alt-kategori-item:last-child {
        border-bottom: none;
    }

    .mobile-alt-kategori-text {
        flex: 1;
    }

    /* Toggle Butonları */
    .kategori-toggle-trigger {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 4px;
        transition: background 0.3s ease;
        color: inherit;
    }

    .kategori-toggle-trigger:hover {
        background: rgba(0,0,0,0.1);
    }

    .kategori-toggle-icon {
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }

    .kategori-toggle-icon.rotated {
        transform: rotate(180deg);
    }

    /* Ürün Sayısı Badge */
    .kategori-urun-sayisi {
        background: rgba(0,0,0,0.1);
        color: inherit;
        padding: 0.2rem 0.5rem;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 600;
        min-width: 20px;
        text-align: center;
    }

    .mobile-kategori-item.active .kategori-urun-sayisi,
    .mobile-alt-kategori-item:hover .kategori-urun-sayisi {
        background: rgba(255,255,255,0.3);
    }

    /* Mobil Menü Footer */
    .mobile-menu-footer {
        padding: 1rem;
        border-top: 1px solid #e5e7eb;
        background: #f8fafc;
    }

    /* Dil Seçenekleri */
    .mobile-language-selector {
        padding: 1rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .mobile-language-option {
        display: block;
        padding: 0.75rem 0;
        text-decoration: none;
        color: #374151;
        transition: color 0.3s ease;
        font-weight: 500;
    }

    .mobile-language-option:hover {
        color: #3b82f6;
    }

    .mobile-language-option.active {
        color: #3b82f6;
        font-weight: 600;
    }

    /* Giriş/Çıkış Butonları */
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .mobile-auth-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        text-align: center;
    }

    .mobile-login-button {
        background: #3b82f6;
        color: white;
    }

    .mobile-login-button:hover {
        background: #2563eb;
        transform: translateY(-1px);
    }

    .mobile-logout-button {
        background: #ef4444;
        color: white;
    }

    .mobile-logout-button:hover {
        background: #dc2626;
        transform: translateY(-1px);
    }

    /* Scrollbar Stilleri */
    .mobile-menu::-webkit-scrollbar {
        width: 4px;
    }

    .mobile-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .mobile-menu::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 2px;
    }

    .mobile-menu::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

    /* Animasyonlar */
    @keyframes slideInLeft {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes slideOutLeft {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(-100%);
            opacity: 0;
        }
    }

    .mobile-menu.active {
        animation: slideInLeft 0.3s ease-out;
    }

    .mobile-menu:not(.active) {
        animation: slideOutLeft 0.3s ease-out;
    }
}

/* === MOBİL MENÜ TOGGLE BUTONU === */
@media (max-width: 768px) {
    #mobileMenuToggle {
        position: relative;
        z-index: 1002;
    }

    /* Mobil menü açıkken body scroll'unu engelle */
    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Masaüstü menüyü mobilde gizle */
    .desktop-menu {
        display: none !important;
    }
}

/* === KÜÇÜK MOBİL CİHAZLAR İÇİN İYİLEŞTİRMELER === */
@media (max-width: 480px) {
    .mobile-menu {
        width: 90%;
        max-width: 280px;
    }

    .mobile-kategori-item {
        padding: 0.875rem;
    }

    .mobile-alt-kategori-item {
        padding: 0.625rem 0.875rem 0.625rem 2rem;
    }

    .mobile-kategori-text {
        font-size: 0.9rem;
    }

    .mobile-alt-kategori-text {
        font-size: 0.85rem;
    }

    .kategori-urun-sayisi {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
}

/* === DARK MODE DESTEĞİ === */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .mobile-menu {
        background: #1f2937;
        color: white;
    }

    .mobile-kategori-item {
        background: #1f2937;
        color: #d1d5db;
        border-bottom-color: #374151;
    }

    .mobile-kategori-item:hover {
        background: #374151;
        color: white;
    }

    .mobile-kategori-item.active {
        background: #3b82f6;
        color: white;
    }

    .mobile-alt-kategoriler {
        background: #111827;
    }

    .mobile-alt-kategori-item {
        background: #111827;
        color: #9ca3af;
        border-bottom-color: #374151;
    }

    .mobile-alt-kategori-item:hover {
        background: #1f2937;
        color: white;
    }

    .mobile-menu-footer {
        background: #111827;
        border-top-color: #374151;
    }

    .mobile-language-selector {
        border-bottom-color: #374151;
    }

    .mobile-language-option {
        color: #d1d5db;
    }

    .kategori-toggle-trigger:hover {
        background: rgba(255,255,255,0.1);
    }

    .mobile-menu::-webkit-scrollbar-track {
        background: #374151;
    }

    .mobile-menu::-webkit-scrollbar-thumb {
        background: #6b7280;
    }

    .mobile-menu::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }
}

/* === ERİŞİLEBİLİRLİK === */
@media (max-width: 768px) {
    .kategori-toggle-trigger:focus,
    .mobile-menu-close:focus,
    .mobile-kategori-item:focus {
        outline: 2px solid #3b82f6;
        outline-offset: 2px;
    }

    /* Reduced motion support */
    @media (prefers-reduced-motion: reduce) {
        .mobile-menu,
        .mobile-alt-kategoriler,
        .kategori-toggle-icon {
            transition: none;
        }
        
        .mobile-menu.active,
        .mobile-menu:not(.active) {
            animation: none;
        }
    }
}