/* Default Theme for CMS Solution */

/* Theme Variables */
:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 6px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Override base styles with theme */
.btn-primary {
    background: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6f42c1 100%);
}

/* Theme-specific components */
.theme-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.theme-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.theme-badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Header theme styling */
.site-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Button variations for theme */
.btn-theme-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-theme-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Widget theme styling */
.widget {
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.widget:hover {
    border-color: var(--primary-color);
}

.widget-header h3 {
    color: var(--dark-color);
    border-bottom: 2px solid #333;
}

/* Form theme styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Custom scrollbar for theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Theme-specific animations */
@keyframes themeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-animate {
    animation: themeSlideIn 0.6s ease-out;
}

/* Responsive theme adjustments */
@media (max-width: 768px) {
    .theme-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .hero-section {
        background: linear-gradient(180deg, var(--primary-color) 0%, #6f42c1 100%);
    }
}

/* Dark mode theme support */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #4dabf7;
        --primary-hover: #339af0;
        --light-color: #2d2d2d;
        --dark-color: #f8f9fa;
    }
    
    .site-header {
        background: #1e1e1e;
        border-bottom: 1px solid #333;
    }
    
    .theme-card {
        background: #2d2d2d;
        color: #f8f9fa;
    }
}