/* ==========================================================================
   ELİZAN BİLGİSAYAR - ULTRA MODERN STİL DOSYASI (style.css)
   Sıradan AI şablonlarından uzak; gerçekçi, donanım odaklı, şık ve akıcı tasarım.
   ========================================================================== */

:root {
    /* Renk Paleti - Koyu Mod Varsayılan */
    --bg-primary: #0a0d14;
    --bg-secondary: #101622;
    --bg-card: rgba(19, 27, 43, 0.75);
    --bg-card-hover: rgba(26, 38, 62, 0.85);
    --bg-glass: rgba(10, 13, 20, 0.94);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(6, 182, 212, 0.35);

    /* Vurgu & Aksan Renkleri */
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    --blue: #3b82f6;
    --indigo: #6366f1;
    --purple: #8b5cf6;
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.3);
    --amber: #f59e0b;
    --rose: #f43f5e;

    /* Metin Renkleri */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #38bdf8;

    /* Gölgeler & Cam Efektleri */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.18);
    --backdrop-blur: blur(8px);

    /* Boyutlandırma & Geçişler */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    --transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Space Grotesk', var(--font-main);
}

/* Açık Tema Seçeneği */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --border-color: rgba(0, 0, 0, 0.09);
    --border-hover: rgba(6, 182, 212, 0.6);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* 1. Üst Duyuru & Bilgi Bandı (Açık Tema) */
[data-theme="light"] .top-announcement-bar {
    background: linear-gradient(90deg, #eff6ff 0%, #e0f2fe 50%, #eff6ff 100%) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.25) !important;
}

[data-theme="light"] .top-announcement-text {
    color: #1e3a8a !important;
    font-weight: 600;
}

[data-theme="light"] .top-contact-links,
[data-theme="light"] .top-contact-links a,
[data-theme="light"] .top-contact-links span {
    color: #334155 !important;
}

[data-theme="light"] .top-contact-links a:hover {
    color: var(--cyan) !important;
}

/* 2. Google Haritalar & Yol Tarifi Al Alanı (Açık Tema) */
[data-theme="light"] .map-embed-wrapper {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .map-placeholder {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .map-placeholder h3 {
    color: #0f172a !important;
}

[data-theme="light"] .map-placeholder p {
    color: #475569 !important;
}

/* 3. Footer / Alt Bilgi (Açık Tema) */
[data-theme="light"] .main-footer {
    background: #e2e8f0 !important;
    border-top: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .main-footer .footer-col h4 {
    color: #0f172a !important;
}

[data-theme="light"] .main-footer .footer-col p {
    color: #334155 !important;
}

[data-theme="light"] .main-footer .footer-links a {
    color: #475569 !important;
}

[data-theme="light"] .main-footer .footer-links a:hover {
    color: var(--cyan) !important;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid #cbd5e1 !important;
    color: #64748b !important;
}

[data-theme="light"] .footer-guarantee-box {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

/* 4. Ekstra Kart ve Bileşen Açık Tema Uyumları */
[data-theme="light"] .contact-info-card {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .service-portal-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%), #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .testimonial-card {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .search-input-wrapper input {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .search-results-dropdown {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .modal-container {
    background: #ffffff;
    border-color: #cbd5e1;
}

[data-theme="light"] .cart-drawer {
    background: #ffffff;
    border-color: #cbd5e1;
}

[data-theme="light"] .user-dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .user-dropdown-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .user-dropdown-item {
    color: #334155 !important;
}

[data-theme="light"] .user-dropdown-item:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

[data-theme="light"] .btn-user-profile {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .btn-user-profile:hover {
    border-color: var(--cyan) !important;
    background: #f8fafc !important;
}

[data-theme="light"] .customer-panel-sidebar {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .cust-nav-btn {
    color: #475569 !important;
}

[data-theme="light"] .cust-nav-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

[data-theme="light"] .cust-nav-btn.active {
    background: rgba(6, 182, 212, 0.12) !important;
    color: var(--cyan) !important;
}

/* Genel Sıfırlamalar */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   ÜST DUYURU & BİLGİ BANDI (Top Bar)
   ========================================================================== */
.top-announcement-bar {
    background: linear-gradient(90deg, #091224 0%, #172554 50%, #091224 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.84rem;
    padding: 0.45rem 0;
    position: relative;
    z-index: 100;
}

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

.top-announcement-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-weight: 500;
}

.top-announcement-text .badge-pulse {
    background: var(--rose);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    animation: pulseGlow 2s infinite;
}

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

.top-contact-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-secondary);
}

.top-contact-links a:hover {
    color: var(--cyan);
}

.top-contact-links span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ==========================================================================
   NAVBAR (HEADER)
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-color);
    transform: translateZ(0);
    will-change: transform;
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: rgba(6, 182, 212, 0.2);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1.5rem;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-heading);
    text-decoration: none;
}

.brand-logo-img {
    height: 46px;
    max-width: 175px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.04);
}

