/* Enhanced Contact Page Styles - Light Theme */

/* Contact Hero Section Enhancement - Light Theme */
.page-hero {
    background: #0F172A;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-light);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%233B82F6" stop-opacity="0.05"/><stop offset="100%" stop-color="%233B82F6" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.5;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section Enhancement - Light Theme */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info Enhancement - Light Theme */
.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.contact-info h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: var(--rounded-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), #2563EB);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-details a,
.contact-details p {
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.contact-details a:hover {
    color: var(--secondary);
}

/* Social Links Enhancement - Light Theme */
.social-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.social-links h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.social-links .links {
    display: flex;
    gap: 1rem;
}

.social-links .links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), #2563EB);
    color: var(--white);
    border-radius: var(--rounded-full);
    font-size: 1.25rem;
}

.social-links .links a:hover {
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(135deg, var(--accent), #16a34a);
}

/* Contact Form Enhancement - Light Theme */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.contact-form h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: var(--rounded-full);
}

/* Form Styling Enhancement - Light Theme */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--rounded-lg);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group textarea:focus {
    min-height: 150px;
}

/* Button Enhancement - Light Theme */
.btn-primary {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--secondary), #2563EB);
    border: none;
    border-radius: var(--rounded-lg);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    background: var(--gray-medium);
    cursor: not-allowed;
}

/* Error Styling Enhancement - Light Theme */
.error {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: var(--rounded-md);
    border-left: 3px solid #EF4444;
    display: none;
}

.error.show {
    display: block;
    animation: slideIn 0.3s ease;
}

/* Success Message Enhancement - Light Theme */
.alert.success {
    padding: 1.5rem;
    border-radius: var(--rounded-lg);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #16a34a;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.alert.success h3 {
    color: #16a34a;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.alert.success p {
    margin: 0;
    opacity: 0.9;
}

/* Map Section Enhancement - Light Theme */
.map-section {
    padding: 6rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
}

.map-container {
    border-radius: var(--rounded-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(59, 130, 246, 0.1) 50%, transparent 51%);
    pointer-events: none;
}

/* Animations - Light Theme */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Form loading state */
.form.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success message enhancement */
.success-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-content i {
    font-size: 2rem;
    color: #16a34a;
}

.success-content h3 {
    margin-bottom: 0.25rem;
}

.success-content p {
    margin: 0;
    opacity: 0.9;
}

/* Focus states for form elements */
.form-group.focused label {
    color: var(--secondary);
    transform: translateY(-2px);
}

/* Enhanced file upload styling - Light Theme */
.form-group input[type="file"] {
    padding: 1rem;
    border: 2px dashed var(--gray-light);
    background-color: rgba(248, 250, 252, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: var(--secondary);
    background-color: rgba(59, 130, 246, 0.05);
}

.form-group input[type="file"]::file-selector-button {
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    border: none;
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--rounded-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: #2563EB;
    transform: translateY(-1px);
}

/* Responsive Design Enhancement - Light Theme */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }
    
    .page-hero p {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
        margin: 0;
    }
    
    .contact-method {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Social links mobile optimization */
    .social-links {
        margin-top: 2rem;
        padding-top: 2rem;
        text-align: center;
    }
    
    .social-links h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .social-links .links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .social-links .links a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 5rem 0 2rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .page-hero p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
        margin: 0;
        border-radius: var(--rounded-lg);
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-method {
        padding: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .contact-details h3 {
        font-size: 1.125rem;
    }
    
    .contact-details a,
    .contact-details p {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
    
    .btn-primary {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    /* Social links extra small screen optimization */
    .social-links .links {
        gap: 0.5rem;
    }
    
    .social-links .links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
