/*
Theme Name: Norm Analitik
Theme URI: https://normanalitik.com
Author: Norm Analitik
Description: Norm Analitik için özel geliştirilmiş, kurumsal renk odaklı profesyonel tema.
Version: 1.9
Text Domain: norm
*/

:root {
    --primary-red: #c01522;    
    --corporate-gray: #585556; 
    --white: #ffffff;
    --light-gray: #f4f5f7; 
    --border-color: #e5e7eb;
}

/* =========================================================
   1. TEMEL SIFIRLAMALAR & KAYDIRMA (SCROLL) ÇÖZÜMÜ
   ========================================================= */
html { margin: 0; padding: 0; overflow-x: hidden; }
body { margin: 0; padding: 0; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--corporate-gray); background: var(--white); overflow-x: hidden; }
body.home { height: 100vh; overflow: hidden; }
body:not(.home) { overflow-y: auto; height: auto; min-height: 100vh; display: flex; flex-direction: column; background: var(--light-gray); }
body:not(.home) #main-content { flex-grow: 1; }

/* =========================================================
   2. KUSURSUZ HİZALANMIŞ HEADER VE NAVİGASYON
   ========================================================= */
#site-header { 
    position: fixed; 
    top: 0; left: 0; right: 0; 
    width: 100%; 
    z-index: 1000; 
    background: transparent; 
    transition: all 0.4s ease; 
    /* Header için sabit ve net bir yükseklik belirliyoruz */
    height: 90px; 
}

body.admin-bar #site-header { top: 32px; }

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; /* Her şeyi dikeyde KUSURSUZ ortalar */
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 20px; 
    width: 100%; 
    height: 100%; /* Container header'ın tamamını kaplar */
    box-sizing: border-box; 
    position: relative; 
}

/* Logo: Aşağı sarkan kaba kutu yerine modern, şık bir zemin */
.logo { 
    background: rgba(255, 255, 255, 0.95); 
    padding: 10px 25px; 
    border-radius: 6px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    backdrop-filter: blur(5px);
}

.logo img { 
    max-height: 45px; 
    width: auto; 
    display: block; 
}

/* Navigasyon - Tam Hizalı */
.main-navigation {
    height: 100%;
    display: flex;
    align-items: center;
}

.main-navigation ul.menu { 
    display: flex; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    gap: 35px; /* Menü öğeleri arası daha ferah boşluk */
    height: 100%;
}

.main-navigation ul.menu > li { 
    position: relative; 
    display: flex;
    align-items: center;
    height: 100%; /* Menü öğesi header boyu kadar olur, hover boşluğu kapanır */
}

.main-navigation ul.menu > li > a { 
    text-decoration: none; 
    color: var(--white); 
    font-weight: 700; 
    font-size: 0.95rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    transition: 0.3s; 
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8); 
    display: flex; 
    align-items: center; 
}

.main-navigation ul.menu > li > a:hover { 
    color: var(--primary-red); 
}

.dashicons-arrow-down-alt2 { 
    font-size: 14px; 
    margin-left: 5px; 
    margin-top: 1px; 
}

/* =========================================================
   3. MEGA MENÜ (HİZALAMAYA UYGUN GÜNCELLEME)
   ========================================================= */
.main-navigation ul.menu > li.mega-menu-trigger { position: static; }

.mega-menu-wrapper { 
    position: absolute; 
    top: 100%; /* Header'ın tam bittiği yerden başlar */
    left: 20px; 
    right: 20px; 
    background: var(--white); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(10px); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    border-top: 3px solid var(--primary-red); 
    padding: 40px; 
    box-sizing: border-box; 
    border-radius: 0 0 8px 8px; 
    z-index: 1000; 
}

.mega-menu-trigger:hover .mega-menu-wrapper { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; width: 100%; }
.mega-menu-column { display: flex; flex-direction: column; }

.mega-menu-brand-title { 
    font-size: 1.1rem; 
    font-weight: 800; 
    margin: 0 0 20px 0; 
    padding-bottom: 12px; 
    border-bottom: 2px solid var(--border-color); 
    text-transform: uppercase; 
}

.mega-menu-brand-title a { color: var(--primary-red) !important; text-shadow: none !important; text-decoration: none; }
.mega-menu-products { list-style: none; padding: 0; margin: 0; }
.mega-menu-products li { margin-bottom: 10px; }
.mega-menu-products li a { color: var(--corporate-gray) !important; font-size: 0.95rem !important; text-transform: none !important; font-weight: 500 !important; text-shadow: none !important; transition: all 0.3s ease; display: inline-block; text-decoration: none; }
.mega-menu-products li a:hover { color: var(--primary-red) !important; transform: translateX(5px); }
.mega-menu-products li.view-all { margin-top: 15px; border-top: 1px solid var(--border-color); padding-top: 12px; }
.mega-menu-products li.view-all a { color: var(--primary-red) !important; font-size: 0.9rem !important; font-weight: 700 !important; text-transform: uppercase !important;}

/* =========================================================
   4. SWIPER SLIDER (SOLA YASLI VE OPTİK DİKEY MERKEZ)
   ========================================================= */
.swiper { width: 100%; height: 100vh; }

.swiper-slide { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    box-sizing: border-box;
    padding-top: 90px; /* Header yüksekliği */
}

.slide-overlay { 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}

.slide-content { 
    position: relative; 
    z-index: 2; 
    text-align: left; 
    color: var(--white); 
    width: 100%; 
    max-width: 1400px; 
    padding: 0 20px; 
    /* DÜZELTME: Yazı bloğunu göz kararı tam merkeze indirmek için ekstra aşağı itiyoruz */
    margin-top: 100px; 
}

/* Başlıkların sağa kadar uzamasını engelleyip sol blokta estetik tutuyoruz */
.slide-content h2 { 
    font-size: 4.5rem; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    font-weight: 800; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); 
    line-height: 1.1;
    max-width: 800px; 
}

/* Açıklama metnini sol blokta tutuyoruz */
.slide-content p, .slide-content .slide-excerpt { 
    font-size: 1.2rem; 
    line-height: 1.6; 
    margin-bottom: 40px; 
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5); 
    max-width: 650px; 
}

.btn-detay { 
    display: inline-block; 
    background: var(--primary-red); 
    color: var(--white) !important; 
    padding: 15px 40px; 
    text-decoration: none; 
    border-radius: 3px; 
    font-weight: bold; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(192, 21, 34, 0.4); 
}

