/**
 * PELSA Modern - Main CSS
 * Tüm stilleri içeren ana CSS dosyası
 */

/* ==========================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================== */
:root {
    /* Primary Colors */
    --primary-color: #dc2626;
    --primary-hover: #b91c1c;
    --primary-dark: #991b1b;
    --color-primary: #dc2626;
    
    /* Secondary Colors */
    --secondary-color: #f59e0b;
    --secondary-hover: #d97706;
    
    /* Gray Scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Base Colors */
    --white: #ffffff;
    --black: #000000;
    
    /* Border Radius */
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    line-height: 1.6;
    color: #2d3748;
    background: #f7fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ==========================================
   LAYOUT COMPONENTS
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    background: #f0f1f3;
    border-bottom: 1px solid #e9ecef;
    padding: 0.375rem 0;
    font-size: 0.8rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, 
.top-bar-right {
    display: flex;
    gap: 1.5rem;
}

.top-info {
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
    transition: color 0.3s;
}

.top-info:hover {
    color: var(--primary-color);
}

.top-info-link {
    color: #6b7280;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 0.8rem;
}

.top-info-link:hover {
    color: var(--primary-color);
}

/* ==========================================
   LOGO AREA
   ========================================== */
.logo-area {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.logo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: absolute;
    left: calc(50% - 30px);
    transform: translateX(-50%);
}

.logo a {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 4rem;
    transition: all 0.3s ease;
}

.logo-left-actions, 
.logo-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.logo-action {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    height: 38px;
    color: #dc2626;
    background: white;
    border: 1.5px solid #dc2626;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.1);
}

.logo-action:hover {
    transform: translateY(-1px);
    background: #fafbfc;
    border-color: #b91c1c;
    color: #b91c1c;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.logo-action.primary {
    background: white;
    border-color: #dc2626;
    color: #dc2626;
}

.logo-action.primary:hover {
    background: #fafbfc;
    border-color: #b91c1c;
    color: #b91c1c;
}

.login-action {
    color: #dc2626;
    font-weight: 500;
}

.logout-action {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.logout-action:hover {
    background: #fecaca;
    color: #b91c1c;
    border-color: #f87171;
    transform: translateY(-1px);
}

.soft-search-btn {
    transition: all 0.3s ease;
}

.soft-search-btn:hover {
    background: #dc2626 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.cart-btn-header {
    transition: all 0.3s ease;
}

.cart-btn-header:hover {
    background: #dc2626 !important;
    color: white !important;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.cart-btn-header .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid white;
}

.search-box {
    position: relative;
}

.search-input {
    padding: 0.625rem 2.75rem 0.625rem 1rem;
    border: 2px solid #f1f5f9;
    border-radius: var(--border-radius);
    width: 15rem;
    font-size: 0.875rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
}

/* ==========================================
   HEADER NAVIGATION
   ========================================== */
.header {
    background: white;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.menu-group.dropdown {
    position: relative;
}

.nav-dropdown {
    position: relative;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 0.75rem;
    color: white;
    opacity: 1;
}

.nav-link:hover, 
.nav-link.active {
    background: var(--primary-color);
    color: white;
}

.dropdown-menu,
.menu-group-dropdown { /* menu-group-dropdown için de aynı stilleri uyguladım */
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 0.5rem 0;
    border: 1px solid #e5e7eb;
    display: flex; /* Alt menü öğelerini dikey sıralamak için */
    flex-direction: column; /* Alt menü öğelerini dikey sıralamak için */
}

.nav-dropdown:hover .dropdown-menu { /* Eski nav-dropdown hover stilini kaldırdım */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.menu-group.dropdown .menu-group-dropdown.show { /* .show sınıfı ile görünürlük kontrolü */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: block;
    color: #374151;
    text-decoration: none;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-size: 0.875rem;
    cursor: pointer;
}

.menu-item:hover {
    background: #f3f4f6;
    color: var(--primary-color);
}



.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: #fef2f2;
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.dropdown-item i {
    width: 1rem;
    color: #9ca3af;
}

.dropdown-item:hover i {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.register-btn {
    padding: 0.625rem 1.25rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.register-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* User Menu Dropdown */
.user-menu-dropdown {
    position: relative;
    display: inline-block;
}

.user-menu-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 200px;
    margin-top: 8px;
}

.user-menu-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    border-bottom: 1px solid #f3f4f6;
}

.user-menu-item:last-child {
    border-bottom: none;
}

.user-menu-item:hover {
    background: #f9fafb;
    color: var(--primary-color);
}

.user-menu-item.logout-item {
    color: #dc2626;
}

.user-menu-item.logout-item:hover {
    background: #fee2e2;
    color: #b91c1c;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cart-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(226, 1, 16, 0.3);
}

.cart-btn i {
    font-size: 16px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid white;
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-section {
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
}

.carousel {
    position: relative;
    overflow: visible;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem;
}

.carousel-inner {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 445px;
    overflow: hidden;
    border-radius: 12px;
    flex: 1;
    order: 2;
    border: 3px dotted rgba(0, 0, 0, 0.25);
    padding: 10px;
    box-sizing: border-box;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s ease-in-out;
    top: 0;
    left: 0;
    transform: translateX(100%);
    z-index: 0;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
    transform: translateX(0);
}

.carousel-item.prev {
    transform: translateX(-100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    padding: 15px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
}

/* Video Slide Styling */
.video-slide {
    background: #000 !important;
}

.video-slide iframe {
    border-radius: 8px !important;
}

.slider-arrow {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-md);
    opacity: 0.9;
    flex-shrink: 0;
}

.slider-arrow-left {
    order: -1;
}

.slider-arrow-right {
    order: 3;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: white;
}

/* ==========================================
   CAROUSEL THUMBNAILS
   ========================================== */
.carousel-thumbnails {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    flex-wrap: wrap;
    width: 100%;
    background-color: #f3f4f6;
    border-top: 1px solid #e5e7eb;
}

.carousel-thumbnail {
    width: 65px;
    height: 48px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    padding: 0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.carousel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 3px 8px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.thumbnail-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    animation: shimmer 3s infinite;
}

.thumbnail-placeholder span {
    position: relative;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translate(-100%, -100%) rotate(0deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(360deg);
    }
}

.carousel-thumbnail:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
    transform: translateY(-2px);
}

.carousel-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--primary-color);
}

/* ==========================================
   FEATURES BAR
   ========================================== */
.features-bar {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.features-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
}

.feature-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.3;
}

/* ==========================================
   CAMPAIGN PRODUCTS (Kampanyalı Ürünler)
   ========================================== */
.campaign-products,
.new-products,
.picked-for-you {
    padding: 2rem 0;
    background: white;
}

.campaign-products .products-slider,
.new-products .products-slider,
.picked-for-you .products-slider {
    overflow: hidden;
    width: 100%;
    padding: 0.5rem 0 1.5rem 0;
}

.campaign-products .products-row,
.new-products .products-row,
.picked-for-you .products-row {
    display: flex;
    gap: 1.5rem;
    padding: 0;
    transition: transform 0.4s ease;
}

/* Product Card */
.campaign-products .product-card,
.new-products .product-card,
.picked-for-you .product-card {
    flex: 0 0 calc((100% - 4.5rem) / 4);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(226, 1, 16, 0.05);
    position: relative;
    min-width: 0;
}

.campaign-products .product-card::before,
.new-products .product-card::before,
.picked-for-you .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E20110, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.campaign-products .product-card:hover,
.new-products .product-card:hover,
.picked-for-you .product-card:hover {
    box-shadow: 0 12px 28px rgba(226, 1, 16, 0.15);
    transform: translateY(-6px);
    border-color: rgba(226, 1, 16, 0.15);
}

.campaign-products .product-card:hover::before,
.new-products .product-card:hover::before,
.picked-for-you .product-card:hover::before {
    transform: scaleX(1);
}

/* Product Image */
.campaign-products .product-image,
.new-products .product-image,
.picked-for-you .product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8 0%, #efefef 100%);
}

