/* ============================================================
   Pi-Star Türkiye & HOBE Dijital - Ortak Tema & Stil Dosyası
   Modern Cyber-Tactical Dark Slate Design System
   Version: 20260924_4
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    /* Renk Paleti - Dark Slate & Cyan/Emerald Cyber Theme */
    --bg-base: #0b1324;
    --bg-surface: #131f37;
    --bg-card: rgba(22, 36, 64, 0.75);
    --bg-card-hover: rgba(30, 48, 84, 0.9);
    --bg-glass: rgba(15, 23, 42, 0.88);
    
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-card: rgba(56, 189, 248, 0.22);
    --border-card-hover: rgba(56, 189, 248, 0.7);
    
    --primary: #38bdf8;
    --primary-dark: #0ea5e9;
    --primary-glow: rgba(56, 189, 248, 0.35);
    --primary-bg: rgba(56, 189, 248, 0.12);
    
    --emerald: #34d399;
    --emerald-bg: rgba(16, 185, 129, 0.15);
    --amber: #fbbf24;
    --amber-bg: rgba(245, 158, 11, 0.15);
    --orange: #fb923c;
    --orange-bg: rgba(249, 115, 22, 0.15);
    --red: #f87171;
    --red-bg: rgba(239, 68, 68, 0.15);
    --purple: #c084fc;
    --purple-bg: rgba(168, 85, 247, 0.15);
    --blue: #60a5fa;
    --blue-bg: rgba(59, 130, 246, 0.15);
    
    --text-heading: #ffffff;
    --text-main: #f1f5f9;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --radius-pill: 9999px;
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
    --shadow-card-hover: 0 20px 40px -12px rgba(56, 189, 248, 0.25);
    --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Temel Sıfırlama ve Taşma Önleme */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.22) 0px, transparent 55%),
        radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.18) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.12) 0px, transparent 55%),
        linear-gradient(180deg, rgba(14, 25, 48, 0.65) 0%, rgba(10, 18, 36, 0.85) 100%),
        url('/bg.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Görsel Sınırlandırması: Hiçbir resim kapsayıcısını aşamaz */
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Konteyner */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* ============================================================
   Üst Navigasyon Çubuğu (Navbar)
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 18, 34, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
    transition: var(--transition-smooth);
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

/* HOBE Dijital Shield Logo Standard */
.nav-logo, .brand-logo, .logo, .footer-logo,
img.nav-logo, img.brand-logo, img.logo, .floating-brand-logo {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 11px !important;
    background: transparent !important;
    padding: 0 !important;
    border: 1px solid rgba(56, 189, 248, 0.5) !important;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.35) !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    aspect-ratio: 1 / 1 !important;
}

.brand-text {
    flex-shrink: 0;
}

.brand-text h1 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-text span {
    font-size: 0.68rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-shrink: 1;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-link i {
    font-size: 0.88rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.3);
}

.nav-link.active i {
    color: var(--emerald);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.48rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7 0%, #024b86 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.5);
    border-color: var(--primary);
    color: #fff;
}

/* Mobil Menü Butonu */
.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================================
   Sayfa Başlığı / Hero Bölümü (Page Hero)
   ============================================================ */
.page-hero {
    text-align: center;
    padding: 3.5rem 0 2rem;
    position: relative;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 36, 64, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.02em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
    animation: pulseGlow 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.page-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: #ffffff;
}

.page-hero h1 span {
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p.subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   Kartlar & Grid Mimarisi
   ============================================================ */
.section-body {
    padding: 1.5rem 0 4.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.tactical-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.tactical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.tactical-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-card-hover);
    box-shadow: var(--shadow-card-hover);
    background: var(--bg-card-hover);
}

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

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-bg);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
    flex-shrink: 0;
}

.icon-box.emerald {
    background: var(--emerald-bg);
    border-color: rgba(52, 211, 153, 0.35);
    color: var(--emerald);
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.2);
}

