/**
 * Adana Dedektiflik - Tactical Cyber-Noir Theme
 * Ultra-Modern, Glassmorphism, Neon Gold & Electric Cyan Aesthetic
 */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #050811;
    --bg-secondary: #0a0f1d;
    --bg-card: rgba(15, 23, 42, 0.85);
    --bg-card-hover: rgba(30, 41, 59, 0.95);
    --border-color: rgba(56, 189, 248, 0.25);
    --border-glow: rgba(56, 189, 248, 0.5);
    --gold: #f59e0b;
    --gold-glow: rgba(245, 158, 11, 0.45);
    --cyan: #38bdf8;
    --cyan-glow: rgba(56, 189, 248, 0.45);
    --emerald: #10b981;
    --red: #ef4444;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-secondary: #e2e8f0;
    --text-heading: #ffffff;
    --font-heading: 'Orbitron', 'Rajdhani', sans-serif;
    --font-sub: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15.5px;
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(245, 158, 11, 0.03) 0%, transparent 40%),
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    letter-spacing: 0.5px;
}

.font-tech {
    font-family: var(--font-sub);
    letter-spacing: 1px;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--gold);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

/* Top Bar */
.top-bar {
    background: rgba(10, 15, 29, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .tactical-badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-sub);
    font-weight: 600;
}

/* Navigation */
.navbar-custom {
    background: rgba(5, 8, 17, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar-custom.sticky {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border-bottom-color: var(--gold);
}

.navbar-brand img {
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.02);
}

.navbar-custom .nav-link {
    color: #cbd5e1;
    font-family: var(--font-sub);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 8px 16px;
    position: relative;
    transition: all 0.25s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--gold);
}

.navbar-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

/* Language Dropdown */
.lang-dropdown-btn {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    color: #ffffff;
    font-family: var(--font-sub);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropdown-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.dropdown-menu-dark-tactical {
    background: #0a0f1d;
    border: 1px solid var(--border-glow);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    border-radius: 6px;
}

.dropdown-menu-dark-tactical .dropdown-item {
    color: #cbd5e1;
    font-family: var(--font-sub);
    font-size: 14px;
    padding: 8px 16px;
}

.dropdown-menu-dark-tactical .dropdown-item:hover,
.dropdown-menu-dark-tactical .dropdown-item.active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--cyan);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #050811;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.8px;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    box-shadow: 0 4px 15px var(--gold-glow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-outline-cyan {
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.8px;
    padding: 9px 22px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-cyan:hover {
    background: rgba(56, 189, 248, 0.15);
    color: #ffffff;
    box-shadow: 0 0 15px var(--cyan-glow);
    transform: translateY(-2px);
}

/* Hero Carousel */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-slide-item {
    min-height: 580px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 8, 17, 0.95) 0%, rgba(5, 8, 17, 0.75) 50%, rgba(5, 8, 17, 0.85) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 650px;
    margin-bottom: 30px;
}

/* Tactical HUD Bar */
.tactical-hud-bar {
    background: rgba(10, 15, 29, 0.85);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    margin-top: -45px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    padding: 24px 30px;
}

.hud-stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
}

.hud-icon-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--cyan);
    flex-shrink: 0;
}

/* Section Header */
.section-header {
    margin-bottom: 45px;
    text-align: center;
}

/* Enhanced Global Text Clarity */
p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.text-muted {
    color: #cbd5e1 !important;
}

small.text-muted,
.small.text-muted {
    color: #cbd5e1 !important;
}

.lead {
    color: #f1f5f9 !important;
    font-size: 17px;
    line-height: 1.8;
}

.section-tag {
    color: #fbbf24;
    font-family: var(--font-sub);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.section-lead {
    color: #e2e8f0 !important;
    max-width: 680px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

/* Service Cards */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--cyan);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--gold);
    transform: scale(1.08);
}

.service-card h4 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-card p {
    color: #e2e8f0;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Gallery Showcase */
.gallery-filter-btn {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    color: #e2e8f0;
    font-family: var(--font-sub);
    font-weight: 700;
    padding: 7px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--cyan);
    color: #050811;
    border-color: var(--cyan);
    box-shadow: 0 0 14px var(--cyan-glow);
}

.gallery-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item-card:hover img {
    transform: scale(1.05);
}

.gallery-item-body {
    padding: 18px;
}

.gallery-item-body h5 {
    color: #ffffff;
    font-weight: 700;
}

