/* ==========================================================================
   GENEL AYARLAR VE GÜVENLİK KİLİTLERİ
   ========================================================================== */
html, body { overflow-x: hidden !important; width: 100% !important; max-width: 100vw !important; margin: 0; padding: 0; }
img, iframe, video { max-width: 100% !important; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: #f8f9fa; color: #2d3436; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; padding-top: 80px; }

:root { --tabela-antrasit: #1e272e; --tabela-mavi: #00adc8; --logo-kirmizi: #ee262c; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f2f6; }
::-webkit-scrollbar-thumb { background: var(--tabela-antrasit); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--tabela-mavi); }
::selection { background-color: var(--tabela-mavi); color: white; }

@keyframes asilGiris { 0% { opacity: 0; transform: translateY(25px); } 100% { opacity: 1; transform: translateY(0); } }

/* ÜST MENÜ VE LOGO */
header { background-color: var(--tabela-antrasit); box-shadow: 0 4px 15px rgba(0,0,0,0.2); position: fixed !important; top: 0; left: 0; width: 100%; z-index: 9999; padding: 10px 0; transition: transform 0.4s cubic-bezier(0.3, 1, 0.2, 1); }
.navbar { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo-container { display: flex !important; align-items: center !important; gap: 15px !important; text-decoration: none !important; }
.logo-img { height: 60px !important; width: auto !important; margin: 0 !important; padding: 0 !important; display: block !important; }
.logo-text { display: flex !important; flex-direction: column !important; justify-content: center !important; text-align: left !important; }
.logo-text .yalcin { font-size: 34px !important; font-weight: 900 !important; color: var(--tabela-mavi) !important; line-height: 0.9 !important; letter-spacing: 1.5px !important; text-transform: uppercase !important; }
.logo-text .aluminyum { font-size: 14.5px !important; font-weight: 800 !important; color: #ffffff !important; line-height: 1 !important; margin-top: 4px !important; margin-left: 2.7px !important; letter-spacing: 5.4px !important; text-transform: uppercase !important; }
.nav-links { display: flex; list-style: none !important; gap: 30px; margin: 0; padding: 0; align-items: center; }
.nav-links li { list-style: none !important; }
.nav-links a { text-decoration: none; color: #dcdde1; font-weight: 600; font-size: 14.5px; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--tabela-mavi); }

/* HERO ALANI VE KUTULAR (ANA SAYFA) */
@keyframes gradientHareket { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero { background: linear-gradient(135deg, #1e272e 0%, #2c3e50 50%, #0052cc 100%); background-size: 200% 200%; animation: gradientHareket 12s ease infinite; height: 60vh; display: flex; justify-content: center; align-items: center; text-align: center; color: #fff; padding: 0 20px; box-shadow: inset 0 0 100px rgba(0,0,0,0.5); }
.hero-content { animation: asilGiris 0.8s ease-out forwards; }
.hero-content h1 { font-size: 46px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; word-wrap: break-word; }
.hero-content p { font-size: 20px; margin-bottom: 30px; color: #b2bec3; font-weight: 400; }
.btn-kirmizi { background-color: var(--logo-kirmizi); color: #fff; padding: 14px 35px; text-decoration: none; font-size: 16px; font-weight: 600; border-radius: 30px; transition: 0.3s; display: inline-block; box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3); }
.btn-kirmizi:hover { background-color: #cc0000; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4); }

.container { max-width: 1200px; margin: 40px auto 60px; padding: 0 20px; flex: 1; width: 100%; }
.grid-3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; width: 100%; }
.box { flex: 1 1 320px; max-width: 380px; background: #ffffff; padding: 45px 30px; border-radius: 4px; text-align: center; border: 1px solid #e1e5ee; box-shadow: 0 2px 4px rgba(0,0,0,0.02); transition: all 0.4s ease; animation: asilGiris 0.8s ease-out forwards; opacity: 0; position: relative; overflow: hidden; }
.box:nth-child(1) { animation-delay: 0.1s; } .box:nth-child(2) { animation-delay: 0.3s; } .box:nth-child(3) { animation-delay: 0.5s; }
.box:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 82, 204, 0.08); border-color: var(--tabela-mavi); }
.box h3 { color: var(--tabela-antrasit); margin-bottom: 15px; font-size: 20px; font-weight: 700; letter-spacing: -0.5px; position: relative; z-index: 2; }
.box p { color: #636e72; font-size: 15px; line-height: 1.7; position: relative; z-index: 2; }

.odeme-uyarisi { background-color: #fff0f0; border-left: 5px solid var(--logo-kirmizi); padding: 20px; margin: 30px auto 50px; max-width: 800px; text-align: center; font-weight: 600; color: #d63031; border-radius: 4px; font-size: 15px; border: 1px solid rgba(214, 48, 49, 0.2); animation: asilGiris 0.8s ease-out forwards; }

/* ÜRÜNLER SAYFASI: AKORDEON MENÜ */
.accordion-info-box { background: var(--tabela-antrasit); color: #fff; padding: 35px; border-radius: 4px; text-align: center; margin-bottom: 50px; border-bottom: 4px solid var(--tabela-mavi); animation: asilGiris 0.8s ease-out forwards; }
.accordion-info-box h3 { color: var(--tabela-mavi); margin-bottom: 15px; font-size: 26px; } 
.accordion-info-box p { color: #dcdde1; font-size: 17px; font-weight: 500; line-height: 1.7; }
.accordion-container { display: flex; flex-direction: column; gap: 20px; margin-bottom: 70px; animation: asilGiris 0.8s ease-out forwards; }
details { background: #fff; border: 1px solid #e1e5ee; border-radius: 4px; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
details[open] { border-color: var(--tabela-mavi); box-shadow: 0 10px 25px rgba(0, 173, 200, 0.1); }
summary { padding: 24px 30px; font-size: 22px; font-weight: 800; color: var(--tabela-antrasit); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; } 
summary::after { content: '+'; font-size: 34px; font-weight: 400; color: var(--tabela-mavi); transition: transform 0.3s ease; }
details[open] summary::after { content: '-'; transform: rotate(180deg); color: var(--logo-kirmizi); }
.accordion-content { padding: 0 30px 30px; color: #4b5558; font-size: 18px; line-height: 1.8; border-top: 1px solid #f1f2f6; margin-top: 5px; padding-top: 25px; }

/* İLETİŞİM SAYFASI VE HARİTA */
.iletisim-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; width: 100%; }
.iletisim-bilgileri { background: #ffffff; padding: 40px 30px; border-radius: 4px; border: 1px solid #e1e5ee; box-shadow: 0 2px 4px rgba(0,0,0,0.02); animation: asilGiris 0.8s ease-out forwards; }
.iletisim-bilgileri h3 { color: var(--tabela-antrasit); margin-bottom: 25px; font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.iletisim-bilgileri p { color: #636e72; font-size: 15px; margin-bottom: 20px; font-weight: 500; word-wrap: break-word; }
.iletisim-bilgileri a { color: var(--tabela-mavi); font-weight: 700; text-decoration: none; transition: 0.3s; }
.iletisim-bilgileri a:hover { color: var(--logo-kirmizi); text-decoration: underline; }
.harita-alani { animation: asilGiris 0.8s ease-out 0.3s forwards; opacity: 0; width: 100%; overflow: hidden; border-radius: 4px; }
.harita-alani iframe { width: 100% !important; height: 100%; min-height: 400px; border: 0; box-shadow: none; display: block; }

/* WHATSAPP BUTONU (ESNEK VE İKONLU) */
.whatsapp-sabit { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; padding: 0 24px; height: 60px; width: max-content; border-radius: 30px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); z-index: 9999; transition: 0.3s; font-size: 15px; }
.whatsapp-sabit:hover { transform: translateY(-3px) scale(1.05); background-color: #20ba5a; }
.whatsapp-sabit svg { width: 22px; height: 22px; fill: currentColor; }

/* ÇÖZÜM ORTAKLARIMIZ VE SLIDER */
.cozum-ortaklari { text-align: center; margin-top: 30px; margin-bottom: 40px; padding: 50px 0; background: #fff; border-radius: 4px; border: 1px solid #e1e5ee; position: relative; animation: asilGiris 0.8s ease-out forwards; width: 100%; overflow: hidden; }
.cozum-ortaklari h2 { color: var(--tabela-antrasit); margin-bottom: 35px; font-size: 32px; font-weight: 800; }
.slider-wrapper { position: relative; max-width: 100%; display: flex; align-items: center; padding: 0 45px; }
.slider { overflow-x: auto; white-space: nowrap; width: 100%; position: relative; scrollbar-width: none; -ms-overflow-style: none; }
.slider::-webkit-scrollbar { display: none; }
.slider-track { display: inline-flex; align-items: center; gap: 10px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--tabela-antrasit); color: #fff; border: 2px solid var(--tabela-mavi); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; z-index: 10; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.15); user-select: none; }
.slider-btn:hover { background: var(--tabela-mavi); color: #fff; transform: translateY(-50%) scale(1.1); }
.prev-btn { left: 8px; } .next-btn { right: 8px; }
.slider-track img { height: 65px; margin: 0 35px; vertical-align: middle; filter: grayscale(100%); opacity: 0.6; transition: all 0.4s ease; object-fit: contain; }
.slider-track img[alt="Saray Alüminyum"] { height: 135px; }
.slider-track img[alt="Asaş Alüminyum"] { height: 175px; margin: 0 15px; }
.slider-track img[alt="Asistal Alüminyum"] { height: 175px; }
.slider-track img[alt="Giesse Aksesuar"], .slider-track img[alt="Siegenia Aksesuar"] { height: 83px; }
.slider-track img[alt="Wacker Kimya"] { height: 155px; } 
.slider-track img[alt="Kale Kilit"] { height: 55px; }  
.slider-track img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* FOOTER */
footer { background-color: var(--tabela-antrasit); padding: 70px 0; position: relative; overflow: hidden; width: 100%; margin-top: auto; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-left { display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.footer-slogan { color: #ffffff; font-size: 26px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-copy { color: #8a97a0; font-size: 13px; }
.footer-bg-logo { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 240px; height: auto; opacity: 0.05; z-index: 1; filter: grayscale(100%); cursor: pointer; transition: all 0.5s ease; }
.footer-bg-logo:hover { opacity: 0.9; filter: grayscale(0%); transform: translateY(-50%) scale(1.1); }
footer img, .footer img, footer .logo-img, .footer .logo-img { width: 250px !important; height: auto !important; display: inline-block !important; transform: translateY(-133px) !important; margin: 0 !important; padding: 0 !important; }

/* LOGO LİNKLERİ İÇİN EZİLME ÖNLEYİCİ KALKAN */
.slider-track a { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; text-decoration: none; }

/* TR | EN DİL DEĞİŞTİRME BUTONU (YENİ VE KUSURSUZ) */
.lang-item { display: flex; align-items: center; margin-left: 15px; }
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.lang-toggle:hover { border-color: var(--tabela-mavi); background: rgba(255, 255, 255, 0.1); }
.lang-toggle .flag { width: 18px; height: auto; border-radius: 2px; }
.lang-toggle .active-flag { opacity: 1; }
.lang-toggle .inactive-flag { opacity: 0.4; filter: grayscale(100%); transition: 0.3s; }
.lang-toggle:hover .inactive-flag { opacity: 0.8; filter: grayscale(0%); }
.lang-toggle span { font-size: 13px; font-weight: 600; }
.lang-toggle .active-text { color: #fff; }
.lang-toggle .inactive-text { color: #8a97a0; transition: 0.3s; }
.lang-toggle:hover .inactive-text { color: #fff; }
.lang-toggle .divider { color: #636e72; font-weight: 400; margin: 0 4px; }

/* MOBİL AKILLI DÜZENLEME (BOŞLUK SIFIRLANDI VE DİL BUTONU KÖŞEYE UFAK SABİTLENDİ) */
@media (max-width: 768px) {
    body { padding-top: 110px; } 
    .navbar { flex-direction: column; gap: 12px; padding: 12px 10px; text-align: center; position: relative; }
    
    .logo-container { justify-content: center; margin-bottom: 0; gap: 10px !important; }
    .logo-img { height: 48px !important; width: auto !important; }
    .logo-text .yalcin { font-size: 26px !important; letter-spacing: 1px !important; line-height: 0.9 !important; }
    .logo-text .aluminyum { font-size: 11.5px !important; letter-spacing: 3.8px !important; margin-top: 3px !important; margin-left: 1px !important; line-height: 1 !important; }
    .nav-links { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .nav-links a { font-size: 13px; letter-spacing: 0; padding: 5px; }

    .lang-item { position: absolute; top: 6px; right: 8px; margin: 0; width: auto; }
    .lang-toggle { padding: 3px 6px; gap: 3px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.1); }
    .lang-toggle .flag { width: 12px; }
    .lang-toggle span { font-size: 9px; }
    .lang-toggle .divider { margin: 0 2px; }

    h1 { font-size: 26px !important; margin-bottom: 20px !important; }
    .container { margin: 45px auto 60px; padding: 0 15px; }
    .hero { height: auto; padding: 50px 20px 60px; margin-top: 0; }
    .hero-content h1 { font-size: 26px; }
    .grid-3 { grid-template-columns: 1fr; gap: 20px; }
    
    .accordion-info-box { padding: 20px 15px; margin-bottom: 30px; }
    .accordion-info-box h3 { font-size: 20px; }
    .accordion-info-box p { font-size: 14px; }
    summary { padding: 15px; font-size: 16px; }
    summary::after { font-size: 24px; }
    .accordion-content { padding: 0 15px 20px; font-size: 14px; }
    
    .iletisim-grid { grid-template-columns: 1fr; gap: 25px; }
    .harita-alani iframe { min-height: 300px; }
    
    .cozum-ortaklari { padding: 30px 0; margin-top: 10px; }
    .cozum-ortaklari h2 { font-size: 22px; margin-bottom: 25px; }
    .slider-track img { height: 40px !important; margin: 0 15px !important; }
    .slider-track img[alt="Saray Alüminyum"] { height: 75px !important; }
    .slider-track img[alt="Asaş Alüminyum"], .slider-track img[alt="Asistal Alüminyum"] { height: 95px !important; margin: 0 10px !important; }
    .slider-track img[alt="Giesse Aksesuar"], .slider-track img[alt="Siegenia Aksesuar"] { height: 50px !important; }
    .slider-track img[alt="Wacker Kimya"] { height: 90px !important; }
    .slider-track img[alt="Kale Kilit"] { height: 35px !important; }

    footer { padding: 40px 0; text-align: center; }
    .footer-container { flex-direction: column; align-items: center; gap: 15px; }
    .footer-slogan { font-size: 18px; letter-spacing: 1px; }
    footer img, .footer img, footer .logo-img, .footer .logo-img { width: 150px !important; transform: translateY(0) !important; margin-top: 20px !important; position: static !important; }
    .footer-bg-logo { display: none !important; } 
    
    .whatsapp-sabit { height: 52px; padding: 0 18px; font-size: 13px; bottom: 20px; right: 20px; gap: 6px; }
    .whatsapp-sabit svg { width: 18px; height: 18px; }
}