/* Reset ve Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Stilleri */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    border-color: #007bff;
}

.search-bar button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
}

.header-actions {
    display: flex;
    gap: 30px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    transition: color 0.3s;
}

.action-item:hover {
    color: #007bff;
}

.action-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Navigation */
.main-nav {
    border-top: 1px solid #e0e0e0;
    padding: 15px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff;
}

/* Kategori İkonları */
.category-icons {
    padding: 30px 0;
    background: white;
}

.category-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.category-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.category-item {
    text-align: center;
    flex-shrink: 0;
    min-width: 90px;
}

.category-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.category-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 2px solid #e0e0e0;
    transition: transform 0.3s, border-color 0.3s;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.category-circle:hover {
    transform: translateY(-5px);
    border-color: #007bff;
}

.category-circle i {
    font-size: 28px;
    color: #007bff;
    transition: color 0.3s;
}

.category-circle:hover i {
    color: #0056b3;
}

.category-item span {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
    white-space: nowrap;
}

.category-item:hover span {
    color: #007bff;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1170px;
    width: calc(100% - 40px);
    height: 380px;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    height: 100%;
}

.banner-text {
    flex: 1;
    max-width: 500px;
}

.banner-text h2 {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    transform: rotate(-90deg);
    transform-origin: left center;
    position: absolute;
    left: -20px;
    top: 50%;
    white-space: nowrap;
    z-index: 2;
}

.banner-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    margin-left: 80px;
    padding-right: 20px;
}

.btn-discover {
    background: #333;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background 0.3s;
    margin-left: 80px;
    display: inline-block;
}

.btn-discover:hover {
    background: #555;
}

.banner-image {
    flex: 1;
    text-align: right;
}

.banner-image img {
    max-width: 100%;
    height: auto;
}

/* Action Buttons */
.action-buttons {
    padding: 10px 0;
}

.button-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 1220px;
    width: calc(100% - 40px);
    margin: 0 auto;
    height: 54px;
}

.action-btn {
    width: 600px;
    padding: 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    flex-shrink: 0;
}

.action-btn i {
    font-size: 20px;
    transition: all 0.3s;
}

.btn-outline {
    border: 2px solid #333;
    color: #333;
    background: transparent;
}

.btn-outline:hover {
    background: #333;
    color: white;
}

.btn-outline:hover i {
    transform: scale(1.2);
}

.btn-filled {
    background: #dc3545;
    color: white;
    border: 2px solid #dc3545;
}

.btn-filled:hover {
    background: #c82333;
    border-color: #c82333;
}

.btn-filled:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Story Section */
.story-section {
    padding: 20px 0;
    background: #fff;
}

.story-container {
    max-width: 1170px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0;
}

.story-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 20px;
    width: 100%;
}

.story-grid::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex: 1;
    max-width: 120px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

.story-item:hover {
    transform: translateY(-5px);
}

.story-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.story-circle::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 300% 300%;
    animation: gradient 3s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.story-circle:hover::after {
    opacity: 1;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.story-circle:hover {
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0,123,255,0.2);
}

.story-circle i {
    font-size: 28px;
    color: #666;
    transition: color 0.3s;
}

.story-circle:hover i {
    color: #007bff;
}

.story-item span {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    color: #333;
    text-decoration: none;
    display: block;
    margin-top: 8px;
}

.story-item:hover span {
    color: #007bff;
}

.story-item a {
    text-decoration: none;
    color: inherit;
}

.story-item a:visited {
    color: inherit;
}

