/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(100, 255, 218, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
}

.contact-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #0f0f0f;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #333;
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.form-header p {
    color: #cccccc;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #0f0f0f;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 1rem;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Custom Checkbox */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: #0f0f0f;
    border: 2px solid #333;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: #64ffda;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #64ffda;
    border-color: #64ffda;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0a0a0a;
    font-size: 12px;
    font-weight: bold;
}

/* Submit Button */
.submit-btn {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #333;
}

.info-header {
    margin-bottom: 2rem;
}

.info-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #64ffda;
}

.info-header p {
    color: #cccccc;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.method-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: #64ffda;
    color: #0a0a0a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.method-details p {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.chat-link {
    color: #64ffda;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.chat-link:hover {
    color: #4fd4aa;
}

/* FAQ Section */
.faq-section {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #333;
}

.faq-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #64ffda;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #64ffda;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #0f0f0f;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #1a1a1a;
}

.faq-question h4 {
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
}

.faq-toggle {
    color: #64ffda;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    background: #1a1a1a;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    text-align: center;
}

.map-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.map-placeholder {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 4rem 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    max-width: 500px;
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.map-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #64ffda;
}

.map-content p {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.error-message {
    color: #ff4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.success-message {
    background: #22c55e;
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.success-message.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 50vh;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .faq-section {
        padding: 2rem;
    }
    
    .contact-methods {
        gap: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .method-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-form-container,
    .info-card,
    .faq-section {
        padding: 1.5rem;
    }
    
    .map-placeholder {
        padding: 2rem 1rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
}

/* Animation for form elements */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-container,
.info-card,
.faq-section {
    animation: slideInUp 0.6s ease-out;
}