/* --- PRO TEMALANDIRMA VE DEÄÄ°ÅKENLER --- */
:root {
    --primary-color: #0b2240;    /* TED TarzÄ± Asil Lacivert */
    --accent-color: #d69e2e;     /* EÄŸitim MeÅŸalesi AltÄ±n SarÄ±sÄ± */
    --text-dark: #1a202c;        /* Soft Siyah Okuma Rengi */
    --text-light: #718096;       /* AÃ§Ä±klama Grisi */
    --bg-light: #f7fafc;         /* YumuÅŸak Arka Plan */
    --white: #ffffff;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Montserrat', sans-serif; }
body { background: var(--bg-light); color: var(--text-dark); line-height: 1.5; }
.site-container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 30px; }

/* --- EN ÃœST BAR (TOP BAR) --- */
.top-bar { background: #051426; color: rgba(255,255,255,0.7); font-size: 13px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-bar-wrapper { display: flex; justify-content: space-between; align-items: center; }
.top-contacts span { margin-right: 20px; font-weight: 500; }
.btn-portal { background: var(--accent-color); color: var(--primary-color); text-decoration: none; padding: 4px 12px; border-radius: 4px; font-weight: 700; transition: var(--transition-smooth); }
.btn-portal:hover { opacity: 0.9; }

/* --- ANA HEADER VE NAVÄ°GASYON --- */
.main-header { background: var(--primary-color); color: var(--white); padding: 22px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.header-wrapper { display: flex; justify-content: space-between; align-items: center; }
.site-logo a { color: var(--white); font-size: 22px; font-weight: 800; text-decoration: none; letter-spacing: 0.5px; }
.logo-accent { color: var(--accent-color); }

.menu-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.menu-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition-smooth); padding: 8px 0; position: relative; }
.menu-links a:hover, .menu-links a.active { color: var(--accent-color); }

/* Ã‡oklu Kademe AÃ§Ä±lÄ±r Dropdown YapÄ±sÄ± */
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); box-shadow: 0 15px 35px rgba(0,0,0,0.15); border-radius: 6px; list-style: none; width: 240px; padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(15px); transition: var(--transition-smooth); }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { color: var(--text-dark); padding: 10px 20px; display: block; text-transform: none; font-weight: 500; }
.dropdown-menu a:hover { background: var(--bg-light); color: var(--primary-color); padding-left: 25px; }

/* --- HERO VÄ°TRÄ°N ALANI --- */

/* --- YEREL FLU KAMPÃœS ARKA PLANI (DÃœZELTÄ°LDÄ°) --- */
.hero-showcase { 
    position: relative; 
    height: 620px; 
    /* CSS klasÃ¶rÃ¼nden bir Ã¼st dizine Ã§Ä±kÄ±p uploads iÃ§indeki yerel resmi hatasÄ±z Ã§aÄŸÄ±rÄ±r */
    background: url('../uploads/herobg.jpg') no-repeat center center/cover; 
    display: flex; 
    align-items: center; 
    color: var(--white); 
}


/* Eski asil lacivert tonu koruyan ve arkadaki gÃ¶rseli hafifÃ§e flulaÅŸtÄ±ran akÄ±llÄ± katman */
.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    /* Eskisi gibi lacivert aÄŸÄ±rlÄ±klÄ± premium gradyan zemin */
    background: linear-gradient(135deg, rgba(11, 34, 64, 0.96) 0%, rgba(5, 20, 38, 0.88) 100%); 
    /* Arkadaki gÃ¶rseli hafifÃ§e dalgalandÄ±rÄ±p flulaÅŸtÄ±ran elit efekt */
    backdrop-filter: blur(2px); 
    -webkit-backdrop-filter: blur(2px);
}

