@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --mavi: #3bc0e8;
    --koyu-lacivert: #24303e;
    --metin: #555555;
    --baslik: #222222;
    --arkaplan: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: var(--arkaplan); color: var(--metin); line-height: 1.6; overflow-x: hidden; }
.container { width: 85%; margin: 0 auto; max-width: 1200px; }
a { text-decoration: none; transition: all 0.3s ease; }

.top-bar { padding: 15px 0; border-bottom: 1px solid #eee; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 60px; }
.top-banner { max-width: 100%; } 
.top-banner a.btn-mavi { display: inline-block; text-align: center; }

.main-nav { background: #fff; border-bottom: 1px solid #f5f5f5; padding: 15px 0; display: flex; justify-content: center; position: relative; z-index: 999; }
.main-nav ul { list-style: none; display: flex; gap: 30px; width: 100%; justify-content: center; align-items: center; }
.main-nav ul li { position: relative; }
.main-nav a { color: var(--baslik); font-weight: 600; font-size: 13px; text-transform: uppercase; display: block; }
.main-nav a:hover { color: var(--mavi); }

.main-nav ul li ul.dropdown { position: absolute; top: 100%; left: 0; width: 220px; background: #fff; display: none; flex-direction: column; box-shadow: 0 5px 15px rgba(0,0,0,0.08); z-index: 1000; padding: 10px 0; border-top: 3px solid var(--mavi); border-radius: 0 0 4px 4px; gap: 0; }
.main-nav ul li:hover > ul.dropdown { display: flex; }
.main-nav ul li ul.dropdown li { width: 100%; }
.main-nav ul li ul.dropdown li a { padding: 12px 20px; font-size: 13px; text-transform: none; font-weight: 500; border-bottom: 1px solid #f9f9f9; }
.main-nav ul li ul.dropdown li:last-child a { border-bottom: none; }
.main-nav ul li ul.dropdown li a:hover { background: #fdfdfd; color: var(--mavi); padding-left: 25px; }

.mobile-header { display: none; }
.drawer-header { display: none; }

.hero-slider { position: relative; width: 100%; height: 500px; overflow: hidden; background: #111; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 3; }
.slide-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; text-align: center; width: 90%; }
.slide-content h1 { font-size: 3.5rem; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 15px; text-shadow: 2px 2px 5px rgba(0,0,0,0.7); }
.slide-content p { font-size: 1.2rem; color: #f1f1f1; margin-bottom: 30px; text-shadow: 1px 1px 4px rgba(0,0,0,0.8); }

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; z-index: 5; font-size: 20px; transition: 0.3s; }
.slider-btn:hover { background: var(--mavi); }
.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }

.btn-mavi { background: var(--mavi); color: white; padding: 12px 30px; font-weight: 600; font-size: 14px; text-transform: uppercase; border: none; cursor: pointer; display: inline-block; transition: all 0.3s ease; }
.btn-mavi:hover { filter: brightness(0.85); color: white; }

.section-title { text-align: center; font-size: 24px; color: var(--baslik); font-weight: 400; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 1px; }

/* === YENİLENEN KART TASARIMLARI (Hizmet ve Kurumsal İçin) === */
.hizmetler-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px;}
.hizmet-karti { background: #fff; border: 1px solid #eee; padding-bottom: 20px; text-align: center; border-radius: 4px; overflow: hidden; transition: all 0.3s ease; display: block; }
.hizmet-karti a { display: block; color: inherit; }
.hizmet-karti img { width: 100%; height: 180px; object-fit: cover; border-bottom: 3px solid var(--mavi); margin-bottom: 15px; }
.hizmet-karti h3 { font-size: 15px; color: var(--baslik); margin-bottom: 10px; font-weight: 700; text-transform: uppercase; padding: 0 10px; transition: color 0.3s ease; }
.hizmet-karti p { font-size: 13px; color: #888; padding: 0 15px; transition: color 0.3s ease; margin-bottom: 0;}
.tum-hizmetler-btn { text-align: center; margin-top: 40px; }

.acil-servis { background: var(--mavi); padding: 30px 0; text-align: center; color: white; margin-top: 60px; }
.acil-servis h2 { font-size: 24px; font-weight: 600; }
.acil-servis span { color: #d32f2f; font-weight: 700; }

/* === YENİLENEN MARKA KARTI TASARIMI === */
.markalar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; text-align: left; margin-top: 40px;}
.markalar-grid ul { list-style: none; }
.markalar-grid li { margin-bottom: 8px; font-size: 12px; color: var(--mavi); font-weight: 600; text-transform: uppercase; }
.markalar-grid li::before { content: '• '; color: var(--mavi); font-size: 18px; vertical-align: middle;}

.marka-karti { border: 1px solid #eee; padding: 30px 15px; text-align: center; border-radius: 4px; display: block; transition: all 0.3s ease; background: #fff; }
.marka-karti img { max-height: 70px; object-fit: contain; margin-bottom: 15px; transition: transform 0.3s ease; }
.marka-karti i { font-size: 40px; margin-bottom: 15px; color: var(--mavi); transition: transform 0.3s ease; }
.marka-karti h3 { font-size: 14px; color: var(--baslik); text-transform: uppercase; transition: color 0.3s ease; margin: 0; }
.marka-karti:hover img, .marka-karti:hover i { transform: scale(1.1); }

/* --- FOOTER --- */
.site-footer { background: var(--koyu-lacivert); color: #ccc; padding: 60px 0 30px; margin-top: 60px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-grid h4 { color: white; font-size: 16px; margin-bottom: 20px; text-transform: uppercase; font-weight: 600; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: #ccc; }
.footer-grid a:hover { color: var(--mavi); }

/* =========================================
   BİLGİ BANKASI VE MARKALAR / SAYFA İÇİ DÜZEN 
========================================= */
.page-container { display: flex; gap: 30px; margin-top: 40px; margin-bottom: 60px; }
.page-sidebar { width: 25%; }
.page-content { width: 75%; }

.sidebar-widget { margin-bottom: 30px; }
.sidebar-title { font-size: 15px; font-weight: 700; color: var(--baslik); text-transform: uppercase; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.sidebar-list { list-style: none; border: 1px solid #eee; padding: 15px; background: #fff; }
.sidebar-list li { margin-bottom: 10px; font-size: 13px; line-height: 1.4; border-bottom: 1px dashed #f5f5f5; padding-bottom: 5px; }
.sidebar-list li:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.sidebar-list li a { color: var(--metin); display: block; }
.sidebar-list li a::before { content: '• '; font-weight:bold; color: var(--metin); }
.sidebar-list li a:hover { color: var(--mavi); }
.sidebar-list li a:hover::before { color: var(--mavi); }
.sidebar-list li.all-link a { font-weight: 700; color: var(--baslik); margin-top: 10px; }
.sidebar-list li.all-link a::before { content: ''; }

.social-icons-widget { border: 1px solid #eee; padding: 15px; background: #fff; display: flex; gap: 10px; justify-content: flex-start; }
.social-icons-widget a { width: 35px; height: 35px; background: #f5f5f5; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #555; transition: 0.3s; font-size: 14px; }
.social-icons-widget a:hover { background: var(--mavi); color: #fff; }

.bb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bb-card { border: 1px solid #eee; background: #fff; text-align: center; display: block; transition: all 0.3s ease; }
.bb-card img { width: 100%; height: 160px; object-fit: cover; }
.bb-card h3 { font-size: 13px; padding: 15px; color: #777; font-weight: 400; border-top: 1px solid #eee; margin: 0; line-height: 1.5; transition: color 0.3s ease; }

.pagination { display: flex; justify-content: center; margin-top: 40px; gap: 5px; }
.pagination a, .pagination span { padding: 8px 15px; border: 1px solid #eee; color: var(--metin); font-size: 14px; font-weight: 600; }
.pagination a:hover { background: #f5f5f5; }

/* =========================================
   MOBİL UYUMLULUK
========================================= */
@media (max-width: 992px) {
    .hizmetler-grid, .markalar-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hero-slider { height: 400px; } 
    .slide-content h1 { font-size: 2.5rem; }
    .page-container { flex-direction: column; }
    .page-content { order: 1; width: 100%; } 
    .page-sidebar { order: 2; width: 100%; margin-top: 40px; } 
    .bb-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { width: 90%; }
    .top-bar { padding: 20px 0; }
    .top-bar-content { flex-direction: column; gap: 15px; text-align: center; }
    .logo img { max-height: 50px; }
    .top-banner { width: 100%; }
    .top-banner a.btn-mavi { width: 100%; font-size: 12px; padding: 12px 10px; white-space: normal; line-height: 1.4; }

    .mobile-header { display: flex; justify-content: flex-end; width: 100%; padding: 10px 0; }
    .main-nav { padding: 0; border: none; }
    
    #main-drawer { display: block; position: fixed; top: 0; left: -300px; width: 260px; height: 100vh; background: #fff; z-index: 9999; box-shadow: 2px 0 10px rgba(0,0,0,0.2); transition: left 0.3s ease-in-out; overflow-y: auto; padding-bottom: 50px; }
    #main-drawer.drawer-open { left: 0; }
    
    .drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: #f5f5f5; border-bottom: 1px solid #ddd; }
    .main-nav ul li { text-align: left; border-bottom: 1px solid #eee; width: 100%; }
    .main-nav ul li:last-child { border-bottom: none; }
    .main-nav ul li a { display: block; padding: 15px 20px; font-size: 14px; }
    .main-nav ul li:hover > ul.dropdown { display: none !important; }

    .main-nav ul li ul.dropdown { position: static !important; width: 100%; height: auto !important; box-shadow: none !important; border-top: none !important; background: #f9f9f9; display: none !important; padding: 0; }
    .main-nav ul li ul.dropdown.mobil-acik { display: block !important; }
    .main-nav ul li ul.dropdown li a { padding: 12px 35px; font-size: 13px; color: #555; border-bottom: 1px solid #f1f1f1; text-transform: uppercase; font-weight: 500;}
    .main-nav ul li ul.dropdown li a:hover { padding-left: 40px; color: var(--mavi); background: #f1f1f1;}

    .hero-slider { height: 350px; }
    .slide-content h1 { font-size: 1.8rem; margin-bottom: 10px; }
    .slide-content p { font-size: 1rem; }
    .slider-btn { width: 40px; height: 40px; font-size: 16px; }
    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }

    .hizmetler-grid, .markalar-grid, .footer-grid { grid-template-columns: 1fr; }
    .markalar-grid ul { margin-bottom: 15px; text-align: center; }
    .acil-servis { padding: 20px 15px; }
    .site-footer { padding: 40px 0 20px; text-align: center; }
    .bb-grid { grid-template-columns: 1fr; }
}