/*
Theme Name: DMT Astra Child
Description: Doğa Makine Teknolojileri Özel Tasarım (Astra tabanlı)
Template: astra
Version: 1.0.0
*/

/* =========================================
   TOP BAR: En Üst İletişim Bandı
========================================= */
.dmt-top-bar {
    background-color: #cc0000;
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
    width: 100%;
    z-index: 100000;
}
.dmt-top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.dmt-top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}
.dmt-top-bar-item {
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.dmt-top-bar-item:hover {
    opacity: 1;
    color: #ffe0e0 !important;
}
.dmt-top-bar-item svg {
    width: 13px;
    height: 13px;
    fill: #ffffff;
    flex-shrink: 0;
}
.dmt-top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dmt-top-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: background 0.2s;
    text-decoration: none !important;
}
.dmt-top-social:hover {
    background: rgba(255,255,255,0.35);
}
.dmt-top-social svg {
    width: 13px;
    height: 13px;
    fill: #ffffff !important;
}

/* Header İçindeki Sosyal Medya İkonlarını Düzelt */
#masthead .ast-header-social-widget svg,
#masthead .ast-header-social-widget a,
.site-header .ast-header-social-widget svg,
.site-header .ast-header-social a,
.ast-social-icon-color-type-custom a,
.ast-header-social-widget .ast-social-color-type-custom a svg {
    fill: #333333 !important;
    color: #333333 !important;
}
#masthead .ast-header-social-widget a:hover svg {
    fill: #cc0000 !important;
}

/* --- Özel Renk ve Tasarım Ayarları --- */

/* Menü Öğeleri */
.main-header-menu .menu-link,
.ast-header-break-point .main-header-menu .menu-link {
    color: #333333 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: none !important;
}

/* =====================================================
   HEADER: Beyaz Arka Plan + Sticky (Tüm Sayfalarda)
   Astra'nın kendi rengini ezmek için çok güçlü seçici
====================================================== */
#masthead,
.site-header,
.ast-primary-header-bar,
.ast-above-header-bar,
.ast-below-header-bar,
#ast-fixed-header,
.ast-header-wrap,
header#masthead {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-bottom: 3px solid #cc0000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Sticky (sabit) header - sayfa aşağı kaydığında üstte kalır */
#masthead.site-header,
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
}

/* Menü linklerinin rengi de tüm sayfalarda beyaz değil koyu olsun */
#masthead .menu-link,
.site-header .menu-link,
.ast-primary-header-bar .menu-link {
    color: #333333 !important;
}

/* Menü Üzerine Gelince (Hover) ve Aktif Menü Rengi */
.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link,
#masthead .menu-link:hover {
    color: #cc0000 !important;
}

/* Dropdown (Alt Menü) Stilleri */
.main-header-menu .sub-menu,
#masthead .sub-menu {
    background-color: #ffffff !important;
    border-top: 3px solid #cc0000 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    padding: 10px 0 !important;
    min-width: 210px !important;
}
.main-header-menu .sub-menu .menu-item {
    margin: 0 !important;
}
.main-header-menu .sub-menu .menu-link,
#masthead .sub-menu .menu-link {
    padding: 10px 20px !important;
    font-size: 13px !important;
    color: #555 !important;
    display: block !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}
.main-header-menu .sub-menu .menu-link:hover,
#masthead .sub-menu .menu-link:hover {
    color: #cc0000 !important;
    background-color: #f9f9f9 !important;
    padding-left: 26px !important;
}

/* Butonlar ve Link Vurguları */
button, 
.button, 
.ast-button, 
input[type="submit"] {
    background-color: #cc0000 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 5px;
}

button:hover, 
.button:hover, 
.ast-button:hover, 
input[type="submit"]:hover {
    background-color: #a30000 !important;
}

/* Logo Boyutlandırması (Yüklediğinizde taşmaması için) */
.custom-logo {
    max-height: 85px;
    width: auto;
}

/* =========================================
   DMT Ürün Kataloğu Stilleri (Minimal)
========================================= */