.gallery-item-body p {
    color: #cbd5e1;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: rgba(245, 158, 11, 0.25);
}

.star-rating {
    color: #fbbf24;
    font-size: 15px;
    margin-bottom: 12px;
}

.testimonial-comment {
    color: #f8fafc;
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.75;
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
}

.client-avatar-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--cyan);
}

/* Blog Cards & Pagination */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.blog-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta-badge {
    font-size: 13px;
    color: #fbbf24;
    font-family: var(--font-sub);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.blog-card-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.45;
}

.blog-card-title a {
    color: #ffffff;
}

.blog-card-title a:hover {
    color: #fbbf24;
}

.blog-card-excerpt {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Pagination */
.pagination-custom .page-link {
    background: #0a0f1d;
    border: 1px solid var(--border-color);
    color: #f1f5f9;
    font-family: var(--font-sub);
    font-weight: 700;
    padding: 8px 16px;
    margin: 0 3px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.pagination-custom .page-link:hover,
.pagination-custom .page-item.active .page-link {
    background: var(--cyan);
    color: #050811;
    border-color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
}

.pagination-custom .page-item.disabled .page-link {
    background: rgba(10, 15, 29, 0.5);
    color: #64748b;
    border-color: rgba(255, 255, 255, 0.05);
}

.pagination-custom .page-item.disabled .page-link {
    background: rgba(10, 15, 29, 0.5);
    color: #475569;
    border-color: rgba(255, 255, 255, 0.05);
}

/* Floating Action Widgets */
/* Bottom-Right Widgets */
.floating-right-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-action-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.float-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.float-call {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.float-action-btn:hover {
    transform: scale(1.12);
    color: #ffffff;
}

.pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Bottom-Left Widgets */
.floating-left-actions {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-pill-btn {
    background: rgba(10, 15, 29, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    color: #ffffff;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    padding: 9px 18px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.float-pill-btn.btn-pill-info {
    border-color: var(--cyan);
}

.float-pill-btn.btn-pill-info:hover {
    background: var(--cyan);
    color: #050811;
    box-shadow: 0 0 18px var(--cyan-glow);
    transform: translateY(-2px);
}

.float-pill-btn.btn-pill-quote {
    border-color: var(--gold);
}

.float-pill-btn.btn-pill-quote:hover {
    background: var(--gold);
    color: #050811;
    box-shadow: 0 0 18px var(--gold-glow);
    transform: translateY(-2px);
}

/* Modals */
.modal-tactical-content {
    background: #0a0f1d;
    border: 1px solid var(--border-glow);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    color: #ffffff;
}

.modal-tactical-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 24px;
}

.form-control-tactical,
.form-select-tactical {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    color: #ffffff;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
}

.form-control-tactical:focus,
.form-select-tactical:focus {
    background: #0f172a;
    border-color: var(--cyan);
    color: #ffffff;
    box-shadow: 0 0 10px var(--cyan-glow);
}

/* Footer */
.footer-tactical {
    background: #03050a;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 25px;
    color: #cbd5e1;
    font-size: 14.5px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.footer-links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 50px;
    font-size: 13.5px;
    color: #cbd5e1;
}

/* Article Deep Content & Details */
.article-deep-content p {
    color: #f1f5f9;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 20px;
}

.article-deep-content ul,
.article-deep-content ol {
    color: #e2e8f0;
    font-size: 15.5px;
    line-height: 1.8;
}

.article-deep-content li {
    margin-bottom: 10px;
}

.toc-box {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-color);
}

.toc-box ol {
    color: #e2e8f0;
}

.alert-tactical-box {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 10px;
    padding: 20px;
}

.stat-card-inner {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-color);
}

.quote-noir-box {
    background: rgba(15, 23, 42, 0.9);
}

.bg-dark-tactical {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item h6 {
    font-size: 16px;
    font-weight: 700;
}

.faq-item p {
    color: #e2e8f0 !important;
    font-size: 14.5px;
}

.cta-article-footer {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-glow);
}

/* Form Labels & Placeholders */
.form-label {
    color: #f8fafc !important;
    font-weight: 600;
}

.form-control-tactical::placeholder,
.form-control-admin::placeholder {
    color: #94a3b8 !important;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title { font-size: 32px; }
    .tactical-hud-bar { margin-top: 20px; }
    .floating-left-actions { bottom: 85px; left: 15px; }
    .floating-right-actions { bottom: 15px; right: 15px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 26px; }
    .float-pill-btn { font-size: 12px; padding: 7px 14px; }
}
