/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (PREMIUM CORPORATE)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Corporate color palette: Midnight Navy, Rust Terracotta, and Luxury Amber */
    --primary: #d95a3b;          /* Premium Rust Terracotta */
    --primary-hover: #c24629;
    --primary-rgb: 217, 90, 59;
    
    --secondary: #0f172a;        /* Deep Midnight Slate */
    --secondary-hover: #020617;
    --secondary-rgb: 15, 23, 42;
    
    --accent: #f59e0b;           /* Amber / Gold */
    --accent-hover: #d97706;
    
    /* Light Mode Variables */
    --bg-app: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.7);
    --border-color: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #475569;
    
    /* Shadows & Glows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px -5px rgba(15, 23, 42, 0.04), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 30px rgba(217, 90, 59, 0.15);
    --shadow-glow-blue: 0 0 40px rgba(15, 23, 42, 0.25);
    
    /* Configs */
    --font-sans: 'Outfit', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Overrides */
body.dark-theme {
    --bg-app: #030712;
    --bg-surface: #0b0f19;
    --bg-surface-glass: rgba(11, 15, 25, 0.75);
    --border-color: #1f2937;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 35px rgba(217, 90, 59, 0.25);
    --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.15);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-app);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   SCROLL-ACTIVATED FADE EFFECTS (JS Entegre)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   HEADER / NAVIGATION (GLASSMORPHIC)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-normal), border var(--transition-normal), height var(--transition-normal);
}

.header.scrolled {
    height: 75px;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 6px 15px rgba(217, 90, 59, 0.25);
    transition: transform var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle-btn, .cart-toggle-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover, .cart-toggle-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 5px 12px rgba(217, 90, 59, 0.15);
}

.theme-toggle-btn svg, .cart-toggle-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--text-muted);
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover svg, .cart-toggle-btn:hover svg {
    fill: var(--primary);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(217, 90, 59, 0.4);
    animation: pulse 2.5s infinite;
}

.theme-toggle-btn .sun-icon {
    display: none;
}

body.dark-theme .theme-toggle-btn .sun-icon {
    display: block;
}

body.dark-theme .theme-toggle-btn .moon-icon {
    display: none;
}

/* ==========================================================================
   CAFCAFLI HERO SECTION (DYNAMIC & PREMIUM)
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    /* Dark Premium Gradient Background */
    background: radial-gradient(circle at 80% 20%, rgba(217, 90, 59, 0.1) 0%, rgba(15, 23, 42, 0.98) 70%), url('assets/hero_bg.png') no-repeat center right / cover;
    color: #fff;
    overflow: hidden;
}

body.dark-theme .hero {
    background: radial-gradient(circle at 80% 20%, rgba(217, 90, 59, 0.15) 0%, rgba(3, 7, 18, 0.99) 70%), url('assets/hero_bg.png') no-repeat center right / cover;
}

/* Decorative blur blobs in background */
.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 90, 59, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    z-index: 1;
    filter: blur(50px);
    animation: blob-float 10s infinite alternate;
}

