/* Ana Sayfa Özel Güncellemeler */

/* 1. Hoş Geldiniz Animasyonlu Kart */
.welcome-card {
    background: linear-gradient(135deg, #3BB77E 0%, #29a56c 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 40px rgba(59, 183, 126, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.welcome-card-content {
    position: relative;
    z-index: 1;
}

.welcome-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    font-family: 'Quicksand', sans-serif;
}

.welcome-card p {
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
    font-family: 'Lato', sans-serif;
}

.welcome-card-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: 0.2;
}

/* 2. Öne Çıkan Özellikler Kartları */
.features-section {
    margin: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3BB77E 0%, #FDC040 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 183, 126, 0.2);
    border-color: #3BB77E;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3BB77E 0%, #29a56c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, #FDC040 0%, #f5b020 100%);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #253D4E;
    margin: 0 0 10px 0;
    font-family: 'Quicksand', sans-serif;
}

.feature-card p {
    font-size: 14px;
    color: #7E7E7E;
    margin: 0;
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
}

/* 3. Yeni Ürünler Başlığı - Daha Dikkat Çekici */
.section-title-special {
    position: relative;
    text-align: center;
    margin: 50px 0 30px;
    padding: 20px 0;
}

.section-title-special h2 {
    font-size: 36px;
    font-weight: 700;
    color: #253D4E;
    margin: 0;
    position: relative;
    display: inline-block;
    font-family: 'Quicksand', sans-serif;
}

.section-title-special h2::before,
.section-title-special h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3BB77E 0%, #FDC040 100%);
}

.section-title-special h2::before {
    right: 100%;
    margin-right: 20px;
}

.section-title-special h2::after {
    left: 100%;
    margin-left: 20px;
}

.section-title-special .subtitle {
    font-size: 16px;
    color: #7E7E7E;
    margin-top: 10px;
    font-family: 'Lato', sans-serif;
}

.section-title-special .emoji-decorator {
    font-size: 42px;
    animation: bounce 2s infinite;
}

/* 4. Trending Badge - Ürünler için */
.trending-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
    font-family: 'Quicksand', sans-serif;
    text-transform: uppercase;
}

/* 5. Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #3BB77E 0%, #FDC040 100%);
    z-index: 99999;
    transition: width 0.1s ease;
}

/* 6. Back to Top Button - Daha Modern */
.back-to-top-special {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3BB77E 0%, #29a56c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 183, 126, 0.4);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 3px solid #fff;
}

.back-to-top-special.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-special:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(59, 183, 126, 0.6);
}

/* 7. Animasyonlu İstatistikler */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    margin: 50px 0;
    border-radius: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #3BB77E;
    margin: 0 0 10px 0;
    font-family: 'Quicksand', sans-serif;
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 16px;
    color: #7E7E7E;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 8. Özel Hover Efekti - Ürün Kartları */
.product-cart-wrap:hover {
    animation: productShake 0.5s ease;
}

/* 9. Floating Labels/Tags */
.floating-tag {
    position: absolute;
    top: 50%;
    right: -20px;
    background: #FDC040;
    color: #253D4E;
    padding: 8px 15px;
    border-radius: 5px 0 0 5px;
    font-weight: 700;
    font-size: 12px;
    z-index: 10;
    box-shadow: -3px 3px 10px rgba(253, 192, 64, 0.3);
    animation: slideInRight 0.8s ease-out;
    font-family: 'Quicksand', sans-serif;
}

/* 10. Newsletter Box - Daha Çekici */
.newsletter-special {
    background: linear-gradient(135deg, #3BB77E 0%, #29a56c 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(59, 183, 126, 0.2);
}

.newsletter-special::before {
    content: '📧';
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 100px;
    opacity: 0.1;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes productShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-card {
        padding: 20px;
    }

    .welcome-card h2 {
        font-size: 22px;
    }

    .welcome-card p {
        font-size: 14px;
    }

    .welcome-card-icon {
        font-size: 50px;
        right: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-title-special h2 {
        font-size: 26px;
    }

    .section-title-special h2::before,
    .section-title-special h2::after {
        width: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    .back-to-top-special {
        width: 45px;
        height: 45px;
        font-size: 20px;
        left: 10px;
        bottom: 15px;
    }

    .newsletter-special {
        padding: 25px;
    }

    .newsletter-special::before {
        font-size: 60px;
        right: 15px;
    }
}

/* Özel Yükleme Animasyonu */
.content-loader {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.content-loader:nth-child(1) {
    animation-delay: 0.1s;
}

.content-loader:nth-child(2) {
    animation-delay: 0.2s;
}

.content-loader:nth-child(3) {
    animation-delay: 0.3s;
}

.content-loader:nth-child(4) {
    animation-delay: 0.4s;
}

/* Tooltip Hover Efekti */
.info-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.info-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #253D4E;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    animation: fadeInUp 0.3s ease-out;
}

/* Shimmer Effect için */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
