/* ── ANA SAYFA (ÜRÜN VİTRİNİ) ──
   Mevcut tema korunur: koyu zemin, siyah kartlar, #5dade2 mavi, glow efektleri */

.home-main {
    display: flex;
    flex-direction: column;
    gap: 70px;
    padding: 0 30px 70px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* ── HERO ── */
.home-hero {
    text-align: center;
    padding: 30px 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.hero-badge {
    background: rgba(93, 173, 226, 0.12);
    border: 1px solid rgba(93, 173, 226, 0.45);
    color: #cfe8f7;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 20px;
    text-transform: uppercase;
}

.home-hero h2 {
    font-size: 2.6rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    max-width: 800px;
}

.home-hero h2 span {
    color: #5dade2;
    text-shadow: 0 0 20px rgba(93, 173, 226, 0.5);
}

.home-hero p {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 640px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.hero-btn {
    padding: 14px 34px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn.primary {
    background: #5dade2;
    color: #0d1b2a;
}

.hero-btn.primary:hover {
    background: #7ec3f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(93, 173, 226, 0.4);
}

.hero-btn.secondary {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(93, 173, 226, 0.5) !important;
}

.hero-btn.secondary:hover {
    border-color: #5dade2 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(93, 173, 226, 0.25);
}

/* ── İSTATİSTİK BANDI ── */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-item .stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: #5dade2;
    text-shadow: 0 0 15px rgba(93, 173, 226, 0.4);
}

.stat-item .stat-label {
    color: #999;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── BÖLÜM BAŞLIKLARI ── */
.section-title {
    text-align: center;
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-title span { color: #5dade2; }

.section-subtitle {
    text-align: center;
    color: #999;
    font-size: 0.98rem;
    max-width: 560px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

/* ── ÜRÜN KARTLARI ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
/* Statik varsayılan kartlar SEO için HTML'de var ama .ready gelene kadar
   hiç gösterilmez (display:none → yer bile kaplamaz). home.js son içeriği
   (senin ürünlerin) kurunca .ready ekler; bu arada yükleniyor animasyonu döner.
   Böylece "önce varsayılan sonra benimki" titremesi asla olmaz. */
.products-grid:not(.ready) { display: none; }

/* Ürünler yüklenirken gösterilen zarif dönen yükleyici */
.products-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 240px;
    color: #7c8aa0;
    font-size: 0.95rem;
}
.products-loading.hidden { display: none; }
.products-loading .spinner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(93, 173, 226, 0.22);
    border-top-color: #5dade2;
    animation: prodSpin 0.8s linear infinite;
}
@keyframes prodSpin { to { transform: rotate(360deg); } }

.product-card {
    position: relative; /* rozetin taşabilmesi için konum referansı */
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #333;
    border-radius: 14px;
    /* overflow:hidden YOK — rozet kartın üstünden taşacak. Köşe yuvarlaması
       artık .product-img'in kendi border-radius'unda (aşağıda) */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(93, 173, 226, 0.7);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(93, 173, 226, 0.25);
}

.product-img {
    width: 100%;
    aspect-ratio: 17 / 10;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(135deg, #0d1b2a, #162938);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(93, 173, 226, 0.4);
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-img.contain img {
    width: 55%;
    height: 55%;
    object-fit: contain;
}

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

/* Ürün rozeti — kartın (dolayısıyla .product-img'in ÜSTÜNE taşan), gerçek bir
   ataçla tutturulmuş gibi duran mor kağıt etiket. .product-card artık
   overflow:hidden taşımadığı için (yuvarlak köşeler .product-img'e taşındı)
   rozet dışarı sarkabiliyor. */
.product-tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    transform-origin: center top;
    z-index: 3;
    padding: 7px 20px 8px;
    background: linear-gradient(135deg, #8e44ff, #b06bff);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 7px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(142, 68, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.product-tag.hot {
    background: linear-gradient(135deg, #b8329e, #8e44ff);
}

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-body h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}

.product-body p {
    color: #999;
    font-size: 0.88rem;
    line-height: 1.6;
    flex: 1;
}

.product-btn {
    margin-top: 8px;
    width: 100%;
    padding: 12px;
    background: #5dade2;
    color: #0d1b2a;
    font-size: 0.98rem;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: "Poppins", sans-serif;
}

.product-btn:hover {
    background: #7ec3f0;
    transform: translateY(-2px);
}

/* ── NEDEN BİZ ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    border-color: rgba(93, 173, 226, 0.6);
    box-shadow: 0 0 20px rgba(93, 173, 226, 0.15);
}

.why-card .why-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.why-card h3 {
    color: #5dade2;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.why-card p {
    color: #999;
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ── YORUMLAR ── */
.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.home-review-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    border-radius: 14px;
    padding: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-review-header h4 { color: #fff; font-size: 1rem; }

.home-review-stars { color: #f1c40f; letter-spacing: 2px; font-size: 0.9rem; }

.home-review-card .review-text {
    color: #bbb;
    font-size: 0.88rem;
    line-height: 1.65;
    font-style: italic;
}

.home-review-card .review-source {
    color: #5dade2;
    font-size: 0.78rem;
}

.reviews-more {
    text-align: center;
    margin-top: 28px;
}

.reviews-more a {
    color: #5dade2;
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(93, 173, 226, 0.5);
    padding-bottom: 2px;
    transition: color 0.3s;
}

.reviews-more a:hover { color: #7ec3f0; }

/* ── SSS ── */
.home-faq {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
}

.home-faq details {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.home-faq details[open] {
    border-color: rgba(93, 173, 226, 0.6);
}

.home-faq summary {
    padding: 18px 22px;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.home-faq summary::-webkit-details-marker { display: none; }

.home-faq summary::after {
    content: "+";
    color: #5dade2;
    font-size: 1.4rem;
    font-weight: 400;
    flex-shrink: 0;
}

.home-faq details[open] summary::after { content: "−"; }

.home-faq .faq-answer {
    padding: 0 22px 18px;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── FOOTER BLOG LİNKLERİ ── */
.footer-links .footer-links-heading {
    color: #5dade2;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 14px;
}

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

@media (max-width: 900px) {
    .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .why-grid { grid-template-columns: 1fr; }
    .home-hero h2 { font-size: 2rem; }
}

@media (max-width: 650px) {
    .home-main { padding: 0 15px 50px; gap: 55px; }
    .products-grid { grid-template-columns: 1fr; }
    .home-hero h2 { font-size: 1.7rem; }
    .hero-btn { width: 100%; justify-content: center; }
    .hero-ctas { width: 100%; }
}
