/*HEADER BAŞLANGIÇ*/

/* Temel Metin Stilleri (Aynen Korundu) */
.badge,
.menubar li a,
.prod-badge {
    text-transform: uppercase;
}
.card-text-overlay p,
.prod-badge,
.prod-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

:root {
    /* YENİ RENK PALETİ: Modern ve Ferah */
    /* Eski koyu mavi yerine daha modern, neredeyse siyah bir lacivert */
    --ana-marka-renk: #0f172a;

    /* İkinci renk: Yumuşak gri */
    --ana-marka-ikinci-renk: #64748b;

    /* Hover rengi: Parlak elektrik mavisi */
    --hover-color: #2563eb;

    /* Header Bölümü */
    --header-bg-top: #0f172a;           /* Üst bar: Premium Koyu */
    --header-bg-main: #ffffff;          /* Ana header: Beyaz */

    /* Marka Kimliği ve Vurgu */
    --brand-color: #3b82f6;             /* Linkler: Modern Mavi */
    --accent-color: #f59e0b;            /* Vurgu: Amber/Turuncu (Daha sıcak ve modern ton) */

    /* Metin ve Arayüz Renkleri */
    --text-dark: #1e293b;               /* Metin: Keskin Gri-Siyah */
    --text-light: #94a3b8;              /* Pasif metinler */
    --border-color: #e2e8f0;            /* Kenarlık: Çok hafif gri */
}

/* Üst Bar */
.top-nav {
    background-color: var(--header-bg-top);
    color: #fff;
    border-bottom: none;
    padding: 5px 0;
}
.top-nav a {
    color: #cbd5e1 !important; /* Tam beyaz yerine göz yormayan kırık beyaz */
    transition: color 0.2s;
}
.location .dropdown-menu li a {
    color: var(--text-dark) !important;
}
.top-nav a:hover {
    color: #fff !important;
}

/* Ana Header Alt Kısım */
.bottom {
    padding: 20px 0;
    background: var(--header-bg-main);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Sadece hafif gölge eklendi, boyut değişmez */
}
.nextlogo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Arama Kutusu */
.search {
    flex-grow: 1;
    margin: 0 30px;
    float: none !important;
}
.control-search {
    border-radius: 6px !important; /* 4px yerine 6px (Hafif yumuşatma - boyut etkilemez) */
    border: 2px solid #e2e8f0 !important; /* Çerçeve rengi modern gri yapıldı */
    height: 42px !important;
    background-color: #f8fafc; /* Hafif zemin rengi eklendi */
    transition: all 0.3s ease;
}
.control-search:focus {
    background-color: #fff;
    border-color: var(--brand-color) !important;
}

.block-1,
.block-2 {
    float: none !important;
    display: inline-block;
    margin: 0;
}

/* Sepet İkonu Badge */
.photo-cart .lbl {
    background-color: var(--accent-color); /* Yeni Amber rengi */
}

/* Menü Barı */
.menu {
    background: #ffffff; /* Gri yerine beyaz yapıldı, daha ferah */
    border-bottom: 2px solid var(--brand-color);
}
.menubar li a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    transition: color 0.2s;
}
.menubar li a:hover {
    color: var(--brand-color);
    /* Hover'da arka plan değişimi kaldırıldı, sadece renk değişsin ki kayma yapmasın */
}

/* Responsive Kurallar (Aynen Bırakıldı) */
@media (max-width: 991px) {
    .nextlogo {
        display: block;
    }
    .search {
        margin: 15px 0;
    }
    .block-1 {
        visibility: hidden;
    }
    .block-2 {
        float: right !important;
    }
    .topbar-mobile {
        background: var(--header-bg-top);
        color: #fff;
    }
    .topbar-mobile a {
        color: #fff;
    }
}
@media (max-width: 767px) {
    .prod-img-frame {
        height: 200px;
    }
    .btn-floating-view {
        opacity: 1;
        transform: translateY(0);
        width: 35px;
        height: 35px;
    }
}

