/*
Theme Name: FW Performance Elite
Theme URI: https://fwperformance.com.br
Description: Tema de alta performance para o setor automotivo (Carros e Motos).
Version: 1.0.0
Author: Nay Rodrigues (@nayjoplin)
Author URI: https://instagram.com/nayjoplin
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: automotive, racing, performance, e-commerce, dark-mode
Text Domain: fw-performance
*/

/* 
  Este arquivo é necessário para que o WordPress reconheça o tema. 
  Toda a estilização principal é feita via Tailwind CSS. 
*/

/* Custom Scroll Animations (Replicating Framer Motion) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.translate-x-left { transform: translateX(-20px); }
.animate-on-scroll.translate-x-right { transform: translateX(20px); }

.animate-on-scroll.is-visible.translate-x-left,
.animate-on-scroll.is-visible.translate-x-right {
    transform: translateX(0);
}

/* Pagination Elite Customization */
.pagination-elite .nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.pagination-elite .page-numbers {
    padding: 1.25rem 1.75rem;
    background: #f4f4f5;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #000;
    transition: all 0.3s;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}
.pagination-elite .page-numbers.current {
    background: #FF5722;
    color: white;
}
.pagination-elite .page-numbers:hover:not(.current) {
    background: #000;
    color: white;
}
.pagination-elite .dots {
    background: transparent;
    color: #ccc;
}

/* Dark mode pagination */
.bg-zinc-950 .pagination-elite .page-numbers {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    border-color: rgba(255,255,255,0.05);
}
.bg-zinc-950 .pagination-elite .page-numbers:hover:not(.current) {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Infinite Scroll Animation */
@keyframes infinite-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.animate-infinite-scroll {
    animation: infinite-scroll 40s linear infinite;
}

.animate-infinite-scroll:hover {
    animation-play-state: paused;
}

/* Glassmorphism & Custom Effects */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100vw;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.05);
    z-index: 50;
}

.nav-item:hover .mega-menu {
    display: block;
}

.racing-gradient {
    background: radial-gradient(circle at top right, rgba(255, 87, 34, 0.15), transparent 40%),
                radial-gradient(circle at bottom left, rgba(0, 0, 0, 1), transparent 70%);
}