.campaign-products .product-image a,
.new-products .product-image a,
.picked-for-you .product-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.campaign-products .product-img-container,
.new-products .product-img-container,
.picked-for-you .product-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.campaign-products .product-img,
.new-products .product-img,
.picked-for-you .product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.2s ease-in-out;
    display: block;
    opacity: 0;
}

.campaign-products .product-img.active,
.new-products .product-img.active,
.picked-for-you .product-img.active {
    opacity: 1;
}

.campaign-products .product-card:hover .product-img {
    transform: scale(1.08);
}

/* Product Badge (Discount) */
.campaign-products .product-badge,
.new-products .product-badge,
.picked-for-you .product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #E20110, #c60000);
    color: white;
    min-width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(226, 1, 16, 0.4);
    z-index: 2;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.campaign-products .product-card:hover .product-badge,
.new-products .product-card:hover .product-badge,
.picked-for-you .product-card:hover .product-badge {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(226, 1, 16, 0.5);
}

.campaign-products .badge-content,
.new-products .badge-content,
.picked-for-you .badge-content {
    display: block;
}

/* Product Info */
.campaign-products .product-info,
.new-products .product-info,
.picked-for-you .product-info {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.98));
}

.campaign-products .product-name,
.new-products .product-name,
.picked-for-you .product-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    line-height: 1.4;
    min-height: 2.3rem;
    color: #2c2c2c;
    transition: color 0.2s ease;
}

