/* ===== OPUS custom overrides ===== */

/* Footer (logo/slogan brand row + 3 aligned columns) */
.footer-area .footer-logo-foot img { max-width: 190px; margin-bottom: 10px; }
.footer-area .footer-tagline { color: #8f8f8f; font-size: 13px; margin: 0; letter-spacing: .3px; }
/* Footer social icons (logo column, header style) */
.footer-area .footer-social { list-style: none; padding: 0; margin: 22px 0 0; display: flex; align-items: center; flex-wrap: wrap; }
.footer-area .footer-social li { margin: 0 10px 0 0; }
.footer-area .footer-social li a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); color: #bdbdbd; font-size: 15px; transition: all .3s ease; }
.footer-area .footer-social li a:hover { background: #B89C7A; color: #1E1E1E; }
.footer-area .footer-social .opus-x-icon-sm { width: 13px; height: 13px; fill: currentColor; vertical-align: middle; }
.footer-area .footer-cols .single-footer-widget { padding-top: 0; }
.footer-area .footer-brand-col { padding-top: 4px; }
@media (max-width: 991px) { .footer-area .footer-brand-col { margin-bottom: 35px; } }
.opus-social a .opus-x-icon { width: 17px; height: 17px; fill: #B89C7A; vertical-align: middle; }

.opus-foot-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 26px;
    position: relative;
    padding-bottom: 12px;
}
.opus-foot-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 46px; height: 2px;
    background: #B89C7A;
}

