/* ==========================================
   KIA ÖZEL SERVİS - DESIGN SYSTEM & CORE STYLES (2026 Edition)
   ========================================== */

:root {
    /* Color Palette */
    --color-bg-primary: #0d0f12;
    --color-bg-secondary: #14171c;
    --color-bg-card: #1c2026;
    --color-bg-card-hover: #242932;
    --color-bg-light: #f8f9fa;
    --color-bg-white: #ffffff;
    
    --color-text-main: #f1f3f5;
    --color-text-muted: #9ea7b3;
    --color-text-dark: #121417;
    --color-text-dark-muted: #5a626c;
    
    /* Kia Brand Accent Colors */
    --color-accent: #c8102e; /* Kia Vibrant Red */
    --color-accent-hover: #a50b23;
    --color-accent-light: rgba(200, 16, 46, 0.12);
    --color-accent-border: rgba(200, 16, 46, 0.3);
    
    --color-border: #2a303a;
    --color-border-light: #e2e8f0;
    
    /* Typography */
    --font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Layout */
    --container-max-width: 1240px;
    --header-height: 80px;
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 20px rgba(200, 16, 46, 0.25);
}

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-primary);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.text-accent { color: var(--color-accent) !important; }
.text-white { color: #ffffff !important; }
.text-muted { color: var(--color-text-muted) !important; }

/* Buttons & Badge Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
    border: 1px solid var(--color-accent);
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.45);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: var(--color-accent-light);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    border: 1px solid #25D366;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.825rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border: 1px solid var(--color-accent-border);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Header & Section Title Standard */
.section-title {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
}

.section-title.text-left {
    text-align: left;
    margin-left: 0;
}

.section-title p {
    font-size: 1.1rem;
    margin-top: 0.75rem;
}

/* Cards Standard */
.card {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: var(--color-accent-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Breadcrumb Component */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

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

.breadcrumb span.separator {
    color: var(--color-border);
}

.breadcrumb span.current {
    color: #ffffff;
    font-weight: 600;
}

/* Answer First / GEO Summary Box */
.geo-summary-box {
    background: linear-gradient(135deg, rgba(28, 32, 38, 0.9) 0%, rgba(20, 23, 28, 0.95) 100%);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.geo-summary-box h3 {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.geo-summary-box p {
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Responsive Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Universal List Alignment Reset */
ul, ol {
    line-height: 1.6;
}

ul li svg, ol li svg {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: text-bottom;
}

/* Focus & Reduced Motion */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
