/* ===================================
   LED Tabela Kart - FINAL CSS
   Mobil Tam Uyumlu
   =================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #f97316;
    --secondary-dark: #ea580c;
    
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --radius: 0.5rem;
    --radius-lg: 1rem;
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
}

/* ===================================
   CONTAINER
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ===================================
   HEADER
   =================================== */

.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.5rem 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.header-top a {
    color: white;
    margin-left: var(--spacing-sm);
}

.header-top a:hover {
    opacity: 0.8;
}

.header-main {
    padding: var(--spacing-sm) 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem var(--spacing-sm);
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--bg-light);
    color: var(--primary);
}

/* Mobil menü butonu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
    padding: 0.5rem;
    z-index: 1001;
}

/* Mobil menü overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ===================================
   HERO
   =================================== */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.hero .btn {
    margin: 0 0.5rem;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

/* ===================================
   MODERN CATEGORY BANNERS
   =================================== */

.modern-category-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.modern-category-banner {
    position: relative;
    height: 200px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.modern-category-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.modern-category-banner.color-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.modern-category-banner.color-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.modern-category-banner.color-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.modern-category-banner.color-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.modern-category-banner.color-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modern-category-banner.color-teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.modern-category-banner.color-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.modern-category-banner.color-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.modern-banner-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    z-index: 2;
}

.modern-banner-text {
    flex: 1;
}

.modern-banner-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.modern-banner-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    font-weight: 500;
}

.modern-banner-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #1f2937;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.modern-banner-button:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.modern-banner-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: transform 0.4s ease;
}

.modern-category-banner:hover .modern-banner-image {
    transform: scale(1.1) rotate(5deg);
}

.modern-banner-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    pointer-events: none;
}

.decoration-1 {
    width: 250px;
    height: 250px;
    top: -80px;
    right: -50px;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    left: -30px;
}

/* ===================================
   CATEGORY GRID (eski stil)
   =================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

/* ===================================
   İLETİŞİM BÖLÜMÜ - MOBİL UYUMLU
   =================================== */

.contact-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: var(--spacing-xl) 0;
}

.contact-section .section-title h2,
.contact-section .section-title p {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    display: inline-block;
    word-wrap: break-word;
    max-width: 100%;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-btn {
    margin-top: 1rem;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: white;
}

.footer ul {
    list-style: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE MOBİL (<968px)
   =================================== */
   
   body.menu-open {
    overflow: hidden !important;
}

/* BURAYA EKLE! ↓ */
.mobile-menu-btn {
    display: flex !important;
}

/* Ana menü - başlangıçta gizli, sağda */
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: -4px 0 30px rgba(0,0,0,0.3);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow-y: auto;
}

.main-nav.active {
    right: 0 !important;
}

/* Menü içeriği - alt alta */
.main-nav ul {
    flex-direction: column !important;
    gap: 0;
    width: 100%;
    padding: 2rem 0 !important;
    margin: 0 !important;
}

.main-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    transition: background 0.2s ease;
}

.main-nav li:hover {
    background: rgba(255,255,255,0.1);
}

.main-nav li:first-child {
    border-top: 1px solid rgba(255,255,255,0.15);
}

.main-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: white !important;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    padding-left: 2rem;
    background: rgba(255,255,255,0.15);
}

.main-nav a.active {
    background: rgba(255,255,255,0.2);
    border-left: 4px solid #fff;
}

/* Overlay - arka plan kararması */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999; /* Menünün altında */
    pointer-events: none; /* Başlangıçta tıklanamaz */
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Aktifken tıklanabilir */
}

@media (max-width: 968px) {
    /* Modern kategoriler - tek sütun */
    .modern-category-banner-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .modern-category-banner {
        height: 180px;
    }
    
    .modern-banner-content {
        padding: 0 1.75rem;
    }
    
    .modern-banner-title {
        font-size: 1.4rem;
    }
    
    .modern-banner-subtitle {
        font-size: 0.85rem;
    }
    
    .modern-banner-image {
        width: 140px;
        height: 140px;
    }
    
    /* İletişim kartları - tek sütun */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon {
        font-size: 3rem;
    }
    
    /* Header */
    .header-top .container {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    /* Hero */
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* ===================================
   KÜÇÜK MOBİL (<480px)
   =================================== */

@media (max-width: 480px) {
    .modern-category-banner {
        height: 160px;
    }
    
    .modern-banner-content {
        padding: 0 1.25rem;
    }
    
    .modern-banner-title {
        font-size: 1.2rem;
    }
    
    .modern-banner-subtitle {
        font-size: 0.75rem;
    }
    
    .modern-banner-button {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .modern-banner-image {
        width: 100px;
        height: 100px;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        font-size: 2.5rem;
    }
    
    .contact-card h3 {
        font-size: 1.125rem;
    }
    
    .contact-link {
        font-size: 1rem;
    }
    
    .main-nav {
        width: 90%;
    }
    
    .main-nav ul {
        padding: 5rem 1.5rem 2rem 1.5rem;
    }
}

/* Body scroll engelleme */
body.menu-open {
    overflow: hidden !important;
}

/* İletişim formu grid */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .contact-form-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* Ürün Grid - Responsive */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.product-card-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #f3f4f6;
}

.product-card-content {
    padding: 1.5rem;
}

.product-code {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-card-content h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.product-card-content p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 1rem;
    }
    
    .product-card-image {
        height: 150px;
    }
    
    .product-card-content {
        padding: 1rem;
    }
    
    .product-card-content h3 {
        font-size: 1rem;
    }
    
    .product-card-content p {
        font-size: 0.8rem;
    }
}

/* Modern Breadcrumb - Ok İşaretli */
.breadcrumb {
    background: #f8fafc;
    padding: 1rem 0;
    margin-bottom: 0;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "→";
    margin-left: 0.5rem;
    color: #94a3b8;
    font-weight: bold;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.breadcrumb li:last-child a,
.breadcrumb li:last-child {
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.75rem 0;
    }
    
    .breadcrumb li {
        font-size: 0.85rem;
    }
    
    .breadcrumb li:not(:last-child)::after {
        margin-left: 0.375rem;
    }
}
    
    .product-card-content {
        padding: 1rem;
    }
}

/* Ürün teknik özellikler liste stili */
.specifications ul {
    margin: 0;
    padding-left: 1.2rem;
}
.specifications ul li {
    margin-bottom: 2px;
    padding: 0;
    line-height: 1.7;
}
/* Logo boyutu - header yüksekliği değişmez */
.header-main .logo img {
    transform: scale(1.25);
    transform-origin: left center;
}
@media (max-width: 768px) {
    .header-main .logo img {
        transform: scale(1.6);
    }
}