/* ========================================
   E-TİCARET CSS - PROFESYONEL
   ======================================== */

/* Reset & Base */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #111;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 420px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: white;
    max-width: 500px;
    z-index: 2;
}

.slide-tag {
    display: inline-block;
    background: #e65100;
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.slide-desc {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e65100;
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.slide-btn:hover {
    background: #ff6d00;
    transform: translateX(5px);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.slider-nav:hover {
    background: #e65100;
    color: white;
}

.slider-prev { left: 25px; }
.slider-next { right: 25px; }

@media (max-width: 768px) {
    .slider-nav { display: none !important; }
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #e65100;
    width: 35px;
    border-radius: 6px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    background: white;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
}

.feature-item i {
    font-size: 36px;
    color: #e65100;
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.feature-item p {
    font-size: 12px;
    color: #888;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
    padding: 50px 0;
    background: #f8f8f8;
}

.products-section.alt-bg {
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: #e65100;
    border-radius: 2px;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e65100;
    font-size: 14px;
    font-weight: 500;
}

.section-link:hover {
    text-decoration: underline;
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #d32f2f;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    display: block;
    position: relative;
    padding-top: 100%;
    background: #fafafa;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.4s;
}

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

.product-image .no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 50px;
}

.product-info {
    padding: 18px;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: #333;
}

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

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

.product-rating i {
    font-size: 13px;
    color: #ffc107;
}

.product-rating span {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
}

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

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

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

.product-havale {
    font-size: 12px;
    color: #2e7d32;
    margin-bottom: 15px;
}

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

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

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.no-products i {
    font-size: 60px;
    margin-bottom: 15px;
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: #1a1a1a;
    color: #bbb;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-brand img {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 18px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #e65100;
    color: white;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #999;
    font-size: 14px;
    transition: all 0.3s;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    color: #e65100;
    font-size: 18px;
    margin-top: 2px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* ========================================
   NOTIFICATIONS
   ======================================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 99999;
    transform: translateX(120%);
    transition: transform 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #43a047;
}

.notification.error {
    background: #e53935;
}

/* ========================================
   CART & CHECKOUT
   ======================================== */
.page-header {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 26px;
    font-weight: 600;
    color: #222;
}

.breadcrumb {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

.breadcrumb a {
    color: #888;
}

.breadcrumb a:hover {
    color: #e65100;
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
    padding: 40px 0;
}

.cart-items {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
}

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

.cart-item-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 5px;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 13px;
    color: #888;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cart-item-qty input {
    width: 45px;
    height: 35px;
    border: none;
    text-align: center;
    font-weight: 500;
}

.cart-item-total {
    font-size: 16px;
    font-weight: 600;
    color: #e65100;
    min-width: 100px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ccc;
    font-size: 22px;
    cursor: pointer;
}

.cart-item-remove:hover {
    color: #d32f2f;
}

.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 150px;
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 600;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-top: 15px;
}

.summary-row.total .value {
    color: #e65100;
}

.free-shipping {
    color: #2e7d32;
    font-weight: 500;
}

.havale-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 8px;
    margin: 20px 0;
}

.havale-box i {
    font-size: 28px;
    color: #2e7d32;
}

.havale-box strong {
    display: block;
    color: #2e7d32;
    font-size: 13px;
}

.havale-box span {
    font-size: 12px;
    color: #388e3c;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: #e65100;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background: #bf360c;
}

.btn-continue {
    display: block;
    text-align: center;
    padding: 12px;
    color: #666;
    font-size: 13px;
    margin-top: 12px;
}

.btn-continue:hover {
    color: #e65100;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 100px 20px;
    background: white;
    border-radius: 12px;
}

.empty-cart i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #888;
    margin-bottom: 30px;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    background: #e65100;
    color: white;
    border-radius: 8px;
    font-weight: 500;
}

.btn-shop:hover {
    background: #bf360c;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .slide {
        height: 320px;
    }
    
    .slide-title {
        font-size: 26px;
    }
    
    .slide-desc {
        display: none;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-item i {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .products-section {
        padding: 35px 0;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 13px;
        height: 36px;
    }
    
    .current-price {
        font-size: 17px;
    }
    
    .btn-add-cart {
        padding: 10px;
        font-size: 13px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }
    
    .cart-item-qty,
    .cart-item-total,
    .cart-item-remove {
        grid-column: 2;
    }
}

@media (max-width: 576px) {
    .slide {
        height: 280px;
    }
    
    .slide-title {
        font-size: 22px;
    }
    
    .slide-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        gap: 10px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-title {
        font-size: 12px;
    }
    
    .current-price {
        font-size: 15px;
    }
}