.btn-detay:hover { 
    background: var(--corporate-gray); 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(88, 85, 86, 0.4); 
}

.swiper-pagination-bullet { background: var(--white) !important; opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--primary-red) !important; opacity: 1; }

/* =========================================================
   5. DAİRESEL MENÜ (TAM EKRAN 7 SÜTUN / 2 SATIR)
   ========================================================= */
.discovery-slide { padding-top: 100px; padding-bottom: 60px; height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; }
.discovery-content-wrapper { width: 100%; max-width: 1400px; margin: 0 auto; max-height: 100%; overflow-y: auto; padding: 20px; text-align: center; scrollbar-width: thin; scrollbar-color: var(--primary-red) transparent; }
.discovery-content-wrapper::-webkit-scrollbar { width: 6px; }
.discovery-content-wrapper::-webkit-scrollbar-thumb { background-color: var(--primary-red); border-radius: 10px; }
.section-title { margin-bottom: 40px; font-size: 2.5rem; color: var(--corporate-gray); font-weight: 800; text-shadow: none; }

/* PROFESYONEL TAM GENİŞLİK 7 KOLONLU IZGARA */
.discovery-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 30px 20px; width: 100%; justify-items: center; align-items: start; }

.discovery-item { text-decoration: none; width: 100%; text-align: center; }
.circle-image { width: 120px; height: 120px; border-radius: 50%; background: var(--white); margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--border-color); overflow: hidden; transition: all 0.4s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.discovery-item:hover .circle-image { transform: scale(1.1); border-color: var(--primary-red); box-shadow: 0 10px 25px rgba(192,21,34,0.2); }
.circle-image img { width: 100%; height: 100%; object-fit: cover; }
.discovery-item span { display: block; font-size: 0.95rem; color: var(--corporate-gray); font-weight: 700; margin-top: 10px; transition: 0.3s; text-shadow: none; line-height: 1.3; }
.discovery-item:hover span { color: var(--primary-red); }

/* =========================================================
   6. PREMIUM VE ZARİF FOOTER
   ========================================================= */
#site-footer { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    width: 100%; 
    z-index: 1000; 
    background: rgba(45, 45, 45, 0.95); /* Daha koyu, daha premium bir gri */
    backdrop-filter: blur(10px); 
    border-top: 3px solid var(--primary-red); 
    padding: 20px 0; /* Daha ferah boşluk */
}

body:not(.home) #site-footer { 
    position: relative; 
    background: #2d2d2d; 
    border-top: 3px solid var(--primary-red); 
    margin-top: 60px; 
}

.footer-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 20px; 
    font-size: 0.9rem; 
    color: #ccc; 
}

.footer-left p { 
    margin: 0; 
    font-weight: 400; 
    letter-spacing: 0.5px; 
}

