/* WordPress-specific overrides */

/* Hide WordPress admin bar spacing */
html { margin-top: 0 !important; }

/* Ensure the admin bar doesn't push content */
#wpadminbar { position: fixed !important; }

/* Fix WordPress default styles that might interfere */
body {
    background-color: #0A0A0A;
    color: white;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
}

/* Ensure all links don't have WordPress default underline */
a {
    text-decoration: none;
    color: inherit;
}

/* Font variable for Bebas Neue */
:root {
    --font-display: 'Bebas Neue', cursive;
    --font-body: 'Outfit', sans-serif;
}

/* Fix for CF7 form styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.3s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #B61012;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.wpcf7 select option {
    background-color: #1a1a1a;
    color: white;
}

.wpcf7-submit {
    width: 100%;
    padding: 1rem;
    background-color: #B61012;
    color: white;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.wpcf7-submit:hover {
    background-color: #d41416;
}

/* Glow effects */
.glow-red {
    box-shadow: 0 0 15px rgba(182, 16, 18, 0.3);
}

/* Ticker animation for logo banner */
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    width: max-content;
}

/* Scrolling text animation */
@keyframes scroll-text {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Review carousel dots */
.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.review-dot.active {
    background-color: #B61012;
    width: 24px;
    border-radius: 4px;
}

/* Formation card hover effects */
.formation-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.formation-card:hover {
    border-color: rgba(182, 16, 18, 0.5);
    transform: translateY(-4px);
}

/* Pricing section on white background */
.pricing-section {
    color: #111111;
}

/* Nos Atouts section on white background */
.atouts-section {
    color: #111111;
}

/* Social section on white background */
.social-section-white {
    color: #111111;
}

/* Ensure SVG icons display correctly */
svg {
    display: inline-block;
    vertical-align: middle;
}

/* Fix for WordPress block editor styles */
.entry-content > * {
    max-width: none;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 50;
    display: none;
}

.mobile-menu-overlay.active {
    display: flex;
}
