/* ==========================================================================
   CONTACT FORM 7 - HIP-HOP BATTLE ARENA STYLING
   ========================================================================== */

/* Contact Page Container */
.page-template-default .site-main,
.page-id-contact .site-main {
    background: rgba(17, 17, 17, 0.95) !important;
    border: 2px solid #FFD700 !important;
    border-radius: 20px !important;
    padding: 40px !important;
    margin: 20px auto !important;
    max-width: 1200px !important;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 0 50px rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
}

/* Page Title - Graffiti Style */
.page-id-contact .entry-title,
.page-id-contact h1 {
    font-family: 'Permanent Marker', cursive !important;
    color: #FFD700 !important;
    text-transform: uppercase !important;
    font-size: 48px !important;
    text-align: center !important;
    text-shadow: 
        3px 3px 0 #CC0000,
        5px 5px 12px rgba(204, 0, 0, 0.6),
        0 0 20px rgba(255, 215, 0, 0.5) !important;
    margin-bottom: 30px !important;
    letter-spacing: 2px !important;
}

/* Intro Text */
.contact-form-intro,
.intro-text {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid #FFD700 !important;
    border-radius: 15px !important;
    color: #FFD700 !important;
    font-size: 18px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3) !important;
}

/* ==========================================================================
   TOLL-FREE SUPPORT HIGHLIGHT
   ========================================================================== */
.toll-free-support {
    background: linear-gradient(135deg, #111 0%, #0a0a0a 100%) !important;
    border: 2px solid #FFD700 !important;
    border-radius: 15px !important;
    padding: 30px !important;
    text-align: center !important;
    margin: 30px 0 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2) !important;
}

.toll-free-support h3 {
    color: #FFD700 !important;
    font-size: 26px !important;
    margin: 0 0 10px 0 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4) !important;
}

.toll-free-support p {
    color: #ddd !important;
    margin: 0 0 15px 0 !important;
}

.toll-free-number {
    display: inline-block !important;
    font-size: 32px !important;
    font-weight: bold !important;
    color: #000 !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    margin: 10px 0 !important;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4) !important;
    transition: all 0.3s ease !important;
}

.toll-free-number:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6) !important;
    color: #000 !important;
}

.support-hours {
    color: #aaa !important;
    font-size: 14px !important;
    font-style: italic !important;
    margin-top: 10px !important;
}


/* ==========================================================================
   SUPPORT CATEGORIES GRID
   ========================================================================== */
.support-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.support-cat {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%) !important;
    border: 2px solid #FFD700 !important;
    border-radius: 15px !important;
    padding: 25px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5) !important;
}

.support-cat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.support-cat:hover {
    border-color: #CC0000 !important;
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.3),
        0 0 20px rgba(204, 0, 0, 0.4) !important;
}

.support-cat:hover::before {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.support-cat h3 {
    color: #FFD700 !important;
    font-family: 'Permanent Marker', cursive !important;
    font-size: 24px !important;
    margin: 0 0 15px 0 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important;
    position: relative;
    z-index: 2;
}

.support-cat ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
}

.support-cat ul li {
    color: #ddd !important;
    padding: 8px 0 !important;
    font-size: 15px !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.support-cat ul li:last-child {
    border-bottom: none;
}

.support-cat ul li:before {
    content: "▸ ";
    color: #FFD700 !important;
    font-weight: bold;
    margin-right: 8px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.support-cat ul li:hover {
    color: #FFD700 !important;
    padding-left: 10px;
}

/* ==========================================================================
   CONTACT FORM 7 - FORM STYLING
   ========================================================================== */

/* Form Container */
.wpcf7 {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid #FFD700 !important;
    border-radius: 15px !important;
    padding: 30px !important;
    margin: 30px 0 !important;
    backdrop-filter: blur(3px) !important;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(255, 215, 0, 0.1) !important;
}

/* Form Rows */
.wpcf7 .form-row {
    margin-bottom: 25px !important;
    position: relative;
}

/* Labels */
.wpcf7 label {
    display: block !important;
    color: #FFD700 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin-bottom: 10px !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3) !important;
    letter-spacing: 0.5px;
}

/* Text Inputs, Selects, Textareas */
.wpcf7 .form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100% !important;
    padding: 7px 9px !important;
    background: rgba(26, 26, 26, 0.9) !important;
    border: 2px solid #333 !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5) !important;
}

.wpcf7 .form-control:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none !important;
    border-color: #FFD700 !important;
    background: rgba(26, 26, 26, 1) !important;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(255, 215, 0, 0.3) !important;
}