/* Ürün Listeleme (Grid) */
.dmt-products-archive .page-title {
    text-align: center;
    color: #00133b; /* Koyu lacivert başlık */
    font-weight: 700;
    margin-bottom: 40px;
}
.dmt-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.dmt-product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}
.dmt-product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #cc0000;
}
.dmt-product-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
}
.dmt-product-cat {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}
.dmt-product-title a {
    color: #001f5c; /* Lacivert tonu */
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.dmt-product-title a:hover {
    color: #cc0000;
}

/* Ürün Detay Sayfası */
.dmt-product-detail {
    display: flex;
    flex-wrap: wrap;
    background: #f7f7f7;
    padding: 40px;
    border: 1px solid #eaeaea;
    margin-top: 30px;
    gap: 40px;
}
.dmt-product-detail-left {
    flex: 1 1 350px;
    background: #fff;
    padding: 20px;
    border: 1px solid #eaeaea;
    text-align: center;
}
.dmt-product-detail-right {
    flex: 2 1 400px;
}
.dmt-product-detail-right .dmt-product-title {
    color: #001f5c;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}
.dmt-product-description {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.dmt-meta-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #001f5c;
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: #001f5c;
}
.dmt-meta-item strong {
    font-weight: 600;
}
.dmt-product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.dmt-btn-outline {
    background-color: transparent !important;
    color: #001f5c !important;
    border: 1px solid #001f5c !important;
}
.dmt-btn-outline:hover {
    background-color: #f0f0f0 !important;
}
.dmt-btn-solid {
    background-color: #000c3b !important;
    color: #fff !important;
}
.dmt-btn-solid:hover {
    background-color: #cc0000 !important;
}
.dmt-pdf-icon {
    color: #cc0000;
    margin-right: 5px;
}

/* =========================================
   DMT Anasayfa Tasarımı (Animasyonlu)
========================================= */

/* Hero Alanı */
.dmt-hero-section {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.dmt-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.dmt-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #001f5c;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}
.dmt-hero-title span {
    color: #cc0000;
}
.dmt-hero-desc {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out;
}
.dmt-hero-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: #cc0000;
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(204,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1.4s ease-out;
}
.dmt-hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(204,0,0,0.5);
}

/* Hizmetler / Özellikler Kutuları */
.dmt-services-section {
    padding: 80px 20px;
    background-color: #ffffff;
}
.dmt-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #001f5c;
    margin-bottom: 50px;
    position: relative;
}
.dmt-section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #cc0000;
    display: block;
    margin: 15px auto 0;
}
.dmt-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.dmt-service-box {
    flex: 1 1 300px;
    max-width: 350px;
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.4s ease;
    cursor: pointer;
}
.dmt-service-box:hover {
    transform: translateY(-10px);
    border-color: #cc0000;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.dmt-service-icon {
    font-size: 40px;
    color: #cc0000;
    margin-bottom: 20px;
}
.dmt-service-title {
    font-size: 20px;
    color: #001f5c;
    font-weight: 600;
    margin-bottom: 15px;
}
.dmt-service-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Animasyon Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   DMT Footer Tasarımı
========================================= */
.dmt-custom-footer {
    background-color: #fcfcfc;
    border-top: 1px solid #eaeaea;
    padding: 60px 0 20px;
    color: #333;
    font-family: inherit;
}
.dmt-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 20px;
}
.dmt-footer-col {
    flex: 1 1 220px;
}
.dmt-footer-logo-col {
    flex: 2 1 300px;
}
.dmt-footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}
.dmt-footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}
.dmt-social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #eaeaea;
    color: #555;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
    text-decoration: none;
}
.dmt-social-links a:hover {
    background: #cc0000;
    color: #fff;
    transform: translateY(-3px);
}
.dmt-footer-title {
    font-size: 16px;
    color: #001f5c;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
}
.dmt-footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: #cc0000;
}
.dmt-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dmt-footer-list li {
    margin-bottom: 12px;
}
.dmt-footer-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.dmt-footer-list a:hover {
    color: #cc0000;
}
.dmt-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}
.dmt-contact-icon {
    color: #cc0000;
    margin-right: 10px;
    font-size: 18px;
}
.dmt-footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid #eaeaea;
    font-size: 13px;
    color: #999;
}