/* Koyu modda logonun koyu lacivert yazılarının net okunması ve neon cyan ışıma */
:root:not([data-theme="light"]) .brand-logo-img,
[data-theme="dark"] .brand-logo-img {
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.75)) drop-shadow(0 2px 10px rgba(6, 182, 212, 0.28));
}

/* Açık temada temiz gölge */
[data-theme="light"] .brand-logo-img {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.footer-logo-img {
    height: 52px;
    max-width: 195px;
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: white;
    box-shadow: 0 0 15px var(--cyan-glow);
    position: relative;
    overflow: hidden;
}

.logo-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shineEffect 4s infinite;
}

@keyframes shineEffect {
    0% { transform: translateX(-100%) rotate(45deg); }
    30%, 100% { transform: translateX(100%) rotate(45deg); }
}

.logo-text h1 {
    font-size: 1.38rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    background: linear-gradient(90deg, #ffffff 0%, #e2e8f0 70%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .logo-text h1 {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 70%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
}

/* Arama Çubuğu */
.search-container {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Canlı Arama Sonuç Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-results-dropdown.active {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.search-item:hover {
    background: var(--bg-card-hover);
}

.search-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-item-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.search-item-info span {
    font-size: 0.8rem;
    color: var(--cyan);
    font-weight: 700;
}

/* Navigasyon Linkleri */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--cyan);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link .tag-new {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Navigasyon Sağ Aksiyonlar */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    position: relative;
    transition: var(--transition);
}

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

.badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--rose);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-primary);
}

/* Müşteri Giriş & Profil Butonları */
.btn-customer-auth {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-customer-auth:hover {
    background: var(--cyan);
    color: white;
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* ==========================================================================
   GİRİŞ YAPMIŞ KULLANICI PROFİL & ÇIKIŞ GRUBU (KESİN VE DOĞRUDAN SİSTEM)
   ========================================================================== */
.user-nav-auth-group {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-user-profile {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    line-height: 1.2;
}

.btn-user-profile:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.user-nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--indigo));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
}

.user-nav-name {
    font-weight: 700;
    color: inherit;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-nav-badge {
    background: rgba(6, 182, 212, 0.18);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
    letter-spacing: 0.3px;
}

.btn-user-logout {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.25);
    color: var(--rose);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.btn-user-logout:hover {
    background: var(--rose);
    color: #ffffff;
    border-color: var(--rose);
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.4);
    transform: translateY(-1px);
}

[data-theme="light"] .user-nav-badge {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .btn-user-logout {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #e11d48 !important;
}

[data-theme="light"] .btn-user-logout:hover {
    background: #e11d48 !important;
    color: #ffffff !important;
}


.user-dropdown-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.35rem;
}

.user-dropdown-header h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
}

.user-dropdown-header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.user-dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--cyan);
}

.user-dropdown-item:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.user-dropdown-item.item-logout {
    border-top: 1px solid var(--border-color);
    color: var(--rose);
    margin-top: 0.35rem;
}

.user-dropdown-item.item-logout i {
    color: var(--rose);
}

