/**
 * L'Abysse Theme - Custom Styles
 * Styles additionnels pour les éléments personnalisés
 */

/* ========================================
   ANIMATIONS ADDITIONNELLES
   ======================================== */

/* Pulse animation for hero subtitle */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-subtitle {
    animation: pulse 2s infinite;
}

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Glow effect */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--neon-red); }
    50% { box-shadow: 0 0 20px var(--neon-red), 0 0 40px var(--neon-red); }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* ========================================
   NAVIGATION CTA BUTTON
   ======================================== */
.nav-cta a {
    border: 1px solid white !important;
    padding: 0.75rem 2rem !important;
    transition: all 0.3s ease;
}

.nav-cta a:hover {
    background: white !important;
    color: black !important;
}

/* ========================================
   MOBILE MENU
   ======================================== */
#mobile-menu {
    background: black;
    border-bottom: 1px solid #1a1a1a;
}

#mobile-menu a {
    display: block;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}

#mobile-menu a:hover {
    color: var(--neon-red);
}

/* ========================================
   ENHANCED FORM STYLES
   ======================================== */
.form-group {
    margin-bottom: 2rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-checkbox input[type="checkbox"] {
    accent-color: var(--neon-red);
    margin-top: 0.25rem;
}

.form-checkbox label {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Select arrow */
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ff0022' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* ========================================
   IMAGE OVERLAY EFFECTS
   ======================================== */
.img-overlay {
    position: relative;
    overflow: hidden;
}

.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    pointer-events: none;
}

/* ========================================
   PROTOCOL SECTION STYLING
   ======================================== */
.protocol-item {
    margin-bottom: 2rem;
}

.protocol-number {
    color: var(--neon-red);
    font-size: 1.5rem;
    font-weight: bold;
}

/* ========================================
   EVENT CARD ENHANCEMENTS
   ======================================== */
.event-card {
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 34, 0.1);
}

.event-card:hover h3 {
    color: var(--neon-red);
}

/* ========================================
   TESTIMONIAL ENHANCEMENTS
   ======================================== */
.testimonial {
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--neon-red);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* ========================================
   SECTION SPACING
   ======================================== */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.section-padding-sm {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, white 0%, var(--neon-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-glow {
    border: 1px solid var(--neon-red);
    box-shadow: 0 0 10px rgba(255, 0, 34, 0.3);
}

.backdrop-blur {
    backdrop-filter: blur(12px);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }
    
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        border-right: none;
        border-bottom: 1px solid #1f1f1f;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .btn-glitch {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
    }
}

/* ========================================
   WORDPRESS BLOCK OVERRIDES
   ======================================== */
.wp-block-cover.is-style-hero .wp-block-cover__image-background {
    filter: grayscale(100%) contrast(125%);
}

.wp-block-image.is-style-noise img {
    filter: grayscale(100%) contrast(120%);
    transition: all 0.5s ease;
}

.wp-block-image.is-style-noise:hover img {
    filter: grayscale(0%) contrast(100%) sepia(50%) hue-rotate(-30deg) saturate(200%);
    transform: scale(1.02);
}

/* Group card styles */
.wp-block-group.is-style-card-dark,
.wp-block-group.is-style-card-hover-red {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    padding: 2rem;
    transition: all 0.5s;
}

.wp-block-group.is-style-card-hover-red:hover {
    border-color: var(--neon-red);
}
