/*
Theme Name: Abogados Fuerza
Theme URI: https://abogadosfuerza.com
Author: Abogados Fuerza Team
Author URI: https://abogadosfuerza.com
Description: A powerful block-based theme for Abogados Fuerza legal referral service, featuring industrial design elements with fire gradients, bold typography, and high-converting direct response features. Built for WordPress 6.7+ with full site editing capabilities.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abogados-fuerza
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* 
 * Custom CSS variables and styles will be controlled via theme.json
 * This file is intentionally minimal as block themes rely on theme.json
 * for styling configuration
 */

/* Spark Animation */
@keyframes spark-fly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--spark-x), var(--spark-y)) scale(0.3);
        opacity: 0;
    }
}

.spark {
    position: absolute;
    width: 15px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--wp--preset--color--secondary-yellow) 20%, var(--wp--preset--color--white) 50%, var(--wp--preset--color--secondary-orange) 80%, transparent 100%);
    border-radius: 50%;
    animation: spark-fly 0.6s linear forwards;
    box-shadow: 0 0 6px var(--wp--preset--color--secondary-yellow);
    pointer-events: none;
    z-index: 9999;
}

/* Pulse Animation for Hero Background */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Rotate Animation for Problem Section */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* CTA Button Hover States */
.cta-btn {
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* FAQ Accordion Transitions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Form Input Focus States */
input:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

/* Utility Classes for Block Editor */
.has-fire-gradient-background {
    background: linear-gradient(135deg, var(--wp--preset--color--primary-red) 0%, var(--wp--preset--color--secondary-orange) 50%, var(--wp--preset--color--secondary-yellow) 100%);
}

.has-metal-gradient-background {
    background: linear-gradient(180deg, #374151 0%, #1F2937 100%);
}

/* Mobile Menu Toggle (if needed) */
@media (max-width: 768px) {
    .wp-block-navigation__responsive-container.is-menu-open {
        padding: 2rem;
    }
}

/* Print Styles */
@media print {
    .cta-bar,
    .wp-block-navigation,
    footer {
        display: none;
    }
}