/* Modern Home CSS for Bay Deniz */
:root {
    --primary-rgb: 61, 61, 61;
    --secondary-rgb: 194, 195, 175;
    --hero-bg: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    --card-shadow: 0 10px 25px rgba(0,0,0,0.05);
    --card-shadow-hover: 0 20px 35px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px;
    background: #ffffff;
    border-radius: 40px;
    margin: 20px 0 60px;
    overflow: hidden;
    position: relative;
    border: 1px solid #f1f5f9;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(var(--primary-rgb), 0.05);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(var(--secondary-rgb), 0.1);
    bottom: -50px;
    left: -50px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #f8fafc;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.hero-subtitle i {
    color: #f59e0b;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary-color) 0%, #64748b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 19px;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Hero Search Box */
.hero-search-box {
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-search-box form {
    display: flex;
    background: white;
    padding: 6px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.hero-search-box input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.hero-search-box button {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search-box button:hover {
    transform: scale(1.05);
    background: #000;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
}

.stat-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.image-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.2) 0%, transparent 70%);
    z-index: -1;
}

.hero-image img {
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}

/* Section Header Modern Improvements */
.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    margin-top: 35px;
}

.header-with-icon {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    width: 54px;
    height: 54px;
    background: #ef4444; /* Default red as in image */
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2);
    transition: var(--transition);
}

.header-with-icon:hover .header-icon {
    transform: scale(1.05) rotate(5deg);
}

/* Specific Icon Colors if desired, but image shows red for all */
.featured-icon { background: #f59e0b; box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2); }
.new-icon { background: #10b981; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2); }
.flash-icon { background: #ef4444; box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2); }
.seasons-icon { background: #6366f1; box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2); }

.title-group {
    display: flex;
    flex-direction: column;
}

.title-group .sub-title {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 2px;
}

.title-group .section-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
}

/* Flash Sale Section Adjustments */
.flash-sale-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid #fee2e2;
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.05);
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.flash-timer {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 10px 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.timer-label {
    font-weight: 700;
    color: #64748b;
    font-size: 14px;
}

.timer-boxes {
    display: flex;
    gap: 8px;
}

.time-box {
    background: white;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    min-width: 45px;
    text-align: center;
}

/* Scroll Mobile */
@media (max-width: 768px) {
    .scroll-mobile {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    
    .scroll-mobile::-webkit-scrollbar {
        display: none;
    }
    
    .scroll-mobile .product-card-modern {
        flex: 0 0 240px;
        scroll-snap-align: start;
    }
}

/* Pagination Styles */
.pagination-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.page-link:hover:not(.active):not(.disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--primary-color);
}

.page-link.active {
    background: #0f172a; /* Dark background as in image */
    color: #fff;
    border-color: #0f172a;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: #f1f5f9;
}

.pagination-dots {
    color: #94a3b8;
    font-weight: 600;
    padding: 0 4px;
}

/* Banner Section */
.banner-section {
    position: relative;
}

.banner-card {
    background: var(--primary-color);
    border-radius: 32px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    overflow: hidden;
    position: relative;
}

.banner-content {
    max-width: 50%;
    z-index: 2;
}

.banner-content h3 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.banner-img {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    z-index: 1;
    opacity: 0.3;
}

/* Category Grid Modern Improved */
.category-grid-modern {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

.category-item-modern {
    background: white;
    padding: 15px 10px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cat-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f8fafc;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cat-icon-fallback {
    font-size: 24px;
    color: var(--primary-color);
}

.category-item-modern span {
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.category-item-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
}

.category-item-modern:hover .cat-image img {
    transform: scale(1.1);
}

/* Seasons Grid Modern */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.season-card {
    position: relative;
    height: 180px;
    border-radius: 24px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    z-index: 1;
}

.season-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.season-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.season-info h3 {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.season-info span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
}

.season-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.1);
    transform: rotate(-15deg);
    pointer-events: none;
    transition: var(--transition);
}

.season-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.season-card:hover .season-bg-icon {
    transform: scale(1.2) rotate(0deg);
    color: rgba(255, 255, 255, 0.15);
}

/* Season Colors */
.spring {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.summer {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.autumn {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.2);
}

.winter {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* Responsive for Seasons */
@media (max-width: 992px) {
    .seasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .seasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .season-card {
        height: 150px;
        padding: 15px;
    }
    .season-info h3 {
        font-size: 20px;
    }
    .season-info span {
        font-size: 11px;
    }
}

/* Product Grid Modern */
.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    background: #f8fafc;
    display: block;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card-modern:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-item {
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.badge-discount { background: #ef4444; }
.badge-featured { background: #f59e0b; }
.badge-new { background: #10b981; }

.product-info-modern {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-info-modern h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.product-info-modern h3 a:hover {
    color: var(--primary-color);
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
}

.current-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.current-price small {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.old-price {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Responsive for Category Grid */
@media (max-width: 1200px) {
    .category-grid-modern {
        grid-template-columns: repeat(6, 1fr);
    }
}

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

@media (max-width: 768px) {
    .category-grid-modern {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .category-item-modern {
        padding: 10px 5px;
        border-radius: 15px;
    }
    .category-item-modern span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .category-grid-modern {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Features Grid Modern */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item-modern {
    background: white;
    padding: 40px 30px;
    border-radius: 32px;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.feature-item-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--secondary-color);
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-item-modern:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.feature-item-modern h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.feature-item-modern p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item-modern {
        padding: 30px 20px;
    }
}

/* Feature Item Improved */
.social-connect {
    background: #f8fafc;
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.social-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.social-content p {
    color: #64748b;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.facebook { background: #1877f2; }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.tiktok { background: #000000; }
.snapchat { background: #fffc00; color: #000; }

.social-btn:hover {
    transform: translateY(-10px) rotate(8deg);
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

/* Responsive Updates */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 48px; }
    .hero-image img { max-width: 380px; }
}

@media (max-width: 992px) {
    .product-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-info-modern {
        padding: 12px;
    }
    
    .product-info-modern h3 {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 16px;
    }

    .hero-section { padding: 50px 40px; }
    .hero-content { max-width: 100%; }
    .hero-image { display: none; }
    .banner-content { max-width: 100%; text-align: center; }
    .banner-img { display: none; }
    .banner-card { padding: 40px; }
}

@media (max-width: 768px) {
    .hero-section { border-radius: 24px; padding: 40px 24px; }
    .hero-content h1 { font-size: 36px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .flash-sale-section, .social-connect, .banner-card { padding: 30px 20px; border-radius: 24px; }
    .flash-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .flash-timer { width: 100%; justify-content: space-between; }
    .social-links { flex-wrap: wrap; }
    .social-btn { width: 50px; height: 50px; font-size: 20px; }
}

.mb-60 { margin-bottom: 60px; }