.footer-right { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.footer-right a { 
    color: #fff; 
    text-decoration: none; 
    transition: 0.3s; 
    font-weight: 600; 
    letter-spacing: 0.5px;
}

.footer-right a:hover { 
    color: var(--primary-red); 
}

.separator { color: rgba(255,255,255,0.2); }

/* =========================================================
   7. İÇ SAYFALAR (HEADER BEYAZ TASARIM)
   ========================================================= */
body:not(.home) #site-header { background: var(--white); border-bottom: 1px solid var(--border-color); box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
body:not(.home) .main-navigation ul.menu > li > a { color: var(--corporate-gray); text-shadow: none; }
body:not(.home) .main-navigation ul.menu > li > a:hover { color: var(--primary-red); }
.container-1400 { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* =========================================================
   8. ÜRÜN DETAY MİMARİSİ
   ========================================================= */
.single-product-page { padding-bottom: 80px; }
.product-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.norm-breadcrumb { padding: 0 0 20px 0; font-size: 0.85rem; color: #888; font-weight: 500; }
.norm-breadcrumb a { color: var(--primary-red); text-decoration: none; transition: 0.3s; }
.norm-breadcrumb a:hover { text-decoration: underline; color: var(--corporate-gray); }
.norm-breadcrumb .sep { margin: 0 8px; color: #ccc; }
.norm-breadcrumb .current { color: var(--corporate-gray); font-weight: 600; }

.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: var(--white); padding: 50px; border-radius: 12px; box-shadow: 0 5px 30px rgba(0,0,0,0.04); margin-bottom: 40px; border: 1px solid var(--border-color); }
.product-brand-tag a { display: inline-block; background: rgba(192, 21, 34, 0.08); color: var(--primary-red); padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-decoration: none; text-transform: uppercase; margin-bottom: 20px; border: 1px solid rgba(192, 21, 34, 0.2); }
.product-title { font-size: 2.8rem; color: var(--corporate-gray); margin: 0 0 25px 0; font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }
.product-excerpt { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 40px; }
.product-actions { display: flex; gap: 15px; }

.btn-primary { background: var(--primary-red); color: var(--white); padding: 16px 35px; text-decoration: none; font-weight: 700; border-radius: 6px; text-transform: uppercase; transition: all 0.3s ease; border: none; cursor: pointer; box-shadow: 0 4px 15px rgba(192, 21, 34, 0.3); }
.btn-primary:hover { background: var(--corporate-gray); box-shadow: 0 6px 20px rgba(88, 85, 86, 0.3); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--corporate-gray); border: 2px solid var(--border-color); padding: 14px 30px; text-decoration: none; font-weight: 700; border-radius: 6px; text-transform: uppercase; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; }
.btn-outline:hover { background: var(--light-gray); border-color: var(--corporate-gray); color: var(--corporate-gray); }

.product-data-section { background: var(--white); border-radius: 12px; box-shadow: 0 5px 30px rgba(0,0,0,0.04); overflow: hidden; border: 1px solid var(--border-color); }
.product-tabs { display: flex; background: var(--light-gray); border-bottom: 1px solid var(--border-color); }
.tab-btn { background: transparent; border: none; outline: none; padding: 20px 40px; font-size: 1.1rem; font-weight: 700; color: var(--corporate-gray); cursor: pointer; border-bottom: 3px solid transparent; }
.tab-btn:hover { color: var(--primary-red); }
.tab-btn.active { color: var(--primary-red); border-bottom-color: var(--primary-red); background: var(--white); }
.tab-content { padding: 50px; animation: fadeEffect 0.5s; }
@keyframes fadeEffect { from {opacity: 0;} to {opacity: 1;} }

.technical-specs-table ul { list-style: none; padding: 0; margin: 0; }
.technical-specs-table ul li { padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 1.05rem; color: #555; display: flex; align-items: center; }
.technical-specs-table ul li:before { content: "\f147"; font-family: "dashicons"; margin-right: 10px; color: var(--primary-red); font-size: 18px; }
.technical-specs-table ul li:last-child { border-bottom: none; }

/* =========================================================
   9. TEMSİLCİLİK VE KATEGORİ VİTRİNİ MİMARİSİ
   ========================================================= */
.archive-header { background: var(--white); border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.brand-showcase-row { display: grid; grid-template-columns: 1fr 2.5fr; gap: 40px; background: var(--white); border-radius: 12px; box-shadow: 0 5px 30px rgba(0,0,0,0.03); margin-bottom: 50px; padding: 40px; border: 1px solid var(--border-color); }
.brand-info-col { border-right: 1px solid var(--border-color); padding-right: 30px; }
.brand-logo-box { height: 80px; margin-bottom: 20px; display: flex; align-items: center; justify-content: flex-start; }
.brand-logo-box img { max-height: 100%; max-width: 200px; object-fit: contain; }
.brand-info-col h2 { font-size: 1.8rem; color: var(--corporate-gray); margin-bottom: 15px; }
.brand-info-col h2 a { color: inherit; text-decoration: none; transition: 0.3s; }
.brand-info-col h2 a:hover { color: var(--primary-red); }
.brand-info-col p { line-height: 1.6; color: #666; font-size: 0.95rem; }

.mini-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; height: 100%; align-items: stretch; }
.mini-product-card { background: var(--light-gray); border-radius: 8px; padding: 15px; text-align: center; transition: 0.3s; border: 1px solid transparent; }
.mini-product-card:hover { background: var(--white); border-color: var(--primary-red); box-shadow: 0 5px 15px rgba(0,0,0,0.05); transform: translateY(-5px); }
.mini-product-card a { text-decoration: none; color: var(--corporate-gray); }
.mini-img-wrapper { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; background: var(--white); border-radius: 6px; padding: 10px; }
.mini-img-wrapper img { max-height: 100%; max-width: 100%; object-fit: contain; transition: 0.3s; }
.mini-product-card:hover .mini-img-wrapper img { transform: scale(1.1); }
.mini-product-card h4 { font-size: 0.9rem; font-weight: 600; margin: 0; line-height: 1.4; }

.gallery-img-box { height: 400px; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--white); border-radius: 8px; border: 1px solid var(--border-color); }
.gallery-img-box img { max-height: 100%; max-width: 100%; object-fit: contain; }
.productMainGallery .swiper-button-next:after, .productMainGallery .swiper-button-prev:after { font-size: 20px; font-weight: bold; }
.productMainGallery .swiper-button-next, .productMainGallery .swiper-button-prev { background: rgba(255,255,255,0.8); width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.brand-hero { background-size: cover; background-position: center; color: var(--white); text-align: center; padding: 80px 20px; margin-bottom: 60px; }
.brand-hero-container { max-width: 800px; margin: 0 auto; }
.brand-title { font-size: 3.5rem; font-weight: 800; margin: 0 0 20px 0; text-transform: uppercase; letter-spacing: 2px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.brand-description { font-size: 1.2rem; line-height: 1.8; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; color: var(--corporate-gray); font-weight: 800; margin: 0 0 15px 0; }
.section-header h2 span { color: var(--primary-red); }
.header-line { width: 80px; height: 4px; background: var(--primary-red); margin: 0 auto; border-radius: 2px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; margin-bottom: 80px; }
.product-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; display: flex; flex-direction: column; border: 1px solid var(--border-color); }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--primary-red); }
.product-card-img { height: 220px; background: var(--white); display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--border-color); }
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; box-sizing: border-box; transition: transform 0.3s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.placeholder-img { opacity: 0.1; width: 60% !important; padding: 0 !important; }
.product-card-body { padding: 25px; flex-grow: 1; }
.product-card-body h3 { margin: 0 0 15px 0; font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.product-card-body h3 a { color: var(--corporate-gray); text-decoration: none; transition: 0.3s; }
.product-card-body h3 a:hover { color: var(--primary-red); }
.product-card-body p { color: #777; font-size: 0.95rem; line-height: 1.6; margin: 0; }
.product-card-footer { padding: 20px 25px; background: #fafafa; border-top: 1px solid var(--border-color); }
.btn-card { display: inline-block; color: var(--primary-red); font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.btn-card:hover { color: var(--corporate-gray); transform: translateX(5px); }

/* =========================================================
   10. KURUMSAL (SAYFALAR) VE İLETİŞİM ŞABLONLARI
   ========================================================= */
.page-hero { background-size: cover; background-position: center; color: var(--white); text-align: center; padding: 60px 20px; margin-bottom: 50px; }
.page-hero-container { max-width: 800px; margin: 0 auto; }
.page-title { font-size: 3rem; font-weight: 800; margin: 0; text-transform: uppercase; letter-spacing: 1px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.page-content-section { padding-bottom: 80px; }
.corporate-content { max-width: 900px; margin: 0 auto; padding: 40px; background: var(--white); border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.corporate-content p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 20px; }
.corporate-content h2, .corporate-content h3 { color: var(--corporate-gray); font-weight: 700; margin-top: 30px; margin-bottom: 15px; }

.contact-section { padding-bottom: 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info-col h3, .contact-form-col h3 { font-size: 1.8rem; color: var(--corporate-gray); margin: 0 0 20px 0; font-weight: 800; border-bottom: 2px solid var(--primary-red); padding-bottom: 10px; display: inline-block; }
.contact-intro { font-size: 1.05rem; line-height: 1.6; color: #666; margin-bottom: 30px; }
.info-box { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; background: var(--white); padding: 20px; border-radius: 6px; box-shadow: 0 3px 10px rgba(0,0,0,0.03); border-left: 3px solid var(--primary-red); border: 1px solid var(--border-color); }
.info-box .dashicons { font-size: 24px; color: var(--primary-red); width: 24px; height: 24px; }
.info-box div { display: flex; flex-direction: column; }
.info-box strong { font-size: 0.95rem; color: var(--corporate-gray); margin-bottom: 5px; text-transform: uppercase; }
.info-box span, .info-box a { font-size: 1.05rem; color: #555; text-decoration: none; transition: 0.3s; }
.info-box a:hover { color: var(--primary-red); }
.form-wrapper { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 15px; font-family: inherit; font-size: 1rem; transition: 0.3s; box-sizing: border-box; }
.wpcf7 input[type="text"]:focus, .wpcf7 input[type="email"]:focus, .wpcf7 textarea:focus { border-color: var(--primary-red); outline: none; }
.wpcf7 input[type="submit"] { background: var(--primary-red); color: var(--white); padding: 15px 30px; border: none; border-radius: 4px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s; width: 100%; }
.wpcf7 input[type="submit"]:hover { background: var(--corporate-gray); }

/* =========================================================
   11. BİLGİ BANKASI (BLOG) VE MAKALE MİMARİSİ
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 40px; margin-bottom: 60px; }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: all 0.3s ease; border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--primary-red); }
.blog-card-img { height: 220px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.85rem; color: #888; margin-bottom: 15px; display: flex; gap: 15px; align-items: center; }
.blog-meta i { font-size: 16px; color: var(--primary-red); }
.blog-meta a { color: #888; text-decoration: none; }
.blog-meta a:hover { color: var(--primary-red); }
.blog-card-body h3 { font-size: 1.4rem; font-weight: 800; margin: 0 0 15px 0; line-height: 1.4; }
.blog-card-body h3 a { color: var(--corporate-gray); text-decoration: none; transition: 0.3s; }
.blog-card-body h3 a:hover { color: var(--primary-red); }
.blog-card-body p { color: #666; line-height: 1.7; margin-bottom: 25px; font-size: 0.95rem; }
.btn-read-more { margin-top: auto; display: inline-block; color: var(--primary-red); font-weight: 700; text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.btn-read-more:hover { color: var(--corporate-gray); transform: translateX(5px); }

.norm-pagination { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.norm-pagination a, .norm-pagination span { display: inline-block; padding: 10px 18px; background: var(--white); border: 1px solid var(--border-color); border-radius: 6px; color: var(--corporate-gray); font-weight: 600; text-decoration: none; transition: 0.3s; }
.norm-pagination a:hover { border-color: var(--primary-red); color: var(--primary-red); }
.norm-pagination span.current { background: var(--primary-red); color: var(--white); border-color: var(--primary-red); }

.post-layout-grid { display: grid; grid-template-columns: 2.5fr 1fr; gap: 50px; align-items: start; margin-bottom: 80px; }
.post-content-col { background: var(--white); padding: 50px; border-radius: 12px; box-shadow: 0 5px 30px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.post-hero-image { margin: -50px -50px 40px -50px; border-radius: 12px 12px 0 0; overflow: hidden; height: 400px; }
.post-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.post-title { font-size: 2.5rem; font-weight: 800; color: var(--corporate-gray); margin: 0 0 20px 0; line-height: 1.3; }
.post-meta-bar { display: flex; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 30px; font-size: 0.95rem; color: #888; }
.post-meta-bar i { color: var(--primary-red); }

.post-sidebar-col { position: sticky; top: 120px; }
.sidebar-widget { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-color); border-top: 4px solid var(--primary-red); margin-bottom: 30px; }
.sidebar-widget h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 15px 0; color: var(--corporate-gray); }
.sidebar-widget p { font-size: 0.95rem; line-height: 1.6; color: #666; margin-bottom: 20px; }

/* =========================================================
   12. PROFESYONEL İLETİŞİM FORMU (CF7) TASARIMI
   ========================================================= */
.norm-contact-form { width: 100%; }
.norm-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.norm-contact-form .form-group { margin-bottom: 25px; }
.norm-contact-form label { display: block; font-weight: 700; color: var(--corporate-gray); margin-bottom: 8px; font-size: 0.95rem; }

.norm-contact-form input[type="text"], .norm-contact-form input[type="email"], .norm-contact-form input[type="tel"], .norm-contact-form textarea { width: 100%; padding: 16px 20px; border: 1px solid var(--border-color); border-radius: 6px; background-color: #fbfbfb; font-family: inherit; font-size: 1rem; color: #444; transition: all 0.3s ease; box-sizing: border-box; }
.norm-contact-form input:focus, .norm-contact-form textarea:focus { border-color: var(--primary-red); background-color: var(--white); outline: none; box-shadow: 0 0 0 4px rgba(192, 21, 34, 0.1); }
.norm-contact-form textarea { resize: vertical; min-height: 120px; }

.norm-contact-form .kvkk-box { font-size: 0.9rem; color: #666; display: flex; align-items: center; gap: 10px; }
.norm-contact-form .kvkk-box a { color: var(--primary-red); text-decoration: none; font-weight: 600; }
.norm-contact-form .kvkk-box a:hover { text-decoration: underline; }
.norm-contact-form .wpcf7-list-item { margin: 0; }

.norm-contact-form input[type="submit"] { background: var(--primary-red); color: var(--white); padding: 18px 40px; border: none; border-radius: 6px; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; width: 100%; box-shadow: 0 4px 15px rgba(192, 21, 34, 0.3); }
.norm-contact-form input[type="submit"]:hover { background: var(--corporate-gray); box-shadow: 0 6px 20px rgba(88, 85, 86, 0.3); transform: translateY(-2px); }

.wpcf7 form .wpcf7-response-output { border-radius: 6px; padding: 15px 20px; margin-top: 20px; font-weight: 600; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { border-color: #ffb900; color: #8a6d3b; background: #fcf8e3; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #46b450; color: #2b542c; background: #dff0d8; }

/* =========================================================
   13. PREMIUM HAKKIMIZDA SAYFASI MİMARİSİ
   ========================================================= */
.premium-about-page { background-color: var(--white); }
.about-hero { background-color: var(--corporate-gray); background-size: cover; background-position: center; padding: 100px 20px; text-align: center; }
.hero-content-wrapper { max-width: 800px; margin: 0 auto; }
.hero-subtitle { display: inline-block; color: var(--primary-red); font-weight: 800; font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px; }
.hero-title { font-size: 3.5rem; color: var(--white); font-weight: 800; margin: 0 0 20px 0; letter-spacing: -1px; }
.hero-desc { font-size: 1.2rem; color: #ccc; line-height: 1.6; margin: 0; }

.about-story-section { padding: 120px 0; background-color: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.story-image-col .image-wrapper { position: relative; padding-right: 40px; padding-bottom: 40px; }
.story-image-col .image-wrapper::before { content: ''; position: absolute; bottom: 0; right: 0; width: 80%; height: 80%; background-color: var(--light-gray); border-radius: 12px; z-index: 0; }
.story-image-col img, .placeholder-image { position: relative; z-index: 1; width: 100%; height: auto; min-height: 500px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); object-fit: cover; }
.placeholder-image { background-color: var(--corporate-gray); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.1); font-size: 2rem; font-weight: 800; }
.experience-badge { position: absolute; bottom: 60px; left: -30px; background: var(--primary-red); color: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 15px 30px rgba(192, 21, 34, 0.3); z-index: 2; display: flex; align-items: center; gap: 15px; }
.experience-badge .year { font-size: 3rem; font-weight: 800; line-height: 1; }
.experience-badge .text { font-size: 1rem; font-weight: 600; line-height: 1.4; text-transform: uppercase; }

.section-pretitle { display: block; color: var(--primary-red); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; font-size: 0.9rem; }
.section-maintitle { font-size: 2.8rem; color: var(--corporate-gray); font-weight: 800; line-height: 1.2; margin-bottom: 30px; letter-spacing: -1px; }

.about-values-section { padding: 0 0 120px 0; background-color: var(--white); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.value-card { background: var(--white); padding: 60px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); border: 1px solid var(--border-color); transition: transform 0.3s ease; position: relative; overflow: hidden; }
.value-card:hover { transform: translateY(-5px); border-color: var(--primary-red); }
.value-icon { width: 60px; height: 60px; background: rgba(192, 21, 34, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.value-icon i { font-size: 30px; color: var(--primary-red); }
.value-card h3 { font-size: 1.6rem; color: var(--corporate-gray); font-weight: 800; margin-bottom: 20px; }
.value-card p { color: #666; line-height: 1.8; font-size: 1.05rem; margin: 0; }

.about-why-us { background-color: var(--corporate-gray); padding: 100px 0; }
.why-us-header { text-align: center; margin-bottom: 70px; }
.why-us-header h2 { font-size: 2.8rem; color: var(--white); font-weight: 800; margin-bottom: 15px; }
.why-us-header h2 span { color: var(--primary-red); }
.why-us-header p { color: #aaa; font-size: 1.15rem; }
.why-us-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-card { text-align: center; padding: 40px 30px; background: rgba(255,255,255,0.03); border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.why-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(192, 21, 34, 0.3); }
.why-card i { font-size: 40px; color: var(--primary-red); margin-bottom: 25px; width: 40px; height: 40px; }
.why-card h4 { font-size: 1.3rem; color: var(--white); margin-bottom: 15px; font-weight: 700; }
.why-card p { color: #bbb; line-height: 1.7; margin: 0; font-size: 0.95rem; }

/* =========================================================
   14. KESİN ÇÖZÜM: HEADER VE İÇ SAYFA BİRLEŞTİRME
   ========================================================= */
body:not(.home) .page-spacing { padding-top: 82px !important; margin-bottom: 0 !important; height: auto !important; min-height: 0 !important; border: none !important; }
body.admin-bar:not(.home) .page-spacing { padding-top: 114px !important; }
body:not(.home) #main-content, body:not(.home) .product-container, body:not(.home) .container-1400 { margin-top: 0 !important; padding-top: 0 !important; }
body:not(.home) .norm-breadcrumb { margin-top: 0 !important; padding-top: 15px !important; padding-bottom: 15px !important; display: block !important; width: 100%; }
body:not(.home) .archive-header { margin-top: 0 !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; border-top: none !important; }

/* =========================================================
   15. PROFESYONEL MOBİL MENÜ MİMARİSİ & RESPONSIVE
   ========================================================= */
/* Menü Butonu (X Animasyonlu CSS Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2005; 
    position: relative;
}
/* Menü İkonu Çizgileri */
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white); /* ANA SAYFADA BEYAZ */
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* İÇ SAYFALARDA (Beyaz Header) İKONU KOYU GRİ YAPAR */
body:not(.home) .mobile-menu-toggle span {
    background-color: var(--corporate-gray);
}

/* X Animasyonunda Kırmızı Renk */
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); background-color: var(--primary-red) !important; }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); background-color: var(--primary-red) !important; }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); background-color: var(--primary-red); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); background-color: var(--primary-red); }

/* Arka Plan Karartması (Blur Overlay) */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
    z-index: 1005; opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

/* TABLET VE TELEFON EKRANLARI (992px ve altı) */
@media (max-width: 992px) {
    .mobile-menu-toggle { display: flex; }
    
    /* Sağdan Kayarak Gelen Menü (Off-Canvas Sidebar) */
    .main-navigation {
        position: fixed; top: 0; right: -350px; width: 320px; height: 100vh;
        background: var(--white); box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        z-index: 2000; overflow-y: auto; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
        padding-top: 100px; display: block; border-top: none;
    }
    .main-navigation.active { right: 0; }
    
    .main-navigation ul.menu { padding: 0 20px 40px 20px; display: flex; flex-direction: column; gap: 12px; height: auto; }
    .main-navigation ul.menu > li { width: 100%; height: auto; display: block; }
    
    .main-navigation ul.menu > li > a {
        padding: 16px 20px; background: var(--light-gray); border-radius: 8px;
        color: var(--corporate-gray); font-weight: 700; font-size: 1.05rem;
        display: flex; justify-content: space-between; align-items: center; text-shadow: none; border: none;
    }
    .main-navigation ul.menu > li > a:hover,
    .main-navigation ul.menu > li > a:active { background: rgba(192, 21, 34, 0.1); color: var(--primary-red); }

    /* Mobilde Temsilcilikler Akordeon İçeriği */
    .mega-menu-wrapper {
        position: static; display: none; padding: 15px; background: transparent;
        box-shadow: none; border: none; transform: none; opacity: 1; visibility: visible; margin-top: 5px;
    }
    .main-navigation ul.menu > li.open .mega-menu-wrapper { display: block; animation: fadeInDown 0.4s ease forwards; }
    
    @keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    
    .mega-menu-grid { grid-template-columns: 1fr; gap: 30px; }
    .mega-menu-brand-title { font-size: 1.15rem; border-bottom: 2px solid rgba(192, 21, 34, 0.2); padding-bottom: 10px; margin-bottom: 15px; }
    .mega-menu-products li a { padding: 10px 15px; font-size: 0.95rem !important; background: transparent !important; color: #555 !important; width: 100%; }
    .mega-menu-products li a:hover { background: rgba(192, 21, 34, 0.05) !important; color: var(--primary-red) !important; padding-left: 22px; }

    .slide-content { margin-top: 50px; }
    .slide-content h2 { font-size: 3rem; }
    
    /* Gridleri 1 Kolona Düşürme (Temel) */
    .product-hero-grid, .brand-showcase-row, .post-layout-grid, .contact-grid, .story-grid, .values-grid, .why-us-grid, .norm-contact-form .form-row { 
        grid-template-columns: 1fr !important; gap: 30px !important; 
    }
    
    .brand-info-col { border-right: none; border-bottom: 1px solid var(--border-color); padding-right: 0; padding-bottom: 30px; }
    .post-sidebar-col { position: relative; top: 0; }
    
    .discovery-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
}

/* =========================================================
   15. PROFESYONEL MOBİL MENÜ MİMARİSİ (APP-LIKE SIDEBAR)
   ========================================================= */

/* Menü Butonu Animasyonu (X İşareti) CSS Tabanlı */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2005; 
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white); /* Ana sayfada beyaz */
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* İç Sayfalarda (Beyaz Header) İkon Koyu Gri Olur */
body:not(.home) .mobile-menu-toggle span { background-color: var(--corporate-gray); }

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); background-color: var(--primary-red) !important; }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); background-color: var(--primary-red) !important; }

/* Arka Plan Karartması (Blur Overlay) */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   TABLET VE TELEFON EKRANLARI (992px ve altı)
   ========================================================= */
@media (max-width: 992px) {
    .mobile-menu-toggle { display: flex; }
    
    /* DÜZELTME 1: Sağdan Kayarak Gelen Menü Kesilme Sorunu Çözümü */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -320px; 
        width: 320px;
        height: 100%; /* 100vh hatasını düzeltir */
        height: -webkit-fill-available; /* iOS Safari için hayati düzeltme */
        background: var(--white);
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        z-index: 1010;
        overflow-y: auto; /* Kaydırma çubuğunu aktifleştirir */
        -webkit-overflow-scrolling: touch; /* Mobilde pürüzsüz kaydırma sağlar */
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
        padding-top: 100px; 
        border-top: none;
    }
    
    .main-navigation.active { right: 0; }
    
    /* Menü Altında Ekstra Boşluk (En alttaki markaların görünmesi için) */
    .main-navigation ul.menu {
        padding: 0 20px 150px 20px !important; /* Alt kısmı 150px boş bırakarak kesilmeyi engeller */
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .main-navigation ul.menu > li { width: 100%; height: auto; display: block; }
    
    .main-navigation ul.menu > li > a {
        padding: 16px 20px;
        background: var(--light-gray);
        border-radius: 8px;
        color: var(--corporate-gray);
        font-weight: 700;
        font-size: 1.05rem;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: 0.3s;
        text-shadow: none;
    }

    .main-navigation ul.menu > li > a:hover,
    .main-navigation ul.menu > li > a:active {
        background: rgba(192, 21, 34, 0.1);
        color: var(--primary-red);
    }

    /* Mobilde Temsilcilikler Akordeon İçeriği */
    .mega-menu-wrapper {
        position: static;
        display: none; 
        padding: 15px;
        background: transparent;
        box-shadow: none;
        border: none;
        margin-top: 5px;
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul.menu > li.open .mega-menu-wrapper {
        display: block;
        animation: fadeInDown 0.4s ease forwards;
    }

    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .mega-menu-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .mega-menu-brand-title {
        font-size: 1.15rem;
        border-bottom: 2px solid rgba(192, 21, 34, 0.2);
        padding-bottom: 10px;
        margin-bottom: 15px;
    }
    
    .mega-menu-products li a {
        padding: 10px 15px;
        font-size: 0.95rem !important;
        background: transparent !important;
        border-radius: 6px;
        color: #555 !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mega-menu-products li a:hover {
        background: rgba(192, 21, 34, 0.05) !important;
        color: var(--primary-red) !important;
        padding-left: 22px; 
    }

    .slide-content { margin-top: 50px; }
    .slide-content h2 { font-size: 3rem; }
    .discovery-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
    .circle-image { width: 90px; height: 90px; }
    
    .product-hero-grid, .brand-showcase-row, .post-layout-grid, .contact-grid, .story-grid, .values-grid, .why-us-grid { grid-template-columns: 1fr; gap: 40px; }
    .brand-info-col { border-right: none; border-bottom: 1px solid var(--border-color); padding-right: 0; padding-bottom: 30px; }
    .post-sidebar-col { position: relative; top: 0; }
    .norm-contact-form .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   TELEFON EKRANLARI (768px ve altı)
   ========================================================= */
@media (max-width: 768px) {
    /* SLIDER SAĞA (ÜRÜNLERE) ODAKLANSIN */
    /* SLIDER BOŞLUK KAPATMA VE SAĞA ODAKLANMA */
    .swiper { 
        height: 100vh !important; /* Boşluğu tamamen kapatıp footer'a sıfırlar */
    }
    .swiper-slide { 
        background-position: 80% center !important; /* Sağdaki ürünlere odaklanmaya devam eder */
        padding-bottom: 70px; /* İnce footer'ın slider yazılarını örtmesini engeller */
    }
    .slide-content { 
        margin-top: 100px; 
        background: rgba(0,0,0,0.45); 
        padding: 25px; 
        border-radius: 12px; 
        max-width: 92%; 
        backdrop-filter: blur(2px);
    }
    .slide-content h2 { font-size: 2.2rem; }
    
    .discovery-grid { grid-template-columns: repeat(2, 1fr); }
    .circle-image { width: 100px; height: 100px; }
    .section-title { font-size: 2rem; margin-bottom: 20px; }
    
    .story-image-col .image-wrapper { padding-right: 0; padding-bottom: 0; }
    .story-image-col .image-wrapper::before { display: none; }
    .experience-badge { left: 50%; transform: translateX(-50%); bottom: -30px; width: 80%; justify-content: center; padding: 15px !important; }
    .mini-product-grid { grid-template-columns: 1fr; }
    
    .page-title, .hero-title, .brand-title { font-size: 2.2rem; }
    .product-title { font-size: 2rem; }
    .product-hero-grid, .brand-showcase-row, .post-content-col, .story-text-col, .value-card, .form-wrapper { padding: 25px; }
    .gallery-img-box { height: 250px; }
    
    /* DÜZELTME 2: Footer Mobilde Zarif ve İnce Formata Alındı */
    #site-footer {
        padding: 10px 0 !important; /* Dış boşluk iyice kısıldı */
    }
    .footer-container { 
        flex-direction: column; 
        text-align: center; 
        gap: 5px !important; /* Elemanlar arası boşluk sıfırlandı */
    }
    .footer-left p {
        margin-bottom: 2px !important;
        font-size: 0.8rem;
        line-height: 1.2;
    }
    .footer-left p:last-child {
        margin-top: 0 !important;
    }
    .footer-right { 
        justify-content: center; 
        margin-top: 5px;
    }
    .footer-right a {
        font-size: 0.85rem;
    }
}
/* =========================================================
   18. PREMIUM TEKLİF MODAL TASARIMI (GÜNCELLENMİŞ: AKILLI YÜKSEKLİK)
   ========================================================= */
.norm-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    display: none; /* Varsayılan kapalı */
    align-items: center;
    justify-content: center;
    padding: 20px; /* Ekran kenarlarından güvenli boşluk */
}

.norm-modal.active { display: flex; }

.modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(45, 45, 45, 0.7); /* Corporate Gray tonu */
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: var(--white);
    width: 100%;
    max-width: 600px;
    /* DÜZELTME: Ekrana sığması için maksimum yükseklik sınırı */
    max-height: 90vh; 
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    z-index: 10;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* İçeriği dikey diz ve sığmayanı kaydır */
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}

.norm-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Başlık Kısmı Sabit Kalsın */
.modal-header { 
    text-align: center; 
    padding: 40px 40px 20px 40px; 
    flex-shrink: 0; /* Küçülmesini engelle */
}

/* DÜZELTME: Formun olduğu orta alan sığmazsa kaydırılsın */
.modal-body {
    padding: 0 40px 40px 40px;
    overflow-y: auto; /* Dikey kaydırma çubuğu */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) var(--light-gray);
}

/* Kaydırma çubuğu tasarımı (Chrome/Safari) */
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: var(--light-gray); }
.modal-body::-webkit-scrollbar-thumb { background: var(--primary-red); border-radius: 10px; }

.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: var(--light-gray);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--corporate-gray);
    cursor: pointer;
    z-index: 20;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--primary-red); color: var(--white); transform: rotate(90deg); }

