/* --- EMNİYET MAVİSİ RENK PALETİ VE TEMEL AYARLAR --- */
:root {
    --primary-blue: #001224; 
    --accent-blue: #00478F;  
    --accent-light: #1A75D2; 
    --dark-bg: #040810;      
    --light-bg: #0A111D;     
    --text-dark: #1f2833;
    --text-light: #ffffff;
    --glass-bg: rgba(0, 71, 143, 0.05); 
    --glass-border: rgba(0, 119, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300478F" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>'), auto !important;
}

body { font-family: 'Montserrat', sans-serif; background-color: var(--dark-bg); color: var(--text-light); overflow-x: hidden; }

/* Şeffaf Kalkan (Arkaplan) */
.bg-watermark {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80vh; height: 80vh;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="0.5"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>');
    background-repeat: no-repeat; background-size: contain; background-position: center;
    opacity: 0.02; z-index: -1; pointer-events: none;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 100px 0; }
.dark-bg { background-color: var(--light-bg); }

/* --- BÖLÜMLERDEKİ HAREKETLİ GÜVENLİK GÖREVLİLERİ --- */
.relative-section { position: relative; overflow: hidden; }
.relative-z { position: relative; z-index: 2; }
.floating-guard {
    position: absolute; z-index: 0; opacity: 0.2; height: 500px; pointer-events: none;
    animation: floatGuard 8s ease-in-out infinite; filter: drop-shadow(0 0 30px var(--accent-light)); object-fit: contain;
}
.guard-right { right: -5%; bottom: -5%; }
.guard-left { left: -5%; top: 10%; animation-delay: 2s; }

.hero-guard-bg {
    position: absolute; bottom: -5%; right: 5%; height: 90vh; z-index: 0; opacity: 0.3;
    pointer-events: none; filter: drop-shadow(0 0 40px rgba(26, 117, 210, 0.4)); animation: heroGuardFloat 6s ease-in-out infinite;
}

/* Sol ve Sağdaki Şeffaf Logolar */
.hero-logo-left, .hero-logo-right {
    position: absolute; top: 50%; transform: translateY(-50%); height: 55vh; opacity: 0.05; z-index: 0; pointer-events: none;
}
.hero-logo-left { left: -10%; }
.hero-logo-right { right: -10%; }

@keyframes heroGuardFloat { 0% { transform: translateY(0); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0); } }
@keyframes floatGuard { 0% { transform: translateY(0px) scale(1); } 50% { transform: translateY(-30px) scale(1.02); } 100% { transform: translateY(0px) scale(1); } }

/* --- BAŞLIKLAR VE İKONLAR --- */
.modern-title {
    font-family: 'Orbitron', sans-serif; font-size: 2.5rem; font-weight: 900; text-align: center; color: #fff;
    margin-bottom: 60px; text-shadow: 0 0 20px rgba(0, 71, 143, 0.6); letter-spacing: 2px; text-transform: uppercase;
}
.modern-title span { color: var(--accent-light); position: relative; display: inline-block; }
.modern-title span::after {
    content: ''; position: absolute; bottom: -8px; left: 20%; width: 60%; height: 4px;
    background: var(--accent-light); box-shadow: 0 0 15px var(--accent-light); border-radius: 2px;
}

.modern-hero-title { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; font-weight: 900; line-height: 1.4; margin-bottom: 25px; color: #fff; }
.modern-hero-title span { color: var(--accent-light); font-size: 3rem; }

.gun-icon {
    font-size: 2.5rem; color: #ccc; vertical-align: middle; margin: 0 15px; display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.4)); animation: spinGun 5s linear infinite;
}
@keyframes spinGun { 100% { transform: rotate(360deg); } }

.handcuff-icon {
    font-size: 2.5rem; color: #ccc; vertical-align: middle; margin: 0 15px; display: inline-block;
    animation: swingHandcuff 4s ease-in-out infinite;
}
@keyframes swingHandcuff { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(15deg); } 75% { transform: rotate(-15deg); } }

/* --- KARTLAR --- */
.glass-card {
    background: var(--glass-bg); backdrop-filter: blur(15px); border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 30px; transition: all 0.4s ease;
}
.glass-card:hover { box-shadow: 0 20px 40px rgba(0, 71, 143, 0.25); border-color: rgba(26, 117, 210, 0.4); transform: translateY(-5px); }

/* --- HEADER --- */
header {
    position: fixed; width: 100%; top: 0; z-index: 1000; background: rgba(0, 18, 36, 0.85);
    backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border); padding: 15px 0;
}
header.scrolled { padding: 8px 0; background: rgba(0, 18, 36, 0.98); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { display: flex; align-items: center; color: var(--text-light); text-decoration: none; font-size: 1.4rem; font-weight: 800; font-family: 'Orbitron', sans-serif; }
.main-logo { height: 45px; margin-right: 12px; }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { color: #bbb; text-decoration: none; font-weight: 500; font-size: 0.85rem; text-transform: uppercase; }
.nav-links a:hover { color: #fff; }

/* --- HERO --- */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 18, 36, 1) 0%, rgba(0, 30, 60, 0.95) 100%);
    height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; text-align: center; overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 0 20px; }
.experience-badge {
    display: inline-block; background: var(--accent-blue); color: #fff; padding: 8px 20px;
    border-radius: 30px; font-weight: 700; font-family: 'Orbitron', sans-serif; margin-bottom: 20px;
    border: 1px solid var(--accent-light); font-size: 0.8rem;
}
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; color: #ddd; line-height: 1.6; }

