/* ==========================================================================
   Araç İçi Kamera Sistemleri - Premium Modern Design System
   ========================================================================== */

:root {
    --primary: #1d4ed8;
    --primary-hover: #1e40af;
    --primary-light: #eff6ff;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.4);
    --dark-bg: #060913;
    --hero-bg: linear-gradient(135deg, #070c1e 0%, #0d1b2a 100%);
    --card-dark: #0f172a;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #f8fafc;
    --border-color: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 35px -5px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Bar */
.top-bar {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-contacts {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-contacts a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-contacts a:hover {
    color: var(--white);
}

.top-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-socials a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.top-socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Main Navbar */
.main-navbar {
    background: var(--white);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 2px solid #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.25rem;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

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

.logo-text .title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-text .subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0f172a;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

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

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: var(--hero-bg);
    color: var(--text-white);
    padding: 70px 0 110px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: #60a5fa;
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
}

.hero-feat-item i {
    font-size: 1.25rem;
    color: #60a5fa;
}

.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Hero Media Display */
.hero-media {
    position: relative;
}

.hero-device-frame {
    background: #000;
    border: 4px solid #334155;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.2);
    overflow: hidden;
    position: relative;
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 140px;
    gap: 2px;
    background: #1e293b;
}

.screen-cam {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.cam-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cam-badge .live-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.screen-cam-1 { background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?auto=format&fit=crop&w=600&q=80') center/cover; }
.screen-cam-2 { background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('https://images.unsplash.com/photo-1506521781263-d8422e82f27a?auto=format&fit=crop&w=600&q=80') center/cover; }
.screen-cam-3 { background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=600&q=80') center/cover; }
.screen-cam-4 { background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?auto=format&fit=crop&w=600&q=80') center/cover; }

.screen-controls {
    background: #0f172a;
    padding: 8px 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #94a3b8;
    font-size: 0.85rem;
}

.floating-camera-left, .floating-camera-right {
    position: absolute;
    width: 130px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    text-align: center;
    z-index: 2;
}

.floating-camera-left {
    bottom: -25px;
    left: -20px;
}

.floating-camera-right {
    bottom: -25px;
    right: -20px;
}

.floating-camera-left img, .floating-camera-right img {
    height: 70px;
    margin: 0 auto 5px;
    object-fit: contain;
}

.floating-camera-left span, .floating-camera-right span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #e2e8f0;
}

/* ==========================================================================
   Floating Key Benefits Bar
   ========================================================================== */
.benefits-bar-wrapper {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.benefits-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border: 1px solid #f1f5f9;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.benefit-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.benefit-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Product Categories Section
   ========================================================================== */
.section {
    padding: 80px 0;
}

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

.section-dark {
    background-color: var(--card-dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 8px;
    display: inline-block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

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

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: #93c5fd;
}

.category-img-box {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 10px;
}

.category-img-box img {
    max-height: 110px;
    object-fit: contain;
}

.category-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-card {
    width: 100%;
    padding: 10px 0;
    background: #f1f5f9;
    color: #334155;
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

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

.why-us-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.why-us-content h2 span {
    color: #60a5fa;
}

.why-us-content p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 30px;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}

.check-icon {
    width: 22px;
    height: 22px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: #60a5fa;
    margin-bottom: 12px;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ==========================================================================
   Installation Service Section
   ========================================================================== */
.service-showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-media img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.service-media .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.service-media .play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--white);
}

.service-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.service-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.service-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.service-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

.service-feat-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.service-actions {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   Brands Section
   ========================================================================== */
.brands-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

.brands-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.brands-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-item {
    font-size: 1.4rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.brand-item:hover {
    color: #0f172a;
    transform: scale(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 70px 0 0;
    font-size: 0.9rem;
}

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

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: var(--text-light);
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-contacts i {
    color: #60a5fa;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0;
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    color: var(--text-light);
}

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

/* ==========================================================================
   Modal Dialogs (Teklif Al Modal)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 550px;
    padding: 35px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-backdrop.show .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: #0f172a;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-features {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .benefits-bar {
        grid-template-columns: 1fr 1fr;
    }
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .service-showcase-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .top-contacts {
        display: none;
    }
    .top-bar-inner {
        justify-content: center;
    }
    .benefits-bar {
        grid-template-columns: 1fr;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