/* Ürün Bölümleri */
.weekly-trends {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #333;
    letter-spacing: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image {
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-action {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    backdrop-filter: blur(10px);
}

.btn-action:hover {
    background: white;
    transform: scale(1.15) rotate(10deg);
    color: #007bff;
}

.btn-favorite:hover {
    color: #e74c3c;
}

.btn-quick-view:hover {
    color: #27ae60;
}

.btn-compare:hover {
    color: #f39c12;
}

.quick-add-cart {
    align-self: center;
}

.btn-quick-add {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.btn-quick-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

.btn-favorite {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background 0.3s;
}

.btn-favorite:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.btn-quick-view {
    background: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background 0.3s;
}

.btn-quick-view:hover {
    background: #007bff;
    color: white;
}

/* Modern Badges */
.discount-badge.modern {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(231,76,60,0.3);
    z-index: 2;
}

.stock-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.stock-badge.low-stock {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.stock-badge.out-of-stock {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* Modern Product Info */
.product-info {
    padding: 25px;
}

.product-category {
    margin-bottom: 8px;
}

.product-category span {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    margin-bottom: 12px;
}

.product-title a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #007bff;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    font-size: 14px;
    color: #ffc107;
}

.rating-count {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.price-section {
    margin-bottom: 20px;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.savings {
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
    background: rgba(40,167,69,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.product-footer {
    border-top: 1px solid #f8f9fa;
    padding-top: 20px;
}

.btn-add-cart.modern {
    width: 100%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn-add-cart.modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-add-cart.modern:hover::before {
    left: 100%;
}

.btn-add-cart.modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
}

.btn-add-cart.modern:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-add-cart.modern:disabled::before {
    display: none;
}

.btn-add-cart.modern i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-add-cart.modern:hover i {
    transform: scale(1.1);
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.product-category {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.product-price {
    margin-bottom: 15px;
}

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

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

.price-new {
    font-size: 18px;
    font-weight: bold;
    color: #dc3545;
}

.btn-add-cart {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.btn-add-cart:hover {
    background: #0056b3;
}

/* Newsletter */
.newsletter {
    background: #f8f9fa;
    padding: 60px 20px;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.newsletter-content p {
    color: #666;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
}

.newsletter-form button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #0056b3;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #555;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #007bff;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-bar {
        margin: 0;
        max-width: 100%;
    }
    
    .header-actions {
        gap: 20px;
    }
    
    .nav-menu {
        gap: 15px;
        font-size: 12px;
    }
    
    .category-grid {
        gap: 20px;
        padding: 0 10px;
        justify-content: flex-start;
    }
    
    .category-circle {
        width: 65px;
        height: 65px;
    }
    
    .category-circle i {
        font-size: 22px;
    }
    
    .category-item span {
        font-size: 10px;
    }
    
    .category-item {
        min-width: 75px;
    }
    
    .hero-banner {
        margin: 20px auto;
        width: calc(100% - 20px);
        height: 280px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
        height: 100%;
        justify-content: center;
    }
    
    .banner-text h2 {
        position: static;
        transform: none;
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .banner-text p,
    .btn-discover {
        margin-left: 0;
        padding-right: 0;
    }
    
    .button-row {
        flex-direction: column;
        align-items: center;
        max-width: 300px;
        width: calc(100% - 20px);
        margin: 0 auto;
        height: 120px;
        gap: 10px;
    }
    
    .action-btn {
        width: 100%;
        font-size: 14px;
        letter-spacing: 0.5px;
        border-radius: 6px;
    }
    
    .story-container {
        width: calc(100% - 20px);
        padding: 0;
    }
    
    .story-grid {
        justify-content: space-between;
        gap: 15px;
        padding: 0 10px;
    }
    
    .story-item {
        flex: 1;
        max-width: 80px;
    }
    
    .story-circle {
        width: 65px;
        height: 65px;
    }
    
    .story-circle i {
        font-size: 22px;
    }
    
    .story-item span {
        font-size: 10px;
        color: #333;
        font-weight: 600;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Modern Product Cards - Mobile Responsive */
    .product-card.modern {
        border-radius: 15px;
    }
    
    .product-image img {
        height: 250px;
    }
    
    .product-overlay {
        padding: 15px;
    }
    
    .btn-action {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .btn-quick-add {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-title a {
        font-size: 15px;
    }
    
    .current-price {
        font-size: 18px;
    }
    
    .original-price {
        font-size: 14px;
    }
    
    .btn-add-cart.modern {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .product-actions {
        gap: 8px;
    }
    
    .btn-action {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .btn-quick-add {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-rating {
        margin-bottom: 12px;
    }
    
    .stars i {
        font-size: 12px;
    }
    
    .rating-count {
        font-size: 11px;
    }
}
