/* Özel üst menü ayarları (assets/custom-menu.js ile birlikte) */

/* Orijinal menü, özel menü kurulana kadar görünmesin */
.site-header nav.desktop-nav:not([data-custom-menu]),
.site-header .mobile-menu > nav:not([data-custom-menu]) { visibility: hidden; }

/* Ürünler: 11 öğe için biraz daha geniş panel */
.site-header .nav-dropdown[data-menu-index="0"] .rich-dropdown { width: 560px; left: -60px; }
.site-header .nav-dropdown[data-menu-index="1"] .rich-dropdown { width: 500px; left: -180px; }
.site-header .nav-dropdown[data-menu-index="2"] .rich-dropdown,
.site-header .nav-dropdown[data-menu-index="3"] .rich-dropdown { width: 470px; left: auto; right: -40px; }

/* Vurgulu öğe (Telefon ve VoIP) */
.dropdown-grid > a.menu-emphasis > span:nth-child(2) { font-weight: 800; color: var(--orange-deep); }
.mobile-menu nav a.menu-emphasis { font-weight: 800; color: var(--orange-deep); }

/* Sayfası henüz olmayan öğeler */
.dropdown-grid > a.menu-soon { cursor: default; }
.dropdown-grid > a.menu-soon small { color: var(--orange); }
.mobile-menu nav a.menu-soon { cursor: default; }
.mobile-menu nav .menu-soon-tag { margin-left: auto; color: var(--orange); font-size: 12px; font-weight: 700; }

/* Kurumsal tetikleyicisi bir sayfaya gitmez */
.site-header .nav-dropdown-trigger[role="button"] { cursor: default; }

/* Mobil menü: uzun listeler ekrana sığsın */
.site-header .mobile-menu > nav { max-height: calc(100vh - 120px); overflow-y: auto; }

/* Hamburger butonu stili iç başlıklara uygulanmasın */
.site-header .mobile-menu nav details > summary { width: auto; height: auto; border: 0; border-radius: 7px; display: block; cursor: pointer; }

