/* WebWizBD License Theme - Custom Styles */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Better focus styles */
*:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

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

.wp-block-heading {
    animation: fadeInUp 0.6s ease-out;
}

/* Button hover transitions */
.wp-block-button__link {
    transition: all 0.2s ease;
}

.wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Card styling for groups */
.wp-block-group.is-style-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.wp-block-group.is-style-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Navigation link styles */
.wp-block-navigation a {
    transition: opacity 0.2s ease;
}

.wp-block-navigation a:hover {
    opacity: 0.8;
}

/* Code block styling */
code, .wp-block-code {
    border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .has-huge-font-size {
        font-size: 2rem !important;
    }
}
