/* assets/css/contact.css */
/* Contact Page Specific Styles */

:root {
    --primary-blue: #1A4D8F;
    --dark-blue: #0D2A4B;
    --light-bg: #F3F6FB;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --white: #FFFFFF;
    --border-light: #E2E8F0;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(26, 77, 143, 0.08);
    --box-shadow-hover: 0 8px 30px rgba(26, 77, 143, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.contact-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2A5D9F 50%, #3A6DAF 100%);
    color: var(--white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 400;
}

.location-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
}

.hero-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    transition: var(--transition);
}

.hero-photo:hover {
    transform: scale(1.02);
}

/* Contact Information Section */
.contact-info-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.contact-icon {
    margin-bottom: 1.5rem;
}

.contact-title {
    font-size: 1.375rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-details {
    margin-bottom: 1rem;
}

.contact-link {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-blue);
}

.contact-address {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1.0625rem;
}

.contact-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-content {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-light);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
}

.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 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 77, 143, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.btn-text {
    display: block;
    transition: var(--transition);
}

.btn-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.submit-btn.loading .btn-text {
    transform: translateY(-100%);
}

.submit-btn.loading .btn-loading {
    opacity: 1;
    transform: translateY(0);
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: var(--white);
}

.map-container {
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-frame {
    width: 100%;
}

.location-info {
    padding: 2rem;
    background: var(--light-bg);
    border-top: 1px solid var(--border-light);
}

.location-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.feature {
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    text-align: center;
}

.feature strong {
    color: var(--primary-blue);
}

/* CTA Section */
.contact-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2A5D9F 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--box-shadow-hover);
    transition: var(--transition);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-content {
        padding: 2.5rem 2rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .form-content {
        padding: 2rem 1.5rem;
    }
    
    .location-features {
        grid-template-columns: 1fr;
    }
}