:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: #fff;
}

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

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.top-bar {
    background: var(--secondary);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

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

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar a:hover {
    color: #fff;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switcher a {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: var(--transition);
}

.lang-switcher a.active {
    background: var(--primary);
    color: #fff;
}

.lang-switcher a:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
}

.main-nav {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    white-space: nowrap;
}

.logo i {
    font-size: 36px;
    color: var(--primary);
}

.logo small {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary);
    color: #fff;
}

.nav-search {
    flex: 0 0 280px;
}

.nav-search form {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
}

.nav-search input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    background: transparent;
    font-size: 14px;
}

.nav-search input:focus {
    outline: none;
}

.nav-search button {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-search button:hover {
    background: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
}

.hero {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    max-width: 700px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

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

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.hero-stats .stat span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Pages Box (Scrollable Featured Pages) */
.hero-visual {
    flex: 1.5;
    min-width: 350px;
    max-width: 750px;
    display: flex;
    justify-content: flex-start;
}

.hero-pages-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-lg);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-pages-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.hero-pages-box h3 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-pages-scroll {
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Scrollbar Styles for the Box */
.hero-pages-scroll::-webkit-scrollbar {
    width: 6px;
}

.hero-pages-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.hero-pages-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.hero-page-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    gap: 12px;
}

.hero-page-item:last-child {
    border-bottom: none;
}

.hero-page-item:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 25px;
    color: #fff;
}

.hero-page-item .icon {
    font-size: 16px;
    color: var(--accent);
}

.hero-page-item .title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-page-item .arrow {
    font-size: 12px;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}

.hero-page-item:hover .arrow {
    opacity: 1;
    transform: translateX(3px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

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

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--gray-800);
    border-color: var(--gray-800);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-100);
    color: var(--secondary);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

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

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

.btn-block {
    width: 100%;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

.btn-danger:hover {
    background: #dc2626;
    color: #fff;
}

.features {
    padding: 60px 0;
    background: #fff;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

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

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #fff;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
}

.section {
    padding: 80px 0;
}

.bg-light {
    background: var(--gray-100);
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-500);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.categories-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    /* Scrollbar için boşluk */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

/* Scrollbar Tasarımı */
.categories-grid::-webkit-scrollbar {
    height: 6px;
}

.categories-grid::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.categories-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.category-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    flex: 0 0 calc(25% - 15px);
    /* Masaüstünde 4 kart yan yana */
    min-width: 220px;
    /* Mobilde veya dar ekranda minimum boyut */
    scroll-snap-align: start;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    height: 180px;
    background: var(--gray-100);
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--gray-300);
}

.category-info {
    padding: 20px;
    text-align: center;
}

.category-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.category-info span {
    font-size: 13px;
    color: var(--gray-500);
}

.categories-page-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible !important;
    gap: 25px !important;
}

.categories-page-grid .category-card-large {
    min-width: auto !important;
}

.category-card-large .category-image {
    height: 220px;
}

.category-card-large .category-info {
    text-align: left;
}

.category-card-large .category-info p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.category-card-large .product-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

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

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    height: 200px;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--gray-300);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.badge-featured {
    background: var(--warning);
    color: #fff;
}

.badge-new {
    background: var(--success);
    color: #fff;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin: 8px 0;
    line-height: 1.3;
}

.product-price {
    margin: 10px 0;
}

.product-price .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.stock {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stock.in-stock {
    color: var(--success);
}

.stock.out-stock {
    color: var(--danger);
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
    color: #fff;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.9);
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.products-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-100);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 5px;
}

.category-list a {
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: var(--transition);
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary);
    color: #fff;
}

.category-list span {
    font-size: 12px;
    color: var(--gray-400);
}

.products-header {
    margin-bottom: 20px;
}