.modal-subtitle { display: block; color: var(--primary-red); font-weight: 800; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.modal-title { font-size: 1.6rem; color: var(--corporate-gray); margin-bottom: 10px; font-weight: 800; }
.selected-product { font-size: 1rem; color: #666; font-weight: 700; padding: 8px 15px; background: var(--light-gray); border-radius: 6px; display: inline-block; }

/* Mobilde Daha Derli Toplu Görünüm */
@media (max-width: 768px) {
    .norm-modal { padding: 10px; }
    .modal-content { max-height: 95vh; border-radius: 15px; }
    .modal-header { padding: 30px 20px 15px 20px; }
    .modal-body { padding: 0 20px 30px 20px; }
    .modal-title { font-size: 1.3rem; }
}
/* =========================================================
   19. PREMIUM ÜRÜN GALERİSİ (ANA GÖRSEL + THUMBNAILS)
   ========================================================= */
.product-gallery-wrapper {
    width: 100%;
    overflow: hidden; /* Yanlara taşmayı KESİN engeller */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Ana Büyük Görsel Alanı */
.productMainGallery {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    /* 2048x2048 devasa kare görseller için en sağlıklı oran */
    aspect-ratio: 1 / 1; 
    max-height: 600px; /* Çok büyük ekranlarda aşırı uzamayı sınırlar */
}

.productMainGallery .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 20px;
    box-sizing: border-box;
}

.productMainGallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 2048px görseli kırpmadan, tam olarak alana sığdırır */
}

/* Ok Tasarımları (Premium His) */
.productMainGallery .swiper-button-next,
.productMainGallery .swiper-button-prev {
    color: var(--corporate-gray);
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.productMainGallery .swiper-button-next:hover,
.productMainGallery .swiper-button-prev:hover {
    background: var(--primary-red);
    color: var(--white);
}
.productMainGallery .swiper-button-next::after,
.productMainGallery .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Alt Küçük Görseller (Thumbnails) */
.productThumbsGallery {
    width: 100%;
    height: 100px;
    padding: 5px 0;
    box-sizing: border-box;
}

.productThumbsGallery .swiper-slide {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 5px;
    opacity: 0.5; /* Seçili olmayanlar hafif soluk durur */
    transition: all 0.3s ease;
}

.productThumbsGallery .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary-red); /* Tıklanan küçük resmin çerçevesi kırmızı olur */
}

.productThumbsGallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* -------------------------------- 16062026 Rev ------------------------------- */

/* =========================================================
   20. TEMSİLCİLİK LOGOLARI (MEGA MENÜ & SAYFA)
   ========================================================= */

/* --- Mega Menü İçi Logo Tasarımı --- */
.mega-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mega-brand-logo {
    width: 45px;
    height: 35px;
    object-fit: contain; /* Logoyu kırpmadan kutuya sığdırır */
    background: #f9f9f9;
    border-radius: 6px;
    padding: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mega-brand-link:hover .mega-brand-logo {
    background: var(--white);
    border-color: var(--primary-red);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.mega-brand-link span {
    color: var(--corporate-gray);
    font-weight: 600;
    transition: 0.3s;
}

.mega-brand-link:hover span {
    color: var(--primary-red);
}

/* --- Temsilcilikler Sayfası (Grid) Logo Tasarımı --- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.brand-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brand-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--primary-red);
    transform: translateY(-8px);
}

.brand-card-logo {
    width: 140px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: opacity 0.3s;
}

.brand-card-title {
    font-size: 1.15rem;
    color: var(--corporate-gray);
    font-weight: 800;
    margin: 0;
}
/* =========================================================
   TEMSİLCİLİK LOGOLARI - KESİN BOYUTLANDIRMA SIFIRLAMA
   ========================================================= */

/* Mega menüdeki link yapısını flex olarak kilitliyoruz */
#site-header .mega-menu-grid .mega-menu-column h3.mega-menu-brand-title a.mega-brand-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    width: 100% !important;
    padding: 4px 0 !important;
}

/* Logoların büyümesini kesin olarak engelleyen kurşun geçirmez kod */
#site-header .mega-menu-grid .mega-menu-column h3.mega-menu-brand-title a.mega-brand-link img.mega-brand-logo {
    width: 45px !important;
    height: 35px !important;
    max-width: 45px !important;
    max-height: 35px !important;
    min-width: 45px !important;
    min-height: 35px !important;
    object-fit: contain !important; /* Logoyu ezmeden kutuya sığdırır */
    background: #ffffff !important;
    border-radius: 6px !important;
    padding: 4px !important;
    border: 1px solid #e5e7eb !important;
    margin: 0 !important;
    display: inline-block !important;
    flex-shrink: 0 !important; /* Yanındaki yazı sıkıştırırsa logonun küçülmesini engeller */
    transition: all 0.3s ease !important;
}

