﻿/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

.contact-page {
    background: var(--background-light);
}

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Contact Content */
.contact-content {
    padding: 4rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

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

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

.form-control {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-control::placeholder {
    color: var(--text-light);
}

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

.btn-submit {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.contact-info-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.info-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Social Section */
.social-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.social-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.social-card .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-card.facebook {
    background: #f0f4ff;
    color: #1877f2;
}

.social-card.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-card.linkedin {
    background: #e8f4fc;
    color: #0a66c2;
}

.social-card.linkedin:hover {
    background: #0a66c2;
    color: white;
}

.social-card.twitter {
    background: #f0f0f0;
    color: #1a1a1a;
}

.social-card.twitter:hover {
    background: #1a1a1a;
    color: white;
}

.social-card.instagram {
    background: #fef0f5;
    color: #e4405f;
}

.social-card.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    background: var(--background-light);
}

.map-container iframe {
    display: block;
}

/* Validation Messages */
.validation-message {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 1.5rem;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-content {
        padding: 2rem 1rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.5rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .social-card {
        justify-content: center;
    }
}
