/* Genel Ayarlar ve Fontlar */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #fce4ec; /* Açık pembe tonu */
    color: #4a4a4a; /* Koyu gri */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #333; /* Koyu ton */
    font-weight: 600;
}

a {
    text-decoration: none;
    color: #d81b60; /* Canlı pembe/mor */
}
a:hover {
    color: #a00037;
}

/* Renk Paleti (Feminen ve Zarif) */
:root {
    --primary-color: #d81b60; /* Koyu Pembe/Mor */
    --secondary-color: #ec407a; /* Parlak Pembe */
    --accent-color: #880e4f; /* Daha Koyu Pembe */
    --text-color: #4a4a4a;
    --light-bg: #f8f9fa;
    --dark-bg: #333;
    --success-color: #4CAF50;
    --info-color: #2196F3;
    --warning-color: #FFC107;
    --danger-color: #F44336;
}

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-success { color: var(--success-color) !important; }
.btn-success { background-color: var(--success-color); border-color: var(--success-color); }
.btn-success:hover { background-color: #388E3C; border-color: #388E3C; }

.btn-danger { background-color: var(--danger-color); border-color: var(--danger-color); }
.btn-danger:hover { background-color: #D32F2F; border-color: #D32F2F; }

.btn-outline-dark {
    color: var(--text-color);
    border-color: var(--text-color);
}
.btn-outline-dark:hover {
    background-color: var(--text-color);
    color: white;
}

/* Header (Navbar) */
.navbar {
    background-color: #f8bbd0 !important; /* Açık pembe navbar */
    border-bottom: 2px solid var(--primary-color);
}
.navbar-brand {
    color: var(--primary-color) !important;
    font-size: 1.8rem;
}
.navbar-brand .fa-female {
    transition: transform 0.3s ease-in-out;
}
.navbar-brand:hover .fa-female {
    transform: rotate(-10deg) scale(1.05);
}
.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}
.navbar-nav .btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}
.navbar-nav .btn-primary:hover {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}
.navbar-nav .badge {
    background-color: var(--danger-color) !important;
    color: white !important;
}


/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(255, 204, 229, 0.7), rgba(255, 204, 229, 0.7)), url('../img/kadın_giyim_banner.jpg') no-repeat center center;
    background-size: cover;
    min-height: 650px;
    position: relative;
    overflow: hidden;
    color: #4a4a4a;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(216,27,96,0.1) 0%, rgba(216,27,96,0) 70%);
    pointer-events: none;
}
.hero-section h1 {
    font-size: 3.8rem;
    line-height: 1.2;
    color: var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.hero-section p {
    font-size: 1.3rem;
    color: #616161;
}

.hero-img-women {
    max-height: 500px;
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Feature Boxes (Hizmet Vurguları) */
.feature-box {
    background-color: white;
    border: 1px solid #f06292; /* Hafif pembe çerçeve */
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 10px;
}
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-color);
}
.feature-box i {
    color: var(--primary-color);
}
.icon-glow {
    filter: drop-shadow(0 0 8px rgba(216, 27, 96, 0.4));
}

/* Product Cards */
.product-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 15px;
    overflow: hidden;
    background-color: white;
    border: none;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.175) !important;
}
.product-img-wrapper {
    height: 280px; /* Ürün resimlerinin yüksekliği */
    overflow: hidden;
    background-color: #ffebee; /* Açık pembe arka plan */
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #f8bbd0;
}
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card-img {
    transform: scale(1.08);
}
.product-card .card-body {
    padding: 1.5rem;
}
.product-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}
.product-card .card-text.small {
    font-size: 0.9rem;
}
.product-card .fw-bold.fs-4 {
    color: var(--success-color) !important;
}

/* assets/css/style.css dosyasına ekleyin veya mevcut tanımı güncelleyin */

.product-detail-carousel-img {
    height: 500px; /* Carousel içindeki resimlerin yüksekliğini biraz daha küçülttük */
    width: 100%; /* Genişliği her zaman 100% olsun */
    object-fit: contain; /* Resmin içeriğini kutuya sığdırır, oranları korur */
    background-color: #fcfcfc; /* Resmin arkasındaki boş alanı doldurur */
    padding: 15px; /* İçeriğe biraz daha boşluk bırakır */
    border: 1px solid #eee;
    border-radius: 10px; /* Resim köşelerine hafif yuvarlaklık */
    cursor: zoom-in; /* Tıklanabilir olduğunu belirtmek için */
}

/* Küçük ekranlar için Carousel yüksekliği ayarlaması */
@media (max-width: 767.98px) {
    .product-detail-carousel-img {
        height: 350px; /* Mobil cihazlarda daha küçük yükseklik */
        padding: 10px; /* Mobil için padding ayarı */
    }
}

