/* =========================================
   SES AYDINLATMA - ANA STİL DOSYASI
   ========================================= */
:root {
    --ses-orange: #f37a1f; 
    --text-dark: #111111;
    --text-muted: #666666;
    --bg-light: #f4f6f9;
    --font-main: 'Montserrat', sans-serif;
    --font-text: 'Outfit', sans-serif;
}

body { 
    font-family: var(--font-text); 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    overflow-x: hidden; 
    margin: 0; 
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-main); font-weight: 600; }
a { text-decoration: none; transition: 0.3s; }
p { line-height: 1.6; }

/* =========================================
   1. PRELOADER & HEADER
   ========================================= */
#preloader { position: fixed; inset: 0; background: #ffffff; z-index: 99999; display: flex; justify-content: center; align-items: center; transition: 0.6s ease; }
#preloader img { width: 160px; animation: pulseLogo 1.5s infinite; }
@keyframes pulseLogo { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); opacity: 0.8; } }
.preloader-hidden { opacity: 0 !important; visibility: hidden !important; }

.header-asir { position: absolute; top: 0; left: 0; width: 100%; z-index: 1000; display: flex; justify-content: space-between; align-items: center; padding: 25px 5vw; color: white; transition: 0.4s; }
.header-asir.scrolled, .header-asir.menu-open { background: rgba(15, 15, 15, 0.98); padding: 15px 5vw; box-shadow: 0 5px 20px rgba(0,0,0,0.5); position: fixed; }
.header-left { display: flex; align-items: center; gap: 30px; flex: 1; }
.menu-trigger { display: flex; align-items: center; gap: 15px; cursor: pointer; color: white; }
.menu-lines { display: flex; flex-direction: column; gap: 6px; }
.menu-lines span { display: block; width: 25px; height: 2px; background: white; transition: 0.3s; }
.menu-text { font-family: var(--font-main); font-weight: 500; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }

.search-box { position: relative; display: flex; align-items: center; }
.search-icon { font-size: 18px; cursor: pointer; transition: 0.3s; color: white; }
.search-icon:hover { color: var(--ses-orange); }
.search-input { width: 0; opacity: 0; border: none; outline: none; background: transparent; color: white; border-bottom: 1px solid rgba(255,255,255,0.5); font-family: var(--font-text); padding: 5px 0; transition: 0.4s; position: absolute; left: 30px; }
.search-box.active .search-input { width: 200px; opacity: 1; padding: 5px 10px; }

.header-center { flex: 1; display: flex; justify-content: center; }
.logo-img { height: 50px; transition: 0.3s; filter: brightness(0) invert(1); }
.header-asir.scrolled .logo-img { filter: brightness(0) invert(1); } 

.header-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.social-icon-header { color: white; font-size: 1.3rem; transition: 0.3s; }
.social-icon-header:hover { color: var(--ses-orange); transform: scale(1.1); }

/* Tam Ekran Menü */
.header-asir.menu-open .menu-lines span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header-asir.menu-open .menu-lines span:nth-child(2) { transform: translateY(-8px) rotate(-45deg); }
.fullscreen-menu { position: fixed; inset: 0; background: rgba(15, 15, 15, 0.98); z-index: 999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.4s ease-in-out; }
.fullscreen-menu.active { opacity: 1; visibility: visible; }
.menu-links { list-style: none; padding: 0; text-align: center; }
.menu-links li { margin: 15px 0; transform: translateY(20px); opacity: 0; transition: 0.4s; }
.fullscreen-menu.active .menu-links li { transform: translateY(0); opacity: 1; }
.menu-links a { color: white; font-family: var(--font-main); font-size: 2.5rem; font-weight: 300; transition: 0.3s; }
.menu-links a:hover { color: var(--ses-orange); letter-spacing: 2px; }

/* =========================================
   2. ANASAYFA HERO SLIDER
   ========================================= */
.hero-section { position: relative; height: 100vh; width: 100%; overflow: hidden; background-color: #111; }
.heroSwiper { height: 100%; width: 100%; }
.heroSwiper .swiper-slide { background-size: cover; background-position: center; display: flex; justify-content: center; align-items: center; text-align: center; }
.slider-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%); z-index: 1; }
.hero-text-box { position: relative; z-index: 2; max-width: 900px; padding: 0 20px; }
.hero-title { font-size: 4.5rem; color: white; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.hero-desc { font-size: 1.2rem; color: rgba(255,255,255,0.9); margin-bottom: 30px; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; color: white; font-size: 2rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-20px) translateX(-50%); } 60% { transform: translateY(-10px) translateX(-50%); } }

/* =========================================
   3. ORTAK BÖLÜMLER (Kategoriler vb.)
   ========================================= */
.section-padding { padding: 90px 0; }
.section-title { font-size: 2.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }
.section-title span { color: var(--ses-orange); }
.section-header-top { border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 15px; }