.results-count {
    font-size: 14px;
    color: var(--gray-500);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-gallery .main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 15px;
    background: var(--gray-100);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-placeholder.large {
    font-size: 80px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumbs .thumb {
    width: 70px;
    height: 70px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--gray-100);
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
    border-color: var(--primary);
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail .product-category-badge {
    display: inline-block;
    margin-bottom: 10px;
}

.product-info-detail .product-category-badge a {
    background: var(--gray-100);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--gray-600);
}

.product-info-detail .product-category-badge a:hover {
    background: var(--primary);
    color: #fff;
}

.product-info-detail h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.product-sku {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 15px;
}

.product-price-large {
    background: var(--gray-100);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.product-price-large .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.product-stock {
    margin-bottom: 20px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.stock-badge.in-stock {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stock-badge.out-stock {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.product-description {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.8;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.product-meta {
    display: flex;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
}

.product-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.product-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-100);
}

.product-content .content {
    line-height: 1.8;
    color: var(--gray-600);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.about-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 15px;
    .margin-top: 30px;
}

.category-main {
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: var(--gray-600);
    line-height: 1.8;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.about-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    color: #fff;
}

.about-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.about-card p {
    font-size: 14px;
    color: var(--gray-500);
}

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

.stat-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-card strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
}

.stat-card span {
    font-size: 14px;
    color: var(--gray-500);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 15px;
}

.contact-info-section>p {
    color: var(--gray-500);
    margin-bottom: 30px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.contact-text p,
.contact-text a {
    font-size: 14px;
    color: var(--gray-500);
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 25px;
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input.readonly {
    background: var(--gray-100);
    cursor: not-allowed;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--gray-500);
}

.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.search-form-large {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-form-large form {
    display: flex;
    gap: 10px;
}

.search-input-large {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 16px;
}

.search-input-large:focus {
    outline: none;
    border-color: var(--primary);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

.error-page {
    padding: 100px 0;
    text-align: center;
}

.error-code {
    font-size: 150px;
    font-weight: 800;
    color: var(--gray-200);
    line-height: 1;
}

.error-page h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 15px;
}

.error-page p {
    color: var(--gray-500);
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer {
    background: var(--secondary);
    color: #fff;
}

/* Footer Features (Mini Banner) */
.footer-features {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-features-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.f-feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 220px;
}

.f-feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s, background 0.3s;
}

.f-feature-icon i {
    color: #ffffff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 1 !important;
    visibility: visible !important;
}

.f-feature-card:hover .f-feature-icon {
    transform: scale(1.1);
    background: var(--accent);
    color: #fff;
}

.f-feature-text h4 {
    margin: 0 0 3px 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.f-feature-text p {
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.footer-top {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-grid.no-support {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo i {
    font-size: 28px;
    color: var(--primary);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

/* Footer İçin Özel ve İnce Scrollbar (Kaydırma Çubuğu) */
.footer-col ul::-webkit-scrollbar {
    width: 4px;
}

.footer-col ul::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.footer-col ul::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.footer-col ul::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-col .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col .contact-info i {
    margin-top: 3px;
    color: var(--primary);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.page-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: static;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
        border-top: 1px solid var(--gray-100);
    }

    .nav-menu li {
        width: 100%;
    }

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

    .nav-search {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-visual {
        display: none;
        /* Mobilde yer kazanmak için illüstrasyonu gizliyoruz */
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
    }

    .product-gallery .main-image {
        aspect-ratio: 4 / 3;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }











@media (max-width: 1200px) {

@media (max-width: 992px) {

/* Pagination */
.pagination {
    margin-top: 40px;
    margin-bottom: 40px;

/* Category Page Layout */
.category-content.with-sidebar {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 30px;
}

.category-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}

.category-main {
    flex: 1;
}

.category-main .products-grid {
    grid-template-columns: repeat(2, 1fr);
}

.category-sidebar h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 20px;
    margin: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
    color: white;
}

.category-sidebar ul {
    list-style: none;
    padding: 12px;
    margin: 0;
}

.category-sidebar a {
    display: block;
    padding: 12px 16px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-sidebar a:hover {
    background: linear-gradient(90deg, rgba(0,123,255,0.08) 0%, transparent 100%);
    color: var(--primary);
    padding-left: 20px;
}

.category-sidebar a.active {
    background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,123,255,0.25);
}

@media (max-width: 992px) {
    .category-content.with-sidebar {
        flex-direction: column;
    }
    .category-sidebar {
        width: 100%;
    }
}

/* Mobile Category List Improvements */
@media (max-width: 768px) {
    .products-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .category-list a {
        padding: 12px 15px;
        font-size: 15px;
        flex-wrap: wrap;
    }
    
    .category-list a span {
        font-size: 13px;
        opacity: 0.7;
    }
    
    .sidebar-widget h3 {
        font-size: 16px;
        padding: 15px;
    }
}

/* Desktop category list */
@media (min-width: 769px) {
    .category-list a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
