/* Kurban Sepetim - Temiz CSS */

/* CSS Variables */
:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #475569;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 80px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

/* Theme Toggle Button */
#theme-toggle {
    color: var(--text-primary) !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    transform: scale(1.1);
}

.navbar-nav .nav-link.active {
    background: var(--primary-color);
    color: white !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: -80px;
    padding-top: 80px;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    color: #1a1a1a;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sections */
section {
    position: relative;
    z-index: 2;
    clear: both;
}

section:not(.hero-section) {
    padding: 5rem 0;
}

/* Stats Section */
.stats-section {
    background: var(--bg-secondary) !important;
    padding: 4rem 0 !important;
}

.stat-card {
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem !important;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.stat-card .counter {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
}

.stat-card h6 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

/* Categories */
.categories-section {
    background: var(--bg-primary) !important;
    padding: 6rem 0 !important;
}

.category-card {
    transition: all 0.3s ease;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.category-header {
    position: relative;
    overflow: hidden;
}

.category-body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.feature {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features Section */
.features-section {
    background: var(--bg-secondary) !important;
}

.feature-item {
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

/* Trust Indicators */
.trust-indicators .trust-item {
    transition: all 0.3s ease;
}

.trust-indicators .trust-item:hover {
    transform: translateY(-5px);
}

/* Floating Cards */
.floating-card {
    transition: all 0.3s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: 3s;
}

@keyframes floatCard {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-10px);
    }
}

/* Counter */
.counter {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1020;
    background: #25d366;
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-widget:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-widget i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Navbar Scroll Effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Utility Classes */
.bg-opacity-10 { 
    background-color: rgba(255, 255, 255, 0.1) !important; 
}

.bg-opacity-15 { 
    background-color: rgba(255, 255, 255, 0.15) !important; 
}

.bg-opacity-20 { 
    background-color: rgba(255, 255, 255, 0.2) !important; 
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.text-purple { 
    color: #7c3aed; 
}

/* Footer */
.footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .hero-section {
        margin-top: -70px;
        padding-top: 70px;
        min-height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .btn-xl {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .category-card {
        margin-bottom: 1.5rem;
    }
    
    .floating-card {
        margin-bottom: 1rem !important;
        width: 100% !important;
    }
    
    section:not(.hero-section) {
        padding: 3rem 0;
    }
    
    .stats-section {
        padding: 3rem 0 !important;
    }
    
    .stat-card {
        padding: 2rem 1rem !important;
        margin-bottom: 1.5rem;
    }
    
    .stat-card .counter {
        font-size: 2.5rem !important;
    }
    
    .whatsapp-widget {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
    }
    
    .whatsapp-widget i {
        font-size: 1.2rem;
        margin-right: 0.3rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .trust-indicators {
        margin-top: 2rem !important;
    }
    
    .trust-indicators .trust-item {
        margin-bottom: 1rem;
    }
    
    section:not(.hero-section) {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
}