/**
 * Hızlı Tüketim Malları Web Sitesi - Ana Stil Dosyası
 * Responsive ve Kullanıcı Dostu Tasarım
 */

/* ========================================
   CSS DEĞİŞKENLERİ
   ======================================== */
:root {
    --primary-color: rgba(13, 18, 14);
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #c0392b;
    --light-color: rgba(254, 188, 36);
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-muted: #7f8c8d;
    --border-color: #ddd;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-cream: #FFF8E7;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-full: 9999px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #434343 0%, #000000 100%);
    --gradient-ocean: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* RTL Desteği */
[dir="rtl"] {
    --font-main: 'Tahoma', 'Arial', sans-serif;
}

/* ========================================
   TEMEL AYARLAR
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

/* RTL Desteği */
[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* ========================================
   TİPOGRAFİ
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

/* ========================================
   CONTAINER
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVİGASYON
   ======================================== */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-selector {
    display: flex;
    gap: 15px;
}

.language-selector a {
    color: var(--light-color);
    opacity: 0.7;
    transition: var(--transition);
}

.language-selector a:hover,
.language-selector a.active {
    opacity: 1;
    font-weight: 600;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo a {
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 35px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Navigasyon */
.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* Mobil Menü Butonu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    pointer-events: none !important;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 60px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 3px solid #ffffff;
    border-radius: 10px;
}


.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #000000;
    opacity: 1;
}

/* Keyframes tanımları - diğer sayfalar için */
@keyframes boxPulse {
    0% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1),
                    0 0 0 0 rgba(102, 126, 234, 0.3);
        transform: scale(1) translateY(0);
        border-color: #ffffff;
    }
    20% {
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12),
                    0 0 30px 10px rgba(102, 126, 234, 0.4);
        transform: scale(1.01) translateY(-2px);
        border-color: #667eea;
    }
    40% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                    0 0 50px 20px rgba(118, 75, 162, 0.5);
        transform: scale(1.02) translateY(-5px);
        border-color: #764ba2;
    }
    60% {
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12),
                    0 0 30px 10px rgba(102, 126, 234, 0.4);
        transform: scale(1.01) translateY(-2px);
        border-color: #667eea;
    }
    80% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1),
                    0 0 0 0 rgba(102, 126, 234, 0.3);
        transform: scale(1) translateY(0);
        border-color: #ffffff;
    }
    100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1),
                    0 0 0 0 rgba(102, 126, 234, 0.3);
        transform: scale(1) translateY(0);
        border-color: #ffffff;
    }
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    }
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.hero-btn:hover::before {
    opacity: 1;
}

.hero-btn:hover {
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   BÖLÜM STİLLERİ
   ======================================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-bg {
    background-color: var(--bg-cream);
}

/* Hero kısımları için krem arka plan */
.section.section-bg {
    background-color: var(--bg-cream);
}

/* Section title animasyonları */
.section-title h1 {
    animation: fadeInUp 1s ease, titlePulse 2.5s linear infinite;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    animation: fadeInUp 1s ease, titlePulse 2.5s linear infinite;
}

/* Inline stil ile beyaz çerçeveli section-title için animasyon */
.section-title[style*="background-color: white"] {
    animation: fadeInUp 1s ease, boxPulse 2.5s linear infinite !important;
}

.section-title[style*="background-color: white"] h1 {
    animation: fadeInUp 1s ease, titlePulse 2.5s linear infinite !important;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    50% {
        transform: scale(1.03);
        text-shadow: 0 3px 15px rgba(102, 126, 234, 0.3);
    }
}

/* ========================================
   KARTLAR
   ======================================== */
.card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-text {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: var(--border-radius-full);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   GRID SİSTEMLERİ
   ======================================== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   FORM ELEMANLARI
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--bg-white);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--bg-white);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--text-muted);
    color: var(--bg-white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   İLETİŞİM BİLGİLERİ
   ======================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-text p {
    margin: 0;
    color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--gradient-dark);
    color: var(--light-color);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat top;
    background-size: cover;
    pointer-events: none;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* ========================================
   ANİMASYONLAR
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   RESPONSIVE TASARIM
   ======================================== */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 0;
    }
    
    [dir="rtl"] .nav {
        right: auto;
        left: -100%;
    }
    
    .nav.active {
        right: 0;
    }
    
    [dir="rtl"] .nav.active {
        left: 0;
    }
    
    .nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* ========================================
   YARDIMCI SINIFLAR
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* ========================================
   GLASSMORPHISM EFEKTLERİ
   ======================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
}

/* ========================================
   LOADING SPINNER
   ======================================== */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

.spinner-sm {
    width: 24px;
    height: 24px;
    border-width: 2px;
}

.spinner-lg {
    width: 80px;
    height: 80px;
    border-width: 6px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   TOAST BİLDİRİMLERİ
   ======================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

[dir="rtl"] .toast-container {
    right: auto;
    left: 20px;
}

.toast {
    min-width: 300px;
    padding: 16px 20px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid;
}

[dir="rtl"] .toast {
    border-left: none;
    border-right: 4px solid;
    animation: slideInLeft 0.3s ease;
}

.toast-success {
    border-color: var(--success-color);
}

.toast-error {
    border-color: var(--danger-color);
}

.toast-warning {
    border-color: var(--warning-color);
}

.toast-info {
    border-color: var(--secondary-color);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background-color: var(--success-color);
    color: var(--bg-white);
}

.toast-error .toast-icon {
    background-color: var(--danger-color);
    color: var(--bg-white);
}

.toast-warning .toast-icon {
    background-color: var(--warning-color);
    color: var(--bg-white);
}

.toast-info .toast-icon {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

.toast-message {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.toast-close:hover {
    background-color: var(--bg-light);
    color: var(--text-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideOutLeft {
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* ========================================
   PULSE ANIMATION
   ======================================== */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   SHAKE ANIMATION
   ======================================== */
.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* ========================================
   BADGE STYLES
   ======================================== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    color: var(--bg-white);
}

.badge-primary {
    background: var(--gradient-primary);
}

.badge-success {
    background-color: var(--success-color);
}

.badge-warning {
    background-color: var(--warning-color);
}

.badge-danger {
    background-color: var(--danger-color);
}

.badge-info {
    background-color: var(--secondary-color);
}

/* ========================================
   PROGRESS BAR
   ======================================== */
.progress {
    width: 100%;
    height: 8px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ========================================
   RIPPLE EFFECT
   ======================================== */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ========================================
   HOVER TILT EFFECT
   ======================================== */
.tilt {
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
}

/* ========================================
   NEON GLOW EFFECT
   ======================================== */
.neon {
    text-shadow:
        0 0 7px var(--secondary-color),
        0 0 10px var(--secondary-color),
        0 0 21px var(--secondary-color),
        0 0 42px var(--secondary-color);
}

.neon-box {
    box-shadow:
        0 0 5px var(--secondary-color),
        0 0 10px var(--secondary-color),
        0 0 20px var(--secondary-color),
        0 0 40px var(--secondary-color);
}

/* ========================================
   GRADIENT TEXT
   ======================================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   FLOATING ANIMATION
   ======================================== */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

[dir="rtl"] .scroll-top {
    right: auto;
    left: 30px;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   SKELETON LOADING
   ======================================== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-light) 25%,
        #e0e0e0 50%,
        var(--bg-light) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 10px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 15px;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.skeleton-img {
    width: 100%;
    height: 200px;
}
