@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0a192f;
    --primary-light: #172a45;
    --secondary-color: #f8f9fa;
    --accent-color: #d4af37;
    --accent-hover: #c9a227;
    --text-color: #1a1a2e;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0a192f 0%, #1e3a5f 100%);
    --gradient-accent: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Genel Stiller */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 65px; /* Boyut artırıldı */
    transition: transform 0.3s ease;
}

.logo .logo-light {
    display: none; /* Beyaz logoyu varsayılan olarak gizle */
}


.logo span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: -8px;
    transition: color 0.4s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Ana sayfada şeffaf header için logo rengi */
.home header:not(.scrolled) .logo span {
    color: var(--white);
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* Ana sayfada şeffaf header durumunda logoları yönet */
.home header:not(.scrolled) .logo .logo-dark {
    display: none; /* Koyu logoyu gizle */
}

.home header:not(.scrolled) .logo .logo-light {
    display: inline-block; /* Beyaz logoyu göster */
    filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.lang-switcher a {
    text-decoration: none;
    color: var(--text-light);
    margin-left: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 6px;
}

.lang-switcher a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.lang-switcher a.active {
    background: var(--gradient-primary);
    color: var(--white);
}

/* Footer */
.site-footer {
    background: var(--gradient-primary);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.btn-grkn {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.btn-grkn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--gradient-accent);
    color: var(--primary-color);
    transform: translateY(-3px) rotate(5deg);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Ürün Sayfaları */
.page-header {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    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='%23d4af37' fill-opacity='0.05'%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");
    opacity: 0.5;
}

.page-header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 1;
}

/* Products Page Header */
.products-page-header {
    background: var(--gradient-primary);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.products-page-header .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.products-page-header h1 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.products-page-header .header-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

.products-page-header .header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>') center/cover;
    opacity: 0.5;
}

.product-page-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 40px;
}

.categories-sidebar {
    background: var(--white);
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 120px;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

.sidebar-header {
    background: var(--gradient-primary);
    padding: 20px 24px;
    border-radius: 16px 16px 0 0;
}

.sidebar-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header h3 i {
    font-size: 1rem;
    opacity: 0.9;
}

/* Kategori Menüsü */
.category-menu,
.subcategory-list {
    list-style: none;
    padding: 16px 20px;
    margin: 0;
}

.category-menu > li {
    margin-bottom: 4px;
}

.category-menu > li:last-child {
    margin-bottom: 0;
}

/* Ana Kategori Linkleri */
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: 1px solid transparent;
}

.category-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(4px);
}

.category-item:hover a {
    color: var(--accent-color);
}

.category-item:hover .toggle-icon {
    color: var(--accent-color);
    transform: rotate(180deg);
}

.category-item a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    flex: 1;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-light);
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.toggle-icon i {
    transition: transform 0.3s ease;
}

/* Aktif Kategori */
.category-menu > li.active > .category-item {
    background: var(--gradient-accent);
    border-color: var(--accent-color);
    transform: translateX(4px);
}

.category-menu > li.active > .category-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.category-menu > li.active > .category-item .toggle-icon {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

/* Toggle İkonu - Sade Tasarım */
.toggle-icon {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.25s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.toggle-icon:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary-color);
}

/* Alt Kategori Listesi */
.subcategory-list {
    padding-left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 3px;
}

.subcategory-list li {
    margin: 3px 0;
}

.subcategory-list a {
    display: block;
    padding: 9px 14px 9px 24px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    background: transparent;
    border: 1px solid transparent;
}

.subcategory-list a:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--primary-color);
    border-color: rgba(0, 0, 0, 0.08);
}

.subcategory-list li.active > a {
    background: var(--primary-color);
    color: var(--white);
}

/* Açık Durum */
li.open > .category-item .toggle-icon {
    transform: rotate(45deg);
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary-color);
}

li.open > .subcategory-list {
    max-height: 2000px;
    padding-top: 5px;
}