.cat-card { background: white; border-radius: 12px; padding: 40px 25px; text-align: center; transition: 0.4s; height: 100%; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.03); cursor: pointer; }
.cat-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: var(--ses-orange); }
.cat-icon { font-size: 3.5rem; color: var(--ses-orange); margin-bottom: 20px; transition: 0.4s; }
.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-card h4 { font-size: 1.3rem; margin-bottom: 15px; color: var(--text-dark); }
.cat-card p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* =========================================
   4. MARKALAR (Kayan Yazı)
   ========================================= */
.brands-section { padding: 60px 0; background: white; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.marquee { display: flex; overflow-x: auto; gap: 30px; padding: 20px 0; scrollbar-width: none; align-items: center; }
.marquee::-webkit-scrollbar { display: none; }
.brand-box { flex: 0 0 auto; width: 180px; height: 100px; background: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; transition: 0.3s; cursor: pointer; filter: grayscale(100%); }
.brand-box:hover { filter: grayscale(0%); transform: translateY(-5px); border-color: var(--ses-orange); box-shadow: 0 10px 25px rgba(243,122,31,0.15); }
.brand-box img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* =========================================
   5. BLOG & HABERLER
   ========================================= */
.blog-card { background: white; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.4s; height: 100%; }
.blog-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.blog-img { height: 250px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-content { padding: 25px; }

/* =========================================
   6. SHOWROOM GALERİ
   ========================================= */
.showroom-section { background: #111; color: white; }
.showroom-card { position: relative; border-radius: 12px; overflow: hidden; height: 400px; cursor: pointer; }
.showroom-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.showroom-card:hover img { transform: scale(1.05); }
.showroom-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%); display: flex; align-items: flex-end; padding: 20px; }

/* Swiper Özel Okları */
.slider-nav-btn { width: 45px; height: 45px; border-radius: 50%; border: 1px solid #ccc; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s; color: var(--text-dark); }
.slider-nav-btn:hover { background: var(--ses-orange); color: white; border-color: var(--ses-orange); }
.border-white { border-color: rgba(255,255,255,0.3) !important; color: white !important; }
.border-white:hover { background: white !important; color: var(--text-dark) !important; }

/* =========================================
   7. İÇ SAYFALAR (Kurumsal, İletişim, Ürünler)
   ========================================= */
.inner-hero { position: relative; height: 40vh; min-height: 350px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.inner-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); z-index: 1; }
.inner-hero-content { position: relative; z-index: 2; padding-top: 60px; }
.inner-title { font-size: 3.5rem; font-weight: 700; margin-bottom: 10px; }
.breadcrumb { background: rgba(255,255,255,0.1); padding: 10px 25px; border-radius: 30px; display: inline-flex; gap: 10px; backdrop-filter: blur(5px); }
.breadcrumb a { color: white; font-weight: 500; }
.breadcrumb a:hover { color: var(--ses-orange); }

.page-content { padding: 80px 0; }
.content-card { background: white; border-radius: 16px; padding: 50px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); }

/* Butonlar & Formlar */
.btn-ses { background: var(--ses-orange); color: white; padding: 12px 30px; border-radius: 8px; font-weight: 500; border: none; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-ses:hover { background: var(--text-dark); color: white; }
.form-control-ses { background: #f8f9fa; border: 1px solid #e0e0e0; padding: 15px 20px; border-radius: 8px; transition: 0.3s; }
.form-control-ses:focus { background: white; border-color: var(--ses-orange); box-shadow: 0 0 0 4px rgba(243,122,31,0.1); outline: none; }
.captcha-box { background: rgba(243,122,31,0.05); padding: 15px; border-radius: 8px; border: 1px dashed var(--ses-orange); display: flex; align-items: center; gap: 15px; }

/* Yukarı Çık Butonu */
#scrollTopBtn { position: fixed; bottom: 30px; right: 30px; background: var(--ses-orange); color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; cursor: pointer; border: none; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 999; box-shadow: 0 5px 15px rgba(243,122,31,0.3); }
#scrollTopBtn.visible { opacity: 1; visibility: visible; }
#scrollTopBtn:hover { background: var(--text-dark); transform: translateY(-5px); }

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .inner-title { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .content-card { padding: 25px; }
    .header-asir { padding: 15px 5vw; }
}
/* =========================================
   Arama Kutusu Mobil Taşkın Çözümü
   (Arama kutusu mobilde alt satırda açılır)
   ========================================= */
.search-input { 
    left: auto !important; 
    right: 30px; 
    font-size: 16px !important; /* iOS Zoom engellemesi */
}

@media (max-width: 768px) {
    /* Mobilde arama kutusunun ana kapsayıcısını serbest bırakıyoruz ki header'a göre hizalansın */
    .search-box { position: static; } 
    
    .search-box.active .search-input {
        position: absolute;
        top: 100%; /* Header'ın bittiği yerden, tam alt satırdan başlar */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important; /* Tam ekran genişliğine yayılır */
        background: rgba(15, 15, 15, 0.98) !important; /* Şık karanlık zemin */
        padding: 15px 5vw !important;
        border-radius: 0;
        border: none;
        border-bottom: 2px solid var(--ses-orange); /* Turuncu alt çizgi */
        z-index: 999;
    }

    .social-icon-header { font-size: 1.2rem; margin-right: 8px; }
}