/* Contact Page Styles */

/* Contact Methods */
.contact-methods {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.5);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.method-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #39d353;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(57, 211, 83, 0.2), transparent);
    transition: left 0.5s ease;
}

.method-card:hover::before {
    left: 100%;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(57, 211, 83, 0.3);
}

.method-icon {
    font-size: 48px;
    color: #39d353;
    margin-bottom: 20px;
}

.method-content h3 {
    font-family: 'Share Tech Mono', monospace;
    color: #39d353;
    margin-bottom: 10px;
    font-size: 18px;
}

.method-content p {
    color: #fff;
    margin-bottom: 15px;
}

.method-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #39d353;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #39d353;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-terminal {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #39d353;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(57, 211, 83, 0.3);
}

.terminal-form {
    padding: 30px;
    font-family: 'Share Tech Mono', monospace;
}

.form-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #39d353;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group.full-width {
    flex-direction: column;
    align-items: flex-start;
}

.parameter {
    color: #39d353;
    min-width: 140px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    flex: 1;
    background: rgba(57, 211, 83, 0.1);
    border: 1px solid #39d353;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f4e34c;
    box-shadow: 0 0 10px rgba(244, 227, 76, 0.3);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

/* Fix for select dropdown styling */
.form-group select {
    background-color: #000;
    color: #39d353;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339d353' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background-color: #000;
    color: #39d353;
}

.validation-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.validation-status.valid {
    background: #39d353;
    color: #000;
}

.validation-status.valid::after {
    content: '✓';
}

.validation-status.invalid {
    background: #ff4444;
    color: #fff;
}

.validation-status.invalid::after {
    content: '✗';
}

/* Priority Options */
.priority-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.priority-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #fff;
}

.priority-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.priority-indicator.low { background: #39d353; }
.priority-indicator.medium { background: #f4e34c; }
.priority-indicator.high { background: #ff9800; }
.priority-indicator.critical { background: #ff4444; }

/* Form Actions */
.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.submit-btn,
.reset-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-btn {
    background: #39d353;
    color: #000;
}

.submit-btn:hover {
    background: #f4e34c;
    transform: translateY(-2px);
}

.reset-btn {
    background: transparent;
    color: #39d353;
    border: 1px solid #39d353;
}

.reset-btn:hover {
    background: rgba(57, 211, 83, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .priority-options {
        flex-direction: column;
    }
    
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .parameter {
        min-width: auto;
        margin-bottom: 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .contact-methods,
    .contact-form-section {
        padding: 60px 0;
    }
    
    .terminal-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-actions {
        gap: 15px;
    }
    
    .submit-btn,
    .reset-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}