/* ---------- Ürünler: gruplu geniş panel ---------- */
.site-header .header-inner { position: relative; }
.site-header .nav-dropdown.nav-mega { position: static; }
.site-header .nav-mega .mega-panel { top: calc(100% - 10px); left: 50%; width: min(1080px, calc(100vw - 48px)); padding: 16px; display: grid; grid-template-columns: 1fr 260px; gap: 16px; border-radius: 18px; transform: translate(-50%, 8px); }
.site-header .nav-dropdown.nav-mega:hover .mega-panel,
.site-header .nav-dropdown.nav-mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-header .mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; }
.site-header .mega-title { margin: 8px 10px 6px; color: #8b847c; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; font-weight: 800; }
.site-header .mega-panel a.mega-link { display: grid; grid-template-columns: 40px 1fr; align-items: center; justify-content: initial; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); }
.site-header .mega-panel a.mega-link:hover { background: #faf6f1; color: var(--ink); }
.site-header .mega-link .duotone-icon { border-radius: 10px; }
.site-header .mega-link strong { display: block; font-size: 15px; font-weight: 750; line-height: 1.3; }
.site-header .mega-link small { display: block; margin-top: 2px; color: #6f6862; font-size: 13px; font-weight: 500; line-height: 1.4; }
.site-header .mega-link:hover strong { color: var(--orange-deep); }
.site-header .mega-feature { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; border-radius: 14px; background: #15130f; color: #fff; }
.site-header .mega-feature strong { display: block; margin-bottom: 10px; font-size: 18px; font-weight: 800; line-height: 1.3; }
.site-header .mega-feature p { margin: 0; color: #c9c2ba; font-size: 14px; line-height: 1.6; }
.site-header .mega-panel .mega-feature a { display: inline-flex; justify-content: flex-start; gap: 8px; padding: 0; background: none; color: #ffb36b; font-size: 15px; font-weight: 800; }
.site-header .mega-panel .mega-feature a:hover { background: none; color: #fff; }

/* Üstteki duyuru barı kaldırıldı */
.announcement { display: none !important; }

/* Açılır menüler: ikonların arkasındaki gri kutular ve alt açıklamalar kaldırıldı */
.site-header :is(.mega-panel, .dropdown-panel) .duotone-icon { width: 24px !important; height: 24px !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible; }
.site-header :is(.mega-panel, .dropdown-panel) .duotone-icon::before { display: none !important; }
.site-header :is(.mega-panel, .dropdown-panel) small { display: none !important; }
.site-header .mega-panel a.mega-link { grid-template-columns: 24px 1fr; padding: 9px 10px; }
.site-header .dropdown-grid > a { grid-template-columns: 24px 1fr 18px; min-height: 44px; gap: 12px; }

/* Ana sayfa banner'ı: alttaki gri şerit (boşluk + gölge) kaldırıldı, turuncu alan 20px uzatıldı */
.home-hero-shell { margin-bottom: 0 !important; box-shadow: none !important; }
.home-hero-shell .static-sms-hero { padding-bottom: 20px; }

/* En küçük yazı boyutu 12px: boyutu tanımlanmamış <small> etiketleri de 12px'in altına düşmesin */
small { font-size: max(12px, .8em); }

/* İletişim sayfası: banner yok; form solda, harita sağda (görsel kartlarla aynı yuvarlak köşeli şekil) */
main:has(> .contact-map-section) .inner-page-hero-shell .inner-hero { display: none; }
main:has(> .contact-map-section) .inner-page-hero-shell { margin-bottom: 0; }
@media (width > 1020px) {
  main:has(> .contact-map-section) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  main:has(> .contact-map-section) > * { grid-column: 1 / -1; }
  main:has(> .contact-map-section) > .contact-experience { grid-column: 1; grid-row: 2; grid-template-columns: 1fr; gap: 28px; margin: 20px 10px 20px 20px; padding: clamp(36px, 4vw, 56px); }
  main:has(> .contact-map-section) > .contact-map-section { grid-column: 2; grid-row: 2; margin: 20px 20px 20px 10px; }
}
.contact-map-section { position: relative; display: block !important; min-height: 560px; border-radius: 30px; background: #171411; }
.contact-map-section .contact-map-wrap, .contact-map-section .contact-map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
.contact-map-section .contact-map-copy { position: absolute; left: 24px; right: 24px; bottom: 24px; min-height: 0; padding: 22px 24px; border: 1px solid #ffffff1f; border-radius: 22px; background: #171411e6; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.contact-map-section .contact-map-copy h2 { margin: 8px 0 10px; font-size: calc(26px + 2pt); line-height: 1.05; }
.contact-map-section .contact-map-copy h2 br { display: none; }
/* br gizlenince "Bizi" ile "ziyaret" bitisik kaliyordu */
.contact-map-section .contact-map-copy h2 br + em::before { content: " "; }
.contact-map-section .contact-map-copy > p { font-size: calc(11px + 2pt); line-height: 1.6; }
.contact-map-section .contact-map-copy > a { margin-top: 14px; }
@media (width <= 1020px) { .contact-map-section { min-height: 520px; } }

/* Menü öğeleri arası boşluk +3px */
.site-header .mega-panel a.mega-link { padding-top: 10.5px; padding-bottom: 10.5px; }
.site-header .dropdown-grid > a { min-height: 47px; }

/* İletişim kanalı kutuları: içerik kutunun ortasında, alt boşluk yok */
.contact-channel-grid > a, .contact-channel-grid > article { align-items: center; min-height: 150px; padding: 26px 28px; }
.contact-channel-grid strong { margin-top: 10px; }

/* İletişim kanalları 4 sütun + ofis bilgileri kartları */
.contact-channel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-channel-grid strong { overflow-wrap: anywhere; }
.contact-office-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 11px; }
.contact-office { display: flex; align-items: flex-start; gap: 16px; padding: 28px; background: #fff; border: 1px solid #eadfd4; border-radius: 22px; color: #302a26; }
.contact-office > svg { flex: 0 0 44px; width: 44px; height: 44px; padding: 12px; border-radius: 14px; background: #fff0df; color: var(--orange); }
.contact-office-tag { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #fff0df; color: var(--orange-deep); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; font-weight: 800; }
.contact-office h3 { margin: 10px 0 2px; color: var(--ink); letter-spacing: -.03em; font-size: calc(22px + 2pt); font-weight: 800; }
.contact-office p { margin: 6px 0 0; color: #6e655d; font-size: calc(11px + 2pt); line-height: 1.6; }
.contact-office .contact-office-company { margin-top: 0; color: #8b8178; font-style: italic; }
.contact-office dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed #eadccd; }
.contact-office dt { color: #a0958c; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.contact-office dd { margin: 2px 0 0; color: var(--ink); font-size: calc(11px + 2pt); font-weight: 800; }
@media (width <= 1100px) { .contact-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width <= 720px) { .contact-channel-grid, .contact-office-grid { grid-template-columns: 1fr; } .contact-office dl { grid-template-columns: 1fr 1fr; } }

/* İletişim sayfası: banner gizlenince açılır menüler alttaki içeriğin üstünde kalsın */
main:has(> .contact-map-section) .inner-page-hero-shell { position: relative; z-index: 30; overflow: visible; }

/* Tek ofis kartı tam genişlikte */
.contact-office-grid { grid-template-columns: 1fr; }

/* İletişim kanalları: adres kartı solda (içerik ortalı), iletişim kutuları sağda */
@media (width > 1020px) {
  .contact-channel-section:has(> .contact-office-grid) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); column-gap: 11px; align-items: stretch; }
  .contact-channel-section:has(> .contact-office-grid) > header { grid-column: 1 / -1; }
  .contact-channel-section > .contact-office-grid { grid-column: 1; grid-row: 2; margin-top: 0; }
  .contact-channel-section > .contact-channel-grid { grid-column: 2; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.contact-office { height: 100%; flex-direction: column; justify-content: center; align-items: center; gap: 14px; text-align: center; }
.contact-office dl { justify-content: center; }

/* Menu yazilari esit olsun: Kurumsal/Tarifeler/Cozumler acilir listeleri Urunler
   mega menusuyle ayni boyut ve kalinlikta; Giris yap ile Uye ol ayni boyutta. */
.site-header .rich-dropdown .dropdown-grid > a > span:nth-child(2) { font-size: 15px; font-weight: 750; line-height: 1.3; }
.site-header .rich-dropdown .dropdown-grid > a small { margin-top: 2px; color: #6f6862; font-size: 13px; font-weight: 500; line-height: 1.4; }
.site-header .header-actions > a { font-size: 15px; }