/* Lightbox/Modal içindeki tam boyutlu görsel için */
.modal-body .img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

/* Varyant seçim stilleri */
.variant-selector-group {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}
.variant-selector-group label {
    font-weight: bold;
    color: #333;
}
.variant-stock-info {
    font-size: 0.9em;
    font-weight: 500;
    margin-top: 5px;
}
.text-danger { color: #dc3545 !important; }
.text-success { color: #28a745 !important; }
/* Eğer genel resimlerin köşeleri yuvarlak olsun isterseniz */
img {
    border-radius: 5px; /* Tüm resimler için genel bir yuvarlaklık */
}
.product-detail-img {
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Sepet ve Ödeme Sayfası Tabloları */
.table-hover tbody tr:hover {
    background-color: #f8bbd0; /* Hafif pembe hover */
}
.table-dark th {
    background-color: var(--primary-color) !important;
    color: white;
}
.table-light tfoot td {
    background-color: #fce4ec !important; /* Açık pembe footer */
    border-top: 2px solid var(--primary-color) !important;
}

/* Footer */
footer {
    background-color: #880e4f !important; /* Koyu mor/pembe footer */
    color: #f8bbd0;
    border-top: 5px solid var(--primary-color);
}
footer h5 {
    color: #fce4ec;
}
footer .list-unstyled li a {
    color: #f8bbd0 !important;
    transition: color 0.3s ease;
}
footer .list-unstyled li a:hover {
    color: white !important;
}
footer .fab {
    color: #f8bbd0;
    transition: color 0.3s ease;
}
footer .fab:hover {
    color: white;
}

/* Form Elemanları ve Uyarı Mesajları */
.form-control {
    border-color: #e0e0e0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(216, 27, 96, 0.25);
}
.alert {
    border-radius: 10px;
}
.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #664d03;
}
.alert-info {
    background-color: #cce5ff;
    border-color: #b8daff;
    color: #004085;
}
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}


/* Responsive Düzenlemeler */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 450px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .hero-img-women {
        display: none !important;
    }
    .product-card-img {
        height: 200px;
    }
    .product-detail-img {
        max-height: 350px;
    }
}
/* assets/css/style.css dosyasına ekleyin veya mevcut tanımı güncelleyin */

/* Ana Sayfa Özel Stiller */

.hero-slider-img {
    height: 600px; /* Slider görselleri için daha büyük yükseklik */
    object-fit: cover; /* Resmi kutuya sığdırır, boşluk bırakmaz */
    filter: brightness(70%); /* Görseli hafifçe karartır, metin daha belirgin olur */
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6); /* Arka plan rengi ve saydamlık %60 olarak güncellendi */
    border-radius: 10px;
    padding: 25px 35px;
    bottom: 15%; /* Konumlandırma */
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
}

.carousel-caption h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.carousel-caption p {
    font-size: 1.3rem;
    color: #f1f1f1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Bilgi Notları Bölümü (Hızlı Kargo, Güvenli Ödeme vb.) */
.container.my-5 .row.text-center.g-4 .col-md-4 .p-4 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: #f8bbd0 !important; /* Pembe kenarlık */
}

