/* ========================================
   NEVA ANKASTRE - ANA STİL DOSYASI
   Premium Ankastre Estetiği
======================================== */

:root {
    /* Ana Renkler */
    --primary-black: #1a1a1a;
    --primary-silver: #c0c0c0;
    --primary-white: #ffffff;
    --accent-gold: #d4af37;
    
    /* Gri Tonları */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-700: #495057;
    --gray-900: #212529;
    
    /* Premium Gradients */
    --gradient-premium: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
    --gradient-silver: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-primary: 'Segoe UI', 'Arial', sans-serif;
    --font-heading: 'Arial', 'Helvetica', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-900);
    line-height: 1.6;
    background-color: var(--primary-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-black);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Links */
a {
    color: var(--primary-black);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-gold);
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-black);
    color: var(--primary-white);
    border: 2px solid var(--primary-black);
    padding: 12px 32px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-normal);
}

.btn-primary-custom:hover {
    background: var(--primary-white);
    color: var(--primary-black);
    border-color: var(--primary-black);
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--primary-white);
    border: 2px solid var(--accent-gold);
    padding: 12px 32px;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition-normal);
}

.btn-gold:hover {
    background: transparent;
    color: var(--accent-gold);
}

/* Cards */
.card-premium {
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    overflow: hidden;
}

.card-premium:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--primary-black);
    color: var(--primary-white);
}

.section-silver {
    background: var(--gray-100);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
    margin: 20px auto 0;
}

/* Product Card */
/* Product Card */
.product-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Enerji sınıfı ve kategori badge'lerinin alanı - sabit yükseklik */
.product-card-body > .mb-2 {
    min-height: 56px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px !important;
}

/* Badge'lerin kendi yüksekliklerini koruması için */
.product-card-body .badge,
.product-card-body .energy-badge {
    align-self: flex-start;
    flex-shrink: 0;
}

/* Kategori badge'lerini enerji badge ile aynı boyutta yap */
.product-card-body .badge {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-black);
    line-height: 1.4;
}

/* Kısa açıklama - sabit yükseklik (2 satır) */
.product-card-body > p {
    min-height: 44px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
}

/* Buton her zaman en altta */
.product-card-body > a.btn {
    margin-top: auto;
}

