/* ============================================
   QİXFİDAN - DOĞAL FİDANCI TEMASI V2
   Geliştirilmiş ve optimize edilmiş tasarım
   ============================================ */

/* RENK PALETİ */
:root {
    --fidanci-yesil-koyu: #2d5016;
    --fidanci-yesil: #4a7c2c;
    --fidanci-yesil-acik: #7cb342;
    --fidanci-yesil-cok-acik: #9ccc65;
    --fidanci-toprak: #5d4037;
    --fidanci-ahsap: #795548;
    --fidanci-bej: #d7ccc8;
    --fidanci-bej-acik: #bcaaa4;
    --fidanci-sari: #fdd835;
    --fidanci-sari-koyu: #f9a825;
}

/* GENEL BODY - TOPRAK HİSSİ */
body {
    background: linear-gradient(to bottom, #f5f5dc 0%, #e8dcc8 100%);
    font-family: 'Segoe UI', 'Arial', sans-serif;
    color: #3e2723;
}

/* CONTAINER GENİŞLİĞİ ARTTIRILDI */
.container {
    max-width: 1400px !important;
    width: 95% !important;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px !important;
    }
}

/* HEADER - ZENGİN VE GÖSTERİŞLİ */
#top {
    background: linear-gradient(135deg, 
        var(--fidanci-yesil-koyu) 0%, 
        var(--fidanci-yesil) 50%,
        var(--fidanci-yesil-acik) 100%);
    border-bottom: 5px solid var(--fidanci-sari);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
    position: relative;
    overflow: hidden;
}

/* Header dekoratif arka plan */
#top::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

#top::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

#top .container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    padding: 15px 20px;
}

#top a {
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    font-weight: 600;
}

#top a:hover {
    color: var(--fidanci-sari) !important;
    transform: translateY(-2px);
    text-shadow: 2px 2px 8px rgba(253, 216, 53, 0.6);
}

#top .btn-link {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#top .btn-link:hover {
    background: rgba(253, 216, 53, 0.3);
    transform: scale(1.05);
}

/* LOGO ALANI - ÖZEL VURGU */
#logo {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

#logo:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(253, 216, 53, 0.4);
    border-color: var(--fidanci-sari);
}

/* HEADER BANNER - ZENGİN ARKA PLAN */
header {
    background: linear-gradient(to right, 
        rgba(124, 179, 66, 0.15) 0%, 
        rgba(156, 204, 101, 0.15) 50%,
        rgba(124, 179, 66, 0.15) 100%);
    border-bottom: 4px solid var(--fidanci-yesil-acik);
    padding: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ARAMA KUTUSU - ORGANİK FORM */
#search input {
    border: 3px solid var(--fidanci-yesil-acik) !important;
    border-radius: 30px !important;
    padding: 15px 25px !important;
    background: #fff;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 16px;
}

#search input:focus {
    border-color: var(--fidanci-yesil) !important;
    box-shadow: 0 0 20px rgba(124, 179, 66, 0.5);
    outline: none;
    transform: scale(1.02);
}

#search .btn {
    background: linear-gradient(135deg, var(--fidanci-yesil) 0%, var(--fidanci-yesil-koyu) 100%) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 15px 30px !important;
    color: white !important;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(74, 124, 44, 0.4);
    transition: all 0.3s ease;
}

#search .btn:hover {
    background: linear-gradient(135deg, var(--fidanci-yesil-koyu) 0%, var(--fidanci-yesil) 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 124, 44, 0.6);
}

/* SEPET BUTONU - ÖZEL TASARIM */
#cart {
    background: linear-gradient(135deg, var(--fidanci-sari) 0%, var(--fidanci-sari-koyu) 100%) !important;
    border: 3px solid var(--fidanci-sari-koyu) !important;
    border-radius: 25px !important;
    padding: 12px 25px !important;
    color: var(--fidanci-toprak) !important;
    font-weight: bold !important;
    box-shadow: 0 5px 15px rgba(249, 168, 37, 0.5);
    transition: all 0.3s ease;
}

#cart:hover {
    background: linear-gradient(135deg, var(--fidanci-sari-koyu) 0%, var(--fidanci-sari) 100%) !important;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(249, 168, 37, 0.7);
}