.btn { display: inline-block; padding: 14px 30px; text-decoration: none; font-weight: 700; border-radius: 30px; font-size: 0.9rem; transition: all 0.3s ease; text-transform: uppercase; cursor: pointer; }
.premium-btn { background: linear-gradient(45deg, var(--accent-blue), var(--accent-light)); color: white; border: none; }
.secondary-btn { background: transparent; color: #fff; border: 2px solid var(--accent-light); margin-left: 10px; }

/* --- TRAININGS --- */
.training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.t-icon { font-size: 2.5rem; color: var(--accent-light); margin-bottom: 20px; text-align: center; }
.t-card h3 { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; margin-bottom: 15px; text-align: center; color: #fff; }
.t-card ul { list-style: none; padding-bottom: 15px; border-bottom: 1px solid var(--glass-border); }
.t-card ul li { margin-bottom: 10px; font-size: 0.85rem; color: #ccc; display: flex; align-items: flex-start; gap: 8px; }
.t-card ul li i { color: var(--accent-light); margin-top: 3px; }
.t-card.highlight { border: 1px solid var(--accent-light); box-shadow: 0 0 25px rgba(26, 117, 210, 0.2); }

/* --- PDF SCROLL --- */
.pdf-wrapper { max-height: 450px; overflow-y: auto; padding: 15px; background: rgba(0, 0, 0, 0.2); border-radius: 12px; border: 1px solid var(--glass-border); }
.pdf-wrapper::-webkit-scrollbar { width: 6px; }
.pdf-wrapper::-webkit-scrollbar-thumb { background: var(--accent-light); border-radius: 10px; }
.pdf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.pdf-card { text-align: center; padding: 20px; }
.pdf-icon { font-size: 2.5rem; color: #e74c3c; margin-bottom: 15px; }
.pdf-title-long { font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color: #fff; margin-bottom: 15px; font-weight: 600; }
.pdf-btn { padding: 10px; font-size: 0.8rem; border-radius: 6px; width: 100%; border: 1px solid var(--accent-light); color: white; background: transparent; }

/* --- MARQUEE --- */
.marquee-wrapper { overflow: hidden; white-space: nowrap; position: relative; width: 100%; padding: 20px 0; }
.marquee-content { display: flex; gap: 20px; width: max-content; }
.article-marquee .marquee-content { animation: marquee 60s linear infinite; }
.gallery-marquee .marquee-content { animation: marquee 35s linear infinite; }
.certificate-marquee .marquee-content { animation: marquee 50s linear infinite reverse; } 
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- ITEMS --- */
.certificate-item { width: 200px; height: 283px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--glass-border); background: #fff; }
.certificate-item img { width: 100%; height: 100%; object-fit: contain; }

.article-card { width: 280px; height: 350px; padding: 25px; flex-shrink: 0; white-space: normal; }
.article-card h3 { font-family: 'Orbitron', sans-serif; color: var(--accent-light); font-size: 1.1rem; margin-bottom: 12px; }
.article-card p { font-size: 0.85rem; color: #aaa; line-height: 1.5; }

.gallery-item { width: 320px; height: 213px; border-radius: 10px; overflow: hidden; position: relative; flex-shrink: 0; border: 1px solid var(--glass-border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item-title { position: absolute; bottom: 0; left: 0; width: 100%; padding: 12px; background: rgba(0,0,0,0.8); color: #fff; font-size: 0.8rem; text-align: center; }

/* --- MODAL --- */
.modal { display: none; position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
.modal-content { position: relative; width: 90%; max-width: 700px; max-height: 80vh; overflow-y: auto; padding: 40px; background: var(--light-bg); border: 2px solid var(--accent-blue); border-radius: 12px; }
.close-modal, .close-gallery { position: absolute; top: 10px; right: 20px; font-size: 30px; color: #fff; cursor: pointer; }
.modal-gallery-img { max-width: 100%; max-height: 60vh; object-fit: contain; }

/* --- CONTACT --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-item { display: flex; align-items: center; margin-bottom: 20px; }
.contact-item i { font-size: 1.5rem; color: var(--accent-light); width: 40px; }
.contact-item p, .contact-item a { font-size: 0.9rem; color: #ccc; text-decoration: none; }
.map-box { height: 350px; border-radius: 12px; overflow: hidden; }

footer { text-align: center; padding: 25px; background: #000; color: #666; font-size: 0.8rem; }

.whatsapp-btn, #scrollTopBtn { position: fixed; bottom: 20px; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; z-index: 1000; }
.whatsapp-btn { right: 20px; background: #25d366; }
#scrollTopBtn { left: 20px; background: var(--accent-blue); opacity: 0; visibility: hidden; transition: 0.3s; border: none; }
#scrollTopBtn.show { opacity: 1; visibility: visible; }

.fade-in { opacity: 0; transform: translateY(20px); transition: 1s ease-out; }
.slide-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in.appear, .slide-up.appear { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* --- MOBILE RESPONSIVE UPDATES --- */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .modern-title { font-size: 1.6rem; margin-bottom: 30px; }
    .modern-hero-title { font-size: 1.4rem; }
    .modern-hero-title span { font-size: 1.6rem; }
    .experience-badge { font-size: 0.7rem; padding: 6px 15px; }
    .gun-icon, .handcuff-icon { font-size: 1.6rem; margin: 0 5px; }
    .hero-content p { font-size: 0.9rem; }
    .hero-btns .btn { padding: 12px 20px; font-size: 0.8rem; width: 100%; margin: 5px 0; }
    .secondary-btn { margin-left: 0; }
    .about-card p { font-size: 0.95rem; line-height: 1.6; }
    .training-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .main-logo { height: 35px; }
    .floating-guard, .hero-guard-bg, .hero-logo-left, .hero-logo-right { display: none; }
    .certificate-item { width: 160px; height: 226px; }
    .article-card { width: 240px; height: 320px; }
    .gallery-item { width: 260px; height: 173px; }
}