/* Yazı stilini temadan bağımsız hizalayalım */
#site-header .mega-menu-grid .mega-menu-column h3.mega-menu-brand-title a.mega-brand-link span {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--corporate-gray) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* Hover (Üzerine gelme) Etkisi */
#site-header .mega-menu-grid .mega-menu-column h3.mega-menu-brand-title a.mega-brand-link:hover img.mega-brand-logo {
    border-color: var(--primary-red) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
}

#site-header .mega-menu-grid .mega-menu-column h3.mega-menu-brand-title a.mega-brand-link:hover span {
    color: var(--primary-red) !important;
}

/* =========================================================
   MEGA MENÜ KATMAN VE GÜVENLİK SINIRI GÜNCELLEMESİ
   ========================================================= */

/* 1. Header'ı ve Menüyü Sayfadaki Her Şeyin (Footer Dahil) En Üstüne Çıkarıyoruz */
#site-header {
    z-index: 99999 !important; /* Temanın z-index değerlerini ezer */
}

#site-header .main-navigation {
    z-index: 99999 !important;
}

/* 2. Mega Menü Kapsayıcısını Yeniden Yapılandırıyoruz */
#site-header .mega-menu-wrapper {
    z-index: 100000 !important; /* En üst katman garantisi */
    
    /* Ekranın altından daha fazla pay bırakıyoruz (120px yerine 160px yaptık) */
    max-height: calc(100vh - 160px) !important; 
    overflow-y: auto !important; /* Taşarsa içeride scroll başlar */
    
    /* En alttaki elemanların rahatça görünmesi için ekstra nefes alma boşluğu */
    padding-bottom: 60px !important; 
}

