/* ============================================
   ANASAYFA (Homepage) Styles
   ============================================ */

/* Featured Products Section */
.featured-products-section {
    background: #f9fafb;
    padding: 60px 0;
    border-top: 1px solid #e5e7eb;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .featured-grid { grid-template-columns: 1fr; }
}

.featured-col {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e5e7eb;
}

.featured-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.featured-item:hover {
    background: #eff6ff;
    transform: translateX(5px);
}

.featured-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

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

.featured-img i {
    color: #9ca3af;
    font-size: 20px;
}

.featured-info {
    flex: 1;
    min-width: 0;
}

.featured-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    line-height: 1.4;
}

.featured-price {
    font-size: 14px;
    font-weight: 700;
    color: #1d4ed8;
}

/* ============================================
   Markalar Section
   ============================================ */
.brands-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 70px 0;
}

.brands-section .section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-badge--brands {
    background: rgba(59,130,246,0.2);
    color: #60a5fa;
}

.section-badge--categories {
    background: #eff6ff;
    color: #1d4ed8;
}

.section-badge--blogs {
    background: #f0fdf4;
    color: #16a34a;
}

.section-badge--faq {
    background: #dbeafe;
    color: #1d4ed8;
}

.section-heading {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-heading--light {
    color: #fff;
}

.section-heading--dark {
    color: #111827;
}

.section-heading--faq {
    color: #1e293b;
}

.section-subtitle--light {
    color: #94a3b8;
    font-size: 16px;
}

.section-subtitle--dark {
    color: #6b7280;
    font-size: 16px;
}

.section-subtitle--faq {
    color: #64748b;
    font-size: 16px;
}

.brands-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brand-box {
    width: 130px;
    text-decoration: none;
    padding: 25px 15px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s;
}

.brand-box:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.brand-logo-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.brand-logo-wrap img {
    max-width: 70%;
    max-height: 70%;
}

.brand-logo-wrap i {
    font-size: 32px;
    color: #1d4ed8;
}

.brand-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.brand-count {
    font-size: 12px;
    color: #60a5fa;
}

/* ============================================
   Kategoriler Section
   ============================================ */
.categories-section {
    background: #fff;
    padding: 70px 0;
}

/* ============================================
   Blog Cards Section
   ============================================ */
.blogs-section {
    background: #fff;
    padding: 70px 0;
    border-top: 1px solid #f1f5f9;
}

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

@media (max-width: 992px) {
    .blogs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .blogs-grid { grid-template-columns: 1fr; }
}

.blog-card {
    text-decoration: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: #d1d5db;
}

.blog-card-image {
    height: 180px;
    width: 100%;
    background: #f3f4f6;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 40px;
}

.blog-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 15px 0;
    line-height: 1.5;
    flex: 1;
}

.blog-card-readmore {
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.blog-card-readmore i {
    font-size: 12px;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    background: #f8fafc;
    padding: 70px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #334155;
    user-select: none;
}

.faq-question i {
    color: #94a3b8;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

/* Vitrin view count badge */
.view-count-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
}

/* Swiper nav buttons */
.swiper-button-prev.swiper-nav-custom,
.swiper-button-next.swiper-nav-custom {
    color: #1d4ed8;
    background: rgba(255,255,255,0.9);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