.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to right, rgba(11,34,64,0.95), rgba(11,34,64,0.4)); }
.hero-content { position: relative; z-index: 2; max-width: 750px; }
.hero-subtitle { color: var(--accent-color); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 2px; display: block; margin-bottom: 15px; }
.hero-content h1 { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 35px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 20px; }
.btn-pro-primary { background: var(--accent-color); color: var(--primary-color); text-decoration: none; padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 15px; transition: var(--transition-smooth); box-shadow: 0 4px 15px rgba(214,158,46,0.3); }
.btn-pro-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(214,158,46,0.5); }
.btn-pro-secondary { border: 2px solid var(--white); color: var(--white); text-decoration: none; padding: 12px 30px; border-radius: 6px; font-weight: 700; font-size: 15px; transition: var(--transition-smooth); }
.btn-pro-secondary:hover { background: var(--white); color: var(--primary-color); transform: translateY(-3px); }

/* --- KADEMELER HIZLI ERÄ°ÅÄ°M KARTLARI --- */
.quick-levels-section { margin-top: -60px; position: relative; z-index: 5; margin-bottom: 60px; }
.levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; align-items: stretch; }
.level-show-card { background: var(--white); padding: 22px 22px 28px; border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,0.06); border-bottom: 4px solid #cbd5e0; text-align: center; display: flex; flex-direction: column; height: 100%; }
.level-show-card:hover { transform: none; border-bottom-color: #cbd5e0; box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.level-media { display: block; width: 100%; height: 220px; overflow: hidden; border-radius: 10px; background: #edf2f7; margin-bottom: 18px; }
.level-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: none !important; transform: none !important; }
.level-show-card h3 { font-size: 19px; color: var(--primary-color); margin-bottom: 12px; font-weight: 700; }
.level-show-card p { font-size: 13px; color: var(--text-light); margin-bottom: 20px; line-height: 1.6; flex-grow: 1; }
.level-link { color: var(--primary-color); text-decoration: none; font-weight: 700; font-size: 14px; transition: none; }
.level-link:hover { color: var(--primary-color); }

/* --- PREMIUM KARMA AKIÅ (STREAM-SYSTEM) --- */
.portal-stream-section { padding: 40px 0 80px 0; }
.section-header-pro { text-align: center; margin-bottom: 50px; }
.section-header-pro h2 { font-size: 32px; color: var(--primary-color); font-weight: 800; margin-bottom: 10px; }
.section-header-pro p { color: var(--text-light); font-size: 16px; }