/* Mini Sepet Listesi */
.mini-cart-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: Inter, sans-serif;
}
.cart-item-list {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9; /* Çizgi rengi hafifletildi */
    transition: background-color 0.3s;
}
.cart-item-list:last-child {
    border-bottom: none;
}
.cart-item-list:hover {
    background-color: #f8fafc;
}
.delete-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px; /* Tam yuvarlak yerine hafif kare, modern durur */
    background-color: #fff1f2; /* Daha soft kırmızı zemin */
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    transition: 0.2s;
    cursor: pointer;
    border: 1px solid #fecaca;
    flex-shrink: 0;
    margin-left: 8px;
}
.delete-btn:hover {
    background-color: #ef4444;
    color: #fff;
    transform: translateY(0); /* Kayma yapmaması için transform iptal edildi */
    border-color: #ef4444;
}

.product-image-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px; /* 8px yerine 6px */
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* FİYATLAR BUTONU CSS (BOYUT GARANTİLİ) */
/* Animasyon: Sadece ışık geçişi, BÜYÜME (SCALE) YOK */
@keyframes shine-move {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Nefes alma animasyonu iptal edildi çünkü butonu büyütüyordu */

.pricing-btn-flash {
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-left: 15px;

    color: white !important;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.95rem; /* Font boyutu sabit */
    letter-spacing: 0.5px;
    border-radius: 4px; /* Yuvarlaklık azaltıldı, layouta daha uygun */

    /* Yeni Gradient: Modern Mavi-Lacivert */
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(255,255,255,0.1);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: auto;
    width: fit-content;
    padding: 10px 30px; /* Padding aynen korundu */
    transition: all 0.3s ease;
}

.pricing-btn-flash::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3), /* Opaklık düşürüldü */
        transparent
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 2;
    animation: shine-move 3s infinite linear;
}

.pricing-btn-flash:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    /* Hover durumunda butonu büyütmek yerine sadece gölgesini değiştiriyoruz */
    box-shadow: 0 6px 10px rgba(37, 99, 235, 0.3);
    color: white;
    transform: none; /* Büyütme/kaydırma iptal */
}

@media (max-width: 768px) {
    .pricing-btn-flash {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}
/*HEADER BİTİŞ*/
/*ANASAYFA KAMPANYA BAŞLANGIÇ*/

.afisci-campaign-wrapper {
    max-width: 1200px;
    margin: 40px auto; /* Biraz daha ferah boşluk */
    padding: 0 15px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif; /* Daha modern font ailesi tercihi */
}

.afisci-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: repeat(2, minmax(260px, 34vh)); /* Yükseklik biraz artırıldı */
    gap: 25px; /* Boşluklar genişletildi */
}

.grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px; /* Daha yumuşak köşeler */
    text-decoration: none;
    color: #fff;
    background: var(--header-bg-top); /* Resim yüklenmezse lacivert zemin */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Daha modern, yayık gölge */
    border: 1px solid rgba(255, 255, 255, 0.1); /* İnce bir çerçeve detayı */
}

.bg-image,
.content-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
}

.item-tall {
    grid-row: 1/3;
    grid-column: 1/2;
}

.bg-image {
    top: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1); /* Daha smooth animasyon */
    z-index: 0;
}

/* Hover Efekti: Resim yaklaşırken overlay koyulaşır */
.grid-item:hover .bg-image {
    transform: scale(1.05);
}

.content-overlay {
    bottom: 0;
    /* Siyah yerine Temaya uygun Lacivert Gradient */
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,   /* Koyu Lacivert (Header ile uyumlu) */
        rgba(15, 23, 42, 0.6) 50%,
        rgba(15, 23, 42, 0.0) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px; /* İç boşluk artırıldı */
    z-index: 1;
    box-sizing: border-box;
}

.badge {
    /* Eski Kırmızı yerine Turuncu Vurgu Rengi */
    background-color: var(--accent-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px; /* Tam yuvarlak yerine hafif köşeli modern yapı */
    font-weight: 700;
    width: fit-content;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3); /* Turuncu gölge */
}

.content-overlay h3 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-shadow: none; /* Gölge yerine net yazı */
    letter-spacing: -0.5px;
}