/* =========================================
   İç Sayfa: Ortak Sayfa Hero Bandı
========================================= */
.dmt-page-hero {
    position: relative;
    background-color: #111111;
    background-image: 
        radial-gradient(circle at 100% 50%, rgba(204,0,0,0.35) 0%, transparent 60%),
        linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}
.dmt-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
    z-index: 1;
}
.dmt-page-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.dmt-page-hero-title {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.dmt-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    padding: 8px 25px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
}
.dmt-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}
.dmt-breadcrumb a:hover {
    color: #ff4d4d;
}
.dmt-breadcrumb span {
    margin: 0 10px;
    opacity: 0.5;
}

/* =========================================
   İç Sayfa: Kurumsal (Hakkımızda vb.)
========================================= */
.dmt-corporate-content {
    padding: 80px 20px;
}
.dmt-corporate-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}
.dmt-corporate-boxes {
    flex: 1 1 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.dmt-corp-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.dmt-corp-box:hover {
    border-color: #cc0000;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}
.dmt-corp-box-icon {
    font-size: 32px;
    margin-bottom: 10px;
}
.dmt-corp-box h3 {
    color: #001f5c;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}
.dmt-corp-box p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}
.dmt-corporate-text {
    flex: 2 1 400px;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}
.dmt-corporate-text p {
    margin-bottom: 20px;
}

/* =========================================
   İç Sayfa: İletişim
========================================= */
.dmt-contact-boxes-section {
    padding: 70px 20px 0;
}
.dmt-contact-boxes {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.dmt-contact-box {
    flex: 1 1 280px;
    background: #fff;
    border: 1px solid #eee;
    border-top: 4px solid #cc0000;
    border-radius: 8px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s;
}
.dmt-contact-box:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}
.dmt-contact-box-icon {
    width: 55px;
    height: 55px;
    background: #cc0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    padding: 14px;
}
.dmt-contact-box h3 {
    color: #001f5c;
    font-weight: 700;
    margin-bottom: 10px;
}
.dmt-contact-box p, .dmt-contact-box a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.7;
}
.dmt-contact-box a:hover {
    color: #cc0000;
}
.dmt-map-section {
    margin-top: 50px;
}

/* =========================================
   İç Sayfa: Markalarımız
========================================= */
.dmt-brands-section {
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.dmt-brands-desc {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 50px;
}
.dmt-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}
.dmt-brand-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.3s;
}
.dmt-brand-card:hover {
    border-color: #cc0000;
    box-shadow: 0 8px 20px rgba(204,0,0,0.1);
    transform: translateY(-5px);
}
.dmt-brand-letter {
    width: 60px;
    height: 60px;
    background: #cc0000;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}
.dmt-brand-name {
    color: #001f5c;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}
.dmt-brand-cat {
    color: #888;
    font-size: 13px;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .dmt-hero-title { font-size: 30px; }
    .dmt-corporate-inner { flex-direction: column; }
    .dmt-corporate-boxes { grid-template-columns: 1fr; }
    .dmt-footer-container { flex-direction: column; }
    .dmt-contact-boxes { flex-direction: column; }
    .dmt-product-detail { flex-direction: column; }
}

/* =========================================
   Marka Logo Görseli (Panelden Logo Yüklenince)
========================================= */
.dmt-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin-bottom: 15px;
}
.dmt-brand-logo img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s;
}
.dmt-brand-card:hover .dmt-brand-logo img {
    filter: grayscale(0%);
}

/* =========================================
   Boş Durum Bildirimi (Empty Notice)
========================================= */
.dmt-empty-notice {
    text-align: center;
    padding: 80px 30px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 2px dashed #ddd;
    max-width: 600px;
    margin: 0 auto 40px;
}
.dmt-empty-icon {
    font-size: 50px;
    margin-bottom: 20px;
}
.dmt-empty-notice h3 {
    color: #001f5c;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.dmt-empty-notice p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}



