/* contact.css - Additional Styles for Contact Page */

/* Community Links */
.community-links {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.community-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.community-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.community-card.discord {
    border-color: rgba(88, 101, 242, 0.3);
}

.community-card.discord:hover {
    border-color: #5865f2;
}

.community-card.telegram {
    border-color: rgba(0, 136, 204, 0.3);
}

.community-card.telegram:hover {
    border-color: #0088cc;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.community-card.discord::before {
    background: linear-gradient(90deg, #5865f2, #7289da);
}

.community-card.telegram::before {
    background: linear-gradient(90deg, #0088cc, #00aced);
}

.community-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 25px;
}

.community-card.discord .community-icon {
    background-color: rgba(88, 101, 242, 0.2);
    color: #5865f2;
}

.community-card.telegram .community-icon {
    background-color: rgba(0, 136, 204, 0.2);
    color: #0088cc;
}

.community-content {
    flex: 1;
}

.community-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.community-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat i {
    color: var(--primary-color);
}

.community-card a {
    width: 100%;
    max-width: 250px;
}

.community-card.discord a {
    background-color: #5865f2;
}

.community-card.discord a:hover {
    background-color: #4752c4;
}

.community-card.telegram a {
    background-color: #0088cc;
}

.community-card.telegram a:hover {
    background-color: #0077b3;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding-right: 30px;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 50px;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--bg-card);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.contact-method:hover {
    border-color: rgba(255, 70, 85, 0.3);
    transform: translateY(-5px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.method-content {
    flex: 1;
}

.method-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.method-content p {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.method-content span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.business-contact {
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #ffd700;
}

.business-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.business-contact h4 i {
    color: #ffd700;
}

.business-contact p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.business-email {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid rgba(255, 70, 85, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 70, 85, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: var(--bg-dark);
    border: 2px dashed rgba(255, 70, 85, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.file-label:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 70, 85, 0.05);
}

.file-label i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.file-label span {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.file-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.file-preview {
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: none;
}

.file-preview.show {
    display: block;
}

.file-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--bg-dark);
    border-radius: 5px;
    margin-bottom: 10px;
}

.file-preview-item:last-child {
    margin-bottom: 0;
}

.file-preview-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.file-preview-name i {
    color: var(--primary-color);
}

.file-preview-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.file-preview-remove:hover {
    background-color: rgba(239, 68, 68, 0.2);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 15px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: normal;
    align-items: flex-start;
}

.checkbox-group label i {
    color: #ffd700;
}

/* Form Submit */
.form-submit {
    margin-top: 30px;
}

.form-submit button {
    width: 100%;
    margin-bottom: 20px;
}

.form-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border-left: 3px solid #ffd700;
}

.form-note i {
    color: #ffd700;
}

/* FAQ Preview */
.faq-preview {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0 40px;
}

.faq-item {
    background-color: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 70, 85, 0.3);
    transform: translateY(-5px);
}

.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4 i {
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-link {
    text-align: center;
    margin-top: 40px;
}

/* Contact Map */
.contact-map {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.map-placeholder {
    background: linear-gradient(rgba(10, 14, 20, 0.9), rgba(10, 14, 20, 0.9)), url('../images/map-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    border: 2px solid rgba(255, 70, 85, 0.2);
}

.map-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
}

.map-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.map-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.map-stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.success-modal .modal-content {
    background-color: var(--bg-card);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    border: 2px solid var(--success-color);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.success-modal.active .modal-content {
    transform: translateY(0);
}

.success-modal .modal-header {
    background-color: rgba(16, 185, 129, 0.2);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--success-color);
}

.success-modal .modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-modal .modal-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.success-modal .modal-close:hover {
    color: var(--primary-color);
}

.success-modal .modal-body {
    padding: 40px 30px;
    text-align: center;
}

.success-icon {
    margin-bottom: 25px;
}

.success-icon i {
    font-size: 4rem;
    color: var(--success-color);
}

.success-modal h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-modal p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.success-actions {
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
    border-left: 3px solid var(--success-color);
}

.success-actions p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.success-actions p:last-child {
    margin-bottom: 0;
}

.success-actions i {
    color: var(--success-color);
    flex-shrink: 0;
}

.success-modal .modal-footer {
    padding: 20px 25px;
    background-color: rgba(15, 25, 35, 0.7);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.success-modal .modal-footer button,
.success-modal .modal-footer a {
    flex: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .map-stats {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .community-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .map-content {
        padding: 40px 20px;
    }
    
    .map-content h3 {
        font-size: 2rem;
    }
    
    .success-modal .modal-footer {
        flex-direction: column;
    }
    
    .success-modal .modal-footer button,
    .success-modal .modal-footer a {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .community-card {
        padding: 30px 20px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .method-icon {
        align-self: center;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
    }
    
    .map-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .success-modal .modal-content {
        width: 95%;
    }
}