/* KATEGORİ MENÜSÜ - YAPRAK MOTİFLİ */
.list-group-item {
    border-left: 5px solid var(--fidanci-yesil-acik) !important;
    border-radius: 0 15px 15px 0 !important;
    margin-bottom: 8px !important;
    background: linear-gradient(to right, #fff 0%, #f9f9f9 100%) !important;
    transition: all 0.3s ease;
    padding: 12px 15px !important;
}

.list-group-item:hover {
    background: linear-gradient(to right, 
        var(--fidanci-yesil-cok-acik) 0%, 
        var(--fidanci-yesil-acik) 100%) !important;
    color: white !important;
    border-left-width: 8px !important;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

.list-group-item a {
    color: var(--fidanci-yesil-koyu) !important;
    font-weight: 600;
    text-decoration: none;
}

.list-group-item:hover a {
    color: white !important;
}

/* SLIDER - DOĞAL ÇERÇEVE */
#slideshow0 {
    border: 8px solid var(--fidanci-ahsap);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(93, 64, 55, 0.4);
    overflow: hidden;
    position: relative;
}

#slideshow0::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}

/* ÜRÜN KARTLARI - OPTİMİZE EDİLMİŞ */
.product-layout {
    margin-bottom: 15px !important; /* Yarıya düşürüldü (30px -> 15px) */
}

.product-thumb {
    background: white;
    border: 3px solid var(--fidanci-bej) !important;
    border-radius: 20px !important;
    padding: 15px !important; /* Padding azaltıldı */
    transition: all 0.3s ease; /* Daha yumuşak */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.product-thumb::before {
    content: '🌱';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.product-thumb:hover {
    border-color: var(--fidanci-yesil-acik) !important;
    transform: translateY(-3px); /* Daha az hareket (8px -> 3px) */
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.3);
}

.product-thumb:hover::before {
    opacity: 0.6;
    transform: rotate(10deg) scale(1.1); /* Daha az rotasyon */
}

/* ÜRÜN RESİMLERİ - DAHA BÜYÜK VE ALBENİLİ */
.product-thumb .image {
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--fidanci-bej-acik);
    transition: all 0.3s ease;
    margin-bottom: 15px;
    position: relative;
}

.product-thumb .image img {
    width: 100%;
    height: auto;
    min-height: 250px; /* Daha büyük görsel */
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-thumb:hover .image {
    border-color: var(--fidanci-yesil-acik);
    box-shadow: 0 0 25px rgba(124, 179, 66, 0.5);
}

.product-thumb:hover .image img {
    transform: scale(1.05); /* Hafif zoom */
}

/* Görsel üzerine gradient overlay */
.product-thumb .image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* ÜRÜN BAŞLIKLARI - DOĞAL FONT */
.product-thumb h4 {
    color: var(--fidanci-yesil-koyu) !important;
    font-weight: 700;
    font-size: 16px;
    margin: 10px 0;
    min-height: 45px;
    line-height: 1.4;
}

.product-thumb h4 a {
    color: var(--fidanci-yesil-koyu) !important;
    transition: all 0.3s ease;
}

.product-thumb:hover h4 a {
    color: var(--fidanci-yesil) !important;
}

/* AÇIKLAMA GİZLE - SADECE KISA AÇIKLAMA */
.product-thumb .caption > p:first-of-type {
    display: none !important; /* Uzun açıklamayı gizle */
}

/* Kısa açıklama varsa göster */
.product-thumb .caption .short-description {
    display: block !important;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0;
    max-height: 60px;
    overflow: hidden;
}

/* FİYAT ETİKETİ - ÖZEL TASARIM */
.product-thumb .price {
    background: linear-gradient(135deg, var(--fidanci-sari) 0%, var(--fidanci-sari-koyu) 100%);
    color: var(--fidanci-toprak) !important;
    font-size: 22px !important;
    font-weight: bold !important;
    padding: 12px 25px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(249, 168, 37, 0.4);
    margin: 10px 0;
}

/* BUTONLAR - ORGANİK TASARIM */
.btn-primary,
.product-thumb .button-group button {
    background: linear-gradient(135deg, var(--fidanci-yesil) 0%, var(--fidanci-yesil-koyu) 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 25px !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(74, 124, 44, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover,
.product-thumb .button-group button:hover {
    background: linear-gradient(135deg, var(--fidanci-yesil-koyu) 0%, var(--fidanci-yesil) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 124, 44, 0.5);
}

/* BAŞLIKLAR - EL YAZISI TARZI */
h1, h2, h3 {
    color: var(--fidanci-yesil-koyu) !important;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 15px;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--fidanci-yesil-acik), var(--fidanci-sari));
    border-radius: 2px;
}

/* FOOTER - TOPRAK HİSSİ */
footer {
    background: linear-gradient(to bottom, var(--fidanci-toprak) 0%, var(--fidanci-ahsap) 100%);
    color: var(--fidanci-bej-acik) !important;
    border-top: 5px solid var(--fidanci-yesil);
    padding: 40px 0 20px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

footer h5 {
    color: var(--fidanci-sari) !important;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer a {
    color: var(--fidanci-bej-acik) !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: var(--fidanci-yesil-cok-acik) !important;
    padding-left: 5px;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ÖZEL DEKORATIF ELEMENTLER */
.container {
    position: relative;
}

/* YAPRAK MOTİFİ ARKA PLAN */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(124, 179, 66, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(156, 204, 101, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* SCROLL BAR - DOĞAL TASARIM */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--fidanci-bej);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--fidanci-yesil-acik), var(--fidanci-yesil));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--fidanci-yesil), var(--fidanci-yesil-koyu));
}

/* RESPONSİVE İYİLEŞTİRMELER */
@media (max-width: 768px) {
    .product-thumb {
        margin-bottom: 20px;
    }
    
    h1, h2, h3 {
        font-size: 1.5em;
    }
    
    .container {
        width: 100% !important;
    }
}

/* ÖZEL VURGULAR */
.alert-success {
    background: var(--fidanci-yesil-cok-acik) !important;
    border-color: var(--fidanci-yesil) !important;
    color: var(--fidanci-yesil-koyu) !important;
    border-radius: 15px;
}

.alert-danger {
    background: #ffcdd2 !important;
    border-color: #e57373 !important;
    color: #c62828 !important;
    border-radius: 15px;
}

/* BREADCRUMB - DOĞAL YOL */
.breadcrumb {
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 15px;
    padding: 12px 20px;
    border: 2px solid var(--fidanci-bej);
}

.breadcrumb a {
    color: var(--fidanci-yesil) !important;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--fidanci-yesil-koyu) !important;
}