/* ===========================
   Lila Çiçekçilik index.css
   Sadece Ana Sayfa Özel
   =========================== */

/* --- Hero Slider (Swiper) --- */
.productSwiper {
    padding: 10px 0 40px 0;
}
.product-slide-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.2s;
    text-align: center;
    position: relative;
}
.product-slide-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 36px rgba(233,30,99,0.12);
}
.product-slide-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-bottom: 1px solid #f2f2f2;
    background: #f9f9f9;
}
.product-info h6 {
    margin: 12px 0 6px 0;
    font-size: 1.06rem;
    font-weight: 600;
    color: #2e2e2e;
    min-height: 42px;
    overflow: hidden;
}
.product-info .price {
    color: var(--primary-color, #e91e63);
    font-size: 1.02rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color, #e91e63);
    top: 40%;
}
.swiper-pagination-bullet {
    background: var(--primary-color, #e91e63);
    opacity: 0.25;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}

/* --- Floating Features --- */
.floating-features {
    z-index: 30;
}
.floating-feature-item {
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    background: #fff;
    border: 1px solid #f1f1f1;
    margin-bottom: 12px;
}
.feature-icon {
    background: #f9f9f9;
    border: 1px solid #f2f2f2;
}

/* --- Öne Çıkan Ürünler --- */
.featured-products-section .section-header h2 {
    font-size: 2rem;
    color: var(--primary-color, #e91e63);
    font-weight: 700;
    margin-bottom: 10px;
}
.featured-products-section .section-header p {
    font-size: 1.07rem;
    color: #888;
    margin-bottom: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 28px;
}
.product-card .card {
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: none;
}
.product-card .card-title a {
    font-size: 1.1rem;
    color: #222;
    font-weight: 600;
}
.product-card .price-section .price {
    color: var(--primary-color, #e91e63);
    font-size: 1.14rem;
    font-weight: bold;
}
.product-card .price-section .old-price {
    color: #aaa;
    text-decoration: line-through;
    margin-left: 7px;
    font-size: 0.98rem;
}
.badge.today-delivery {
    background: var(--secondary-color, #4caf50);
    color: #fff;
    font-size: 0.95em;
    top: 8px; right: 10px; left: auto;
}
.badge.discount-badge {
    background: var(--accent-color, #ff9800);
    color: #fff;
    font-size: 0.95em;
    left: 10px; top: 8px;
}

/* --- Kategoriler --- */
.categories-section .section-header h2 {
    color: var(--primary-color, #e91e63);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.category-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(233,30,99,0.10);
    transition: box-shadow 0.2s, transform 0.2s;
    min-height: 160px;
    background: #f9f9f9;
}
.category-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .2s;
}
.category-item:hover {
    box-shadow: 0 8px 36px rgba(233,30,99,0.14);
    transform: translateY(-6px) scale(1.03);
}
.category-overlay {
    background: linear-gradient(45deg, rgba(233,30,99,0.70), rgba(76,175,80,0.60));
    position: absolute; top:0; left:0; right:0; bottom:0;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.24rem;
    font-weight: bold;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.22);
}

/* --- Newsletter --- */
.newsletter-section {
    background: linear-gradient(45deg, var(--primary-color, #e91e63), #c2185b);
    color: #fff;
    border-radius: 10px;
}
.newsletter-section h3 { font-weight: 700; }
.newsletter-form .form-control {
    border-radius: 8px 0 0 8px;
    min-height: 48px;
    border: none;
    color: #333;
}
.newsletter-form .btn {
    border-radius: 0 8px 8px 0;
    min-height: 48px;
    background: #fff;
    color: var(--primary-color, #e91e63);
    font-weight: 600;
    transition: background 0.3s;
}
.newsletter-form .btn:hover {
    background: #f8bbd0;
    color: #c2185b;
}

/* --- Testimonial / Yorumlar --- */
.testimonial-card.card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border: none;
}
.stars i {
    font-size: 1.25rem;
    margin-right: 2px;
}

/* Responsive - Ana Sayfa için ekstra düzenler */
@media (max-width: 1200px) {
    .product-grid, .category-grid { gap: 18px; }
    .floating-feature-item { min-width: 170px; }
}
@media (max-width: 992px) {
    .product-grid { grid-template-columns: 1fr 1fr; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .floating-left, .floating-right { display: none !important; }
    .product-slide-card img { height: 190px; }
}
@media (max-width: 576px) {
    .product-grid, .category-grid { grid-template-columns: 1fr; gap: 8px; }
    .product-slide-card img { height: 140px; }
    .category-item { min-height: 100px; }
}
