/* =====================================================
   Theme Specific Styles for TMERPWeb Sites
   ===================================================== */

/* Modern Theme Enhancements */
.theme-modern {
    --primary-color: var(--theme-modern-primary);
    --secondary-color: var(--theme-modern-secondary);
    --accent-color: var(--theme-modern-accent);
    --success-color: var(--theme-modern-success);
    --warning-color: var(--theme-modern-warning);
    --danger-color: var(--theme-modern-danger);
    --bg-color: var(--theme-modern-bg);
    --text-color: var(--theme-modern-text);
}

/* Minimalist Theme Enhancements */
.theme-minimal {
    --primary-color: var(--theme-minimal-primary);
    --secondary-color: var(--theme-minimal-secondary);
    --accent-color: var(--theme-minimal-accent);
    --success-color: var(--theme-minimal-success);
    --warning-color: var(--theme-minimal-warning);
    --danger-color: var(--theme-minimal-danger);
    --bg-color: var(--theme-minimal-bg);
    --text-color: var(--theme-minimal-text);
}

/* Classic Theme Enhancements */
.theme-classic {
    --primary-color: var(--theme-classic-primary);
    --secondary-color: var(--theme-classic-secondary);
    --accent-color: var(--theme-classic-accent);
    --success-color: var(--theme-classic-success);
    --warning-color: var(--theme-classic-warning);
    --danger-color: var(--theme-classic-danger);
    --bg-color: var(--theme-classic-bg);
    --text-color: var(--theme-classic-text);
}

/* General theme components */
.theme-modern .btn-primary,
.theme-modern .btn-outline-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.theme-modern .btn-primary:hover,
.theme-modern .btn-outline-primary:hover {
    background-color: #3a59d6;
    border-color: #3a59d6;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.theme-minimal .btn-primary,
.theme-minimal .btn-outline-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 0;
    box-shadow: none;
}

.theme-classic .btn-primary,
.theme-classic .btn-outline-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Card enhancements */
.theme-modern .card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.1);
    transition: all 0.3s ease;
}

.theme-modern .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.15);
}

/* Navigation bar */
.theme-modern .navbar-brand,
.theme-modern .nav-link {
    color: white !important;
}

/* Hero section */
.theme-modern .hero-section {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

/* Button styles */
.theme-modern .btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
}

.theme-modern .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Form elements */
.theme-modern input.form-control,
.theme-modern select.form-control,
.theme-modern textarea.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.theme-modern input.form-control:focus,
.theme-modern select.form-control:focus,
.theme-modern textarea.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
}

/* Minimalist theme specific styles */
.theme-minimal .card {
    border: 1px solid #e6e6e6;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-radius: 0;
}

.theme-minimal .btn {
    border-radius: 0;
    background-color: #f8f8f8;
    color: var(--primary-color);
    font-weight: normal;
    padding: 0.75rem 1.25rem;
    border: none;
    box-shadow: none;
}

.theme-minimal .btn:hover {
    background-color: #e6e6e6;
}

/* Classic theme specific styles */
.theme-classic .card {
    border: 1px solid #eee;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.theme-classic .btn {
    border-radius: 4px;
    font-weight: normal;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

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

/* Typography for themes */
.theme-modern h1,
.theme-modern h2,
.theme-modern h3,
.theme-modern .display-1,
.theme-modern .display-2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.theme-minimal h1,
.theme-minimal h2,
.theme-minimal h3,
.theme-minimal .display-1,
.theme-minimal .display-2 {
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.theme-classic h1,
.theme-classic h2,
.theme-classic h3,
.theme-classic .display-1,
.theme-classic .display-2 {
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Footer styles */
.theme-modern footer {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 0;
}

.theme-minimal footer {
    background-color: #f8f8f8;
    color: var(--text-color);
    padding: 1.5rem 0;
}

.theme-classic footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
}