.campaign-products .product-name a,
.new-products .product-name a,
.picked-for-you .product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.campaign-products .product-name a:hover,
.new-products .product-name a:hover,
.picked-for-you .product-name a:hover {
    color: #E20110;
}

.campaign-products .product-subname,
.new-products .product-subname,
.picked-for-you .product-subname {
    font-size: 0.78rem;
    color: #aaa;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Price */
.campaign-products .product-price,
.new-products .product-price,
.picked-for-you .product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 2px solid #f0f0f0;
    transition: border-color 0.2s ease;
}

.campaign-products .product-card:hover .product-price,
.new-products .product-card:hover .product-price,
.picked-for-you .product-card:hover .product-price {
    border-top-color: #E20110;
}

.campaign-products .current-price,
.new-products .current-price,
.picked-for-you .current-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #E20110;
    letter-spacing: -0.5px;
}

.campaign-products .old-price,
.new-products .old-price,
.picked-for-you .old-price {
    font-size: 0.88rem;
    color: #ccc;
    text-decoration: line-through;
}

.campaign-products .minimum-qty,
.new-products .minimum-qty,
.picked-for-you .minimum-qty {
    font-size: 0.75rem;
    color: #999;
    background: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    white-space: nowrap;
}

/* Design Badge Styles - Tag Style */
.campaign-products .design-badge,
.new-products .design-badge,
.picked-for-you .design-badge {
    position: absolute;
    top: 30px;
    right: 8px;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-block;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    border: 2px solid white;
}

.campaign-products .design-badge-text,
.new-products .design-badge-text,
.picked-for-you .design-badge-text {
    display: block;
    white-space: nowrap;
}

/* Hazır Tasarım - Mat Siyah */
.campaign-products .design-badge.badge-hazir,
.new-products .design-badge.badge-hazir,
.picked-for-you .design-badge.badge-hazir {
    background: #1f2937;
    color: white;
}

.campaign-products .design-badge.badge-hazir:hover,
.new-products .design-badge.badge-hazir:hover,
.picked-for-you .design-badge.badge-hazir:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(31, 41, 55, 0.5);
}

/* Özel Tasarım - Kırmızı */
.campaign-products .design-badge.badge-ozel,
.new-products .design-badge.badge-ozel,
.picked-for-you .design-badge.badge-ozel {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.campaign-products .design-badge.badge-ozel:hover,
.new-products .design-badge.badge-ozel:hover,
.picked-for-you .design-badge.badge-ozel:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.5);
}

