/* Enhanced Theme11 Styles */

body {
    font-family: var(--font_family);
    color: var(--font_color);
    background-color: var(--primary_bg_color);
    line-height: 1.7;
    font-weight: 400;
}

/* Custom color utilities */
.bg-primary-color {
    background: linear-gradient(135deg, var(--gradient_start_color), var(--gradient_end_color));
}

.bg-primary-color-hover:hover {
    background: linear-gradient(135deg, var(--primary_color_hover), var(--secondary_color));
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.bg-secondary-color {
    background-color: var(--secondary_color);
}

.bg-footer {
    background-color: var(--footer_bg_color);
    color: var(--footer_color);
}

.bg-accent {
    background-color: var(--accent_color);
}

.bg-accent-hover:hover {
    background-color: var(--accent_hover_color);
}

/* Enhanced card components */
.card {
    background: var(--primary_bg_color);
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--card_shadow_color);
    transition: all 0.3s ease;
    border: 1px solid var(--section_border_color);
}

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

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--section_border_color);
    background: linear-gradient(135deg, var(--gray_color), var(--gray_hover_color));
}

.card-body {
    padding: 1.5rem;
}

/* Enhanced buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary_color), var(--secondary_color));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary_color_hover), var(--secondary_color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-accent {
    background-color: var(--accent_color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent_hover_color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary_color);
    color: var(--primary_color);
}

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

/* Enhanced navigation */
.nav-link {
    position: relative;
    padding: 0.75rem 1rem;
    color: var(--font_color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary_color), var(--secondary_color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Enhanced typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

h1 {
    background: linear-gradient(135deg, var(--primary_color), var(--secondary_color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
}

h2 {
    color: var(--font_dark_color);
    font-size: 2rem;
}

h3 {
    color: var(--font_color);
    font-size: 1.5rem;
}

/* Enhanced forms */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--section_border_color);
    border-radius: 8px;
    background-color: var(--primary_bg_color);
    color: var(--font_color);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary_color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--font_dark_color);
}

/* Enhanced hero section */
.hero-gradient {
    background: linear-gradient(135deg, var(--gradient_start_color), var(--gradient_end_color));
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
}

/* Enhanced pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination-item {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--section_border_color);
    border-radius: 6px;
    color: var(--font_color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-item:hover {
    background-color: var(--primary_color);
    color: white;
    border-color: var(--primary_color);
}

.pagination-item.active {
    background: linear-gradient(135deg, var(--primary_color), var(--secondary_color));
    color: white;
    border-color: transparent;
}

/* Enhanced breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--font_light_color);
}

.breadcrumbs a {
    color: var(--font_light_color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary_color);
}

.breadcrumbs-separator {
    color: var(--font_lighter_color);
}

/* Utility classes */
.gradient-text {
    background: linear-gradient(135deg, var(--primary_color), var(--secondary_color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    background-color: var(--highlight_color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .card {
        margin: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

a {
    color: var(--primary_color);
    font-weight: bold;
    text-decoration: underline !important;
}

.card-body ol {
    list-style: decimal;
    margin: 0 0 1em 1.5em;
    padding: 0;
}

.card-body ul {
    list-style: disc;
    margin: 0 0 1em 1.5em;
    padding: 0;
}

.card-body li {
    margin-bottom: 0.5em;
}

.card-body ol ol {
    list-style: lower-alpha;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

ul ul {
    list-style: circle;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.pb-12 {
    margin: 20px 0;
}