.container.my-5 .row.text-center.g-4 .col-md-4 .p-4:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Ürün Kartları (Öne Çıkan Ürünler Bölümü) */
.product-card {
    border-radius: 15px; /* Daha belirgin yuvarlaklık */
    overflow: hidden;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Daha yumuşak bir gölge */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product-card:hover {
    transform: translateY(-8px); /* Hafif yukarı kaydırma */
    box-shadow: 0 12px 25px rgba(0,0,0,0.18) !important; /* Hover'da daha belirgin gölge */
}

.product-card-img {
    height: 250px; /* Resimlerin yüksekliğini koruyalım */
    object-fit: contain; /* Resmi kutuya sığdırır */
    background-color: #fefefe; /* Hafif arka plan */
    padding: 10px;
}

/* Responsive ayarlamalar */
@media (max-width: 991.98px) { /* Medium ve küçük ekranlar için */
    .hero-slider-img {
        height: 450px; /* Daha küçük ekranlarda slider yüksekliğini azalt */
    }
    .carousel-caption h2 {
        font-size: 2.5rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
    .carousel-caption {
        padding: 15px 20px;
    }
}

@media (max-width: 767.98px) { /* Küçük ekranlar (mobil) için */
    .hero-slider-img {
        height: 350px; /* Mobil için daha da küçük slider yüksekliği */
    }
    .carousel-caption {
        position: static; /* Mobil için caption'ı alt kısma taşı */
        transform: none;
        max-width: 100%;
        background-color: rgba(0, 0, 0, 0.6); /* Mobil için de aynı opaklık */
        padding: 15px;
        margin-top: -5px; /* Resmin altına yapıştır */
    }
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}
/* assets/css/style.css dosyasına ekleyin veya mevcut tanımı güncelleyin */

/* Kategori Filtreleme Alanı (urunler_listesi.php için) */
.category-filter-sidebar {
    background-color: #ffffff; /* Beyaz arka plan */
    padding: 25px; /* Daha fazla iç boşluk */
    border-radius: 12px; /* Daha belirgin yuvarlak köşeler */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); /* Daha belirgin ve yumuşak gölge */
    border: 1px solid #f8bbd0; /* Hafif pembe çerçeve */
    margin-bottom: 20px;
}

.category-filter-sidebar h5 {
    font-size: 1.5rem;
    color: var(--primary-color); /* Başlık rengi */
    border-bottom: 2px solid #ffebee; /* Alt çizgi */
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 700;
}

.category-filter-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filter-sidebar ul li {
    margin-bottom: 5px; /* Liste öğeleri arasında boşluk */
}

.category-filter-sidebar ul li a {
    display: flex; /* İkon ve metni hizalamak için flexbox */
    align-items: center;
    padding: 10px 12px;
    color: #4a4a4a;
    text-decoration: none;
    border-radius: 8px; /* Daha yuvarlak butonlar */
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    font-size: 0.95rem;
}

.category-filter-sidebar ul li a i {
    margin-right: 10px; /* İkon ile metin arasında boşluk */
    font-size: 1.1em; /* İkon boyutu */
    color: var(--primary-color); /* İkon rengi */
    transition: color 0.2s ease;
}

.category-filter-sidebar ul li a:hover {
    background-color: #fce4ec; /* Açık pembe hover */
    color: var(--accent-color);
    transform: translateX(3px); /* Hafif kaydırma efekti */
}

.category-filter-sidebar ul li a:hover i {
    color: var(--accent-color);
}

.category-filter-sidebar ul li.active > a {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-filter-sidebar ul li.active > a i {
    color: white; /* Aktif ikon rengi */
}

/* Ana Kategori Vurgusu */
.category-filter-sidebar ul li.main-category-item > a {
    font-weight: 700; /* Daha kalın font */
    color: var(--accent-color); /* Ana kategori için farklı renk */
    background-color: #fff0f5; /* Hafif pembe arka plan */
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 12px 15px; /* Daha büyük tıklama alanı */
    border: 1px solid #f8bbd0;
}

.category-filter-sidebar ul li.main-category-item > a:hover {
    background-color: var(--primary-color);
    color: white;
}
.category-filter-sidebar ul li.main-category-item > a:hover i {
    color: white;
}


.category-filter-sidebar ul li ul {
    margin-left: 15px;
    border-left: 2px solid #f8bbd0; /* Hiyerarşi çizgisi */
    padding-left: 10px;
    margin-top: 5px;
}

/* responsive */
@media (max-width: 991.98px) {
    .category-filter-sidebar {
        padding: 20px;
    }
    .category-filter-sidebar h5 {
        font-size: 1.3rem;
    }
}
/* assets/css/style.css dosyasına ekleyin */

/* Arama Çubuğu (Slider Altına Konuldu) */
.search-bar-section {
    margin-top: -60px; /* Slider'ın üzerine kaydırma */
    z-index: 10; /* Üste çıkmasını sağla */
    position: relative; /* z-index için gerekli */
}

.search-bar-section .input-group-lg > .form-control,
.search-bar-section .input-group-lg > .btn {
    padding: 1rem 1.5rem; /* Büyük boyutlandırma */
    font-size: 1.25rem;
}

.search-bar-section .rounded-pill-start {
    border-top-left-radius: 2rem !important;
    border-bottom-left-radius: 2rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.search-bar-section .rounded-pill-end {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 2rem !important;
    border-bottom-right-radius: 2rem !important;
}

.search-bar-section .input-group > .btn {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-right-width: 1px;
    border-color: var(--primary-color) !important;
}

.search-bar-section .input-group:focus-within .form-control {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(216, 27, 96, 0.25); /* Focus rengi */
}

/* responsive */
@media (max-width: 767.98px) {
    .search-bar-section {
        margin-top: -40px; /* Mobil için daha az kaydırma */
    }
    .search-bar-section .input-group-lg > .form-control,
    .search-bar-section .input-group-lg > .btn {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}