/* =============================================
   DUSAKABIN.NET.TR – Ana Stil Dosyası
   ============================================= */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #222;
    background: #f8f9fa;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- CONTAINER --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
    background: #1565c0;
    color: #fff;
    font-size: 0.82rem;
    padding: 6px 0;
}
.topbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.topbar a { color: #fff; }
.topbar-wa {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #25d366;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}
.topbar-wa:hover { background: #1db954; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
    background: #fff;
    border-bottom: 2px solid #e3e8ef;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.logo-img {
    height: 52px;
    width: auto;
}
.logo-slogan {
    font-size: 0.72rem;
    color: #666;
    font-style: italic;
    white-space: nowrap;
}
.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: 2px solid #1565c0;
    color: #1565c0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all .2s;
}
.btn-phone:hover { background: #1565c0; color: #fff; }
.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #25d366;
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background .2s;
}
.btn-wa:hover { background: #1db954; }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #1565c0;
    padding: 4px;
}

/* =============================================
   MAIN NAV
   ============================================= */
.main-nav {
    background: #1565c0;
}
.nav-list {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
}
.nav-item a {
    display: block;
    color: #fff;
    padding: 12px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: background .2s;
}
.nav-item a:hover,
.nav-item.active a {
    background: rgba(255,255,255,0.18);
}
.nav-item.active a {
    border-bottom: 3px solid #fff;
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero {
    position: relative;
    overflow: hidden;
    background: #000;
    max-height: 540px;
}
.hero-slides { width: 100%; }
.hero-slide {
    display: none;
    position: relative;
}
.hero-slide.active { display: block; }
.hero-slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    opacity: 0.75;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 60px;
}
.hero-content {
    max-width: 480px;
    color: #fff;
}
.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    line-height: 1.2;
    margin-bottom: 10px;
}
.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.btn-hero-wa {
    display: inline-block;
    background: #25d366;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background .2s, transform .15s;
}
.btn-hero-wa:hover { background: #1db954; transform: translateY(-2px); }

.hero-prev, .hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background .2s;
    z-index: 2;
}
.hero-prev { left: 10px; }
.hero-next { right: 10px; }
.hero-prev:hover, .hero-next:hover { background: rgba(0,0,0,0.65); }
.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 2;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background .2s;
    padding: 0;
}
.hero-dot.active { background: #fff; }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid #e3e8ef;
    padding: 16px 0;
}
.trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    min-width: 180px;
}
.trust-icon { font-size: 1.8rem; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.9rem; color: #1565c0; }
.trust-item span { font-size: 0.78rem; color: #666; }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 48px 0; }
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 28px;
    padding-bottom: 8px;
    border-bottom: 3px solid #1565c0;
    display: inline-block;
}

/* =============================================
   KATEGORİ KARTLARI
   ============================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.cat-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform .2s, box-shadow .2s;
    display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.13); }
.cat-img-wrap { aspect-ratio: 1; overflow: hidden; background: #f0f4f8; }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-card:hover .cat-img-wrap img { transform: scale(1.06); }
.cat-label {
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1565c0;
    text-align: center;
    line-height: 1.3;
}

/* =============================================
   ÜRÜN KARTLARI
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-img-link { display: block; }
.product-img-wrap {
    position: relative;
    aspect-ratio: 1;
    background: #f0f4f8;
    overflow: hidden;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.badge-kampanya {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.badge-indirim {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9800;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 1;
}
.badge-lg {
    font-size: 1rem;
    padding: 5px 16px;
}
.product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}
.product-cat a { font-size: 0.72rem; color: #1565c0; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.product-name { font-size: 0.9rem; font-weight: 700; line-height: 1.3; }
.product-name a { color: #222; }
.product-name a:hover { color: #1565c0; }
.product-desc { font-size: 0.78rem; color: #666; line-height: 1.4; }
.product-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-old {
    font-size: 0.82rem;
    color: #999;
    text-decoration: line-through;
}
.price-current {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1565c0;
}
.btn-wa-card {
    display: block;
    text-align: center;
    background: #25d366;
    color: #fff;
    padding: 9px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    margin-top: 8px;
    transition: background .2s;
}
.btn-wa-card:hover { background: #1db954; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff;
    padding: 48px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-text h2 { font-size: 1.5rem; margin-bottom: 8px; }
.cta-text p { font-size: 1rem; opacity: .9; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-wa-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background .2s;
}
.btn-wa-large:hover { background: #1db954; }
.btn-phone-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1565c0;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background .2s;
}
.btn-phone-large:hover { background: #e3f2fd; }

/* =============================================
   GALERI
   ============================================= */
.gallery-section { background: #f0f4f8; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #e0e0e0;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.gallery-item:hover img { transform: scale(1.07); }

/* =============================================
   KAMPANYA SECTION
   ============================================= */
.kampanya-section { background: #fff8e1; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform .2s, background .2s;
}
.wa-float:hover { transform: scale(1.1); background: #1db954; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #0d2b5e;
    color: #cdd5df;
    padding: 48px 0 24px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-logo { height: 48px; filter: brightness(0) invert(1); margin-bottom: 6px; }
.footer-slogan { font-style: italic; font-size: 0.8rem; color: #90aac8; margin-bottom: 12px; }
.footer-col p { font-size: 0.85rem; margin-bottom: 8px; line-height: 1.5; }
.footer-col h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a { font-size: 0.85rem; color: #90aac8; transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-col a { color: #90aac8; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-hours { font-size: 0.8rem; color: #90aac8; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: #90aac8;
}
.footer-bottom a { color: #90aac8; }
.footer-bottom a:hover { color: #fff; }

/* =============================================
   PAGE LAYOUT (Kategori, Ürün, İletişim)
   ============================================= */
.page-layout {
    padding-top: 24px;
    padding-bottom: 48px;
    min-height: 60vh;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.breadcrumb a { color: #1565c0; }
.breadcrumb a:hover { text-decoration: underline; }
.page-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1565c0;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 3px solid #1565c0;
}

/* Liste araç çubuğu */
.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.list-count { font-size: 0.88rem; color: #666; }
.sort-form { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; }
.sort-form select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.88rem;
}

/* Sayfalama */
.pagination {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 32px;
    justify-content: center;
}
.page-btn {
    padding: 8px 14px;
    border: 1px solid #1565c0;
    color: #1565c0;
    border-radius: 4px;
    font-size: 0.88rem;
    transition: all .2s;
}
.page-btn:hover, .page-btn.active {
    background: #1565c0;
    color: #fff;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}
.btn-primary {
    display: inline-block;
    background: #1565c0;
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: background .2s;
}
.btn-primary:hover { background: #0d47a1; }

/* =============================================
   ÜRÜN DETAY
   ============================================= */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.product-gallery { }
.main-img-wrap {
    position: relative;
    aspect-ratio: 1;
    background: #f0f4f8;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}
.main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-list { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb-btn {
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color .2s;
}
.thumb-btn.active { border-color: #1565c0; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-cat-link { margin-bottom: 6px; }
.product-cat-link a { font-size: 0.82rem; color: #1565c0; font-weight: 600; text-transform: uppercase; }
.product-detail-title { font-size: 1.5rem; font-weight: 800; color: #222; margin-bottom: 16px; line-height: 1.3; }
.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.price-old-lg { font-size: 1rem; color: #999; text-decoration: line-through; }
.price-current-lg { font-size: 2rem; font-weight: 800; color: #1565c0; }
.price-vat { font-size: 0.78rem; color: #888; }
.product-short-desc { font-size: 0.9rem; color: #555; margin-bottom: 20px; line-height: 1.6; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.btn-wa-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background .2s;
}
.btn-wa-order:hover { background: #1db954; }
.btn-phone-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #1565c0;
    color: #1565c0;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all .2s;
}
.btn-phone-order:hover { background: #1565c0; color: #fff; }
.detail-note { background: #e8f5e9; border-left: 4px solid #4caf50; border-radius: 4px; padding: 14px 16px; }
.detail-note p { font-size: 0.88rem; color: #333; margin-bottom: 4px; }
.detail-note p:last-child { margin-bottom: 0; }
.product-description {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.product-description h2 { font-size: 1.1rem; color: #1565c0; margin-bottom: 14px; }
.desc-content { font-size: 0.9rem; color: #444; line-height: 1.8; }
.related-section { margin-top: 32px; }
.related-section h2 { font-size: 1.2rem; color: #1565c0; margin-bottom: 20px; }

/* =============================================
   İLETİŞİM SAYFASI
   ============================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 32px;
}
.contact-info-box {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.contact-logo-wrap { text-align: center; margin-bottom: 20px; }
.contact-logo { height: 60px; margin: 0 auto 6px; }
.contact-slogan { font-style: italic; font-size: 0.8rem; color: #666; }
.contact-block { margin-bottom: 16px; }
.contact-block h3 { font-size: 0.88rem; font-weight: 700; color: #1565c0; margin-bottom: 4px; text-transform: uppercase; }
.contact-block p { font-size: 0.88rem; color: #555; }
.contact-block a { color: #1565c0; }
.contact-block a:hover { text-decoration: underline; }
.contact-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.btn-wa-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 13px;
    border-radius: 8px;
    font-weight: 700;
    transition: background .2s;
}
.btn-wa-contact:hover { background: #1db954; }
.btn-phone-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #1565c0;
    color: #1565c0;
    padding: 11px;
    border-radius: 8px;
    font-weight: 700;
    transition: all .2s;
}
.btn-phone-contact:hover { background: #1565c0; color: #fff; }
.contact-map-wrap { }
.contact-desc { margin-bottom: 24px; }
.contact-desc h2 { font-size: 1.3rem; color: #1565c0; margin-bottom: 10px; }
.contact-desc p { font-size: 0.9rem; color: #555; margin-bottom: 8px; line-height: 1.6; }
.map-container { margin-bottom: 20px; }
.map-container h3 { font-size: 0.9rem; font-weight: 700; color: #333; margin-bottom: 8px; }
.map-note { font-size: 0.82rem; color: #666; margin-top: 6px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
    .product-detail-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .header-contact { display: none; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-item a { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .hero-slide img { height: 280px; }
    .hero-content h1 { font-size: 1.3rem; }
    .hero-overlay { padding: 0 20px; }
    .btn-hero-wa { padding: 10px 18px; font-size: 0.9rem; }
    .trust-grid { justify-content: flex-start; gap: 6px; }
    .trust-item { min-width: 140px; padding: 6px 10px; }
    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .topbar-hours { display: none; }
    .contact-layout { grid-template-columns: 1fr; }
    .page-title { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero-slide img { height: 220px; }
    .hero-content h1 { font-size: 1.1rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-info { padding: 10px; }
    .price-current { font-size: 1rem; }
    .btn-wa-card { font-size: 0.75rem; padding: 8px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
