/*
 * DJI HATA KODLARI - PREMIUM PROFESSIONAL DESIGN
 * Inspired by Odakon Homepage Excellence
 * Version: 4.0 - ULTIMATE REDESIGN
 * Author: Odakon DJI Servis
 */

/* ===============================================
   GLOBAL VARIABLES - Premium Color System
   =============================================== */
:root {
    /* Brand Colors - Exactly from Homepage */
    --primary-color: #1e3a5f;
    --primary-dark: #16293f;
    --secondary-color: #2c5282;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Dark Shades */
    --dark: #0f1419;
    --dark-blue: #1e3a5f;
    
    /* Light Shades */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-gray: #e5e7eb;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: rgba(255, 255, 255, 0.9);
    
    /* Gradients - Premium Effects */
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    --gradient-dark: linear-gradient(135deg, #0f1419 0%, #1e3a5f 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-danger: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    
    /* Shadows - Professional Depth */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.hata-wrapper {
    background: var(--light-gray);
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================================
   HERO SECTION - Exact Homepage Style
   =============================================== */
.hata-hero {
    min-height: 70vh;
    background: var(--gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 100px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(30, 58, 95, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-breadcrumb a:hover {
    color: var(--white);
}

.hero-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.hero-breadcrumb .current {
    color: var(--white);
    font-weight: 600;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.drone-icon-wrapper {
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.drone-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ===============================================
   SEARCH SECTION - Premium Card
   =============================================== */
.search-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    margin: -60px auto 0;
    max-width: 900px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-gray);
}

.search-box {
    position: relative;
    margin-bottom: 16px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    z-index: 1;
}

#errorCodeSearch {
    width: 100%;
    padding: 18px 20px 18px 56px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-size: 16px;
    color: var(--text-dark);
    transition: var(--transition);
    font-weight: 500;
}

#errorCodeSearch:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

#errorCodeSearch::placeholder {
    color: var(--text-gray);
}

.search-info {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    min-height: 20px;
}

/* ===============================================
   CATEGORY FILTER - Modern Tabs
   =============================================== */
.category-filter {
    background: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--border-gray);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.filter-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    background: #f0f1f3;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

/* ===============================================
   ERROR SECTIONS - Premium Layout
   =============================================== */
.error-section {
    padding: 100px 0;
    background: var(--white);
}

.error-section:nth-child(even) {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===============================================
   ERROR CARDS - ULTIMATE PREMIUM DESIGN
   =============================================== */
.error-grid,
.error-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.error-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    margin-bottom: 10px;
}

.error-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.error-card:hover::before {
    transform: scaleX(1);
}

.error-card.critical::before {
    background: var(--gradient-danger);
}

.error-card.warning::before {
    background: var(--gradient-warning);
}

/* Card Header - Premium Badge Design */
.error-header {
    padding: 32px 32px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.error-code-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 20px;
    font-weight: 800;
    border-radius: 10px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.4);
}

.error-card.critical .error-code-badge {
    background: var(--gradient-danger);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.error-card.warning .error-code-badge {
    background: var(--gradient-warning);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.error-severity,
.error-severity-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.error-card.critical .error-severity,
.error-card.critical .error-severity-badge,
.error-severity-badge.critical {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.error-card.warning .error-severity,
.error-card.warning .error-severity-badge,
.error-severity-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

/* Card Body - Clean Typography */
.error-title {
    padding: 28px 32px 16px;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.error-desc,
.error-description {
    padding: 0 32px 24px;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.error-causes {
    padding: 0 32px 24px;
}

.error-causes strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--warning-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.error-causes ul {
    list-style: none;
    padding: 0;
}

.error-causes li {
    padding: 12px 0 12px 32px;
    position: relative;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-gray);
}

.error-causes li:last-child {
    border-bottom: none;
}

.error-causes li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--warning-color);
    font-weight: 800;
    font-size: 18px;
}

/* Card Footer - Success Solution */
.error-solution,
.error-solution-box {
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    border-top: 2px solid rgba(16, 185, 129, 0.2);
}

.error-solution strong,
.error-solution-box strong,
.solution-user strong,
.solution-service strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--success-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.solution-service strong {
    color: var(--warning-color);
}

.error-solution p,
.error-solution-box p,
.solution-user p,
.solution-service p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.solution-user,
.solution-service {
    margin-bottom: 16px;
}

.solution-service:last-child {
    margin-bottom: 0;
}

.error-solution a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.error-solution a:hover {
    border-bottom-color: var(--primary-color);
}

/* ===============================================
   FIRST AID SECTION - İlk Yapmanız Gerekenler
   =============================================== */
.first-aid-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.first-aid-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.first-aid-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    margin-bottom: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.first-aid-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.first-aid-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.first-aid-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.first-aid-header p {
    font-size: 20px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Aid Steps Grid */
.first-aid-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.aid-step {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.aid-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-blue);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    margin-bottom: 20px;
}

.aid-step h4 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.aid-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aid-step ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

.aid-step ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

.aid-step ul li:last-child {
    margin-bottom: 0;
}

/* Warning Box */
.aid-warning-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 3px solid #ef4444;
    border-radius: var(--border-radius-lg);
    padding: 32px 40px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    box-shadow: 0 12px 48px rgba(239, 68, 68, 0.15);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.aid-warning-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.warning-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.warning-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.warning-content h3 {
    font-size: 22px;
    font-weight: 900;
    color: #dc2626;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.warning-content > p {
    font-size: 15px;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.warning-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.warning-content ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #7f1d1d;
    font-weight: 600;
}

.warning-content ul li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #7c2d12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

.warning-content .cta-buttons {
    justify-content: flex-start;
}

.warning-content .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
}

.warning-content .cta-button.primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.warning-content .cta-button.secondary {
    background: var(--white);
    color: #10b981;
    border-color: #10b981;
}

/* ===============================================
   YAZILIM CTA - Premium Call to Action
   =============================================== */
.yazilim-cta {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #e8eef4 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.yazilim-cta::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.yazilim-cta::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, 50px);
    }
}

.cta-card {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: var(--border-radius-lg);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    transition: var(--transition);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.cta-card h2 {
    position: relative;
    z-index: 1;
    font-size: 32px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-card p {
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-gray);
}

/* ===============================================
   CONTACT SECTION - Premium Contact Card
   =============================================== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

.contact-cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-radius: 24px;
    padding: 56px 48px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 24px 72px rgba(15, 23, 42, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.05) inset,
                0 4px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-cta-box::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-cta-box::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info-center {
    position: relative;
    z-index: 1;
}

.contact-info-center h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
}

.contact-info-center h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #3b82f6 50%, transparent 100%);
    border-radius: 2px;
}

.contact-info-center p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 48px;
    margin-top: 24px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: var(--white);
    position: relative;
}

.contact-method svg {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.contact-method div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.contact-method strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    font-weight: 700;
}

.contact-method span {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .error-grid,
    .error-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .hata-hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-section {
        padding: 32px 24px;
        margin: -40px 20px 0;
        border-radius: var(--border-radius);
    }
    
    .filter-tabs {
        gap: 8px;
    }
    
    .filter-tab {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .error-section {
        padding: 80px 0;
    }
    
    .error-grid,
    .error-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .error-header,
    .error-title,
    .error-desc,
    .error-causes,
    .error-solution {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .cta-card,
    .contact-cta-box {
        padding: 60px 32px;
    }
    
    .cta-card h2,
    .contact-info-center h2 {
        font-size: 28px;
    }
    
    /* First Aid Section Mobile */
    .first-aid-header h2 {
        font-size: 36px;
    }
    
    .first-aid-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .aid-step {
        padding: 40px 32px;
    }
    
    .aid-warning-box {
        flex-direction: column;
        gap: 24px;
        padding: 40px 32px;
    }
    
    .warning-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .error-code-badge {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    /* First Aid Section Extra Small */
    .first-aid-header h2 {
        font-size: 28px;
    }
    
    .first-aid-icon {
        width: 90px;
        height: 90px;
    }
    
    .step-number {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .aid-step h4 {
        font-size: 20px;
    }
    
    .aid-step {
        padding: 32px 24px;
    }
    
    .warning-content h3 {
        font-size: 22px;
    }
    
    .warning-icon {
        width: 64px;
        height: 64px;
    }
}
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; text-decoration: none; }