/* Energy Badge - Enerji Sınıfı Rozeti */
.energy-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-gold);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enerji Sınıfı Renkleri (A+++'den G'ye) */
/* A+++ - Çok Koyu Yeşil (Orman Yeşili) */
.energy-badge.energy-a-plus-plus-plus {
    background: linear-gradient(135deg, #004d29 0%, #006b3d 100%);
    box-shadow: 0 2px 8px rgba(0, 77, 41, 0.5);
}

/* A++ - ÇOK Koyu Yeşil */
.energy-badge.energy-a-plus-plus {
    background: linear-gradient(135deg, #005522 0%, #007733 100%);
    box-shadow: 0 2px 8px rgba(0, 85, 34, 0.5);
}

/* A+ - Orta Yeşil (Çimen Yeşili) */
.energy-badge.energy-a-plus {
    background: linear-gradient(135deg, #44cc44 0%, #66dd66 100%);
    box-shadow: 0 2px 8px rgba(68, 204, 68, 0.4);
}

/* A - Açık Yeşil-Sarı (Limon Yeşili) */
.energy-badge.energy-a {
    background: linear-gradient(135deg, #99dd00 0%, #bbee33 100%);
    box-shadow: 0 2px 8px rgba(153, 221, 0, 0.4);
}

.energy-badge.energy-b {
    background: linear-gradient(135deg, #fff200 0%, #ffe033 100%);
    color: #333;
    box-shadow: 0 2px 8px rgba(255, 242, 0, 0.3);
}

.energy-badge.energy-c {
    background: linear-gradient(135deg, #fdb813 0%, #ffca4d 100%);
    box-shadow: 0 2px 8px rgba(253, 184, 19, 0.3);
}

.energy-badge.energy-d {
    background: linear-gradient(135deg, #ed8b00 0%, #ffa53d 100%);
    box-shadow: 0 2px 8px rgba(237, 139, 0, 0.3);
}

.energy-badge.energy-e {
    background: linear-gradient(135deg, #e84e0f 0%, #ff6b3d 100%);
    box-shadow: 0 2px 8px rgba(232, 78, 15, 0.3);
}

.energy-badge.energy-f {
    background: linear-gradient(135deg, #e2001a 0%, #ff3347 100%);
    box-shadow: 0 2px 8px rgba(226, 0, 26, 0.3);
}

.energy-badge.energy-g {
    background: linear-gradient(135deg, #a50034 0%, #d40052 100%);
    box-shadow: 0 2px 8px rgba(165, 0, 52, 0.3);
}

/* Brand Logos Slider Container */
.brandsSwiper {
    padding: 30px 0;
    overflow: hidden;
}

.brandsSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}

.brandsSwiper .swiper-slide {
    width: 200px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Brand Logos */
.brand-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    max-height: 60px;
    width: 150px;
    object-fit: contain;
    display: block;
    cursor: pointer;
}

/* Hover States - Multiple selectors for better coverage */
.swiper-slide:hover .brand-logo,
.brand-logo:hover {
    filter: grayscale(0%) brightness(1.1) !important;
    opacity: 1 !important;
    transform: scale(1.15);
}

/* Link içindeki logolar için */
a:hover > .brand-logo {
    filter: grayscale(0%) brightness(1.1) !important;
    opacity: 1 !important;
    transform: scale(1.15);
}

/* About Section Home */
.about-image img {
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.about-image img:hover {
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

.about-content h2 {
    position: relative;
    padding-bottom: 15px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

/* Blog Card */
.blog-card {
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.blog-card img,
.blog-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-normal);
}

.blog-card:hover img,
.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 280px; /* Sabit body yüksekliği */
}

.blog-date {
    color: var(--gray-700);
    font-size: 0.9rem;
    margin-bottom: 10px;
    min-height: 21px; /* Tek satır için sabit yükseklik */
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-black);
    line-height: 1.4;
    min-height: 54px; /* 2 satır için sabit yükseklik (1.3rem * 1.4 * 2) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-title a {
    color: var(--primary-black);
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-title a:hover {
    color: var(--accent-gold);
}

.blog-excerpt {
    color: var(--gray-700);
    margin-bottom: auto; /* Butonu en alta iter */
    padding-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 60px; /* 2 satır için sabit yükseklik (0.95rem * 1.6 * 2) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ========================================
   PAGINATION
======================================== */
.pagination {
    gap: 8px;
}

.pagination .page-item .page-link {
    border: 2px solid var(--primary-black);
    color: var(--primary-black);
    background: var(--primary-white);
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.pagination .page-item .page-link:hover {
    background: var(--accent-gold);
    color: var(--primary-white);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.pagination .page-item.active .page-link {
    background: var(--primary-black);
    color: var(--accent-gold);
    border-color: var(--primary-black);
    font-weight: 700;
}

.pagination .page-item.disabled .page-link {
    background: var(--gray-200);
    border-color: var(--gray-300);
    color: var(--gray-700);
    opacity: 0.6;
}

/* Pagination Icons */
.pagination .page-link i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Utilities */
.text-gold {
    color: var(--accent-gold);
}

.bg-dark-custom {
    background: var(--primary-black);
}

.bg-silver {
    background: var(--gray-100);
}

/* ========================================
   SWIPER NAVIGATION BUTTONS
   Öne Çıkan Ürünler için
======================================== */

/* Wrapper container - okların tam görünmesi için */
.swiper-container-wrapper {
    overflow: visible !important;
    position: relative;
}

/* Swiper container - kartlar gizli */
.swiper {
    overflow: hidden !important;
    position: relative;
}

/* Featured Sections Slider Navigation */
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    z-index: 100 !important;
    position: absolute !important;
}

/* Okları dışarı taşır */
.swiper-button-next {
    right: -25px !important;
}

.swiper-button-prev {
    left: -25px !important;
}

/* Okları kartların DIŞINA taşır */
.swiper-button-next {
    right: -25px !important; /* Sağa dışarı taşır */
}

.swiper-button-prev {
    left: -25px !important; /* Sola dışarı taşır */
}

/* Ok ikonları */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: var(--primary-black) !important;
}

/* Hover efekti */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent-gold) !important;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4) !important;
    transform: scale(1.1);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: white !important;
}

/* Disabled state */
.swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

/* Responsive - Mobilde içeride kalsın */
@media (max-width: 768px) {
    .swiper-button-next {
        right: 10px !important;
    }
    
    .swiper-button-prev {
        left: 10px !important;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px !important;
    }
}

