/**
 * Mağaza Anasayfa Styles v2.0
 * Premium, minimal ve conversion-optimized tasarım
 * E-commerce Psychology & UX Best Practices
 */

/* ================================================
   CSS Variables - Design Tokens
   ================================================ */
:root {
    --shop-primary: #16436f;
    --shop-primary-dark: #0f2f4f;
    --shop-dark: #0a0a0a;
    --shop-gray-900: #1e293b;
    --shop-gray-700: #334155;
    --shop-gray-500: #64748b;
    --shop-gray-300: #cbd5e1;
    --shop-gray-100: #f1f5f9;
    --shop-white: #ffffff;
    --shop-success: #10b981;
    --shop-radius: 12px;
    --shop-radius-sm: 8px;
    --shop-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shop-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shop-transition: 0.2s ease;
}

/* ================================================
   Base & Container
   ================================================ */
.shop-home {
    background: var(--shop-gray-100);
    min-height: 100vh;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================
   HERO - Minimal & Powerful
   ================================================ */
.hero {
    background: #0a0a0a;
    padding: 72px 0 32px;
    position: relative;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero__content {
    max-width: 560px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__title {
    font-size: clamp(2.25rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--shop-white);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.hero__accent {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
}

.hero__desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 28px;
}

.hero__cta {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--shop-radius);
    font-size: 15px;
    font-weight: 600;
    transition: all var(--shop-transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn--primary {
    background: var(--shop-primary);
    color: var(--shop-white);
}

.btn--primary:hover {
    background: var(--shop-primary-dark);
    transform: translateY(-1px);
    color: var(--shop-white);
}

.btn--white {
    background: var(--shop-white);
    color: var(--shop-dark);
}

.btn--white:hover {
    background: var(--shop-gray-100);
    color: var(--shop-dark);
}

/* Trust Bar */
.trust-bar {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-bar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}

.trust-bar__item svg {
    opacity: 0.7;
}

/* ================================================
   Section Common
   ================================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header--center {
    justify-content: center;
    text-align: center;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--shop-gray-900);
    margin: 0;
    letter-spacing: -0.01em;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--shop-primary);
    font-weight: 600;
    font-size: 14px;
    transition: gap var(--shop-transition);
    text-decoration: none;
}

.section-link:hover {
    gap: 10px;
    color: var(--shop-primary-dark);
}

/* ================================================
   MODELS - Görsel Kartlar
   ================================================ */
.models {
    padding: 56px 0;
    background: var(--shop-white);
}

.models__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.model-card {
    background: var(--shop-gray-100);
    border-radius: var(--shop-radius);
    padding: 16px;
    text-decoration: none;
    transition: all var(--shop-transition);
    position: relative;
    text-align: center;
}

.model-card:hover {
    background: var(--shop-white);
    box-shadow: var(--shop-shadow-lg);
    transform: translateY(-4px);
}

.model-card__img {
    aspect-ratio: 1;
    margin-bottom: 12px;
    border-radius: var(--shop-radius-sm);
    overflow: hidden;
    background: var(--shop-white);
}

.model-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-card:hover .model-card__img img {
    transform: scale(1.05);
}

.model-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--shop-gray-400);
}

.model-card__placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

.model-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--shop-primary);
    color: var(--shop-white);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.model-card__info {
    text-align: center;
}

.model-card__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--shop-gray-900);
    margin: 0 0 4px;
}

.model-card:hover .model-card__name {
    color: var(--shop-primary);
}

.model-card__count {
    font-size: 12px;
    color: var(--shop-gray-500);
}

/* ================================================
   CATEGORIES - Inline Tags
   ================================================ */
.categories {
    padding: 40px 0;
    background: var(--shop-white);
    border-top: 1px solid var(--shop-gray-100);
}

.categories__inline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--shop-gray-100);
    border-radius: 100px;
    text-decoration: none;
    transition: all var(--shop-transition);
    border: 1px solid transparent;
}

.cat-tag:hover {
    background: var(--shop-white);
    border-color: var(--shop-primary);
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.15);
}

.cat-tag__name {
    font-size: 14px;
    font-weight: 500;
    color: var(--shop-gray-700);
}

.cat-tag:hover .cat-tag__name {
    color: var(--shop-primary);
}

.cat-tag__count {
    font-size: 12px;
    color: var(--shop-gray-500);
    background: var(--shop-white);
    padding: 2px 8px;
    border-radius: 100px;
}

/* ================================================
   PRODUCTS GRID
   ================================================ */
.products {
    padding: 56px 0;
    background: #f5f5f7;
}

.products--new {
    background: #fff;
}

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

.products__grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    background: var(--shop-white);
    border-radius: var(--shop-radius);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
}

.products--new .product-card {
    background: var(--shop-white);
}

.product-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.product-card__img {
    aspect-ratio: 1;
    background: #f5f5f7;
    position: relative;
    overflow: hidden;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.4s ease;
}

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

.product-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--shop-gray-100) 0%, var(--shop-gray-300) 100%);
}

.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #1d1d1f;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.product-card__info {
    padding: 14px 16px 16px;
}

.product-card__title {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    margin: 0 0 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.product-card__price {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.product-card__price del {
    color: #86868b;
    font-weight: 400;
    font-size: 13px;
    margin-right: 6px;
}

.product-card__price ins {
    text-decoration: none;
}

/* ================================================
   CTA
   ================================================ */
.cta {
    padding: 56px 0 72px;
    background: var(--shop-gray-100);
}

.cta__box {
    background: linear-gradient(135deg, var(--shop-dark) 0%, #1a2744 100%);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta__content {
    flex: 1;
    min-width: 280px;
}

.cta__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--shop-white);
    margin: 0 0 8px;
}

.cta__desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .models__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products__grid,
    .products__grid--4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 48px 0 24px;
    }
    
    .hero__title {
        font-size: 1.875rem;
    }
    
    .trust-bar__container {
        gap: 24px;
        justify-content: center;
    }
    
    .trust-bar__item {
        font-size: 13px;
    }
    
    .models__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .products__grid,
    .products__grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .categories__inline {
        gap: 8px;
    }
    
    .cat-tag {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .cta__box {
        padding: 32px 24px;
        flex-direction: column;
        text-align: center;
    }
    
    .models,
    .categories,
    .products,
    .cta {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .section-container,
    .hero__container,
    .trust-bar__container {
        padding: 0 16px;
    }
    
    .hero__cta {
        width: 100%;
    }
    
    .hero__cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-bar__container {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .models__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products__grid,
    .products__grid--4 {
        grid-template-columns: 1fr;
    }
    
    .product-card__info {
        padding: 12px;
    }
}
