/* Genel Sıfırlama ve Yumuşak Kaydırma */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #faf9f6;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Üst Turuncu İnce Duyuru Bandı */
.top-announcement-bar {
    background-color: #ff5500;
    color: white;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.announcement-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.announcement-track span {
    margin-right: 50px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Navbar Tasarımı */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ff5500;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ff5500;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    display: flex;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
}

.lang-selector span {
    transition: color 0.2s;
}

.lang-selector span:hover {
    color: #ff5500;
}

.lang-selector .active-lang {
    color: #ff5500;
    border-bottom: 2px solid #ff5500;
}

.nav-right .icon {
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: transform 0.2s;
}

.nav-right .icon:hover {
    transform: scale(1.1);
    color: #ff5500;
}

/* Sepet İkonu ve Sayaç Rozeti */
.cart-icon-container {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ff5500;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sağdan Açılır Sepet Paneli (Drawer) */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: white;
    z-index: 1600;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.close-cart {
    font-size: 18px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.close-cart:hover {
    color: #ff5500;
}

.cart-body {
    padding: 20px 24px;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f4f4f4;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    background: #f4f4f4;
}

.cart-item-details h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #ff5500;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.total-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff5500;
}

.kaspi-checkout-btn {
    width: 100%;
    background-color: #f1462c;
    color: white;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 15px rgba(241, 70, 44, 0.3);
}

.kaspi-checkout-btn:hover {
    background-color: #d93820;
}

/* Hero (Banner) Bölümü */
.hero {
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('hero-bg.jpg');
    height: 75vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 700px;
}

.badge {
    background-color: #ff5500;
    color: white;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.4);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ff5500;
    color: white;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.4);
}

.cta-btn:hover {
    background-color: #e04b00;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 85, 0, 0.6);
}

/* Ürünler Vitrini */
.products-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #111;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #111;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 10;
}

.img-container {
    width: 100%;
    height: 320px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.product-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 0.85rem;
    color: #888;
    text-decoration: line-through;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ff5722;
}

.add-to-cart-btn {
    background-color: #111;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.add-to-cart-btn:hover {
    background-color: #ff5500;
}

/* Footer Tasarımı */
.footer {
    background-color: #111;
    color: #bbb;
    padding: 60px 5% 20px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Outfit', sans-serif;
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-col p, .footer-col a {
    font-size: 14px;
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ff5500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: #777;
}

/* --- MOBİL UYUMLULUK VE RESPONSIVE AYARLAR --- */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 12px 15px;
    }
    .nav-links {
        display: none;
    }
    .logo {
        font-size: 22px;
    }
    .hero {
        padding: 40px 15px;
        height: 65vh;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 15px;
    }
    .product-grid {
        padding: 0 10px;
    }
    .cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
        right: -100%;
    }
    .cart-drawer.open {
        right: 0;
    }
    .cart-body input {
        font-size: 16px !important;
        padding: 10px !important;
    }
    .footer-content {
        gap: 30px;
    }
}

@media screen and (max-width: 480px) {
    .top-announcement-bar {
        font-size: 11px;
        padding: 5px 0;
    }
}