/* Placeholder Text */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

/* Select Dropdowns */
.wpcf7 select {
    cursor: pointer !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px !important;
}

/* Textarea */
.wpcf7 textarea.form-control {
    min-height: 150px !important;
    resize: vertical !important;
    font-family: inherit !important;
}

/* ==========================================================================
   RADIO BUTTONS - URGENCY LEVEL
   ========================================================================== */
.wpcf7 .wpcf7-radio {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.wpcf7 .wpcf7-list-item {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.wpcf7 .wpcf7-list-item label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    background: rgba(26, 26, 26, 0.8) !important;
    border: 2px solid #333 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    width: 100%;
}

.wpcf7 .wpcf7-list-item label:hover {
    border-color: #FFD700 !important;
    background: rgba(26, 26, 26, 1) !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2) !important;
}

.wpcf7 input[type="radio"] {
    margin-right: 12px !important;
    accent-color: #FFD700 !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
}

.wpcf7 .wpcf7-list-item-label {
    color: #ddd !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

.wpcf7 input[type="radio"]:checked + .wpcf7-list-item-label {
    color: #FFD700 !important;
    font-weight: 700 !important;
}

.wpcf7 .wpcf7-list-item:has(input[type="radio"]:checked) label {
    border-color: #FFD700 !important;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(204, 0, 0, 0.1) 100%) !important;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1) !important;
}

/* ==========================================================================
   FILE UPLOAD
   ========================================================================== */
.wpcf7 input[type="file"] {
    padding: 12px !important;
    cursor: pointer !important;
}

.wpcf7 input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #000 !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    margin-right: 15px !important;
    transition: all 0.3s ease !important;
}

.wpcf7 input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%) !important;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   SUBMIT BUTTON
   ========================================================================== */
.wpcf7 .submit-row {
    text-align: center !important;
    margin-top: 35px !important;
}

.wpcf7 .button,
.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #000 !important;
    padding: 16px 50px !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        inset 0 -3px 8px rgba(0, 0, 0, 0.2) !important;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.wpcf7 .button::before,
.wpcf7 input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.wpcf7 .button:hover,
.wpcf7 input[type="submit"]:hover {
    background: linear-gradient(135deg, #FFA500 0%, #CC0000 100%) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 
        0 12px 35px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(204, 0, 0, 0.4),
        inset 0 -3px 8px rgba(0, 0, 0, 0.2) !important;
}

.wpcf7 .button:hover::before,
.wpcf7 input[type="submit"]:hover::before {
    left: 100%;
}

.wpcf7 .button:active,
.wpcf7 input[type="submit"]:active {
    transform: translateY(-1px) scale(1.02) !important;
}

/* ==========================================================================
   SUCCESS/ERROR MESSAGES
   ========================================================================== */
.wpcf7-response-output {
    margin: 25px 0 !important;
    padding: 20px 25px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-align: center !important;
    border: 2px solid !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(40, 167, 69, 0.1) 100%) !important;
    border-color: #28a745 !important;
    color: #28a745 !important;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.3) !important;
}

.wpcf7-mail-sent-ok::before {
    content: "✓ ";
    font-size: 24px;
    margin-right: 8px;
}

/* Error Messages */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.2) 0%, rgba(204, 0, 0, 0.1) 100%) !important;
    border-color: #CC0000 !important;
    color: #FF3333 !important;
    text-shadow: 0 0 10px rgba(204, 0, 0, 0.3) !important;
}

.wpcf7-validation-errors::before,
.wpcf7-mail-sent-ng::before {
    content: "⚠ ";
    font-size: 24px;
    margin-right: 8px;
}

/* Spam/Blocked Message */
.wpcf7-spam-blocked {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%) !important;
    border-color: #FFD700 !important;
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3) !important;
}