/* Alt Kategori İçin Toggle */
.subcategory-list .has-children > .category-item {
    padding: 8px 15px 8px 25px;
    font-size: 0.85rem;
}

.subcategory-list .has-children > .category-item a {
    font-weight: 500;
}

.subcategory-list .subcategory-list {
    padding-left: 15px;
}

/* Mobil Uyum */
@media (max-width: 1024px) {
    .desktop-sidebar {
        display: none;
    }

    .mobile-category-filter {
        display: flex;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Category Filter Button */
.mobile-category-filter {
    display: none;
    width: 100%;
    margin-bottom: 20px;
}

.mobile-filter-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 52px;
}

.mobile-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.mobile-filter-btn:active {
    transform: translateY(0);
}

/* Mobile Category Bottom Sheet */
.mobile-category-sheet {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-category-sheet.active {
    display: block;
    opacity: 1;
}

.sheet-header {
    background: var(--gradient-primary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.sheet-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.close-sheet {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-sheet:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sheet-content {
    background: var(--white);
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 0 0 20px 20px;
    padding: 16px;
}

.sheet-content::-webkit-scrollbar {
    width: 6px;
}

.sheet-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.sheet-content::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.mobile-menu .category-menu {
    padding: 0;
}

.mobile-menu .category-item {
    padding: 16px 18px;
    border-radius: 12px;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.mobile-menu .category-item a {
    font-size: 1rem;
    padding: 4px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-menu .subcategory-list {
    padding-left: 20px;
}

.mobile-menu .subcategory-list .category-item {
    padding: 14px 16px;
}

.mobile-menu .subcategory-list .category-item a {
    font-size: 0.95rem;
}

/* Aktif kategori vurgusu */
.mobile-menu .category-menu > li.active > .category-item {
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--accent-color);
}

.mobile-menu .category-menu > li.active > .category-item a {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.mobile-menu .category-menu > li.active > .category-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.mobile-menu .toggle-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .mobile-category-sheet {
        align-items: flex-end;
        justify-content: center;
    }

    .sheet-content {
        max-height: 80vh;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.products-count {
    grid-column: 1 / -1;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.products-count span {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(212, 175, 55, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card .product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--secondary-color);
    aspect-ratio: 1;
    flex-shrink: 0;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(30, 58, 95, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover .overlay {
    opacity: 1;
}

.btn-view-details {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: var(--primary-color);
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-card:hover .btn-view-details {
    transform: translateY(0);
}

.btn-view-details:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.product-card .product-info {
    padding: 16px;
    text-align: center;
}

.product-card .product-info h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-meta {
    display: flex;
    justify-content: center;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(212, 175, 55, 0.08);
    color: var(--accent-color);
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.category-tag i {
    font-size: 0.75rem;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: var(--white);
    border-radius: 20px;
    border: 2px dashed var(--border-color);
}

.no-products-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-products-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.no-products h3 {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    color: var(--text-color);
}

.no-products p {
    margin: 0 0 24px 0;
    color: var(--text-light);
    font-size: 1rem;
}

.btn-back-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-back-products:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Ürün Detay Sayfası (Yeni Flexbox Düzeni) */
.product-detail-page {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.product-gallery {
    flex: 1 1 40%; /* Genişliğin %40'ını al */
    min-width: 300px; /* Sarma işleminden önce minimum genişlik */
    position: sticky;
    top: 120px;
}

.product-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-details {
    flex: 1 1 55%; /* Genişliğin %55'ini al */
}

.product-details h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-details .description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.contact-for-product {
    margin-top: 30px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.contact-for-product h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.btn-contact {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-contact:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .product-detail-page {
        flex-direction: column;
        gap: 30px;
    }
    .product-gallery {
        position: static; /* Mobilde yapışkanlığı kaldır */
    }
}

/* 404 Hata Sayfası */
.error-page-content {
    text-align: center;
    padding: 120px 20px;
}

.error-code {
    font-size: 10rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.error-page-content h1 {
    font-size: 2.5rem;
    margin-top: 0;
    color: var(--primary-color);
}

.error-page-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-home {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 35px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-home:hover {
    background: var(--gradient-accent);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Ana Sayfa */
.hero {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(30, 58, 95, 0.85) 100%),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 40%);
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4.5rem;
    margin: 0 0 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-hero {
    background: var(--gradient-accent);
    color: var(--primary-color);
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    display: inline-block;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 20px auto 0;
    border-radius: 2px;
}

.featured-products {
    padding: 100px 0;
    background: var(--secondary-color);
}

/* Sticky Footer */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding-top: 100px;
}

/* Mobil Uyum (Responsive) */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-icon span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home header:not(.scrolled) .hamburger-icon span {
    background-color: var(--white);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 40px 20px;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }

    nav a {
        font-size: 1.4rem;
        padding: 15px 30px;
        display: block;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .header-right .lang-switcher {
        display: none;
    }

    .lang-switcher-mobile {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .lang-switcher-mobile .lang-switcher {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .lang-switcher-mobile .lang-switcher a {
        margin: 0;
        padding: 10px 25px;
        font-size: 1rem;
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .product-page-layout,
    .product-detail-page {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .product-gallery {
        position: static;
    }

    .product-page-layout .desktop-sidebar {
        display: none;
    }

    .categories-sidebar h3 {
        font-size: 1rem;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .category-item {
        padding: 9px 12px;
    }

    .toggle-icon {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
    }

    .subcategory-list a {
        padding: 8px 12px 8px 20px;
        font-size: 0.85rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        contain: layout style paint;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    /* Container ve Layout */
    .container {
        padding: 0 12px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    /* Mobile Category Filter */
    .mobile-category-filter {
        display: flex !important;
        width: 100%;
        margin-bottom: 20px;
    }

    .mobile-filter-btn {
        width: 100%;
        min-height: 52px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        contain: layout style paint;
    }

    /* Desktop Sidebar Hide */
    .product-page-layout .desktop-sidebar {
        display: none !important;
        margin: 0;
    }

    /* Product Card */
    .product-card {
        border-radius: 12px;
        display: flex;
        flex-direction: column;
    }

    .product-card .product-image-wrapper {
        aspect-ratio: 1;
        flex-shrink: 0;
    }

    .product-card .product-info h4 {
        font-size: 1rem;
        min-height: auto;
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .product-meta {
        justify-content: flex-start;
    }

    .product-card .product-info {
        text-align: left;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0 12px;
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
        display: flex;
    }

    /* Page Header */
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .product-details h1 {
        font-size: 2rem;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-page-content h1 {
        font-size: 1.8rem;
    }

    .logo span {
        font-size: 1.5rem;
    }

    .logo img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 5px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .product-page-layout .categories-sidebar {
        margin-left: 10px;
        margin-right: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .product-card h4 {
        font-size: 1.15rem;
    }

    .product-card img {
        height: 220px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* RTL Support for Arabic */
/* RTL Text Only - Sadece yazı yönü, layout değişikliği yok */
.rtl-text * {
    text-align: right;
}

/* Footer RTL Fix - Footer'ın sağa yaslanmasını engelle */
.rtl-text .site-footer,
.rtl-text .footer-grid,
.rtl-text .footer-column,
.rtl-text .footer-bottom {
    text-align: left;
}

/* Page Headers RTL Fix - Başlıklar ortalanmalı */
.rtl-text .products-page-header h1,
.rtl-text .page-header h1 {
    text-align: center;
}

/* Section Titles RTL Fix - Başlıklar ortalanmalı */
.rtl-text .section-title,
.rtl-text .section-title h2 {
    text-align: center;
}

/* Buttons RTL Fix - Butonlar ortalanmalı */
.rtl-text .btn-hero,
.rtl-text .btn-primary {
    text-align: center !important;
    display: inline-block;
    margin: 0 auto;
}

/* Hero Content RTL Fix */
.rtl-text .hero-content {
    text-align: center !important;
}

.rtl-text .hero-content * {
    text-align: center;
}