.stream-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 35px; }
.stream-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); display: flex; flex-direction: column; transition: var(--transition-smooth); position: relative; }
.stream-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.stream-badge-container { position: absolute; top: 15px; left: 15px; z-index: 10; }
.stream-type-badge { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 4px; color: var(--white); letter-spacing: 0.5px; }
.type-news { background: #3182ce; }
.type-announcement { background: #e53e3e; }
.type-event { background: #319795; }
.type-project { background: #805ad5; }

.stream-img-wrapper { width: 100%; height: 210px; overflow: hidden; }
.stream-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.stream-card:hover .stream-img-wrapper img { transform: scale(1.06); }

.stream-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.stream-date { font-size: 12px; color: var(--text-light); font-weight: 600; display: block; margin-bottom: 8px; }
.stream-body h3 { font-size: 17px; color: var(--primary-color); font-weight: 700; margin-bottom: 12px; line-height: 1.4; min-height: 48px; }
.stream-body p { font-size: 13.5px; color: #4a5568; line-height: 1.6; margin-bottom: 20px; }
.stream-more-btn { margin-top: auto; color: var(--primary-color); text-decoration: none; font-weight: 700; font-size: 13.5px; border-bottom: 2px solid transparent; width: max-content; transition: var(--transition-smooth); }
.stream-more-btn:hover { color: var(--accent-color); border-bottom-color: var(--accent-color); }

/* --- PRO FOOTER --- */
.pro-footer { background: #081629; color: var(--white); padding: 70px 0 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 5px; padding-bottom: 5px; }
.footer-brand-col h3 { font-size: 22px; font-weight: 800; margin-bottom: 15px; color: var(--accent-color); }
.footer-brand-col p { color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }
.footer-links-col h4, .footer-contact-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--white); position: relative; padding-bottom: 8px; }
.footer-links-col h4::after, .footer-contact-col h4::after { content:''; position:absolute; bottom:0; left:0; width:35px; height:2px; background: var(--accent-color); }
.footer-links-col ul { list-style: none; }
.footer-links-col ul li { margin-bottom: 12px; }
.footer-links-col ul a { color: rgba(255,255,255,0.6); text-decoration: none; transition: var(--transition-smooth); }
.footer-links-col ul a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-contact-col p { color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 10px; }

.footer-copyright { border-top: 1px solid rgba(255,255,255,0.06); padding: 25px 0; margin-top: 40px; background: #040d1a; color: rgba(255,255,255,0.4); font-size: 13px; }
.copyright-wrapper { display: flex; justify-content: space-between; align-items: center; }

/* Mobil Hamburger MenÃ¼ Ä°konu Efekti */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-menu-toggle span { width: 25px; height: 3px; background: var(--white); border-radius: 2px; }

/* --- FOOTER SOSYAL MEDYA Ä°KONLARI STÄ°LLERÄ° --- */
.pro-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.pro-social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important; /* Mavi rengi kesin olarak ezer */
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-social-icons .social-icon:hover {
    background: var(--accent-color, #d69e2e);
    color: #0b2240 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 158, 46, 0.3);
}

/* =========================================================
   PREMIUM RESPONSIVE VE MOBÄ°L UYUMLULUK KATMANI (MEDYA SORGULARI)
   ========================================================= */

@media (max-width: 992px) {
    /* MenÃ¼ elemanlarÄ±nÄ± mobilde dikey ve esnek sÄ±raya alÄ±yoruz */
    .header-wrapper { position: relative; padding: 10px 0; }
    .mega-nav { display: none; width: 100%; position: absolute; top: 100%; left: 0; background: var(--primary-color); padding: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
    .mega-nav.mobile-active { display: block; } /* Mobil aktivasyon */
    .menu-links { flex-direction: column; gap: 15px; align-items: flex-start; }
    .dropdown-menu { position: relative; top: 0; left: 0; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.05); margin-top: 10px; }
    .dropdown-menu a { color: rgba(255,255,255,0.8); }
    
    /* Hamburger MenÃ¼ Ã‡izgilerini Aktif Ediyoruz */
    .mobile-menu-toggle { display: flex; }
    
    /* Hero AlanÄ± YazÄ±larÄ±nÄ± Mobilde KÃ¼Ã§Ã¼ltÃ¼yoruz */
    .hero-content h1 { font-size: 32px; }
    .hero-content p { font-size: 15px; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .btn-pro-primary, .btn-pro-secondary { text-align: center; width: 100%; }
}

@media (max-width: 768px) {
    /* Mobilde grid yapÄ±larÄ±nÄ± tek sÃ¼tuna dÃ¼ÅŸÃ¼rerek taÅŸmalarÄ± engelliyoruz */
    .levels-grid, .stream-grid, .footer-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .row-layout { flex-direction: column; gap: 20px; }
    
    /* Top Bar Ä°letiÅŸim Bilgilerini Mobilde Alt Alta AlÄ±yoruz */
    .top-bar-wrapper { flex-direction: column; gap: 8px; text-align: center; }
    .top-contacts span { display: block; margin: 3px 0; }
    
    /* Tab ButonlarÄ±nÄ± Dikey HizalÄ±yoruz */
    .media-tabs { flex-direction: column; gap: 10px; width: 100%; }
    .tab-trigger, .corp-tab-trigger { width: 100%; text-align: center; }
    
    /* Footer Telif YazÄ±larÄ±nÄ± Ortala */
    .copyright-wrapper { flex-direction: column; gap: 10px; text-align: center; }
}

/* --- PREMIUM LIGHTBOX HOVER VE ANIMASYONLARI --- */
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    color: var(--accent-color, #d69e2e) !important;
    transform: scale(1.1);
}
/* Mobil Cihazlar Ä°Ã§in Ok BoyutlarÄ±nÄ± Optimize Ediyoruz */
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next { font-size: 36px !important; }
    .lightbox-close { font-size: 32px !important; top: 15px !important; right: 20px !important; }
    #lightboxImg { max-width: 95% !important; max-height: 70vh !important; }
}