/* Sayfa kısa bile olsa gridin altının kesilmesini önleyelim */
#site-header .mega-menu-grid {
    padding-bottom: 30px !important;
}

/* Kaydırma çubuğunu biraz daha belirginleştirerek kullanıcı deneyimini artıralım */
#site-header .mega-menu-wrapper::-webkit-scrollbar {
    width: 6px !important;
}

#site-header .mega-menu-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}

#site-header .mega-menu-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-red, #ff0000) !important;
    border-radius: 10px !important;
}

/* =========================================================
   MEGA MENÜ TAŞMA VE GÖRÜNÜRLÜK DÜZELTMESİ
   ========================================================= */

/* Dış kapsayıcıyı ekran boyutuna göre limitleyip taşan kısmı erişilebilir yapıyoruz */
#site-header .mega-menu-wrapper {
    max-height: calc(100vh - 120px) !important; /* Header yüksekliğini düşerek menüyü ekrana sığdırır */
    overflow-y: auto !important; /* Eğer içerik ekrandan taşarsa dikey kaydırma çubuğu çıkarır */
    padding-bottom: 40px !important; /* En alttaki ürünlerin alt çizgiden kopması ve rahat görünmesi için boşluk */
}

/* Sayfa içindeki grid yapısının alt boşluğunu sağlama alalım */
#site-header .mega-menu-grid {
    padding-bottom: 20px !important;
}

