
/* Custom styles for Elenika Tutorials - Add here any specific styles not covered by Tailwind */
/* These styles might be used for specific components like code blocks, forms, and buttons with custom effects */

/* Code Blocks Styling */
pre {
    background-color: #f9fafb;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.75;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

pre code {
    color: #1f2937;
    display: block;
}

/* Enhanced Card Hover Effects */
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Pulsing Effect on :focus */
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 124, 201, 0.5);
}

/* Custom Scrollbars for Code Blocks */
pre::-webkit-scrollbar {
    height: 8px;
}

pre::-webkit-scrollbar-track {
    background: #f1f5f9;
}

pre::-webkit-scrollbar-thumb {
    background: #9333ea;
    border-radius: 10px;
}

/* Enhanced Form Elements */
input[type="text"],
input[type="email"],
select {
    border-color: #9333ea;
    transition: box-shadow 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.5);
}

/* Gradient Text for Call to Action */
.cta-gradient {
    background: linear-gradient(45deg, #a78bfa, #7e22ce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s ease;
}

/* Custom Grid Gaps for Responsive Layouts */
.responsive-gap {
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .responsive-gap {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Link Hover Effects */
a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #6d28d9;
}

/* Dark Mode Toggle (if needed) */
.dark-mode-toggle {
    background-color: #3730a3;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dark-mode-toggle:hover {
    background-color: #4f46e6;
}
</style>
