/* Modern CSS Variables */
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    --dark-blue: #1e293b;
    --dark-gray: #334155;
    --light-gray-bg: #f8fafc;
    --white: #ffffff;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --hover-blue: #3b82f6;
    --light-blue-hover: #dbeafe;
    --filter-bg: #f0f9ff;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    background-color: var(--light-gray-bg);
    color: var(--text-color);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.overlay-open {
    overflow: hidden;
}

.page-wrapper {
    display: flex;
    flex-grow: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 24px;
    background-color: var(--white);
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    margin-bottom: 0;
}

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-color);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    width: 100%;
    z-index: 1000;
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--border-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    gap: 15px;
}

.navbar-left, .navbar-right {
    flex: 1;
    display: flex;
}
.navbar-left { justify-content: flex-start; }
.navbar-right { justify-content: flex-end; }
.navbar-center {
    flex: 2;
    display: flex;
    justify-content: center;
    text-align: center;
}

.logo-link {
    display: inline-block;
    padding: 0;
}

.logo {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 90px;
    transition: max-height 0.3s ease;
}

.categories-menu-toggle {
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.categories-menu-toggle:hover {
    background-color: var(--light-gray-bg);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.categories-menu-toggle i {
    font-size: 1.3em;
}

.navbar-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #1DAE56 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.navbar-whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.navbar-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.navbar-whatsapp-btn:hover::before {
    left: 100%;
}
.navbar-whatsapp-btn i {
    font-size: 1.2em;
}

/* --- Kategori Overlay --- */
.categories-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.categories-overlay.active {
    opacity: 1;
    visibility: visible;
}
.categories-menu-content {
    background-color: var(--white);
    width: 400px;
    max-width: 90%;
    height: 100%;
    overflow-y: auto;
    box-shadow: 0 8px 30px var(--shadow-strong);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}
.categories-overlay.active .categories-menu-content {
    transform: translateX(0);
}

.categories-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8f9fa;
}

.close-categories-menu {
    background: none;
    border: none;
    font-size: 1.8em;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}
.close-categories-menu:hover {
    color: var(--dark-blue);
    transform: rotate(90deg);
}

.category-menu-nav {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
}

.category-list-in-overlay {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-list-in-overlay .nav-item {
    border-bottom: 1px solid #f0f0f0;
}
.category-list-in-overlay .nav-item:last-child {
    border-bottom: none;
}
.main-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
}

.main-category-header:hover {
    background-color: var(--light-gray-bg);
}
.main-category-link-container {
      display: flex;
      align-items: center;
      min-width: 0;
      flex: 1;
}
.category-list-in-overlay .nav-link {
    color: var(--text-color);
    padding: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-grow: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
    min-width: 0;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    overflow: hidden;
}
.category-list-in-overlay .nav-link:hover {
    background-color: var(--filter-bg);
    color: var(--hover-blue);
}

.category-list-in-overlay .nav-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.nav-link .icon {
    margin-right: 15px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}
.nav-link:hover .icon {
    color: var(--hover-blue);
}
.arrow-icon {
    color: #ccc;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.arrow-icon:hover {
    color: var(--primary-color);
    background-color: var(--light-gray-bg);
}
.nav-item.active > .main-category-header .arrow-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}
.subcategory-list-in-overlay {
    list-style: none;
    margin: 0;
    padding-left: 35px;
    background-color: #fdfdfd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.nav-item.active > .subcategory-list-in-overlay {
    max-height: 500px; /* İçerik taşarsa bu değeri artırın */
}
.subcategory-list-in-overlay a {
    color: var(--secondary-color);
    padding: 12px 15px 12px 30px;
    display: block;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-left-color 0.2s ease;
    font-size: 0.9em;
    border-left: 3px solid transparent;
}
.subcategory-list-in-overlay a:hover {
    background-color: var(--filter-bg);
    color: var(--hover-blue);
    border-left-color: var(--hover-blue);
}


/* --- YENİ FİLTRELEME MENÜSÜ --- */
.filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.filters-overlay.active {
    opacity: 1;
    visibility: visible;
}
.filter-menu-content {
    background-color: var(--white);
    width: 350px;
    max-width: 90%;
    height: 100%;
    position: absolute;
    top: 0;
    right: -350px;
    box-shadow: -8px 0 30px var(--shadow-strong);
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease-in-out;
}
.filters-overlay.active .filter-menu-content {
    right: 0;
}
.filter-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8f9fa;
}
.filter-menu-header h2 {
    margin: 0;
    font-size: 1.2rem;
}
.close-filter-menu {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}
.close-filter-menu:hover {
    color: var(--dark-blue);
    transform: rotate(90deg);
}
.filter-options-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}
.filter-menu-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border-color);
}
.filter-menu-footer .btn {
    flex-grow: 1;
    padding: 12px;
}