/* Field Validation Errors */
.wpcf7-not-valid-tip {
    color: #FF3333 !important;
    font-size: 14px !important;
    margin-top: 5px !important;
    display: block !important;
    text-shadow: 0 0 5px rgba(204, 0, 0, 0.3) !important;
}

span.wpcf7-not-valid {
    border-color: #CC0000 !important;
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.3) !important;
}

/* ==========================================================================
   SECTION DIVIDERS
   ========================================================================== */
.section-divider {
    border: none !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #FFD700, transparent) !important;
    margin: 50px 0 !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3) !important;
}

/* ==========================================================================
   QUICK LINKS SECTION
   ========================================================================== */
.quick-links-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 0.8) 100%) !important;
    border: 2px solid #FFD700 !important;
    border-radius: 15px !important;
    padding: 35px !important;
    margin: 40px 0 !important;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(255, 215, 0, 0.05) !important;
}

.quick-links-section h3 {
    color: #FFD700 !important;
    font-family: 'Permanent Marker', cursive !important;
    font-size: 32px !important;
    text-align: center !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5) !important;
    margin-bottom: 25px !important;
}

.quick-links-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 25px !important;
}

.quick-links-grid ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.quick-links-grid li {
    margin: 15px 0 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2) !important;
    transition: all 0.3s ease;
}

.quick-links-grid li:last-child {
    border-bottom: none !important;
}

.quick-links-grid li:hover {
    padding-left: 10px;
}

.quick-links-grid a {
    color: #FFD700 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    display: inline-block;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.2) !important;
}

.quick-links-grid a:hover {
    color: #FFA500 !important;
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.6) !important;
    transform: translateX(5px);
}

/* ==========================================================================
   CONTACT INFO FOOTER
   ========================================================================== */
.contact-info-footer {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid #FFD700 !important;
    border-radius: 15px !important;
    text-align: center !important;
    margin-top: 50px !important;
    padding: 30px 0 !important;
    border-top: 2px solid rgba(255, 215, 0, 0.3) !important;
    color: #ddd !important;
}

.contact-info-footer p {
    margin: 10px 0 !important;
    font-size: 16px !important;
}

.contact-info-footer strong {
    color: #FFD700 !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3) !important;
}

.contact-info-footer a {
    color: #FFD700 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.contact-info-footer a:hover {
    color: #FFA500 !important;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.6) !important;
}

/* ==========================================================================
   LOADING STATE (AJAX)
   ========================================================================== */
.wpcf7 form.submitting .wpcf7-submit {
    opacity: 0.6 !important;
    cursor: wait !important;
    pointer-events: none !important;
}

.wpcf7-spinner {
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    border: 3px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 50% !important;
    border-top-color: #FFD700 !important;
    animation: spin 1s linear infinite !important;
    margin-left: 15px !important;
    vertical-align: middle !important;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .page-id-contact .site-main {
        padding: 25px 20px !important;
        margin: 10px !important;
        border-radius: 15px !important;
    }
    
    .page-id-contact .entry-title,
    .page-id-contact h1 {
        font-size: 36px !important;
    }
    
    .support-categories {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .wpcf7 {
        padding: 20px 15px !important;
    }
    
    .wpcf7 .button,
    .wpcf7 input[type="submit"] {
        width: 100% !important;
        padding: 14px 30px !important;
        font-size: 16px !important;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .wpcf7 .wpcf7-radio {
        gap: 10px !important;
    }
    
    .wpcf7 .wpcf7-list-item label {
        padding: 10px 15px !important;
    }
}

@media (max-width: 480px) {
    .page-id-contact .entry-title,
    .page-id-contact h1 {
        font-size: 28px !important;
    }
    
    .support-cat h3 {
        font-size: 20px !important;
    }
    
    .wpcf7 label {
        font-size: 14px !important;
    }
    
    .wpcf7 .form-control,
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   ACCESSIBILITY ENHANCEMENTS
   ========================================================================== */
.wpcf7 *:focus-visible {
    outline: 3px solid #FFD700 !important;
    outline-offset: 2px !important;
}

/* Screen Reader Text */
.wpcf7 .screen-reader-response {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    width: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
}