.btn-mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    .navbar {
        gap: 0.75rem;
    }

    .brand-logo-img {
        height: 40px;
        max-width: 145px;
    }

    .nav-actions {
        margin-left: auto;
        gap: 0.45rem;
    }

    .btn-customer-auth {
        padding: 0.5rem 0.65rem;
    }

    .btn-customer-auth span {
        display: none;
    }

    .nav-links.mobile-open {
        display: flex;
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.65rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.mobile-open .nav-link {
        padding: 0.7rem 0.85rem;
        border-radius: var(--radius-sm);
    }

    .nav-links.mobile-open .nav-link:hover,
    .nav-links.mobile-open .nav-link.active {
        background: rgba(6, 182, 212, 0.12);
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-header-actions {
        width: 100%;
    }

    .section-header-actions > * {
        max-width: 100%;
    }

    .deal-card,
    .modal-container,
    .customer-auth-container {
        padding: 1rem;
    }

    .modal-overlay {
        padding: 0.75rem;
    }

    .modal-header,
    .modal-footer {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

/* ==========================================================================
   HERO BANNER & VITRIN
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 3.5rem 0 2.5rem;
    overflow: hidden;
}

.hero-glow-blob {
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.16) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
    top: -100px;
    right: 5%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge-strip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    color: var(--cyan);
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 60%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Buton Stilleri */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.96rem;
    padding: 0.85rem 1.65rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 20px var(--cyan-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(6, 182, 212, 0.55);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--rose);
    color: white;
    border: 1px solid var(--rose);
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.28);
}

.btn-danger:hover {
    background: #e11d48;
    border-color: #e11d48;
    box-shadow: 0 7px 22px rgba(244, 63, 94, 0.42);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

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

.hero-stats-row {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.stat-item h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Görsel Kartı */
.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.5), transparent, rgba(99, 102, 241, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-visual-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 6px);
}

.hero-floating-badge {
    position: absolute;
    bottom: 1.75rem;
    left: 1.75rem;
    right: 1.75rem;
    background: rgba(10, 13, 20, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.floating-badge-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.floating-badge-info span {
    font-size: 0.8rem;
    color: var(--cyan);
    font-weight: 600;
}

.floating-badge-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--emerald);
}

/* ==========================================================================
   GÜVEN VE HİZMET AVANTAJ ŞERİDİ (Feature Strip)
   ========================================================================== */
.features-strip {
    margin-top: 1.5rem;
    margin-bottom: 3.5rem;
}

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

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

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

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.feature-box-text h4 {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-box-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   BÖLÜM BAŞLIKLARI (Section Headers)
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.35rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ==========================================================================
   KATEGORİ KARTLARI (Categories Section)
   ========================================================================== */
.categories-section {
    padding: 2.5rem 0;
}

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

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem 1rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    contain: layout style;
}

.category-card:hover, .category-card.active {
    background: var(--bg-card-hover);
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.15);
}

.category-card .cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--cyan);
    margin-bottom: 0.85rem;
    transition: var(--transition);
}

.category-card:hover .cat-icon {
    background: var(--cyan);
    color: white;
    box-shadow: 0 0 15px var(--cyan-glow);
}

.category-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.category-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   GÜNÜN FIRSATLARI (Deal of the Day Banner)
   ========================================================================== */
.deal-section {
    padding: 2rem 0;
}

.deal-card {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(99, 102, 241, 0.1) 100%), var(--bg-secondary);
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.deal-card::after {
    content: 'FIRSAT';
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(244, 63, 94, 0.04);
    pointer-events: none;
    user-select: none;
    font-family: var(--font-heading);
}

.deal-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
}

.deal-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.deal-img-wrapper img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.deal-discount-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--rose);
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
}

.deal-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.deal-info p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    margin-bottom: 1.25rem;
}

.countdown-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.countdown-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.8rem;
    text-align: center;
    min-width: 58px;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--rose);
}

.countdown-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.deal-price-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--emerald);
}

.price-old {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ==========================================================================
   ÜRÜN KARTLARI & VİTRİN (Product Showcase Grid)
   ========================================================================== */
.showcase-section {
    padding: 3rem 0;
}

.filter-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--cyan);
    color: white;
    border-color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 1.5rem;
}

/* Tekil Ürün Kartı */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    contain: layout style;
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(6, 182, 212, 0.15);
}

.product-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.product-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-thumb-wrapper img {
    transform: scale(1.06);
}

.product-badges {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
}

.badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    width: fit-content;
}

.badge-featured {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
}

.badge-deal {
    background: var(--rose);
    color: white;
}