.content-overlay p {
    margin: 0;
    font-size: 1.1rem;
    color: #cbd5e1; /* Tam beyaz değil, okumayı kolaylaştıran gri-beyaz */
    line-height: 1.6;
    max-width: 480px;
}
.btn-text {
    color: white;
    margin-top: 20px;
    padding: 8px 16px;
    font-size: 1.3rem;
    border: 1px solid white;

}
/* Mobilde Düzenlemeler */
@media (max-width: 768px) {
    .afisci-campaign-wrapper {
        margin: 20px auto;
        padding: 0 10px;
    }
    .afisci-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
    .grid-item {
        min-height: 300px;
    }
    .item-tall {
        grid-row: auto;
    }
    .content-overlay {
        padding: 20px;
        background: linear-gradient(
            to top,
            rgba(15, 23, 42, 0.95) 15%,
            rgba(15, 23, 42, 0.0) 100%
        );
    }
    .content-overlay h3 {
        font-size: 1.5rem;
    }
    .content-overlay p {
        font-size: 1rem;
        line-height: 1.4;
    }
    .btn-text {
        color: white;
        margin-top: 20px;
        padding: 8px 16px;
        font-size: 1.3rem;
    }


}
/*ANASAYFA KAMPANYA BİTİŞ*/


/*ANASAYFA KATEGORİLER BAŞLANGIÇ*/
/* GENEL AYARLAR */
.section-title-modern {
    text-align: center;
    margin-bottom: 40px;
}
.section-title-modern h3 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #222;
}

.image-focused-section {
    padding: 50px 0;
    background-color: #fff;
}
.mb-30 { margin-bottom: 30px; }
.mb-20 { margin-bottom: 20px; }

/* KART TEMEL YAPISI */
.image-first-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none !important;
    background-color: #eee;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.image-first-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* --- BOYUTLANDIRMA FARKLARI --- */

/* BÜYÜK KARTLAR (Ana Kategoriler) */
.card-lg {
    height: 350px; /* Masaüstünde heybetli dursun */
}

/* KÜÇÜK KARTLAR (Alt Kategoriler) */
.card-sm {
    height: 180px; /* Kompakt */
}

/* RESİM YAPISI */
.card-image-content {
    width: 100%;
    height: 100%;
}
.card-image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.image-first-card:hover .card-image-content img {
    transform: scale(1.2);
}

/* YAZI ALANI (OVERLAY) */
.card-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    text-align: center;
}

/* Büyük kartlarda yazı alanı daha geniş ve font büyük */
.overlay-lg {
    padding: 20px;
    height: 40%;
}
.overlay-lg p {
    font-size: 1.5rem; /* Büyük font */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Küçük kartlarda yazı alanı daha dar ve font küçük */
.overlay-sm {
    padding: 10px;
    height: 50%;
}
.overlay-sm p {
    font-size: 1.4rem; /* Standart font */
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

/* MOBİL UYUMLULUĞU (RESPONSIVE) */
@media (max-width: 767px) {
    /* Mobilde Büyük Kartlar */
    .card-lg {
        height: 250px; /* Mobilde biraz kısaltıyoruz ama hala büyük */
    }
    .overlay-lg p {
        font-size: 1.4rem;
    }

    /* Mobilde Küçük Kartlar */
    .card-sm {
        height: 140px; /* Instagram discover modunda */
    }
    .overlay-sm p {
        font-size: 1.2rem;
    }
}
/*ANASAYFA KATEGORİLER BİTİŞ*/





/*FOOTER*/
:root {
    /* Footer Özel Renkleri */
    --footer-bg: white;         /* Koyu arka plan (Neredeyse siyah) */
    --footer-bg-secondary: #0f172a; /* SEO alanı için bir ton koyusu */
    --footer-text: black;       /* Okunabilir gri metin */
    --footer-heading: white;    /* Başlık rengi */
    --footer-border: black;     /* Çizgi rengi */

    /* Marka Rengi (Diğer dosyalardaki ile aynı olmalı) */
    --brand-color: #3498db;
}

footer {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 50px;
}

/* 1. ÜST KISIM (Bilgi & Linkler) */
.info {
    padding: 60px 0 40px;
}


.info-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* İletişim Bilgileri */
.widget-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
}
.widget-info i {
    color: var(--brand-color);
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
    width: 20px; text-align: center;
}
.widget-info a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s;
}
.widget-info a:hover {
    color: var(--brand-color);
}

