/* styles/contact.css */
.contact {
    position: relative;
    min-height: 100vh;
    padding: 6rem 2rem;
    background-color: var(--jet-black);
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.contact-form {
    width: 100%;
    max-width: 500px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 255, 20, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--light-gray);
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(57, 255, 20, 0.1);
    border-radius: 8px;
    padding: 1rem;
    color: var(--light-gray);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input::placeholder, textarea::placeholder {
    color: rgba(224, 224, 224, 0.4);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
}

.submit-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-green);
    transition: all 0.3s ease;
    z-index: 1;
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    color: var(--jet-black);
}

.btn-icon {
    transform: translateX(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(0);
    opacity: 1;
}

/* Form Status Messages */
.form-status {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.success-message, .error-message {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--light-gray);
    display: none;
}

.success-message {
    background: rgba(57, 255, 20, 0.1);
    border-top: 1px solid var(--neon-green);
}

.error-message {
    background: rgba(255, 57, 57, 0.1);
    border-top: 1px solid #ff3939;
}

.success-message .icon {
    color: var(--neon-green);
}

.error-message .icon {
    color: #ff3939;
}

/* Status Classes */
.form-status.success .success-message,
.form-status.error .error-message {
    display: flex;
}

.form-status.show {
    transform: translateY(0);
}

/* Loading Animation */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn.loading .btn-text {
    visibility: hidden;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .contact {
        padding: 4rem 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}