.badge-stock {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.badge-low-stock {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.product-quick-action {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 3;
}

.product-card:hover .product-quick-action {
    opacity: 1;
    transform: translateY(0);
}

.btn-quick-view {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-quick-view:hover {
    background: var(--cyan);
    color: white;
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.product-sku {
    color: var(--text-muted);
    font-family: monospace;
    font-weight: 600;
}

.product-category-tag {
    color: var(--cyan);
    font-weight: 700;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
}

.product-specs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.spec-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
}

.product-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.card-price-old {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.card-price-current {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--emerald);
    line-height: 1.1;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.btn-card-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.4);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-card-whatsapp:hover {
    background: #25d366;
    color: white;
}

.btn-card-cart {
    background: var(--cyan);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-card-cart:hover {
    background: #0284c7;
    transform: scale(1.05);
}

/* ==========================================================================
   PC TOPLAMA SİHİRBAZI (Interactive Custom PC Builder)
   ========================================================================== */
.pc-builder-section {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(19, 27, 43, 0.6) 100%);
}

.builder-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.builder-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.builder-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.builder-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.builder-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 2.5rem;
}

.component-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.component-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition);
}

.component-row:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.06);
}

.component-info-col {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.comp-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.comp-name-group h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comp-name-group span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.component-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    min-width: 260px;
    outline: none;
    cursor: pointer;
}

.component-select:focus {
    border-color: var(--cyan);
}

/* Builder Özet Paneli */
.builder-summary-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.builder-summary-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.summary-spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
}

.summary-spec-item span:first-child {
    color: var(--text-muted);
}

.summary-spec-item span:last-child {
    font-weight: 700;
    color: var(--text-primary);
}

.wattage-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    margin: 1.25rem 0;
}

.wattage-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.wattage-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.wattage-bar {
    height: 100%;
    width: 45%;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.builder-total-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--emerald);
    margin: 1rem 0;
    text-align: center;
}

.builder-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ==========================================================================
   TEKNİK SERVİS & ARIZA TAKİP (Technical Service & Tracker)
   ========================================================================== */
.service-section {
    padding: 3.5rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

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

.service-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
}

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

.service-card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Arıza Takip & Kayıt Kutusu */
.service-portal-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%), var(--bg-secondary);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.portal-col h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.portal-col p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.track-input-group {
    display: flex;
    gap: 0.75rem;
}

.track-input-group input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
}

.track-input-group input:focus {
    border-color: var(--cyan);
    outline: none;
}

/* Servis Takip Sonuç Kutusu */
.ticket-result-box {
    margin-top: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: none;
}