/* Tasarım Yok - Gri */
.campaign-products .design-badge.badge-yok,
.new-products .design-badge.badge-yok,
.picked-for-you .design-badge.badge-yok {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.campaign-products .design-badge.badge-yok:hover,
.new-products .design-badge.badge-yok:hover,
.picked-for-you .design-badge.badge-yok:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(75, 85, 99, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .campaign-products .product-card,
    .new-products .product-card,
    .picked-for-you .product-card {
        flex: 0 0 calc((100% - 3rem) / 3);
    }
}

@media (max-width: 768px) {
    .campaign-products .product-card,
    .new-products .product-card,
    .picked-for-you .product-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }

    .campaign-products .products-row,
    .new-products .products-row,
    .picked-for-you .products-row {
        gap: 1rem;
        padding: 0;
    }

    .campaign-products .product-info,
    .new-products .product-info,
    .picked-for-you .product-info {
        padding: 0.85rem;
    }

    .campaign-products .product-name,
    .new-products .product-name,
    .picked-for-you .product-name {
        font-size: 0.85rem;
        min-height: 2rem;
    }

    .campaign-products .product-subname,
    .new-products .product-subname,
    .picked-for-you .product-subname {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .campaign-products .current-price,
    .new-products .current-price,
    .picked-for-you .current-price {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .campaign-products .product-card,
    .new-products .product-card,
    .picked-for-you .product-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }

    .campaign-products .product-info,
    .new-products .product-info,
    .picked-for-you .product-info {
        padding: 0.75rem;
    }

    .campaign-products .product-name,
    .new-products .product-name,
    .picked-for-you .product-name {
        font-size: 0.8rem;
        min-height: 1.8rem;
        margin-bottom: 0.25rem;
    }

    .campaign-products .product-subname,
    .new-products .product-subname,
    .picked-for-you .product-subname {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
    }

    .campaign-products .product-price,
    .new-products .product-price,
    .picked-for-you .product-price {
        padding-top: 0.5rem;
        gap: 0.35rem;
    }

    .campaign-products .current-price,
    .new-products .current-price,
    .picked-for-you .current-price {
        font-size: 0.95rem;
    }

    .campaign-products .old-price,
    .new-products .old-price,
    .picked-for-you .old-price {
        font-size: 0.8rem;
    }

    .campaign-products .product-badge,
    .new-products .product-badge,
    .picked-for-you .product-badge {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 0.8rem;
    }

    .campaign-products .design-badge,
    .new-products .design-badge,
    .picked-for-you .design-badge {
        top: 25px;
        right: 6px;
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
        border: 1.5px solid white;
    }
}

/* ==========================================
   REFERENCES (Referanslar)
   ========================================== */
.references {
    padding: 2rem 0;
    background: white;
}

.references .products-slider {
    overflow: hidden;
    width: 100%;
}

.references .products-row {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.reference-card {
    flex: 0 0 calc(20% - 0.8rem);
}

.references .slider-progress {
    margin-top: 1rem;
    text-align: center;
}

/* ==========================================
   FEATURED BLOG (Blog İçerikleri)
   ========================================== */
.featured-blog {
    padding: 60px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.featured-blog-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-blog-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-blog-image {
    max-width: 100%;
    height: auto;
    border-radius: 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-blog-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-label {
    display: inline-block;
    background-color: #e5e7eb;
    color: #6b7280;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.featured-blog-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-blog-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 450px;
}

.btn-read-article {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: fit-content;
}

.btn-read-article:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(226, 1, 16, 0.3);
    transform: translateY(-2px);
}

.btn-read-article i {
    font-size: 12px;
    transition: var(--transition);
}

.btn-read-article:hover i {
    transform: translateX(3px);
}

/* ==========================================
   RESPONSIVE FEATURED BLOG
   ========================================== */
@media (max-width: 1024px) {
    .featured-blog-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured-blog-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .featured-blog {
        padding: 40px 0;
    }

    .featured-blog-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .featured-blog-title {
        font-size: 28px;
    }

    .featured-blog-description {
        max-width: 100%;
    }
}

/* ==========================================
   SHOWCASE (Gör, Dene, Sipariş Ver)
   ========================================== */
.showcase {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.showcase-description {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 400px;
}

.showcase-highlight {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 30px;
}

.showcase-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-add-cart,
.btn-view-product {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart {
    background-color: var(--primary-color);
    color: white;
}

.btn-add-cart:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(226, 1, 16, 0.3);
}

.btn-view-product {
    background-color: #e5e7eb;
    color: #1f2937;
}

.btn-view-product:hover {
    background-color: #d1d5db;
}

.showcase-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-image {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.showcase-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.4;
    box-shadow: 0 4px 15px rgba(226, 1, 16, 0.3);
    z-index: 10;
}

.showcase-price-badge .price {
    display: block;
    font-size: 18px;
    margin-top: 5px;
}

/* ==========================================
   RESPONSIVE SHOWCASE
   ========================================== */
@media (max-width: 1024px) {
    .showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .showcase {
        padding: 40px 0;
    }

    .showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase-title {
        font-size: 28px;
    }

    .showcase-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-add-cart,
    .btn-view-product {
        width: 100%;
    }
}

.section-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    height: 50px;
    width: 100%;
}

/* ==========================================
   SECTION HEADER - MODERN COMPACT STYLE
   ========================================== */
.section-title {
    background: linear-gradient(135deg, #E20110, #c60000);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin: 0 auto;
}

.section-nav {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 0.9rem;
}

.nav-btn:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.05);
}

.nav-btn:hover i {
    color: white;
}

.products-slider {
    overflow: hidden;
}

.products-row {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    padding: 15px 0;
}


/* Reference Card Styling */
.reference-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.reference-card .product-image {
    aspect-ratio: 1 / 1;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-card .product-image img {
    position: static;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.slider-progress {
    margin-top: 20px;
    text-align: center;
}

.progress-bar {
    width: 100px;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-main {
    background: #E20110;
    color: white;
    margin-top: 5rem;
}

.footer-content-wrapper {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-column:nth-child(3) {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    text-decoration: none;
}

.footer-main a:not(.social-icon):hover {
    color: #fff !important;
    opacity: 1 !important;
}

.company-info {
    padding-top: 10px;
}

.company-info h5 {
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.info-item {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.35rem 0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-icon {
    display: inline-block;
    min-width: 16px;
    color: white;
    filter: brightness(0) invert(1);
}

.customer-service {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    align-items: flex-start;
    margin-left: 3.5rem;
    margin-top: 0.5rem;
}

.phone-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-icon-wrapper {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon-wrapper i {
    font-size: 28px;
    color: var(--primary-color);
}

.phone-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0;
    text-align: left;
    line-height: 1.2;
}

.phone-number {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0;
    text-align: left;
    line-height: 1.2;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0.5rem 0;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.social-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.9);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    margin: 0.25rem 0;
}

.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 13px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    margin: 0.25rem 0;
    margin-left: 1rem;
}

.whatsapp-link:hover,
.download-link:hover {
    opacity: 1;
    color: white;
    text-decoration: underline;
}

.newsletter-section {
    order: -1;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
    width: 100%;
}

.newsletter-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1rem 0;
    line-height: 1.5;
    text-align: left;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.newsletter-input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 24px;
    font-size: 13px;
    background: white;
    color: #666;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border: 1px solid white;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: white;
    color: var(--primary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

.video-btn {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid white;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.video-btn:hover {
    background: white;
    color: var(--primary-color);
}

/* ==========================================
   RESPONSIVE FOOTER
   ========================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    justify-content: center;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.text-center { text-align: center; }
.w-full { width: 100%; }

/* Spacing Utilities */
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.m-4 { margin: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-8 { margin-top: 2rem; }

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 768px) {
    .nav, 
    .search-box { 
        display: none; 
    }
    
    .header-content { 
        padding: 0.75rem 0; 
    }
    
    .logo { 
        font-size: 1.25rem; 
    }
    
    .features-row { 
        flex-direction: column; 
        gap: 1.5rem; 
    }
    
    .section-header { 
        flex-direction: column; 
        gap: 20px; 
        text-align: center; 
    }
    
    .product-card {
        flex: 0 0 calc(50% - 10px);
    }

    .top-bar-left, 
    .top-bar-right {
        gap: 1rem;
    }
    
    .logo-actions {
        gap: 0.5rem;
    }
    
    .logo-action {
        font-size: 0.7rem;
        padding: 0.375rem 0.625rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 100%;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        position: static;
        transform: none;
    }
    
    .hero-section .carousel {
        height: 20rem;
    }
    
    .hero-image {
        height: 20rem;
    }
    
    .slider-arrow {
        top: 10rem;
        width: 2rem;
        height: 2rem;
    }
}

/* ==========================================
   DARK MODE SUPPORT
   ========================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --body-bg: #0f172a;
        --body-color: #e2e8f0;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .header,
    .footer,
    .nav-btn,
    .slider-arrow,
    .carousel-dots {
        display: none !important;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* ==========================================
   BREADCRUMB COMPONENT - COMPACT DESIGN
   ========================================== */
.breadcrumb-wrapper {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-section {
    padding: 0.4rem 0;
}

.breadcrumb-nav {
    padding: 0;
    margin-bottom: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.breadcrumb-link {
    color: #E20110;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.25rem 0.35rem;
    border-radius: 3px;
    display: inline-block;
}

.breadcrumb-link:hover {
    color: white;
    background-color: #E20110;
    text-decoration: none;
}

.breadcrumb-separator {
    color: #ccc;
    margin: 0 0.2rem;
    font-size: 0.7rem;
}

.breadcrumb-active {
    color: #333;
    font-weight: 500;
    padding: 0.25rem 0.35rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .breadcrumb-container {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .breadcrumb-nav {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb-container {
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .breadcrumb-link,
    .breadcrumb-active {
        padding: 0.2rem 0.25rem;
    }
}

/* ==========================================
   CATEGORY BADGE HEADER - TOP SECTION
   ========================================== */
.category-badge-header {
    padding: 2rem 0;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.category-badge {
    background: linear-gradient(135deg, #E20110, #c60000);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.category-welcome-text {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.category-welcome-text strong {
    font-weight: 700;
    color: #E20110;
}

@media (max-width: 768px) {
    .category-badge-header {
        padding: 1rem 0;
        margin-bottom: 1rem;
        gap: 0.6rem;
    }
    
    .category-badge {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
    
    .category-welcome-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .category-badge-header {
        padding: 0.8rem 0;
        margin-bottom: 0.8rem;
        gap: 0.5rem;
    }
    
    .category-badge {
        font-size: 0.95rem;
        padding: 0.45rem 1.2rem;
    }
    
    .category-welcome-text {
        font-size: 0.85rem;
    }
}

/* ==========================================
   SECTION HEADER - MODERN COMPACT DESIGN
   ========================================== */
.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 35px;
}


/* ==========================================
   HEADER - COMPACT & MODERN
   ========================================== */
.header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
}

.nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Menu items - base styling */
.menu-item {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 600;
}

.menu-item:hover {
    color: #E20110;
    background: #f9f9f9;
}

/* Top level menu items - red background with white text */
.nav > .menu-group > .menu-item,
.nav > .menu-group > .dropdown-toggle {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.1rem;
    margin: 0 0.25rem;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Hover - Modern effect */
.nav > .menu-group:hover > .dropdown-toggle,
.nav > .menu-group:hover > .menu-item {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

/* Dropdown toggle */
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0.25rem;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.nav > .menu-group > .dropdown-toggle i {
    font-size: 0.6rem;
    color: white !important;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav > .menu-group:hover > .dropdown-toggle i {
    opacity: 1;
    transform: scaleY(-1);
}

/* Dropdown menu */
.menu-group.dropdown:hover .menu-group-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(6px);
}

.dropdown-menu,
.menu-group-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0.6rem 0;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    margin-top: 0.8rem;
    backdrop-filter: blur(10px);
}

.menu-group-dropdown .menu-item,
.dropdown-menu .menu-item {
    display: block;
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.menu-group-dropdown .menu-item::before,
.dropdown-menu .menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.menu-group-dropdown .menu-item:hover,
.dropdown-menu .menu-item:hover {
    background: #fef2f2;
    color: #dc2626;
    padding-left: 1.5rem;
}

.menu-group-dropdown .menu-item:hover::before,
.dropdown-menu .menu-item:hover::before {
    height: 100%;
}

/* ==========================================
   DESIGN TYPE BADGE - PRODUCT CARDS
   ========================================== */
.design-badge {
    position: absolute;
    top: 15%;
    right: -2px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 0.3rem 0.65rem;
    border-radius: 4px 0 0 4px;
    z-index: 5;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.25);
}

.design-badge-text {
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    writing-mode: horizontal-tb;
}

/* Design Badge Colors */
.design-badge.badge-hazir {
    background: #10b981;
}

.design-badge.badge-ozel {
    background: #f59e0b;
}

.design-badge.badge-yok {
    background: #6b7280;
}

/* ==========================================
   CUSTOMER DASHBOARD - MODERN STYLES
   ========================================== */

.customer-dashboard {
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f4f8 100%);
 
    padding: 2rem 0;
}

.dashboard-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Sidebar Styles */
.dashboard-sidebar {
    background: white;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.6rem;
    border-bottom: 1px solid #f0f0f0;
}

.user-avatar {
    font-size: 1.6rem;
    color: #dc2626;
    flex-shrink: 0;
}

.user-details h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.user-details small {
    color: #6b7280;
    font-size: 0.65rem;
    display: block;
    margin-top: 0.02rem;
    line-height: 1.2;
}

/* Sidebar Menu */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    background: transparent;
}

.menu-item i {
    font-size: 0.95rem;
    width: 1.1rem;
    text-align: center;
    transition: color 0.25s ease;
}

.menu-item:hover {
    background: #f0f4f8;
    color: #dc2626;
}

.menu-item.active {
    background: #fecaca;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.menu-item.active i {
    color: white;
}

.menu-item.logout:hover {
    background: #fee2e2;
    color: #991b1b;
}

.menu-divider {
    height: 1px;
    background: #f0f0f0;
    border: none;
    margin: 0.35rem 0;
}

.menu-item.logout:hover {
    background: #fee2e2;
    color: #991b1b;
}

.menu-divider {
    height: 1px;
    background: #f0f0f0;
    border: none;
    margin: 0.5rem 0;
}

.badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    font-weight: 600;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Dashboard Content */
.dashboard-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.content-section {
    padding: 2.5rem;
}



/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.required {
    color: #dc2626;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.btn-outline {
    background: white;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.btn-outline:hover {
    background: #fee2e2;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

/* Address Cards */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.address-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.address-card:hover {
    border-color: #dc2626;
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.1);
}

.address-card.default-address {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #dc2626;
}

.address-header {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.address-body {
    margin-bottom: 1rem;
}

.address-body h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    color: #1f2937;
}

.address-text {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.address-phone {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0.75rem 0 0 0;
}

.address-firm {
    color: #dc2626;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Profile Form */
.profile-form {
    max-width: 600px;
}

.membership-type-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.membership-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.membership-option input[type="radio"]:checked + label {
    color: #dc2626;
}

.membership-option input[type="radio"]:checked {
    border-color: #dc2626;
    background: #fee2e2;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.membership-hint {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0.5rem 0 0 0;
}

.form-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
}

/* Settings */
.settings-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.settings-header h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #1f2937;
}

.settings-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}

.password-form {
    max-width: 500px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-state i {
    font-size: 3rem;
    color: #dc2626;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.empty-state p {
    color: #6b7280;
    margin: 0.5rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .dashboard-sidebar {
        position: sticky;
        top: 80px;
        padding: 1.5rem;
        z-index: 100;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    

    
    .membership-type-container {
        grid-template-columns: 1fr;
    }
    
    .user-details h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dashboard-wrapper {
        padding: 0 0.75rem;
    }
    
    .dashboard-sidebar {
        padding: 1rem;
    }
    
    .user-avatar {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 1rem;
    }
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: #000000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.scroll-to-top-btn:active {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top-btn {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1rem;
    }
}
