﻿/* Modern Hero Section */
.modern-hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,123,255,0.9) 0%, rgba(255,153,0,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    color:white;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: slideDown 1s ease-out;
}

.hero-subtitle {
    color:white;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: slideUp 1s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Kategori Grid */
.category-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        margin: 1rem auto;
        border-radius: 2px;
    }

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

    .category-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    }

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( to bottom, transparent 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.8) 100% );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: var(--white);
}

.category-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-description {
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.category-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.category-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
/* Ürün Showcase */
/* Product Showcase - Güncellenmiş */
.product-showcase {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--white) 100%);
    position: relative;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.showcase-title-container {
    flex: 1;
    text-align: left;
}

    .showcase-title-container .section-title {
        text-align: left;
        margin-bottom: 0.5rem;
    }

        .showcase-title-container .section-title::after {
            margin: 1rem 0;
        }

    .showcase-title-container .section-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        color: var(--secondary-color);
        font-size: 1.1rem;
    }

.showcase-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.showcase-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}

    .nav-btn:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
    }

.showcase-all-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

    .showcase-all-link:hover {
        background: rgba(0, 123, 255, 0.1);
        transform: translateX(5px);
    }

/* Ürün Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

/* Badge'ler */
.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-populer {
    background: var(--accent-color);
    color: var(--white);
}

.badge-yeni {
    background: var(--primary-color);
    color: var(--white);
}

.badge-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

/* Ürün Görseli */
.product-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--background-color);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: var(--white);
    color: var(--text-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .quick-view-btn:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: scale(1.05);
    }

/* Ürün İçeriği */
.product-content {
    padding: 1.5rem;
}

.product-category-tag {
    display: inline-block;
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.3;
}

.product-description {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Rating */
.product-stats {
    margin-bottom: 1.5rem;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 1.1rem;
    position: relative;
}

    .star.filled {
        color: var(--accent-color);
    }

.half-star {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--accent-color);
}

.rating-value {
    font-weight: 700;
    color: var(--text-color);
}

.review-count {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Aksiyon Butonları */
.product-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

    .product-actions .btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.8rem 1.2rem;
        font-weight: 600;
    }

.btn-icon {
    width: 44px;
    height: 44px;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    background: transparent;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-icon:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
        transform: scale(1.1);
    }

/* Progress Bar */
.showcase-progress {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}



/* Testimonials */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--background-color);
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .testimonial-card::before {
        content: '"';
        font-size: 5rem;
        color: var(--primary-color);
        opacity: 0.2;
        position: absolute;
        top: 1rem;
        left: 1.5rem;
        line-height: 1;
    }

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.author-info h4 {
    margin: 0;
    color: var(--text-color);
}

.author-info p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}
/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

    .btn-outline-light:hover {
        background: var(--white);
        color: var(--primary-color);
    }
/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Banner Slider Styles */
.modern-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .banner-slide.active {
        opacity: 1;
    }

.banner-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.banner-content-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.slider-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .slider-nav:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active {
        background: white;
        transform: scale(1.2);
    }

    .dot:hover {
        background: rgba(255, 255, 255, 0.7);
    }

/* Slider Progress */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 3;
}

.progress-bar {
    height: 100%;
    width: 100%;
    background: white;
    transform-origin: left;
    animation: progress 5s linear infinite;
}

@keyframes progress {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}



/* Hero Content Styles (Mevcut stilleri koru) */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ================================
    RESPONSIVE FIX PACK
    Banner + Hero + Stats
   ================================ */

/* ------- TABLET (991px ve altı) ------- */
@media (max-width: 991px) {

    /* Banner yükseklik düzeltme */
    .modern-hero {
        height: auto !important;
        min-height: 520px !important;
        padding: 4rem 0 3rem 0 !important;
        display: flex;
        align-items: flex-end !important;
    }

    /* İçerik hizalama */
    .hero-content {
        padding: 0 1.5rem !important;
        margin-top: auto !important;
        position: relative;
        z-index: 5;
    }

    /* Yazı boyutları */
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 1.05rem !important;
    }

    /* CTA butonları */
    .cta-buttons {
        margin-top: 1rem !important;
        gap: 0.8rem !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Stat item → İkili düzen */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem 2rem !important;
        margin-top: 2rem;
    }
}