/* Profesyonel Görünüm: Standart kaba scrollbar yerine ince ve kurumsal bir kaydırma çubuğu */
#site-header .mega-menu-wrapper::-webkit-scrollbar {
    width: 6px !important;
}

#site-header .mega-menu-wrapper::-webkit-scrollbar-track {
    background: #f8fafc !important; 
    border-radius: 0 0 8px 0;
}

#site-header .mega-menu-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-red, #ff0000) !important; /* Sitenin kurumsal kırmızısı */
    border-radius: 10px !important;
}

#site-header .mega-menu-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--corporate-gray, #333) !important;
}

/* Mega Menü Kategori Satırları */
.mega-cat-item a {
    font-weight: 600 !important;
    color: #4b5563 !important; /* Bir tık daha koyu ve belirgin yazı */
    display: flex !important;
    align-items: center !important;
}
.mega-cat-item a:hover {
    color: var(--primary-red) !important;
}
/* =========================================================================
   TEMSİLCİLİK LOGOLARINI KIRPILMAKTAN KURTARAN KESİN ÇÖZÜM
   ========================================================================= */

/* 1. İhtimal: Eğer tema logoları ARKA PLAN RESMİ (background-image) olarak basıyorsa */
.kare-kutu-sinifi {
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    min-height: 55px !important;
    background-size: contain !important;       /* SİHİRLİ KOD: Resmi kırpma, kutunun içine sığdır */
    background-repeat: no-repeat !important;   /* Resmin çoklamasını engelle */
    background-position: center !important;    /* Logoyu kutunun içinde tam ortala */
    background-color: #ffffff !important;      /* Arkasını temiz beyaz yap */
    border: 1px solid #e4e4e4 !important;      /* Kaybolan gri çerçeveyi geri getir */
    border-radius: 6px !important;             /* Köşeleri hafifçe yuvarla */
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 12px !important;
    box-sizing: border-box !important;
}

/* 2. İhtimal: Eğer tema logoları NORMAL RESMİ (img etiketi) olarak basıyorsa */
.kare-kutu-sinifi img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;            /* SİHİRLİ KOD: Resmi kırpma, kutunun içine sığdır */
    padding: 4px !important;                   /* Çerçeveye sıfıra sıfır yapışıp çirkin durmasın */
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 auto !important;
}