/* ==========================================================================
   KOCAELİ EKSPERTİZ - MODERN DESIGN SYSTEM & UI/UX CSS
   Domain: kocaeliekspertiz.com
   ========================================================================== */

:root {
    /* Color Palette */
    --primary: #0A2540;
    --primary-light: #1E3A8A;
    --primary-dark: #071729;
    --accent: #00D4B2;
    --accent-hover: #00B396;
    --secondary: #0284C7;
    --dark: #0F172A;
    --dark-muted: #334155;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;
    --call-color: #DC2626;
    --call-dark: #B91C1C;
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 10px 30px rgba(10, 37, 64, 0.12);
    --shadow-hover: 0 20px 40px rgba(10, 37, 64, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--dark-muted);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 70px; /* Space for mobile sticky bar */
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 178, 0.35);
    color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-call {
    background-color: var(--call-color);
    color: var(--white);
}

.btn-call:hover {
    background-color: var(--call-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: #CBD5E1;
    font-size: 0.875rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-info a {
    color: #CBD5E1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.badge-spk {
    background: rgba(0, 212, 178, 0.15);
    color: var(--accent);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(0, 212, 178, 0.3);
}

.top-btn-whatsapp {
    color: var(--white) !important;
    background-color: var(--whatsapp);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8rem;
}

.top-btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
}

/* Main Navigation */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.brand-title strong {
    color: var(--secondary);
}

.brand-sub {
    font-size: 0.725rem;
    color: #64748B;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary);
    background-color: rgba(2, 132, 199, 0.06);
}

.nav-item {
    position: relative;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--border);
}

.dropdown-menu.mega-dropdown {
    width: 320px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 12px;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--dark-muted);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

.dropdown-menu a i {
    color: var(--secondary);
    width: 16px;
}

.dropdown-menu a:hover {
    background-color: var(--light-bg);
    color: var(--secondary);
}

.view-all-link {
    font-weight: 700 !important;
    color: var(--secondary) !important;
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 12px !important;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    display: flex;
    z-index: 9999;
    border-top: 1px solid var(--border);
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sticky-btn.btn-call {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: var(--white);
}

.sticky-btn.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: var(--white);
}

@media (min-width: 992px) {
    .mobile-sticky-bar {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0A2540 0%, #071729 100%);
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 178, 0.15) 0%, rgba(10, 37, 64, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent);
}

.hero-lead {
    font-size: 1.15rem;
    color: #94A3B8;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h4 {
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 800;
}

.stat-item p {
    color: #94A3B8;
    font-size: 0.85rem;
}

/* Quick Form Card */
.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    color: var(--dark);
}

.form-card-header {
    margin-bottom: 24px;
    text-align: center;
}

.form-card-header h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-card-header p {
    color: #64748B;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-control, .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: var(--font-main);
    color: var(--dark);
    background-color: var(--light-bg);
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

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

/* Feature & Service Cards */
.section {
    padding: 90px 0;
}

.section-bg-light {
    background-color: var(--white);
}

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

.section-subtitle {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    color: #64748B;
    font-size: 1.05rem;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(2, 132, 199, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--white);
}

.service-title {
    margin-bottom: 12px;
}

.service-desc {
    color: #64748B;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
}

.service-card:hover .service-link {
    color: var(--primary);
}

/* District Grid (12 Kocaeli Districts) */
.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.district-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.district-icon {
    width: 48px;
    height: 48px;
    background: rgba(10, 37, 64, 0.05);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.district-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.district-info span {
    font-size: 0.8rem;
    color: #64748B;
}

/* Trust & Why Choose Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.why-us-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 16px;
}

.why-icon {
    width: 42px;
    height: 42px;
    background: rgba(0, 212, 178, 0.12);
    color: var(--accent-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.why-text h4 {
    margin-bottom: 4px;
}

.why-text p {
    font-size: 0.9rem;
    color: #64748B;
}

.spk-banner-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.spk-banner-card h3 {
    color: var(--accent);
    margin-bottom: 16px;
}

.spk-banner-card p {
    color: #CBD5E1;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-grid {
    max-width: 840px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}

.faq-header i {
    transition: var(--transition);
    color: var(--secondary);
}

.faq-content {
    padding: 0 24px 20px;
    color: #64748B;
    font-size: 0.95rem;
    display: none;
}

.faq-item.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

/* Footer Styling */
.main-footer {
    background-color: var(--primary-dark);
    color: #94A3B8;
    padding-top: 70px;
    border-top: 4px solid var(--accent);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-logo i {
    color: var(--accent);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.spk-trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
}

.spk-trust-badge i {
    font-size: 1.5rem;
    color: var(--accent);
}

.spk-trust-badge strong {
    display: block;
    color: var(--white);
    font-size: 0.85rem;
}

.spk-trust-badge span {
    font-size: 0.75rem;
    color: #94A3B8;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

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

.footer-links a {
    color: #94A3B8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-grid-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact-info i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-contact-info a {
    color: #94A3B8;
}

.footer-contact-info a:hover {
    color: var(--white);
}

.footer-bottom {
    background-color: #040D1A;
    padding: 20px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: #94A3B8;
}

.footer-legal-links a:hover {
    color: var(--accent);
}

/* Page Banner */
/* Page Banner & Glassmorphic Breadcrumb */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 50px 0 45px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 178, 0.12) 0%, rgba(10, 37, 64, 0) 70%);
    pointer-events: none;
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(1.6rem, 3.5vw, 2.75rem);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #CBD5E1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.breadcrumb a {
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

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

/* Responsive Media Queries */
@media (max-width: 991px) {
    .hero-grid, .why-us-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .hide-mobile {
        display: none !important;
    }

    .nav-list {
        display: none; /* Handled by JS mobile toggle */
    }

    .mobile-toggle {
        display: block;
    }

    .hide-tablet {
        display: none;
    }

    .main-nav.mobile-active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        border-top: 1px solid var(--border);
    }

    .main-nav.mobile-active .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        width: 100% !important;
        border: none;
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 32px 15px 24px;
    }

    .page-banner h1 {
        font-size: 1.35rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .breadcrumb {
        font-size: 0.775rem;
        padding: 6px 14px;
        gap: 6px;
        line-height: 1.4;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