/* Başlıklar */
footer h3 {
    color: var(--footer-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
/* Başlık altı minik çizgi */
footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--brand-color);
}

/* Menü Linkleri */
.fmenu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fmenu li {
    margin-bottom: 12px;
}
.fmenu li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-block;
}
.fmenu li a:hover {
    color: var(--brand-color);
    transform: translateX(5px); /* Sağa kayma efekti */
}

/* Bülten Formu */
.news-desc { margin-bottom: 20px; font-size: 14px; }
.news-letter-form {
    position: relative;
    margin-bottom: 30px;
}
.news-letter-form .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--footer-border);
    border-radius: 4px;
    height: 45px;
    color: #fff;
    padding-right: 100px; /* Buton için yer */
}
.news-letter-form .form-control:focus {
    border-color: var(--brand-color);
    box-shadow: none;
}
.btnsub {
    position: absolute;
    top: 0; right: 0;
    height: 45px;
    background: var(--brand-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.btnsub:hover {
    background: #fff;
    color: var(--brand-color);
}

/* Sosyal Medya */
.social {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; gap: 10px;
}
.social li a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
}
.social li a:hover {
    background: var(--brand-color);
    transform: translateY(-3px);
}

/* 2. SEO / KATEGORİ ALANI */
.top-footer {
    background-color: var(--footer-bg-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--footer-border);
}
.heading-default {
    font-size: 20px;
    color: var(--footer-heading);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.block-footer {
    margin-bottom: 25px;
}
.heading-primary {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}
.heading-primary a { color: #fff; text-decoration: none; }

.description-primary {
    font-size: 13px;
    line-height: 1.8;
    color: #64748b;
}
.description-primary a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.description-primary a:hover {
    color: var(--brand-color);
    text-decoration: underline;
}

/* 3. COPYRIGHT */
.copyright {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid var(--footer-border);
}
.copyright a {
    color: #fff;
    font-weight: bold;
}

/* Mobil Düzenlemeler */
@media (max-width: 768px) {
    .block-left, .col-md-5, .col-md-4 {
        margin-bottom: 40px; /* Mobilde bloklar arası boşluk */
    }
    .pd-left { padding-left: 15px !important; } /* Bootstrap padding fix */
}

/*FOOTER BİTİŞ*/



/* MODERN ÜRÜN KARTI TASARIMI */
.product-card-modern {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--brand-color);
}

/* Üst Kısım (Resim) */
.prod-card-top {
    position: relative;
    background: #f8f9fa;
    padding-top: 100%; /* Kare görünüm sağlar */
    overflow: hidden;
}

.prod-image-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

/* Aksiyon Butonu */
.prod-card-actions {
    position: absolute;
    bottom: -50px; /* Başta gizli */
    left: 0;
    width: 100%;
    padding: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
}

.product-card-modern:hover .prod-card-actions {
    bottom: 0;
}

.btn-add-cart {
    background: var(--brand-color);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 98, 255, 0.2);
}

.btn-add-cart:hover {
    background: var(--hover-color);
    filter: brightness(1.1);
}

/* İndirim Rozeti */
.prod-badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-color); /* Turuncu */
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* Bilgi Alanı */
.prod-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.prod-card-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    height: 2.8em; /* 2 satırla sınırlar */
    overflow: hidden;
}

.prod-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.prod-card-title a:hover {
    color: var(--brand-color);
}

/* Fiyat Alanı */
.prod-card-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-color);
}

.price-old {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* RESPONSIVE DOKUNUŞLAR */
@media (max-width: 768px) {
    .prod-card-actions {
        position: relative;
        bottom: 0;
        padding: 10px 0 0 0;
        background: none;
    }

    .prod-card-body {
        padding: 10px;
    }

    .prod-card-title {
        font-size: 1.2rem;
    }

    .price-current {
        font-size: 1.1rem;
    }
}
/* MODERN ÜRÜN KARTI TASARIMI */
