/* ELF Custom CSS for Modern Corporate Overhaul */
/* ------------------------------------------- */

/* 1. VURUCU SADELEŞTİRMELER (GİZLENECEKLER) */
.widget_meta,                          /* WordPress Üst Veri (Site Yönetimi) Widget'ı */
.post-edit-link, .edit-link,           /* Yönetici düzenleme ikonları (Kalem) */
.nav-previous, .nav-next,              /* Eski nesil önceki sonraki linkleri eğer estetik değilse (gerekirse açılabilir) */
.meta-comments {                       /* Yorum sayısı (kurumsal sitede genelde gereksizdir) */
    display: none !important;
}

/* 2. HEADER YENİDEN HİZALAMA */
/* Logo ve İletişim Bilgilerinin Dikey Karşılıklı Hizası */
#header_contents {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    padding: 15px 0;
}
#header_contents > section {
    display: block !important;
    padding: 0 !important;
}

/* İletişim Bilgileri Özel Konteyner */
.elf-header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
    font-size: 13px;
    line-height: 1.4;
    padding-right: 15px; /* Mobilde veya dar ekranda duvara yapışmaması için */
}

/* İkonlar ve Metin Stilleri */
.elf-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #444; /* Daha yumuşak, kurumsal siyah/gri */
    font-weight: 500;
}

.elf-contact-item svg {
    width: 16px;
    height: 16px;
    fill: #0056b3; /* Klasik Omron/Elf Kurumsal Mavi */
    flex-shrink: 0;
}

/* 3. MENÜ (NAVİGASYON) MODERNİZASYONU VE KUSURSUZ HİZALAMA */
#navigation_bar {
    max-width: 1060px; 
    margin: 0 auto;
}

/* Linkleri en sola sıfıra sıfır yapışmasını engelle ve yanyana diz */
#navigation_bar > ul, #navigation_bar ul.mega-menu {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    width: 100%;
    display: flex !important;
    align-items: center !important;
    min-height: 50px; /* Mavi barın yüksekliği ortalama 50-60px arasıdır */
}

/* Her bir menü elemanını (li) dikeyde merkeze sabitle */
#navigation_bar ul.mega-menu > li.mega-menu-item {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* İçindeki A tagleri de tam ortada dursun */
#navigation_bar ul.mega-menu > li.mega-menu-item > a.mega-menu-link {
    display: flex !important;
    align-items: center !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    line-height: normal !important;
    height: auto !important;
}

/* Menü geçişlerini yumuşat */
#navigation_bar ul.mega-menu > li.mega-menu-item > a.mega-menu-link {
    transition: background-color 0.3s ease, color 0.3s ease;
}
#navigation_bar ul.mega-menu > li.mega-menu-item:hover > a.mega-menu-link {
    background-color: rgba(255,255,255,0.08) !important;
}

/* Sadece "Ara" büyüteç ikonu */
li.mega-menu-item .elf-search-icon-only {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Menü geçişlerini yumuşat */
#navigation_bar > ul > li > a {
    transition: background-color 0.3s ease, color 0.3s ease;
}
#navigation_bar > ul > li:hover > a {
    background-color: rgba(255,255,255,0.08) !important;
}

/* Sadece "Ara" büyüteç ikonu */
li.mega-menu-item .elf-search-icon-only {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

li.mega-menu-item .elf-search-icon-only span,
li.mega-menu-item .elf-search-icon-only .mega-indicator {
    display: none !important; 
}


/* 4. GENEL KART (CUBIC) VE KUTU TASARIMLARINI YUMUŞATMA (GLASS/MODERN KART HİSSİ) */
/* Keskin gri çizgileri kaldırıp şık ve çok hafif bir gölge atıyoruz */
.box, .blog_list, .product, .service_box, .wpb_widgetised_column, .rt-portfolio-item, .vc_column-inner {
    border: 1px solid rgba(0,0,0,0.03) !important; /* Çok transparan sınır */
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    background-color: #ffffff;
    overflow: hidden; /* Resimlerin köşeleri yuvarlaktan taşmasın diye */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-bottom: 30px;
}

/* Mouse ile üzerine gelince çok hafif yukarı kalkan interaktif hissiyat */
.box:hover, .blog_list:hover, .product:hover, .service_box:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px);
}

/* Kartların içindeki resimlere de yuvarlaklık verelim (Eğer overflow hidden yetmezse diye) */
.box img, .blog_list img, .product img, .service_box img, .wp-post-image {
    border-radius: 8px 8px 0 0 !important;
}

/* Ekstra olarak resimlerin alt kenarında margin bırakıyorsa sıfırlıyoruz ki kart yapısı bozulmasın */
.wpb_single_image .vc_single_image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}


/* 5. KURUMSAL BUTON (TÜM ÜRÜNLER, FİYAT LİSTESİ) STANDARDİZASYONU */
a.button, button, .btn, input[type="submit"], .btn-read-more, .vc_btn3 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 26px !important;
    background-color: #0056b3 !important; /* Standart şık mavi */
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 6px !important; /* Modern eğim */
    border: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.25) !important; /* Kendi renginin gölgesi */
    text-transform: capitalize !important;
}

a.button:hover, button:hover, .btn:hover, input[type="submit"]:hover, .btn-read-more:hover, .vc_btn3:hover {
    background-color: #003d80 !important;
    transform: translateY(-2px) !important; 
    box-shadow: 0 7px 14px rgba(0, 86, 179, 0.35) !important;
}


/* 6. YATAY KARTLAR (İÇERİK + GÖRSEL) İÇİN DİKEY ORTALAMA (FLEXBOX) */
.elf-card-wrapper {
    display: flex;
    align-items: center; /* Dikey olarak kesin ortalama */
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; /* Mobilde taşmayı önlemek için */
}

@media screen and (max-width: 768px) {
    .elf-card-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }
    .elf-header-contact {
        align-items: center;
        text-align: center;
        margin-top: 15px;
    }
    #header_contents {
        flex-direction: column;
    }
}

/* Makale özet metni için daha okunabilir form */
.elf-card-desc, .entry-content p, .box .content p {
    color: #4a4a4a !important; /* Doygun gri */
    line-height: 1.75 !important;
    margin-bottom: 20px !important;
    font-size: 14.5px;
}
