/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.9
	Stable tag: 3.4.9
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/




/* 1200px ve altında menünün tamamen 'Tablet/Mobil' moduna geçmesini sağlar */
@media (max-width: 1170px) {
  
  /* Masaüstü yatay menü görünümünü kapat */
  .elementor-nav-menu--main {
    display: none !important;
  }

  /* Elementor'un mobil hamburger butonunu görünür yap */
  .elementor-widget-nav-menu .elementor-menu-toggle {
    display: inline-flex !important;
  }

  /* Açılır (dropdown) menü kabını mobil formata sok */
  .elementor-nav-menu--dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  /* Hamburger tıklanınca açılmasını sağlayan CSS */
  .elementor-menu-toggle.elementor-active + .elementor-nav-menu--dropdown {
    display: block !important;
  }
}















/* ===== TÜM EKRANLAR İÇİN ORTAK ===== */
.elementor-widget-gallery .elementor-gallery-item {
width: 150px !important; height: 120px !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important;  background: #ffffff !important; margin: 0 auto !important;}

/* Arka plan resmiyle gelen logolar  */
.elementor-widget-gallery .elementor-gallery-item__image,
.elementor-widget-gallery .e-gallery-image {width: 100% !important;height: 100% !important; background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important;}

/* ===== TABLET (1024px ve altı) ===== */
@media (max-width: 1024px) {
    .elementor-widget-gallery .elementor-gallery-item {width: 130px !important;height: 100px !important;}}

/* ===== MOBİL (767px ve altı) ===== */
@media (max-width: 767px) {
    .elementor-widget-gallery .elementor-gallery-item {width: 120px !important;height: 100px !important;}}













/* ======================================================
   1. ÖZEL KARTLAR (Yazı resmin içinde olan yapı)
   ====================================================== */
.ozel-kart {
    border-radius: 0 !important;
    overflow: visible !important;
    position: relative !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.ozel-kart img {
    filter: brightness(0.92) !important;
    transition: filter 0.4s ease !important;
    display: block !important;
    width: 100% !important;
}

.ozel-kart:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
    z-index: 10 !important;
}

.ozel-kart:hover img {
    filter: brightness(1.12) !important;
}

/* ======================================================
   2. KATEGORİ KARTLARI (Kırmızı yazı resmin altında sabit olan yapı)
   ====================================================== */
/* Kategori kartının kendisi sabit kalır, yazı yerinden oynamaz */
.kategori-kartlari ul.products li.product-category {
    border-radius: 0 !important;
    overflow: visible !important;
    position: relative !important;
}

/* Büyüme, Parlama ve Gölge SADECE görselin kendisine uygulanır */
.kategori-kartlari ul.products li.product-category img {
    filter: brightness(0.92) !important;
    transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease !important;
    display: block !important;
    width: 100% !important;
    border-radius: 0 !important;
}

.kategori-kartlari ul.products li.product-category:hover img {
    filter: brightness(1.12) !important;
    transform: scale(1.04) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Kırmızı başlığın kesinlikle sabit kalmasını garantiye al */
.kategori-kartlari ul.products li.product-category .woocommerce-loop-category__title,
.kategori-kartlari ul.products li.product-category h2 {
    transform: none !important;
    box-shadow: none !important;
}











.filtre-sol-kapsayici {
    position: relative !important;
    border-top: none !important; /* Eski border'ı sıfırlıyoruz */
}

/* Sadece border görevi görecek bağımsız çizgi */
.filtre-sol-kapsayici::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80%; /* Çizgi genişliği (İstediğin orana göre %70, %80 veya 200px yapabilirsin) */
    height: 1px;
    background-color: #d1d5db;
}











/* Kart konteyneri için alt boşluk ve düzenleme */
.proje-kart-container {
    display: flex;
    flex-direction: column;
}

/* Başlık alanının yüksekliğini eşitleme ve görsele yakınlaştırma */
.proje-kart-baslik,
.proje-kart-baslik .elementor-heading-title,
.proje-kart-baslik h2,
.proje-kart-baslik h3 {
    min-height: 52px !important; /* 2 satırlık başlık alanı */
    margin-top: 10px !important;  /* Üstten gelen boşluk */
    margin-bottom: 6px !important; /* Altındaki görsele olan yakınlık */
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* Maksimum 2 satır, fazlasını gizler */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Görsellerin yüksekliğini ve oranını sabitleme */
.proje-kart-gorsel img {
    height: 220px !important; /* Tüm görseller aynı yükseklikte olur */
    width: 100% !important;
    object-fit: cover !important; /* Oran bozulmadan kareye/alana oturur */
}










/* Yoast SSS Genel Kapsayıcı Tasarımı */
.schema-faq, 
.wp-block-yoast-faq-block {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    border: 1px solid #DBDBDB !important;
    overflow: hidden !important;
    margin-bottom: 40px !important; /* Alttaki bağlantılarla arasındaki boşluk */
}

/* SSS Kart Bölümleri ve Çizgiler */
.schema-faq-section {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid #DBDBDB !important;
}

.schema-faq-section:last-child {
    border-bottom: none !important;
}

/* Soru Başlığı ve Sağ İkon */
.schema-faq-question {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 18px 24px !important;
    background-color: #ffffff !important;
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
    transition: all 0.2s ease;
}

/* Soru Açıldığında Başlık ile Açıklama Arasına Çizgi Ekleme */
.schema-faq-question.faq-open {
    border-bottom: 1px solid #DBDBDB !important;
}

/* Artı (+) Simgesi */
.schema-faq-question::after {
    content: '+' !important;
    font-size: 22px !important;
    font-weight: bold !important;
    color: #E33827 !important;
    line-height: 1 !important;
    margin-left: 15px !important;
}

/* Açık Olan Sorunun Eksi (-) Simgesi */
.schema-faq-question.faq-open::after {
    content: '−' !important;
}

/* Cevap Metni Alanı */
.schema-faq-answer {
    padding: 20px 24px !important; /* Çizgiden sonra dengeli iç boşluk */
    color: #333333 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    background-color: #ffffff !important;
}

.schema-faq-answer p {
    margin: 0 !important;
}


/* SSS Kutusu ile Altındaki İçerikler Arasına Boşluk Ekleme */
.schema-faq, 
.wp-block-yoast-faq-block {
    margin-bottom: 40px !important;
}




