/* ==========================================================================
   Hoş Geldiniz (Welcome) Sayfası Özel Stilleri
   ========================================================================== */

/* --- Genel Yardımcı Sınıflar --- */
.section-padding {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.section-title-wrap .catalog-title {
    font-size: 24px;
    margin: 0;
}

.section-subtitle {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: var(--muted);
}

/* --- 1. Hero (Karşılama) Alanı --- */
.welcome-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.welcome-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.15;
    font-weight: 900;
    max-width: 800px;
    margin: 0 0 16px 0;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, #0b1220 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--muted);
    max-width: 600px;
    margin: 0 0 32px 0;
}

.hero-search {
    width: 100%;
    max-width: 640px;
    display: flex;
    gap: 12px;
    background: var(--surface);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.2);
}

.hero-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
    color: var(--text);
    min-width: 0;
}

.hero-search input::placeholder {
    color: #9ca3af;
}

.hero-search .btn-solid {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    white-space: nowrap;
}

.popular-tags {
    margin-top: 24px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.tags-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

/* --- 2. Trust (Güven) Alanı --- */
.trust-section {
    background: rgba(248, 250, 252, 0.5);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.trust-facts {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.trust-fact {
    padding: 24px;
    border-radius: 16px;
    background: var(--surface);
}

.trust-icon {
    color: var(--accent);
    margin-bottom: 12px;
}

.trust-fact .fact-v {
    font-size: 16px;
}

.trust-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}

/* --- 3. Ürün Kartı Özelleştirmeleri --- */
/* Ana css dosyasındaki paddingleri ilan kapak fotoğrafları için eziyoruz */
.product-card .cover-img {
    object-fit: cover;
    padding: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.gig-price-start {
    font-size: 12px;
    font-weight: normal;
    color: var(--muted);
    margin-left: 4px;
}

/* --- 4. CTA (Call To Action) Alanı --- */
.cta-section {
    background: var(--surface);
}

.cta-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(22, 163, 74, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
}

.cta-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0 0 16px 0;
}

.cta-desc {
    font-size: 15px;
    color: var(--muted);
    margin: 0 auto 24px auto;
    max-width: 600px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* --- 6. Slider Özelleştirmeleri --- */
.slider-wrapper {
    position: relative;
    /* Kenarlardaki gölge veya taşmaları düzgün göstermek için */
}

.slider-btn {
    position: absolute;
    top: calc(50% - 24px);
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.12);
    color: var(--text);
    transition: all 0.2s ease;
}

.slider-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 8px 16px -4px rgba(22, 163, 74, 0.3);
}

.slider-btn-prev {
    left: -24px;
}

.slider-btn-next {
    right: -24px;
}

/* Mobilde okları gizle veya küçült */
@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }
}


/* --- 5. KodBlog Alanı --- */
.kodblog-section {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.blog-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

.blog-carousel::-webkit-scrollbar {
    height: 8px;
}

.blog-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.blog-carousel::-webkit-scrollbar-thumb {
    background-color: var(--border-strong);
    border-radius: 99px;
}

.blog-card {
    min-width: 340px;
    max-width: 340px;
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.1);
    border-color: rgba(22, 163, 74, 0.3);
}

.blog-media {
    display: block;
    height: 180px;
    overflow: hidden;
}

.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-media img {
    transform: scale(1.05);
}

.blog-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.blog-tag {
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 8px;
    border-radius: 6px;
}

.blog-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text);
}

.blog-title:hover {
    color: var(--accent);
}

.blog-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}