.pagination-dots {
    padding: 10px 5px;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-section { width: 100%; margin-bottom: 40px; position: relative; overflow: hidden; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: block; }
.hero-image-container { width: 100%; height: 100%; position: relative; background-color: #f0f0f0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.content-area { 
    flex-grow: 1; 
    padding: 30px; 
    max-width: 100%; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
}
.product-grid-section { margin-top: 20px; }
.product-grid { 
    flex-grow: 1; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    width: 100%;
}

.product-card { 
    background-color: var(--white); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-md); 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    text-decoration: none; 
    color: inherit; 
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-card:hover::before {
    transform: scaleX(1);
}
.product-card .image-container { 
    width: 100%; 
    position: relative; 
    overflow: hidden; 
    background-color: #f8f9fa; 
    aspect-ratio: 1 / 1.25; 
}
.product-card .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.product-info { 
    padding: 16px; 
    text-align: center;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray-bg) 100%);
}

.product-info h3 { 
    margin: 0 0 12px 0; 
    color: var(--dark-blue); 
    font-size: 1.1rem; 
    font-weight: 700;
    line-height: 1.3;
}
.product-info .product-sku {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
    font-family: 'Courier New', Courier, monospace;
}
.product-info p { 
    margin: 0; 
    font-size: 0.9rem;
    color: #555; 
    line-height: 1.4;
}

.no-products { grid-column: 1 / -1; text-align: center; padding: 60px; color: var(--secondary-color); font-size: 1.3em; background-color: var(--white); border-radius: 12px; box-shadow: 0 4px 15px var(--shadow-light); }

.main-footer {
    background: var(--white);
    color: var(--text-color);
    padding: 48px 24px;
    margin-top: auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary-color);
}
.footer_div {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    align-items: flex-start;
}

.footer-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.logo-section {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 200px;
}
.footer-categories h3 { 
    color: var(--dark-blue); 
    border-bottom: 2px solid var(--primary-color); 
    padding-bottom: 12px; 
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

#footerCategoryList { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

#footerCategoryList li a { 
    color: var(--text-muted); 
    text-decoration: none; 
    display: block; 
    padding: 8px 0; 
    transition: var(--transition);
    border-radius: var(--radius-sm);
    padding-left: 8px;
}

#footerCategoryList li a:hover { 
    color: var(--primary-color); 
    background: var(--filter-bg);
    transform: translateX(4px);
}
.address-info { 
    padding: 20px; 
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg); 
    color: var(--dark-blue);
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-lg);
}

.address-info p { 
    display: grid; 
    align-items: center; 
    gap: 12px; 
    margin: 12px 0;
    font-weight: 500;
}