/* ------- MOBIL (576px ve altı) ------- */
@media (max-width: 576px) {

    /* Banner daha küçük */
    .modern-hero {
        height: auto !important;
        min-height: 480px !important;
        padding: 3rem 0 2rem 0 !important;
        display: flex;
        align-items: flex-end !important;
    }

    /* İçerik */
    .hero-content {
        padding: 0 1rem !important;
        text-align: center;
        margin-top: auto !important;
    }

    /* Yazı boyutları */
    .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 0.6rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }

    /* CTA */
    .cta-buttons {
        margin-bottom: 1rem !important;
        gap: 0.7rem !important;
    }

    /* Stat item 2’li */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem 1.5rem !important;
        margin-top: 1.5rem !important;
    }

    .stat-number {
        font-size: 1.6rem !important;
    }

    /* Slider kontroller mobilde gizli */
    .slider-controls {
        display: none !important;
    }
}


/* ------- EXTRA SMALL (400px altı) ------- */
@media (max-width: 400px) {

    .hero-title {
        font-size: 1.6rem !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
    }

    .hero-content {
        max-width: 95% !important;
    }
}

/* Banner arka plan pozisyonu */
.banner-background {
    object-position: center center !important;
}

/* =====================================
        RESPONSIVE LAYOUT PACK
   Kategori – Ürün – Yorum – CTA
   ===================================== */


/* ============= TABLET (991px ve altı) ============= */
@media (max-width: 991px) {

    /* Container iç boşluk */
    .category-section .container,
    .product-showcase .container,
    .testimonials-section .container,
    .cta-section .container {
        padding: 0 1.5rem;
    }

    /* --- Kategoriler --- */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .category-card {
        height: 260px;
    }

    .category-name {
        font-size: 1.5rem;
    }

    .category-description {
        font-size: 0.95rem;
    }

    /* --- Ürün Bölümü --- */
    .showcase-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .showcase-title-container .section-title {
        text-align: center;
    }

    .showcase-controls {
        width: 100%;
        justify-content: space-between;
        flex-direction: row;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-card {
        height: auto;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    /* Rating */
    .rating-container {
        font-size: 0.9rem;
    }

    /* CTA düğmeleri */
    .product-actions {
        flex-direction: column;
    }

        .product-actions .btn {
            width: 100%;
        }

    /* --- Testimonials --- */
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    /* --- CTA Section --- */
    .cta-title {
        font-size: 2.5rem;
    }

    .cta-subtitle {
        font-size: 1rem;
        max-width: 500px;
    }

    .cta-buttons {
        flex-wrap: wrap;
        gap: 1rem;
    }
}


/* ============= MOBIL (576px ve altı) ============= */
@media (max-width: 576px) {

    /* Başlıklar */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* --- Kategoriler --- */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .category-card {
        height: 220px;
    }

    .category-name {
        font-size: 1.3rem;
    }

    .category-description {
        font-size: 0.85rem;
    }

    /* --- Ürün Kartları --- */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .product-image-container {
        height: 200px;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-description {
        font-size: 0.85rem;
    }

    .review-count {
        font-size: 0.8rem;
    }

    /* Aksiyon butonları */
    .product-actions .btn {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    /* Navigasyon butonları mobilde gizlenebilir */
    .showcase-controls {
        flex-direction: column;
        gap: 1rem;
    }

    /* --- Testimonials --- */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.7rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }

    /* --- CTA Section --- */
    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
}


/* ============= EXTRA SMALL (400px ve altı) ============= */
@media (max-width: 400px) {

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .category-card {
        height: 200px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .product-description {
        font-size: 0.8rem;
    }

    .cta-title {
        font-size: 1.7rem;
    }
}