.hero-blob-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -150px;
    right: -100px;
    border-radius: 50%;
    z-index: 1;
    filter: blur(60px);
    animation: blob-float 12s infinite alternate-reverse;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.badge-wholesale {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badge-wholesale span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: flash 1.2s infinite;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(217, 90, 59, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 45px;
    max-width: 580px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Premium Shining Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 8px 25px rgba(217, 90, 59, 0.4);
    border: none;
}

/* Shining button animation sweep */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: transform var(--transition-slow);
    animation: shine 4s infinite ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(217, 90, 59, 0.55);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Cafcaflı Hero Visual Container with floating cards */
.hero-visual {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-main-card {
    width: 85%;
    height: 85%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Glow gradient behind mock-card */
.hero-visual-glow {
    position: absolute;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(217, 90, 59, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    filter: blur(40px);
}

/* Glass Floating Cards */
.hero-floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 14px;
    align-items: center;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    top: 30px;
    left: -10px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 50px;
    right: -10px;
    animation-delay: 2s;
}

.hero-floating-card.card-3 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 4s;
    background: linear-gradient(135deg, rgba(217, 90, 59, 0.95), rgba(245, 158, 11, 0.95));
    border: none;
    color: #fff;
}

.hero-floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(217, 90, 59, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.card-3 .hero-floating-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-floating-text h4 {
    font-size: 1.15rem;
    font-weight: 800;
}

.hero-floating-text p {
    font-size: 0.8rem;
    color: #94a3b8;
}

.card-3 .hero-floating-text p {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   WHOLESALE ESTIMATOR (DİNAMİK HESAPLAYICI - GLOWING)
   ========================================================================== */
.section-calculator {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-normal), border var(--transition-normal);
}

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

.section-badge {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 14px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 14px auto 0;
}

.calculator-wrapper {
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

/* Glow blobs inside wrapper */
.calculator-wrapper::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(217, 90, 59, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    top: -50px;
    right: -50px;
    border-radius: 50%;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 28px;
    z-index: 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.form-select, .form-input {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.form-select:focus, .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(217, 90, 59, 0.15);
}

.range-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Calc Results Panel */
.calc-results-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    position: relative;
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.calc-results-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.calc-result-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.calc-result-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

.calc-result-prod {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.calc-breakdown {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-muted);
}

.breakdown-row.total {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--text-main);
    border-top: 2px dashed var(--border-color);
    padding-top: 24px;
    margin-top: 10px;
}

.discount-tag {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.shipping-info-badge {
    background: rgba(15, 23, 42, 0.03);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.dark-theme .shipping-info-badge {
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   PRODUCTS CATALOGUE (GLOWING CARDS)
   ========================================================================== */
.section-products {
    padding: 100px 0;
}

.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 100px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 15px rgba(217, 90, 59, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(217, 90, 59, 0.4);
}

.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 100px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: #f1f5f9;
}

body.dark-theme .product-img-wrapper {
    background-color: #1e293b;
}

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

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 5;
}

.product-card {
    cursor: pointer;
}

.product-card:hover .product-img-overlay {
    opacity: 1;
}

.product-info {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-cat {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-meta-specs {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-pricing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

.product-price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}

.price-val {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
}

.price-val span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-add-cart-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background-color: rgba(217, 90, 59, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.btn-add-cart-icon:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(217, 90, 59, 0.3);
}

.btn-add-cart-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ==========================================================================
   VERGİ LEVHASI GÜVEN BÖLÜMÜ
   ========================================================================== */
.section-tax-cert {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    transition: background var(--transition-normal), border var(--transition-normal);
}

.tax-cert-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 10px solid #ff0000; /* Klasik Vergi Levhası Kırmızı Kenarı */
    border-radius: 6px;
    padding: 30px;
    color: #000; /* Vergi levhası her modda beyaz kalır */
    box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.1);
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    transition: transform var(--transition-normal);
}

.tax-cert-container:hover {
    transform: scale(1.01);
}

.tax-cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #ff0000;
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.tax-cert-logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tax-cert-gib-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.tax-cert-gib-text {
    line-height: 1.2;
}

.tax-cert-gib-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b2240;
}

.tax-cert-gib-text p {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b2240;
}

.tax-cert-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: #ff0000;
    letter-spacing: 3px;
    text-align: center;
    flex-grow: 1;
}

.tax-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.tax-cert-item {
    border: 1.5px solid #ddd;
    padding: 12px 16px;
    border-radius: 4px;
    background-color: #fafafa;
}

.tax-cert-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ff0000;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.tax-cert-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #222;
    line-height: 1.4;
}

.tax-cert-item.full-width {
    grid-column: span 2;
}

.tax-cert-table-wrapper {
    margin-top: 24px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.tax-cert-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: center;
}

.tax-cert-table th {
    background-color: #ff0000;
    color: #fff;
    font-weight: 800;
    padding: 12px;
    border: 1px solid #ff0000;
}

.tax-cert-table td {
    padding: 12px;
    border: 1px solid #ddd;
    font-weight: 700;
    background-color: #fff;
}

.tax-cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #555;
}

.tax-cert-barcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.barcode-svg {
    height: 44px;
    width: 150px;
}

.tax-cert-verify-link {
    color: #0b2240;
    font-weight: 800;
    text-decoration: underline;
}

/* Info container next to certificate on desktop */
.tax-info-flex {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.tax-info-content h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.tax-info-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.tax-info-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tax-info-feat-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tax-info-feat-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-weight: 800;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tax-info-feat-text h5 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.tax-info-feat-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   FOOTER (DARK CORPORATE)
   ========================================================================== */
.footer {
    background-color: var(--secondary);
    color: #64748b;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

body.dark-theme .footer {
    background-color: #030712;
}

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

.footer-logo {
    color: #fff;
    margin-bottom: 20px;
}

.footer-desc {
    margin-bottom: 28px;
    max-width: 350px;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    color: #94a3b8;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #94a3b8;
}

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

.footer-contact-icon {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #64748b;
}

/* ==========================================================================
   SHOPPING CART SLIDE-OUT / DRAWER (MODERN GLASSY)
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background-color: var(--bg-surface);
    z-index: 2001;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-color);
}

.cart-drawer-overlay.active .cart-drawer {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
}

.btn-close-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

.btn-close-cart:hover {
    color: var(--text-main);
    border-color: var(--text-main);
    transform: rotate(90deg);
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-empty-message {
    text-align: center;
    color: var(--text-muted);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cart-empty-icon {
    font-size: 4rem;
    color: var(--border-color);
    animation: float 4s ease-in-out infinite;
}

.cart-item {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.cart-item-img {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background-color: #f1f5f9;
}

body.dark-theme .cart-item-img {
    background-color: #1e293b;
}

.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-main);
}

.cart-item-qty-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background-color: var(--bg-app);
}

.qty-btn:hover {
    background-color: var(--border-color);
}

.qty-val {
    width: 45px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 800;
}

.cart-item-price {
    font-weight: 800;
    color: var(--text-main);
    font-size: 1rem;
}

.btn-remove-item {
    color: #ef4444;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    align-self: flex-start;
    padding: 4px 0;
}

.btn-remove-item:hover {
    text-decoration: underline;
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-app);
}

.cart-total-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cart-total-label {
    font-weight: 800;
    color: var(--text-main);
}

.cart-total-val {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary);
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-buttons .btn {
    width: 100%;
}

/* ==========================================================================
   MODAL / POPUP (PREMIUM OVERLAY)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transform: translateY(30px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

/* Product Detail Modal Specifics */
.detail-modal-container {
    max-width: 960px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 40px;
}

.detail-modal-body {
    margin-top: 10px;
}

.detail-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}

.detail-modal-visuals {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-modal-img-wrapper {
    background-color: #f1f5f9;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

body.dark-theme .detail-modal-img-wrapper {
    background-color: #1e293b;
}

.detail-modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.detail-modal-img-wrapper img:hover {
    transform: scale(1.08);
}

.detail-modal-quick-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.quick-spec-item {
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.quick-spec-icon {
    font-size: 1.5rem;
}

.quick-spec-info {
    display: flex;
    flex-direction: column;
}

.quick-spec-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.quick-spec-val {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
}

.detail-modal-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-modal-cat-row {
    margin-bottom: -10px;
}

.detail-modal-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.detail-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-section h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 6px;
}

.detail-table-wrapper {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.detail-tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.detail-tech-table tr {
    border-bottom: 1px solid var(--border-color);
}

.detail-tech-table tr:last-child {
    border-bottom: none;
}

.detail-tech-table tr:nth-child(even) {
    background-color: rgba(15, 23, 42, 0.02);
}

body.dark-theme .detail-tech-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.01);
}

.detail-tech-table td {
    padding: 10px 14px;
    color: var(--text-main);
    font-weight: 600;
}

.detail-tech-table td:first-child {
    color: var(--text-muted);
    font-weight: 700;
    width: 50%;
    border-right: 1px solid var(--border-color);
}

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

.detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-list li {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding-left: 24px;
}

.detail-list.check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 800;
}

.detail-list.bullet li::before {
    content: '📍';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.95rem;
}

/* Modal Calculator Style */
.modal-calc-section {
    background: linear-gradient(135deg, rgba(217, 90, 59, 0.03), rgba(245, 158, 11, 0.03));
    border: 1px solid rgba(217, 90, 59, 0.15);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 10px;
}

body.dark-theme .modal-calc-section {
    background: linear-gradient(135deg, rgba(217, 90, 59, 0.05), rgba(245, 158, 11, 0.05));
    border-color: rgba(217, 90, 59, 0.25);
}

.modal-calc-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-calc-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-qty-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modal-qty-control-wrapper .form-input {
    width: 100%;
    padding-right: 60px; /* Space for unit badge */
}

.modal-qty-unit {
    position: absolute;
    right: 16px;
    font-weight: 800;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.modal-calc-output {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.modal-output-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

.modal-output-row.total {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-main);
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    margin-top: 4px;
}

/* Responsive Overrides for Modal */
@media (max-width: 768px) {
    .detail-modal-container {
        width: 95%;
        padding: 20px;
        max-height: 95vh;
    }
    
    .detail-modal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .detail-section-row {
        grid-template-columns: 1fr;
    }
    
    .modal-calc-inputs {
        grid-template-columns: 1fr;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-main);
}

.btn-close-modal {
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.btn-close-modal:hover {
    color: var(--text-main);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.toast {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    padding: 20px 28px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 1rem;
    min-width: 320px;
    transform: translateX(120%);
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #10b981;
}

.toast-icon {
    font-size: 1.3rem;
}

.toast.success .toast-icon {
    color: #10b981;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 90, 59, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(217, 90, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 90, 59, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.15); }
}

@keyframes shine {
    0% { left: -60%; }
    20% { left: 140%; }
    100% { left: 140%; }
}

/* Keyframes for entrance animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(45px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .hero {
        background: radial-gradient(circle at 50% 50%, rgba(217, 90, 59, 0.15) 0%, rgba(15, 23, 42, 0.99) 70%);
        padding: 160px 0 100px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        height: 380px;
    }
    
    .hero-main-card {
        width: 75%;
        height: 100%;
    }
    
    .hero-floating-card.card-3 {
        right: 0px;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
        padding: 35px;
    }
    
    .tax-info-flex {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* simple hidden layout for mobile menu */
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tax-cert-grid {
        grid-template-columns: 1fr;
    }
    
    .tax-cert-item.full-width {
        grid-column: span 1;
    }
    
    .calculator-wrapper {
        padding: 24px;
    }
}