.copyright-bar { 
    background: var(--dark-blue);
    color: rgba(255, 255, 255, 0.9); 
    text-align: center; 
    padding: 20px 0; 
    font-size: 0.9rem; 
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.copyright-bar p { 
    margin: 0;
    font-weight: 500;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 2px solid var(--border-light);
}

.page-header h1 { 
    margin: 0; 
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* Mobil için Kontrol Butonları */
.controls-container {
    display: none; /* Masaüstünde gizli */
    gap: 10px;
}

.btn, .btn-control {
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn:hover, .btn-control:hover {
    background-color: var(--light-gray-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* YENİ: Arama ve Sıralama Kapsayıcısı */
.search-and-sort-container {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    flex-grow: 1; /* Arama çubuğunun genişlemesini sağlar */
}

#pageSearchInput {
    flex-grow: 1;
    border: 2px solid var(--border-color);
    padding: 14px 18px;
    font-size: 1rem;
    border-right: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    min-width: 200px;
    transition: var(--transition);
    background: var(--white);
}

#pageSearchInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--white);
}

#pageSearchBtn {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 0 24px;
    cursor: pointer;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

#pageSearchBtn:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    flex-wrap: nowrap;
    margin: auto;
    width: 80%;
    gap: 8px;
}
.page-btn {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    font-size: 0.95rem;
    background-color: var(--white);
    cursor: pointer;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.page-btn:hover {
    background-color: var(--filter-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}
.page-btn:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.7;
}
.pagination-dots {
    padding: 8px 5px;
    color: #6c757d;
}

/* RESPONSIVE STYLES */
@media (min-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .content-area {
        padding: 40px;
    }
    
    .main-header {
        padding: 20px 40px;
    }
    
    .navbar {
        gap: 20px;
    }
}

@media (min-width: 1800px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .content-area {
        padding: 50px;
    }
    
    .main-header {
        padding: 24px 50px;
    }
    
    .navbar {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .page-wrapper {
        margin: 0;
        padding: 0 16px;
    }
    
    .main-header {
        padding: 14px 20px;
    }
    
    .navbar {
        gap: 12px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 18px;
    }
    
    .search-and-sort-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    #sortDropdownWrapper {
        display: none;
    }
    
    .controls-container {
        display: flex;
        gap: 12px;
    }
    
    .search-container {
        width: 100%;
    }
    
    .sidebar-filter {
        border-radius: 0;
        box-shadow: var(--shadow-xl);
    }
    
    /* Tablet categories menu adjustments */
    .categories-menu-content {
        width: 350px;
        max-width: 85%;
    }
}

@media (max-width: 767px) {
    .page-wrapper {
        margin: 0;
        padding: 0 12px;
    }
    
    .navbar-center {
        display: flex;
        justify-content: center;
        flex: 1;
    }
    
    .navbar-left {
        flex: 0 0 auto;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .main-header { 
        padding: 12px 16px; 
    }
    
    .navbar {
        gap: 8px;
        align-items: center;
    }
    
    .categories-menu-toggle span { 
        display: none; 
    }
    
    .categories-menu-toggle { 
        padding: 8px; 
    }
    
    .navbar-whatsapp-btn span { 
        display: none; 
    }
    
    .navbar-whatsapp-btn { 
        padding: 8px; 
    }
    
    .content-area { 
        padding: 20px 12px; 
    }
    
    .product-grid { 
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .product-info { 
        padding: 12px; 
    }
    
    .product-info h3 { 
        font-size: 0.9em; 
    }
    
    .product-info p { 
        font-size: 0.8em; 
    }
    
    .page-header h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    
    .footer_div {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
        max-width: none;
    }
    
    .logo-section {
        order: -1;
    }
    
    .footer-logo {
        margin-bottom: 15px;
    }
    
    .footer-contact-info {
        margin-bottom: 15px;
    }
    
    .footer-categories {
        padding: 0;
        text-align: left;
    }
    
    /* Mobile-specific arrow icon improvements */
    .arrow-icon {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-category-header {
        padding: 15px;
    }
    
    /* Mobile categories menu adjustments */
    .categories-menu-content {
        width: 100%;
        max-width: 100%;
    }
    
    .category-list-in-overlay .nav-link span {
        max-width: 150px;
    }
}

@media (max-width: 767px) {
    .footer-categories {
        text-align: center;
    }
    
    .main-footer {
        padding: 32px 16px 40px 16px;
    }
    
    .hero-slider {
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }
}

/* === Anasayfa.html'den TAŞINAN CSS KODLARI BAŞLANGICI === */
.page-wrapper { display: flex; flex-direction: row; gap: 30px; align-items: flex-start; }
.content-area { flex: 1; min-width: 0; }
.sidebar-filter { 
    flex: 0 0 300px; 
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray-bg) 100%);
    border-radius: var(--radius-xl); 
    padding: 24px; 
    border: 2px solid var(--border-light); 
    position: sticky; 
    top: 90px; 
    max-height: calc(100vh - 110px); 
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.sidebar-filter-header { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--dark-blue); 
    padding-bottom: 20px; 
    margin-bottom: 24px; 
    border-bottom: 2px solid var(--border-light); 
    display: flex; 
    align-items: center; 
    gap: 12px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.filter-actions { display: flex; gap: 10px; margin-top: 20px; border-top: 1px solid var(--border-color); padding-top: 20px; }
.filter-actions .btn { flex: 1; }
#openFilterBtn { display: none; }
.sidebar-filter-mobile-header { display: none; }

@media (max-width: 992px) {
    .page-wrapper { flex-direction: column; }
    #openFilterBtn { display: inline-flex; }
    .sidebar-filter-header { display: none; }
    .sidebar-filter-mobile-header { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; font-weight: 600; color: var(--dark-blue); padding-bottom: 15px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
    .close-filter-menu { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #333; }
    .sidebar-filter { position: fixed; top: 0; left: 0; width: 320px; max-width: 85%; height: 100%; z-index: 1010; transform: translateX(-100%); transition: transform 0.3s ease-in-out; max-height: 100vh; border-radius: 0; position: fixed; flex: none; }
    .sidebar-filter.active::before { content: ''; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; }
    .sidebar-filter.active { transform: translateX(0); }
}
.category-list-in-overlay .nav-item { border-bottom: 1px solid #f0f0f0; overflow: hidden; }
.subcategory-list-in-overlay { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.nav-item.active > .subcategory-list-in-overlay { max-height: 500px; }
/* This rule is already defined above, removing duplicate */

/* Filtre Menüsü Stilleri */
.filter-group { 
    border-bottom: 1px solid var(--border-light); 
    margin-bottom: 16px; 
    padding-bottom: 16px; 
    transition: var(--transition);
}

.filter-group:hover {
    border-color: var(--primary-color);
}

.filter-group:last-child { 
    border-bottom: none; 
    margin-bottom: 0; 
}

.collapse-toggle-checkbox { 
    display: none; 
}

.collapse-toggle-label { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 8px; 
    cursor: pointer; 
    font-weight: 700; 
    color: var(--dark-blue);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.collapse-toggle-label:hover {
    background-color: var(--filter-bg);
    color: var(--primary-color);
}
.collapse-toggle-label .arrow-icon,
.custom-select-trigger .arrow-icon { transition: transform 0.3s ease-in-out; font-size: 0.8em; color: #8C8C8C; }
.collapse-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.collapse-toggle-checkbox:checked + .collapse-toggle-label .arrow-icon { transform: rotate(180deg); }
.collapse-toggle-checkbox:checked ~ .collapse-content { max-height: 400px; overflow-y: auto; }
.filter-options-list { padding: 5px; display: flex; flex-direction: column; gap: 5px; }
.filter-list-item { 
    display: flex; 
    align-items: center; 
    padding: 10px 12px; 
    border-radius: var(--radius-md); 
    cursor: pointer; 
    transition: var(--transition); 
    user-select: none;
    border: 1px solid transparent;
    margin-bottom: 4px;
}

.filter-list-item:hover { 
    background-color: var(--filter-bg); 
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.filter-list-item:not(.available) { 
    display: none; 
}

.filter-list-item.active { 
    background: linear-gradient(135deg, var(--filter-bg) 0%, var(--light-blue-hover) 100%);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.filter-list-item.active .filter-label-text { 
    color: var(--primary-color); 
    font-weight: 600; 
}
.filter-list-item .hidden-checkbox { display: none; }
.custom-checkbox { 
    width: 18px; 
    height: 18px; 
    border: 2px solid var(--border-color); 
    border-radius: var(--radius-sm); 
    margin-right: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: var(--transition); 
    flex-shrink: 0;
    background: var(--white);
}

.filter-list-item .hidden-checkbox:checked + .custom-checkbox { 
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.custom-checkbox::after { 
    content: '\f00c'; 
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900; 
    font-size: 11px; 
    color: white; 
    opacity: 0; 
    transform: scale(0.5); 
    transition: var(--transition); 
}

.filter-list-item .hidden-checkbox:checked + .custom-checkbox::after { 
    opacity: 1; 
    transform: scale(1); 
}
.color-swatch { 
    width: 18px; 
    height: 18px; 
    border-radius: 50%; 
    margin-right: 12px; 
    border: 2px solid var(--border-light); 
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.filter-list-item:hover .color-swatch {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.filter-label-text { 
    flex-grow: 1; 
    font-size: 0.95rem; 
    color: var(--text-color);
    font-weight: 500;
}

.filter-item-count { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    margin-left: 10px;
    background: var(--light-gray-bg);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.collapse-toggle-label .fas { margin-right: 8px; color: var(--secondary-color); }

/* Özel Dropdown Stilleri (Filtre ve Sıralama için Ortak) */
.custom-select-wrapper { 
    position: relative; 
    margin-bottom: 15px; 
}
/* -- KONTROL BUTONLARI İÇİNDEKİ DROPDOWN İÇİN EK STİLLER -- */
.controls-container .custom-select-wrapper {
    margin-bottom: 0;
    width: 200px;
}
.custom-select-trigger { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 16px; 
    border: 2px solid var(--border-color); 
    border-radius: var(--radius-lg); 
    background-color: var(--white); 
    font-size: 0.95rem; 
    font-weight: 600;
    cursor: pointer; 
    user-select: none;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.custom-select-trigger:hover {
    border-color: var(--primary-color);
    background-color: var(--light-gray-bg);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* -- GÜNCELLENDİ: Hem mobil hem masaüstü için sıralama butonu stilleri -- */
.controls-container .custom-select-trigger,
.search-and-sort-container .custom-select-trigger {
    background: transparent;
    border: 1px solid #ccc;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.controls-container .custom-select-trigger:hover,
.search-and-sort-container .custom-select-trigger:hover {
    background-color: #f0f0f0;
    border-color: #aaa;
}

/* YENİ: Masaüstü sıralama menüsünün genişliği */
#sortDropdownWrapper {
    width: 220px;
    flex-shrink: 0; /* Küçülmesini engelle */
    margin-bottom: 0;
}
#pageSearchInput {
    height: 45px; /* Butonlarla aynı yükseklik */
}


.custom-select-wrapper.active .custom-select-trigger { 
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 2px rgba(0,123,255,.25); 
}
.controls-container .custom-select-wrapper.active .custom-select-trigger {
    box-shadow: none;
}
.custom-select-wrapper.active .arrow-icon { transform: rotate(180deg); }
.custom-select-options { 
    position: absolute; 
    top: 105%; 
    left: 0; 
    right: 0; 
    background-color: var(--white); 
    border: 2px solid var(--border-light); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-xl); 
    z-index: 100; 
    max-height: 220px; 
    overflow-y: auto; 
    display: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.custom-select-wrapper.active .custom-select-options { 
    display: block;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-option { 
    padding: 12px 16px; 
    cursor: pointer; 
    transition: var(--transition); 
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
    font-weight: 500;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover { 
    background-color: var(--filter-bg); 
    color: var(--primary-color);
    transform: translateX(4px);
}

.custom-option.selected { 
    background: linear-gradient(135deg, var(--filter-bg) 0%, var(--light-blue-hover) 100%);
    color: var(--primary-color); 
    font-weight: 600;
    border-left: 3px solid var(--primary-color);
}
/* === TAŞINAN CSS KODLARI SONU === */

/* Modern Animasyonlar ve Hover Efektleri */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Sayfa yüklendiğinde animasyon */
.page-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

/* Ürün kartları için staggered animasyon */
.product-card {
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.btn-control:focus,
#pageSearchInput:focus,
.custom-select-trigger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Footer Link Stilleri */
.footer-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-categories li {
    padding: 6px 0;
    margin: 2px 0;
}

.footer-categories a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
    font-weight: 500;
}

.footer-categories a:hover {
    color: var(--primary-color);
    background: var(--filter-bg);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    margin: -4px -8px;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 10px;
}

.footer-logo .dynamic-logo {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0.8);
    transition: var(--transition);
}

.footer-logo .dynamic-logo:hover {
    filter: brightness(1);
    transform: scale(1.05);
}

.footer-contact-info {
    margin-top: 20px;
    padding: 15px;
    background: var(--light-gray-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    width: 100%;
    box-sizing: border-box;
}

.footer-contact-info p {
    margin: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-info i {
    color: var(--primary-color);
    width: 16px;
}
/* ================================================================== */
/* === YÖNETİLEBİLİR İÇERİK KUTUSU STİLLERİ (YENİ EKLENDİ) ========= */
/* ================================================================== */

/* Ana Kapsayıcı Div */
.managed-content-box {
    padding: 25px 30px;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative; /* İçerideki absolute konumlandırmalar için referans noktası olur */
    overflow: hidden;    /* Kendi sınırları dışına çıkan her şeyi gizler */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* Kutu içindeki genel metin stilleri */
.managed-content-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.2em;
}

/* Kutu içindeki başlıklar */
.managed-content-box h1,
.managed-content-box h2,
.managed-content-box h3,
.managed-content-box h4 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.4;
}

.managed-content-box h1 { font-size: 2em; }
.managed-content-box h2 { font-size: 1.7em; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; }
.managed-content-box h3 { font-size: 1.4em; }
.managed-content-box h4 { font-size: 1.2em; }

/* Kutu içindeki linkler */
.managed-content-box a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.managed-content-box a:hover {
    color: var(--hover-blue);
}

/* Kutu içindeki resimlerin taşmasını engelleme ve stil verme */
.managed-content-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Kutu içindeki listeler */
.managed-content-box ul,
.managed-content-box ol {
    padding-left: 25px;
    margin-bottom: 1.2em;
}

.managed-content-box li {
    margin-bottom: 0.5em;
}

/* Responsive Düzenleme: Mobilde kutunun kenar boşluklarını azaltma */
@media (max-width: 767px) {
    .managed-content-box {
        padding: 20px 15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
.hero-slider-section {
    width: 100%;
    margin-bottom: 25px;
}
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    aspect-ratio: 16 / 4; /* Yüksekliği kısaltıldı: 16/6'dan 16/4'e (4:1 oranı) */
    overflow: hidden;
    border-radius: 0;
    background: var(--white);
    box-shadow: none;
}
.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Görselin, oranını bozmadan alanı doldurmasını sağlar */
}
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--dark-blue);
    border: 2px solid var(--border-light);
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.slider-control:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}
.slider-control.prev { left: 15px; }
.slider-control.next { right: 15px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* ============================================= */
/* ===== MOBİL CİHAZLAR İÇİN SLAYT AYARLARI ==== */
/* ============================================= */
@media (max-width: 767px) {

    .hero-slider {
        /* Slayt alanının yüksekliğini mobil için kısaltıyoruz */
        aspect-ratio: 4 / 2.5; /* Mobilde de yüksekliği kısaltıldı: 4/3.5'ten 4/2.5'e */
        
        /* Mobilde kenar yuvarlaklığını kaldırarak tam ekran hissi veriyoruz */
        border-radius: 0;
        background: var(--white);
        box-shadow: none;
    }

    /* Mobilde okları ve noktaları gizliyoruz */
    .hero-slider .slider-control,
    .hero-slider .slider-dots {
        display: none;
    }

}

/* ============================================= */
/* ===== RESPONSIVE HERO-SLIDER LAYOUTS ======== */
/* ============================================= */

/* Stacked Layout Styles - Very Strong Overrides */
.hero-slider.hero-layout-stacked {
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    position: relative !important;
    min-height: auto !important;
    background: var(--white) !important;
}

.hero-slider.hero-layout-stacked .slider-wrapper {
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    transform: none !important;
    position: static !important;
    overflow: visible !important;
    width: 100% !important;
    transition: none !important;
    display: block !important;
}

.hero-slider.hero-layout-stacked .slide {
    flex: none !important;
    height: auto !important;
    min-height: auto !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    display: block !important;
}

.hero-slider.hero-layout-stacked .slide:last-child {
    margin-bottom: 0 !important;
}

.hero-slider.hero-layout-stacked .slide img {
    object-fit: contain !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 0 !important;
    position: relative !important;
}

/* Ensure stacked layout overrides slider behavior */
.hero-slider.hero-layout-stacked .slider-control,
.hero-slider.hero-layout-stacked .slider-dots {
    display: none !important;
}

/* Responsive adjustments for stacked layout */
@media (max-width: 767px) {
    .hero-slider.hero-layout-stacked {
        margin: 0 -15px !important; /* Mobilde kenar boşluklığını kaldır */
        border-radius: 0 !important;
        background: var(--white) !important;
    }
    
    .hero-slider.hero-layout-stacked .slide {
        margin-bottom: 15px !important;
    }
    
    .hero-slider.hero-layout-stacked .slide img {
        max-height: 250px !important; /* Mobilde yüksekliği kısaltıldı: 300px'den 250px'e */
        border-radius: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-slider.hero-layout-stacked .slide img {
        max-height: 300px !important; /* Tablet'te yüksekliği kısaltıldı: 350px'den 300px'e */
    }
}

/* Hero Layout Controls */
.hero-layout-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
}

.layout-toggle-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.layout-toggle-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.layout-toggle-btn i {
    font-size: 1em;
}

.layout-toggle-btn span {
    font-size: 0.85em;
}

/* Responsive adjustments for layout controls */
@media (max-width: 767px) {
    .hero-layout-controls {
        top: 10px;
        right: 10px;
    }
    
    .layout-toggle-btn {
        padding: 6px 10px;
        font-size: 0.8em;
    }
    
    .layout-toggle-btn span {
        display: none; /* Mobilde sadece ikon göster */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .layout-toggle-btn {
        padding: 9px 15px;
        font-size: 0.88em;
    }
}
/* ÜRÜN KARTI YILDIZ STİLLERİ */
.product-card-rating {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.product-card-rating .fa-star {
    color: #fbbf24;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.product-card-rating .far.fa-star {
    color: #e5e7eb;
}

.product-card-rating .review-count-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 8px;
    vertical-align: middle;
    background: var(--light-gray-bg);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
/* İSMİMİ GİZLE CHECKBOX STİLİ */
.form-group-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.form-group-inline label {
    margin-bottom: 0; /* form-group'tan gelen alt boşluğu sıfırla */
    font-weight: normal;
    color: #555;
}

.form-group-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Kurumsal Sayfalar Bölümü Stilleri */
.corporate-pages-section {
    border-top: 1px solid #f0f0f0;
    padding: 20px 10px;
    margin-top: 20px;
}

.corporate-pages-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.corporate-pages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.corporate-pages-list li {
    margin-bottom: 8px;
}

.corporate-pages-list a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.corporate-pages-list a:hover {
    background-color: var(--filter-bg);
    color: var(--hover-blue);
}

/* ============================================= */
/* ===== HOMEPAGE IMAGES SECTION =============== */
/* ============================================= */

.homepage-images-section {
    padding: 40px 0;
    background: var(--white);
    margin: 20px 0;
    border: none;
    outline: none;
}

.homepage-images-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    max-height: 400px; /* Maksimum yükseklik sınırı */
    border: none;
    outline: none;
}

/* Ensure container has no borders */
.homepage-images-section .container {
    border: none;
    outline: none;
    box-shadow: none;
}

.homepage-image-item {
    position: relative;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    max-height: 400px; /* Görsel öğesi için maksimum yükseklik */
    border: none;
    outline: none;
}

.homepage-image-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0;
    max-height: 400px; /* Görsel için maksimum yükseklik */
    border: none;
    outline: none;
}

/* Remove all hover effects and overlays */
.homepage-image-overlay {
    display: none !important;
}

.homepage-image-item:hover {
    transform: none;
    box-shadow: none;
}

.homepage-image-item:hover img {
    transform: none;
}

@media (max-width: 767px) {
    .homepage-images-grid {
        padding: 0 15px;
        max-height: 300px; /* Mobil için daha küçük yükseklik */
    }
    
    .homepage-image-item {
        width: 100%;
        max-height: 300px; /* Mobil için daha küçük yükseklik */
    }
    
    .homepage-image-item img {
        max-height: 300px; /* Mobil için daha küçük yükseklik */
    }
}

/* ============================================= */
/* ===== BLOG VE BLOG POST SAYFALARI STİLLERİ = */
/* ============================================= */

/* Blog Sayfası Genel Stilleri */
.blog-page-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.blog-page-wrapper .breadcrumb {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.blog-page-wrapper .breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-page-wrapper .breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-page-wrapper .breadcrumb span {
    margin: 0 5px;
    color: var(--text-muted);
}

.blog-page-title {
    font-size: 2.4em;
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 20px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Öne Çıkan Gönderi Stilleri */
.featured-post-section {
    margin-bottom: 60px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 60px;
}

.featured-post {
    display: flex;
    align-items: center;
    gap: 40px;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.featured-image {
    flex: 0 0 58%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    flex: 1;
    padding: 0;
}

.featured-content h2 {
    font-size: 2em;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-blue);
    margin: 0 0 15px 0;
}

.featured-content .post-excerpt {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
}

.featured-content .post-date {
    font-size: 0.9em;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Blog Kartları Stilleri */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    text-decoration: none;
    color: inherit;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    break-inside: avoid;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.card-image {
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    line-height: 0;
    aspect-ratio: 16 / 9;
}

.blog-card:hover .card-image {
    box-shadow: var(--shadow-md);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray-bg) 100%);
}

.card-content h3 {
    font-size: 1.15em;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.card-content .card-excerpt {
    font-size: 0.9em;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-content .post-date {
    font-size: 0.85em;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: auto;
}

/* Blog Post Sayfası Stilleri */
.page-content-wrapper { 
    max-width: 1200px; 
    margin: 20px auto; 
    padding: 0 20px; 
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.main-content { 
    flex: 1; 
    min-width: 0; 
    margin-left: -20px; /* Blog post'u biraz daha sola al */
}

.sidebar { 
    flex: 0 0 320px; 
    position: sticky; 
    top: 40px; 
}

/* Blog Post Breadcrumb Stili */
.page-content-wrapper .breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9em;
    color: var(--text-muted);
}

.page-content-wrapper .breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.page-content-wrapper .breadcrumb a:hover {
    color: var(--primary-color);
}

.page-content-wrapper .breadcrumb span {
    margin: 0 8px;
    color: var(--text-muted);
}

/* Blog Post Ana İçerik Alanı */
.post-container { 
    background: transparent; 
    padding: 0; 
    border: none; 
}

.post-title { 
    font-family: 'Merriweather', serif;
    font-size: 3em; 
    color: var(--dark-blue); 
    margin: 0 0 25px 0; 
    line-height: 1.3;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta { 
    display: flex; 
    justify-content: center;
    align-items: center; 
    gap: 15px; 
    font-size: 0.9em; 
    color: var(--text-muted); 
    margin-bottom: 40px; 
    padding-bottom: 25px; 
    border-bottom: 2px solid var(--border-light); 
}

.post-meta i { 
    margin-right: 5px; 
    color: var(--primary-color);
}

.post-content { 
    font-size: 1.1rem; 
    line-height: 1.8; 
    color: var(--text-color); 
    word-wrap: break-word; 
}

.post-content p { 
    margin-bottom: 1.5em; 
}

.post-content img { 
    max-width: 100%; 
    height: auto; 
    border-radius: var(--radius-lg); 
    margin: 2em 0; 
    box-shadow: var(--shadow-md);
}

.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    color: var(--dark-blue);
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 600;
}

.post-content h1 { font-size: 2em; }
.post-content h2 { font-size: 1.7em; border-bottom: 2px solid var(--border-light); padding-bottom: 10px; }
.post-content h3 { font-size: 1.4em; }
.post-content h4 { font-size: 1.2em; }

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}

.post-content a:hover {
    color: var(--primary-hover);
}

.post-content ul, .post-content ol {
    padding-left: 25px;
    margin-bottom: 1.5em;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: var(--text-muted);
    background: var(--light-gray-bg);
    padding: 20px;
    border-radius: var(--radius-md);
}

/* Blog Post Kenar Çubuğu (Sidebar) */
.sidebar-widget { 
    background: transparent; 
    padding: 0;
    border: none;
}

.sidebar-widget-title { 
    font-size: 1.3em; 
    font-weight: 700; 
    margin: 0 0 20px 0; 
    padding-bottom: 15px; 
    border-bottom: 2px solid var(--border-light); 
    color: var(--dark-blue);
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-posts-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.featured-post-item { 
    margin-bottom: 20px; 
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.featured-post-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.featured-post-item:last-child { 
    margin-bottom: 0; 
}

.featured-post-item a { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none; 
    color: inherit; 
    transition: var(--transition);
    border-radius: var(--radius-md);
    padding: 5px;
}

.featured-post-item a:hover {
    background-color: var(--filter-bg);
}

.featured-post-item-img { 
    flex: 0 0 80px; 
    height: 60px; 
    border-radius: var(--radius-md); 
    overflow: hidden; 
    box-shadow: var(--shadow-sm);
}

.featured-post-item-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: var(--transition);
}

.featured-post-item:hover .featured-post-item-img img {
    transform: scale(1.05);
}

.featured-post-item-title { 
    font-size: 0.95em; 
    font-weight: 500; 
    line-height: 1.4; 
    color: var(--text-color); 
}

/* Blog Sayfaları Responsive Stilleri */
@media (max-width: 992px) { 
    .page-content-wrapper { 
        flex-direction: column; 
        gap: 40px; 
    } 
    
    .sidebar { 
        flex-basis: auto; 
        width: 100%; 
        position: static; 
    } 
    
    .post-title { 
        font-size: 2.5em; 
    }
    
    .blog-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .featured-post {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .main-content {
        margin-left: 0; /* Mobilde sola kaydırmayı kaldır */
    }
}

@media (max-width: 767px) {
    .blog-grid { 
        grid-template-columns: 1fr; 
    }
    
    .blog-page-title { 
        font-size: 2em; 
    }
    
    .featured-content h2 { 
        font-size: 1.6em; 
    }
    
    .post-title {
        font-size: 2em;
    }
    
    .page-content-wrapper {
        padding: 0 15px;
    }
    
    .featured-post {
        padding: 20px;
    }
    
    .card-content {
        padding: 15px;
    }
}

/* ========================================
   MARKA VİTRİN MODÜLÜ STİLLERİ
   ======================================== */

.brand-vitrin-section {
    background: #ffffff;
    padding: 60px 0;
    margin: 40px 0;
}

.brand-vitrin-header {
    text-align: center;
    margin-bottom: 40px;
}

.brand-vitrin-header h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-vitrin-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-vitrin-slider {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: default;
    min-width: 180px;
    text-decoration: none;
    color: inherit;
}

.brand-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.brand-logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: var(--white);
    padding: 10px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.brand-item:hover .brand-logo {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.brand-name {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--dark-blue);
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

.brand-slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.brand-slider-control:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.brand-slider-control.prev {
    left: -25px;
}

.brand-slider-control.next {
    right: -25px;
}

.brand-slider-control i {
    font-size: 1.2em;
    font-weight: bold;
}

/* Responsive Marka Vitrin */
@media (max-width: 1200px) {
    .brand-vitrin-slider {
        gap: 20px;
    }
    
    .brand-item {
        min-width: 160px;
        padding: 20px;
    }
    
    .brand-logo {
        width: 100px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .brand-vitrin-section {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .brand-vitrin-header h2 {
        font-size: 2em;
    }
    
    .brand-vitrin-slider {
        gap: 15px;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
    }
    
    .brand-vitrin-slider::-webkit-scrollbar {
        display: none;
    }
    
    .brand-item {
        min-width: 140px;
        padding: 15px;
        flex-shrink: 0;
    }
    
    .brand-logo {
        width: 80px;
        height: 60px;
    }
    
    .brand-name {
        font-size: 1em;
    }
    
    .brand-slider-control {
        display: none;
    }
}

@media (max-width: 480px) {
    .brand-vitrin-container {
        padding: 0 15px;
    }
    
    .brand-vitrin-slider {
        gap: 10px;
    }
    
    .brand-item {
        min-width: 120px;
        padding: 12px;
    }
    
    .brand-logo {
        width: 70px;
        height: 50px;
    }
    
    .brand-name {
        font-size: 0.9em;
    }
}