/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Main Section */
.contact-main {
    background: white;
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form-header p {
    color: var(--text-light);
    margin-bottom: 0;
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.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(1, 38, 101, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.form-error.show {
    display: block;
}

.btn-submit {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    border: 2px solid #27ae60;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.form-success h3 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card,
.social-card,
.qr-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    border: 1px solid var(--border-light);
}

.contact-card h3,
.social-card h3,
.qr-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
    color: var(--primary-color);
}

.contact-details a {
    color: var(--text-light);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-details p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Social Links Contact */
.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--border-light);
}

.social-link-contact:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.social-link-contact:hover .social-icon {
    background: rgba(255, 255, 255, 0.2);
}

.social-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
    color: var(--primary-color);
}

.social-link-contact:hover .social-info h4 {
    color: white;
}

.social-info p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.social-link-contact:hover .social-info p {
    color: rgba(255, 255, 255, 0.8);
}

/* QR Code Card */
.qr-card {
    text-align: center;
}

.qr-card-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.qr-code-link {
    display: inline-block;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.qr-code-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-medium);
    border-color: var(--primary-color);
}

.qr-code {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code canvas,
.qr-code img,
.qr-code table {
    display: block;
    border-radius: 8px;
}

/* FAQ Section */
.faq-section {
    background: var(--background-light);
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-item p {
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.cta-section .btn-primary:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-wrapper {
        order: 1;
    }
    
    .contact-info {
        order: 2;
        flex-direction: row;
        gap: 2rem;
    }
    
    .contact-card,
    .social-card,
    .qr-card {
        flex: 1;
    }

    .qr-card {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-main {
        padding: 3rem 0;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-card,
    .social-card,
    .qr-card {
        padding: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 0 40px;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
    
    .contact-card,
    .social-card,
    .qr-card {
        padding: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .social-link-contact {
        padding: 0.8rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}