.opus-contact { list-style: none; padding: 0; margin: 0; }
.opus-contact li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    color: #9a9a9a;
    font-size: 15px;
    line-height: 1.7;
}
.opus-contact li i { position: absolute; left: 0; top: 4px; color: #B89C7A; font-size: 16px; }
.opus-contact li a { color: inherit; transition: color .3s ease; }
.opus-contact li.mail a { color: #B89C7A; }
.opus-contact li.phone { color: #ffffff; font-size: 17px; margin-bottom: 8px; }
.opus-contact li a:hover { color: #B89C7A; }

.opus-quick { list-style: none; padding: 0; margin: 0; }
.opus-quick li { margin-bottom: 14px; }
.opus-quick li a { color: #bdbdbd; font-size: 15px; transition: all .3s ease; }
.opus-quick li a:hover { color: #B89C7A; padding-left: 6px; }

.opus-social { list-style: none; padding: 0; margin: 0; }
.opus-social li { margin-bottom: 14px; }
.opus-social li a { color: #bdbdbd; font-size: 15px; display: inline-flex; align-items: center; gap: 12px; transition: color .3s ease; }
.opus-social li a i { width: 22px; text-align: center; color: #B89C7A; font-size: 17px; }
.opus-social li a:hover { color: #B89C7A; }

.footer-bottom-area .copyright-text p a { color: #B89C7A; }

/* Top bar — single line: slogan + mail (left), follow + social + lang (right) */
.top-bar-area .top-left-content .top-info { margin: 0; color: #cfcfcf; font-size: 14px; white-space: nowrap; }
.top-bar-area .top-left-content .top-slogan { margin-right: 30px; }
.top-bar-area .top-left-content .top-mail i { margin-right: 7px; }
.top-bar-area .top-left-content .top-mail a { color: #B89C7A; }
.top-bar-area .top-left-content .top-mail a:hover { color: #ffffff; }

/* keep left & right on ONE line */
.top-bar-area .top-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; }
.top-bar-area .top-bar .top-left-content, .top-bar-area .top-bar .top-right-content { float: none; }

/* right side: follow + icons + lang on one line, spaced */
.top-bar-area .top-right-content { max-width: none; width: auto; display: flex; align-items: center; gap: 36px; }
.top-bar-area .top-right-content .top-social-box { float: none; width: auto; overflow: visible; display: flex; align-items: center; }
.top-bar-area .top-right-content .language-switcher { float: none; flex: 0 0 auto; }
.top-bar-area .top-social-box .follow-label { color: #cfcfcf; font-size: 14px; margin-right: 16px; white-space: nowrap; }
.top-bar-area .top-social-box .social-links { display: flex; align-items: center; flex-wrap: nowrap; float: none; margin: 0; overflow: visible; }
.top-bar-area .top-social-box .social-links li { float: none; margin-right: 15px; }
.top-bar-area .top-social-box .social-links li:last-child { margin-right: 0; }
.top-bar-area .top-social-box .social-links .opus-x-icon-sm { width: 12px; height: 12px; fill: #ffffff; vertical-align: middle; }
.top-bar-area .top-social-box .social-links li a:hover .opus-x-icon-sm { fill: #B89C7A; }

/* Language switcher — selected box gold, dropdown gold hover */
.top-bar-area .language-switcher { background: #B89C7A; border-color: #B89C7A; }
.top-bar-area .language-switcher #polyglotLanguageSwitcher a.current { color: #1E1E1E; }
.top-bar-area .language-switcher #polyglotLanguageSwitcher a.current:link,
.top-bar-area .language-switcher #polyglotLanguageSwitcher a.current:visited { color: #1E1E1E; }
.top-bar-area .language-switcher #polyglotLanguageSwitcher span.trigger:before { color: #1E1E1E; }
#polyglotLanguageSwitcher ul.dropdown li:hover { background: #B89C7A; }
#polyglotLanguageSwitcher ul.dropdown li:hover a { color: #1E1E1E; }
/* Dropdown: selectbox gibi — GENİŞLİK kutuyla aynı, kutuya YAPIŞIK (üstteki boşluk yok), sol/sağ hizalı.
   .language-switcher: width120 + padding 10px + border 1px → dropdown'ı left/right:-11px ile kutunun dış kenarına yay. */
#polyglotLanguageSwitcher ul.dropdown {
    top: 34px !important;          /* kutunun hemen altı — boşluk kaldırıldı (eski 43px) */
    left: -11px !important;
    right: -11px !important;
    width: auto !important;
    min-width: 0 !important;
}
#polyglotLanguageSwitcher ul.dropdown li { width: auto !important; padding: 7px 12px !important; }
/* Bayrak: net göster (21×14) — cache'lenmiş boş görünüme karşı garanti */
#polyglotLanguageSwitcher a { background-size: 21px 14px !important; padding-left: 30px; }

/* Header right — only "Teklif Al" CTA; vertically centered on the menu line.
   (override Brighton's .header-right margin:25px/width:260px/overflow:hidden) */
.header-area .header-right {
    display: flex; align-items: center; justify-content: flex-end;
    height: 99px; margin: 0; width: auto; overflow: visible;
}
.header-area .header-right .opus-quote-btn {
    display: inline-block; white-space: nowrap;
    background: #1E1E1E; color: #B89C7A;         /* idle: black bg, gold text */
    font-weight: 700; font-size: 15px; letter-spacing: .3px;
    padding: 13px 34px; border-radius: 3px;
    border: 2px solid #1E1E1E;
    transition: all .3s ease;
}
.header-area .header-right .opus-quote-btn:hover { background: #B89C7A; color: #1E1E1E; border-color: #B89C7A; } /* hover: reverse */
/* sticky (scrolled) header shrinks logo padding 27→19px (≈83px tall); keep button centered, kill Brighton's margin:17px */
.header-area.stricky-fixed .header-right { height: 83px; margin: 0; }
.header-area.stricky-fixed .header-right .opus-quote-btn { padding: 10px 30px; }

/* ===== Ana sayfa 3'lü kutu (home-cta-opus modülü) — SIFIRDAN, CSS Grid ===== */
.module-html:has(.opus-cta) { margin: 0 !important; }           /* modül sarmalayıcı marjını sıfırla */
.opus-cta { position: relative; z-index: 5; }
.opus-cta .opus-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -70px;                                          /* banner'a bindir */
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,.14);
}
.opus-cta-card {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 36px 40px;
    background: #fff;
    border-right: 1px solid #eee;
    overflow: hidden;
    z-index: 1;
}
.opus-cta-card:last-child { border-right: none; }
/* hover'da soldan sağa AKAN altın dolgu (pürüzsüz, tek geçiş) */
.opus-cta-card::before {
    content: "";
    position: absolute; inset: 0;
    background: #B89C7A;
    transform: translateX(-101%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    z-index: -1;
}
.opus-cta-card:hover::before { transform: translateX(0); }
/* ok-dairenin arkasındaki altın halka */
.opus-cta-card::after {
    content: "";
    position: absolute; z-index: 1;
    right: 26px; top: 50%; transform: translateY(-50%);
    width: 80px; height: 80px; border-radius: 50%;
    background: rgb(197 197 197 / 47%);
    transition: background .35s ease;
}
.opus-cta-body { position: relative; z-index: 3; }
.opus-cta-card h3 {
    margin: 0 0 10px; font-size: 22px; font-weight: 700; line-height: 1.2;
    color: #1E1E1E; transition: color .35s ease;
}
.opus-cta-card span {
    display: block; font-size: 15px; line-height: 1.45;
    color: #B89C7A; transition: color .35s ease;
}
.opus-cta-card:hover h3 { color: #ffffff; }                     /* altın dolgu üstünde beyaz metin */
.opus-cta-card:hover span { color: #ffffff; }
/* SİYAH yuvarlak + ok ikonu (sağda) */
.opus-cta-card .opus-cta-go {
    position: relative; z-index: 3; flex: 0 0 auto;
    width: 52px; height: 52px; border-radius: 50%;
    background: #1E1E1E; color: #B89C7A;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .35s ease, color .35s ease, transform .35s ease;
}
.opus-cta-card:hover .opus-cta-go { color: #ffffff; }
@media (max-width: 991px) { .opus-cta .opus-cta-grid { margin-top: -40px; } .opus-cta-card { padding: 28px 26px; gap: 12px; } .opus-cta-card .opus-cta-go { width: 46px; height: 46px; } }
@media (max-width: 767px) {
    .opus-cta .opus-cta-grid { grid-template-columns: 1fr; margin-top: -30px; }
    .opus-cta-card { border-right: none; border-bottom: 1px solid #eee; }
    .opus-cta-card:last-child { border-bottom: none; }
}

/* ===== Scroll-to-top: ikonu tam ortala (aşağı kaçmasın) ===== */
.scroll-to-top { display: none; align-items: center; justify-content: center; /* line-height: 1; */ }
.scroll-to-top span { line-height: 1; }

/* ===== İletişim formu: şık alert + captcha ===== */
.opus-alert {
    display: none; align-items: flex-start; gap: 12px;
    padding: 16px 20px; border-radius: 6px; margin-bottom: 26px;
    font-size: 15px; font-weight: 500; line-height: 1.5;
    border: 1px solid transparent; animation: opusAlertIn .35s ease;
}
.opus-alert .opus-alert-icon { flex: 0 0 auto; font-size: 20px; line-height: 1.4; }
.opus-alert.success { background: #eef7ee; border-color: #cfe8cf; color: #256d2a; }
.opus-alert.success .opus-alert-icon { color: #2e9e43; }
.opus-alert.error   { background: #fdecec; border-color: #f6cccc; color: #b02a2a; }
.opus-alert.error   .opus-alert-icon { color: #d33; }
.opus-alert.info    { background: #f4efe7; border-color: #e6d8c2; color: #6b5836; }
.opus-alert.info    .opus-alert-icon { color: #B89C7A; }
.opus-alert.show { display: flex; }
@keyframes opusAlertIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.opus-captcha { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.opus-captcha .opus-captcha-q {
    background: #1E1E1E; color: #B89C7A; font-weight: 700; font-size: 18px;
    padding: 12px 18px; border-radius: 4px; letter-spacing: 1px; user-select: none; white-space: nowrap;
}
/* captcha cevap kutusu: kenarlıklı temiz kutu, metin dikey ortalı (placeholder yukarı yapışmasın) */
.opus-captcha input {
    max-width: 130px; height: 46px !important; margin: 0 !important;
    border: 1px solid #ddd !important; border-radius: 4px;
    padding: 0 14px !important; color: #1E1E1E; background: #fff; line-height: 46px;
}
.opus-captcha input:focus { border-color: #B89C7A !important; padding: 0 14px !important; }
.opus-captcha .opus-captcha-label { color: #6B6B6B; font-size: 14px; }
/* honeypot — insanlar görmez, botlar doldurur */
.opus-hp { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ===== İletişim sayfası: linkler hover'da MAVİ olmasın — altın kalsın ===== */
.content-body a { color: #B89C7A !important; transition: color .2s ease; }
.content-body a:hover, .content-body a:focus { color: #9C805E !important; }
.contact-info-area a:hover, .contact-info-area a:focus { color: #B89C7A !important; }
.contact-info-box-one .single-item ul li .text-box a:hover { color: #B89C7A !important; }

/* İletişim bilgi kutusu ikonları — ilk metin satırıyla hizalı (tema top:10px fazla aşağıdaydı) */
.contact-info-box-one ul li .icon-box { top: 2px; }
.contact-info-box-one ul li .icon-box span:before { font-size: 20px; line-height: 22px; color: #B89C7A; }

/* Mobile-menü ekstra bloğu (Teklif Al + sosyal medya) — sadece hamburger açıkken (≤991) görünür */
.mobile-menu-extra { display: none; }
@media (max-width: 991px) {
    /* Header sağdaki Teklif Al butonu hamburger göründüğünde gizli — menü içine alındı */
    .header-area .header-right { display: none; }
    .mobile-menu-extra {
        display: block;
        background: #000000;
        margin: 0 0 10px;
        padding: 18px 16px 20px;
        text-align: center;
    }
    .mobile-menu-extra .mobile-quote-btn {
        display: inline-block; white-space: nowrap;
        background: #B89C7A; color: #1E1E1E;
        font-weight: 700; font-size: 15px; letter-spacing: .3px;
        padding: 12px 40px; border-radius: 3px;
        transition: all .3s ease;
    }
    .mobile-menu-extra .mobile-quote-btn:hover { background: #ffffff; color: #1E1E1E; }
    .mobile-menu-extra .mobile-social-links {
        list-style: none; margin: 16px 0 0; padding: 0;
        display: flex; align-items: center; justify-content: center; gap: 10px;
    }
    .mobile-menu-extra .mobile-social-links li { margin: 0; }
    .mobile-menu-extra .mobile-social-links a {
        display: inline-flex; align-items: center; justify-content: center;
        width: 38px; height: 38px; border-radius: 50%;
        background: rgba(255,255,255,.08); color: #ffffff;
        font-size: 16px; transition: background .3s ease, color .3s ease;
    }
    .mobile-menu-extra .mobile-social-links a:hover { background: #B89C7A; color: #1E1E1E; }
    .mobile-menu-extra .mobile-social-links .opus-x-icon-sm { width: 14px; height: 14px; fill: currentColor; vertical-align: middle; }
    /* Dil seçenekleri — menü içinde basit linkler (polyglot widget'ı ID çakışması olmadan) */
    .mobile-menu-extra .mobile-lang-links {
        list-style: none; margin: 0 0 16px; padding: 0;
        display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
    }
    .mobile-menu-extra .mobile-lang-links li { margin: 0; }
    .mobile-menu-extra .mobile-lang-links a {
        display: inline-block; padding: 7px 16px; border-radius: 3px;
        border: 1px solid rgba(255,255,255,.22); color: #e7e7e7;
        font-size: 14px; font-weight: 500; transition: all .3s ease;
    }
    .mobile-menu-extra .mobile-lang-links a.current,
    .mobile-menu-extra .mobile-lang-links a:hover { background: #B89C7A; border-color: #B89C7A; color: #1E1E1E; }
    /* Slogan + e-posta */
    .mobile-menu-extra .mobile-topinfo { margin-top: 18px; text-align: center; line-height: 1.7; }
    .mobile-menu-extra .mobile-slogan { display: block; color: #cfcfcf; font-size: 13px; }
    .mobile-menu-extra .mobile-mail { display: inline-block; margin-top: 4px; color: #B89C7A; font-size: 14px; }
    .mobile-menu-extra .mobile-mail i { margin-right: 6px; }
}

/* ===== Top bar mobilde tamamen kaldırıldı — tüm içeriği hamburger menüye taşındı ===== */
@media (max-width: 767px) {
    .top-bar-area { display: none; }
}

/* ===== Mobil: sektör kartlarındaki dekoratif altın halkanın ok ikonundan kaymasını engelle ===== */
@media (max-width: 991px) {
    /* Dekoratif ::after halka masaüstünde ok ile eşmerkezli; mobilde padding/ok küçüldüğü için kayıyor → gizle */
    .opus-cta-card::after { display: none; }
    /* Banner altındaki karmaşa: CTA grid'in banner'a binmesini kaldır (owl noktalarını kırpıyordu) */
    .opus-cta .opus-cta-grid { margin-top: 0; }
}

/* Banner slider owl noktaları mobilde gizli — CTA ile çakışıp "birden fazla buton" gibi görünüyordu */
@media (max-width: 767px) {
    .banner-hero .owl-dots { display: none !important; }
}

/* ===== Mobil footer düzeni: kolonlar arası mesafe + alttaki fazla boşluk + copyright taşması ===== */
@media (max-width: 767px) {
    .footer-area { padding-top: 50px; padding-bottom: 30px; }
    /* Stack'lenen widget'lar arasına nefes ver (ör. telefonlar ↔ Hızlı Menü) */
    .footer-area .footer-cols > [class*="col-"] { margin-bottom: 34px; }
    .footer-area .footer-cols > [class*="col-"]:last-child { margin-bottom: 0; }
    .footer-area .footer-brand-col { margin-bottom: 34px; }
    /* Copyright: sığsın + scroll-to-top butonunun altında kalmasın */
    .footer-bottom-area { padding: 18px 0 22px; }
    .footer-bottom-area .footer-bottom .copyright-text { padding: 0 12px; }
    .footer-bottom-area .footer-bottom .copyright-text p { font-size: 12.5px; line-height: 22px; }
    /* Scroll-to-top butonunu mobilde küçült — copyright yazısını örtmesin */
    .scroll-to-top { width: 42px; height: 42px; line-height: 40px; font-size: 26px; right: 12px; bottom: 15px; }
}

/* ===== Ana sayfa "Kalite Politikamız" kartları (home-choosing modülü) ===== */
/* İçerik uzunlukları farklı → kartları eşit yükseklik yap, "Devamını Oku" düğmelerini alta sabitle (tema BS3 float row'u flex'e çevrilir, yalnız bu bölüme scope'lu) */
.choosing-area .row { display: flex; flex-wrap: wrap; }
.choosing-area .row > [class*="col-"] { display: flex; margin-bottom: 30px; }
.choosing-area .single-choosing-item { width: 100%; display: flex; flex-direction: column; }
.choosing-area .single-choosing-item .text-holder { display: flex; flex-direction: column; flex: 1 1 auto; }
.choosing-area .single-choosing-item .text-holder a.readmore { margin-top: auto; align-self: flex-start; }