.ticket-result-box.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ticket-status-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.status-pending { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.status-in_progress { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
.status-waiting_parts { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }
.status-completed { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }

/* ==========================================================================
   MÜŞTERİ YORUMLARI & GÜVEN (Testimonials)
   ========================================================================== */
.testimonials-section {
    padding: 3.5rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 400px;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars-row {
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.author-info h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   İLETİŞİM & MAĞAZA KONUMU (Contact & Location)
   ========================================================================== */
.contact-section {
    padding: 3.5rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-item-row {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.75rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-detail p, .contact-detail a {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.map-embed-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 100%;
    min-height: 380px;
    background: var(--bg-secondary);
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

/* ==========================================================================
   FOOTER (Alt Bilgi)
   ========================================================================== */
.main-footer {
    background: #060910;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 3rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--cyan);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   SEPET / TEKLİF ÇEKMECESİ (Cart Drawer)
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.cart-item-price {
    color: var(--emerald);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.qty-value {
    padding: 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-remove-item {
    color: var(--rose);
    font-size: 0.85rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.cart-total-row span:last-child {
    color: var(--emerald);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

/* ==========================================================================
   MODALLAR (Hızlı Bakış, Arıza Kayıt, vb.)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
}

.modal-overlay.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.modal-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: var(--transition);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
}

.btn-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-modal-close:hover {
    background: var(--rose);
    color: white;
}

.modal-body {
    padding: 1.75rem;
}

.logout-confirm-container {
    max-width: 430px;
}

.logout-confirm-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.logout-confirm-body p {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
}

.logout-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.logout-confirm-actions .btn {
    min-width: 120px;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
}

.form-control {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
    outline: none;
}

/* Toast Bildirimleri */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: auto;
    animation: toastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-success { border-left: 4px solid var(--emerald); }
.toast-error { border-left: 4px solid var(--rose); }
.toast-info { border-left: 4px solid var(--cyan); }

@keyframes toastSlide {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE (MOBİL & TABLET UYUMLULUK)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.6rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .deal-grid { grid-template-columns: 1fr; }
    .builder-layout { grid-template-columns: 1fr; }
    .service-card-grid { grid-template-columns: repeat(2, 1fr); }
    .service-portal-card { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-inner { flex-direction: column; text-align: center; }
    .top-contact-links { display: none; }
    .nav-links { display: none; } /* Mobil menü açılır */
    .search-container { order: 3; width: 100%; max-width: 100%; margin-top: 0.5rem; }
    .navbar { flex-wrap: wrap; }
    .btn-mobile-toggle { display: flex; }
    .hero-title { font-size: 2.1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MÜŞTERİ GİRİŞ & KAYIT MODALI (Customer Auth Modal)
   ========================================================================== */
.auth-nav-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.auth-tab-btn {
    flex: 1;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.auth-tab-btn:hover {
    color: var(--text-primary);
}

.auth-tab-btn.active {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.customer-auth-container {
    max-width: 580px !important;
    width: 100% !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 540px) {
    .container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .hero-section {
        padding-top: 2rem;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-badge-strip {
        font-size: 0.75rem;
    }

    .categories-grid {
        gap: 0.65rem;
    }

    .category-card {
        padding: 1rem 0.5rem;
    }

    .category-card h4 {
        overflow-wrap: anywhere;
    }

    .filter-tabs {
        gap: 0.4rem;
    }

    .tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .deal-card {
        padding: 1rem;
    }

    .deal-img-wrapper img {
        height: 220px;
    }

    .countdown-bar {
        gap: 0.4rem;
    }

    .countdown-block {
        min-width: 0;
        flex: 1;
        padding: 0.4rem;
    }

    .price-current {
        font-size: 1.55rem;
    }

    .toast-container {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .toast {
        width: 100%;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.field-error-msg {
    color: var(--rose);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.35rem;
    display: none;
    align-items: center;
    gap: 0.35rem;
    animation: fadeIn 0.2s ease;
    line-height: 1.35;
}

.field-error-msg.active {
    display: flex;
}

.form-control.input-error {
    border-color: var(--rose) !important;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.25) !important;
    background: rgba(244, 63, 94, 0.04) !important;
}

.form-alert-box {
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #fb7185;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 0.2s ease;
}

[data-theme="light"] .form-alert-box {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
}

[data-theme="light"] .form-control.input-error {
    background: #fff5f5 !important;
}

/* ==========================================================================
   MÜŞTERİ PANELİ (Customer Account Dashboard Modal)
   ========================================================================== */
.customer-panel-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 540px;
}

.customer-panel-sidebar {
    background: rgba(0, 0, 0, 0.25);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
}

.customer-sidebar-user {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.customer-big-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--indigo));
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    box-shadow: 0 0 20px var(--cyan-glow);
}

.customer-sidebar-user h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.customer-sidebar-user span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.customer-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.cust-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.cust-nav-btn i {
    width: 20px;
    text-align: center;
    color: var(--cyan);
}

.cust-nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.cust-nav-btn.active {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    border-left: 3px solid var(--cyan);
    font-weight: 700;
}

.cust-nav-btn .badge-pill {
    margin-left: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 9999px;
}

.cust-nav-btn.btn-cust-logout {
    margin-top: auto;
    color: var(--rose);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.cust-nav-btn.btn-cust-logout i {
    color: var(--rose);
}

/* Müşteri Paneli İçerik Alanı */
.customer-panel-content {
    padding: 1.75rem 2rem;
    overflow-y: auto;
    max-height: 75vh;
}

.cust-section-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.cust-section-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Sipariş Kartı */
.cust-order-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.cust-order-card:hover {
    border-color: var(--border-hover);
}

.cust-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.order-code-title {
    font-family: monospace;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--cyan);
}

.order-date-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-status-chip {
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-preparing { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-shipped { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-delivered { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }

.cust-order-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cust-order-item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cust-order-item-row img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}

.cust-order-item-row .item-details {
    flex: 1;
}

.cust-order-item-row h5 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.cust-order-item-row span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cust-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cust-order-total {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--emerald);
    font-family: var(--font-heading);
}

@media (max-width: 860px) {
    .customer-panel-layout {
        grid-template-columns: 1fr;
    }
    .customer-panel-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

