/* Contact Page Styles */

html {
    overflow-y: scroll;
}

body {
    background-color: #0f172a;
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
    min-height: 100vh;
    overflow-x: hidden;
}

.page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 80px);
    padding: 0 2rem;
    overflow: hidden;
}

.contact-container {
    background: transparent;
    padding: 1.5rem;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 8rem;
}

.contact-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease;
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    flex: 1;
    overflow: hidden;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.left-column {
    padding-right: 1rem;
}

.right-column {
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.message-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-family: 'Orbitron', sans-serif;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.65rem 0.8rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    color: #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-textarea {
    width: 100%;
    padding: 0.75rem 0.8rem;
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    resize: none;
    height: 280px;
    max-height: 280px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #64748b;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238b5cf6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5rem;
    padding-right: 2.5rem;
}

.form-select option {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 0.5rem;
}

.form-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.checkbox-group {
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.6rem;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    accent-color: #8b5cf6;
}

.checkbox-text {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.submit-btn {
    width: 300px;
    padding: 0.9rem;
    background: transparent;
    border: 2px solid #8b5cf6;
    color: #8b5cf6;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Orbitron', sans-serif;
}

.submit-btn:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    display: none;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid #22c55e;
    color: #22c55e;
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease;
    width: 100%;
    max-width: 500px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .form-grid {
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 1024px) {
    body {
        overflow-y: auto;
        padding-bottom: 2rem;
    }
    
    html {
        overflow-y: auto;
    }
    
    .page-wrapper {
        height: auto;
        min-height: calc(100vh - 80px);
        overflow: visible;
    }
    
    .contact-container {
        height: auto;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .left-column,
    .right-column {
        padding: 0;
    }
    
    .form-bottom {
        margin-top: 1.5rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
    }
    
    .contact-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        gap: 1rem;
    }
    
    .form-label {
        font-size: 0.8rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 0.9rem;
        padding: 0.6rem 0.7rem;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        padding: 2rem 1.5rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .info-item {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 1.5rem 1rem;
    }

    .contact-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 1rem;
    }

    .checkbox-label {
        gap: 0.5rem;
    }

    .checkbox-text {
        font-size: 0.9rem;
    }
}