.icon-box.purple {
    background: var(--purple-bg);
    border-color: rgba(192, 132, 252, 0.35);
    color: var(--purple);
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.2);
}

.icon-box.orange {
    background: var(--orange-bg);
    border-color: rgba(251, 146, 60, 0.35);
    color: var(--orange);
    box-shadow: 0 0 15px rgba(251, 146, 60, 0.2);
}

.icon-box.amber {
    background: var(--amber-bg);
    border-color: rgba(245, 158, 11, 0.35);
    color: var(--amber);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--primary);
    white-space: nowrap;
}

.card-badge.emerald {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(52, 211, 153, 0.35);
    color: var(--emerald);
}

.card-title {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.card-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-features li i {
    color: var(--emerald);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.card-footer i {
    transition: transform 0.25s ease;
}

.tactical-card:hover .card-footer i {
    transform: translateX(5px);
}

/* ============================================================
   Metin / Yasal / Hukuki Doküman Kutusu (Content Box)
   ============================================================ */
.content-box {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.5rem;
    box-shadow: var(--shadow-card);
    max-width: 980px;
    margin: 0 auto;
    word-break: break-word;
}

.content-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0 0.75rem;
}

.content-box p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.content-box ul, .content-box ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.content-box li {
    margin-bottom: 0.5rem;
}

.content-box strong {
    color: #ffffff;
}

.callout-box {
    background: rgba(56, 189, 248, 0.08);
    border-left: 4px solid var(--primary);
    padding: 1.2rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
    color: var(--text-main);
    font-size: 0.95rem;
}

.callout-box.warning {
    background: rgba(239, 68, 68, 0.08);
    border-left-color: var(--red);
}

/* ============================================================
   İletişim Sayfası Bileşenleri
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-card-hover);
    background: var(--bg-card-hover);
}

.contact-item .icon-box {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
}

.contact-item-info h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.contact-item-info p, .contact-item-info a {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    word-break: break-all;
}

.contact-item-info a:hover {
    color: var(--primary);
}

.contact-item-desc {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 3px;
    font-weight: 500;
}

/* Taktiksel İletişim Formu */
.tactical-form {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: rgba(11, 19, 36, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    background: rgba(11, 19, 36, 0.95);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
    transition: var(--transition-smooth);
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
    border-color: var(--primary);
}

/* ============================================================
   Standart Alt Bilgi (Footer) - index.php ile 1:1 Uyumlu
   ============================================================ */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem 1.5rem 2rem;
    text-align: center;
    background: #040711;
    margin-top: 5rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.footer-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    white-space: nowrap;
}

.footer-link:hover, .footer-link.active {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.25);
}

.legal-warning {
    max-width: 960px;
    margin: 0 auto 2.25rem;
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.7;
    text-align: justify;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.legal-warning strong {
    color: var(--text-main);
}

.copyright {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
}

.copyright strong {
    color: var(--text-muted);
}

/* ============================================================
   Responsive (Duyarlı) Kurallar
   ============================================================ */
@media (max-width: 1080px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 18, 34, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    }
    
    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.92rem;
        width: 100%;
    }

    .nav-cta {
        justify-content: center;
        padding: 0.75rem 1.2rem;
        font-size: 0.92rem;
        margin-top: 6px;
    }
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2.5rem 0 1.5rem;
    }
    
    .content-box {
        padding: 1.75rem 1.25rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .legal-warning {
        text-align: left;
    }
}

/* Geri Dön / Ana Sayfa Butonu (Alt Sayfalar İçin) */
.btn-back-home {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    color: #38bdf8 !important;
    padding: 8px 18px !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-back-home:hover {
    background: #38bdf8 !important;
    color: #060a14 !important;
    transform: translateX(-3px) !important;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.5) !important;
}

.btn-back-home i {
    font-size: 0.95rem !important;
    transition: transform 0.2s ease !important;
}

.btn-back-home:hover i {
    transform: translateX(-3px) !important;
}

@media (max-width: 576px) {
    .btn-back-home span {
        display: inline;
    }
}
