/* =========================================
   OVERBOOST THEME — CUSTOM STYLES
   Dark mode, motorsport-focused, fast.
   ========================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Bebas+Neue&display=swap");

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #2a2a2a;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.95) !important;
}

.site-header .wp-block-site-logo img {
    filter: brightness(0) invert(1);
    max-height: 40px;
    width: auto;
}

.site-header .wp-block-navigation a {
    color: #ffffff !important;
    transition: color 0.2s ease;
    position: relative;
}

.site-header .wp-block-navigation a:hover {
    color: #ff4500 !important;
}

.site-header .wp-block-navigation a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4500;
    transition: width 0.3s ease;
}

.site-header .wp-block-navigation a:hover::after {
    width: 100%;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .wp-block-cover {
    position: relative;
}

.hero-section .wp-block-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 60%, rgba(10,10,10,0.95) 100%);
    z-index: 1;
}

.hero-section .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}

.hero-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-title a:hover {
    color: #ff4500;
}

.hero-cta {
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.hero-cta:hover {
    background-color: #ff6b35 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
}

.review-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2a2a2a;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-color: #ff4500;
}

.review-card-image img {
    transition: transform 0.5s ease;
    object-fit: cover;
}

.review-card:hover .review-card-image img {
    transform: scale(1.05);
}

.review-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.review-card-title a:hover {
    color: #ff4500;
}

.event-card {
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    border-color: #ff4500;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.15);
}

.event-card a {
    color: #ff4500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-card a:hover {
    color: #ff6b35;
}

.youtube-section {
    position: relative;
}

.youtube-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff4500, transparent);
}

.newsletter-section {
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.site-footer {
    border-top: 1px solid #2a2a2a;
}

.site-footer a {
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #ff4500;
}

.site-footer .wp-block-social-links a {
    color: #ffffff !important;
    transition: color 0.2s ease;
}

.site-footer .wp-block-social-links a:hover {
    color: #ff4500 !important;
}

.single-post .wp-block-post-title {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.single-post .wp-block-post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.single-post .wp-block-post-content h2,
.single-post .wp-block-post-content h3 {
    font-family: "Bebas Neue", Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-post .wp-block-post-content img {
    border-radius: 8px;
}

.wp-block-button__link {
    background-color: #ff4500;
    color: #ffffff;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    background-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
}

.wp-block-separator {
    border-color: #2a2a2a;
    opacity: 1;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff4500;
}

@media (max-width: 768px) {
    .hero-section .wp-block-cover {
        min-height: 60vh !important;
    }
    .review-card {
        margin-bottom: 1.5rem;
    }
}

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

.review-card,
.event-card {
    animation: fadeInUp 0.6s ease forwards;
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

a:focus,
button:focus {
    outline: 2px solid #ff4500;
    outline-offset: 2px;
}

@media print {
    .site-header,
    .site-footer,
    .newsletter-section {
        display: none;
    }
    body {
        background: #ffffff;
        color: #000000;
    }
}
