/* ========================================
   CONTACT SECTION STYLES
   ======================================== */

.contact-section {
    background: var(--canvas);
    position: relative;
    overflow: hidden;
}

/* Contact Banner */
.contact-banner {
    background: var(--gradient-primary);
    padding: 10rem 2rem 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-banner-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-banner-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--white);
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-banner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatBanner 15s infinite ease-in-out;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: 3s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 20%;
    animation-delay: 6s;
}

@keyframes floatBanner {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Contact Content */
.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Map Panel */
.contact-map-panel {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(0, 184, 163, 0.1);
    transition: all 0.3s ease;
}

.contact-map-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.map-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.map-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-description {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.contact-map {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.contact-map:hover {
    filter: grayscale(0%) contrast(1.2);
}

.location-info {
    padding: 1.5rem 2rem 2rem;
    background: linear-gradient(135deg, var(--turquoise) 0%, var(--seafoam) 100%);
}

.location-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.location-icon svg {
    width: 24px;
    height: 24px;
}

.location-text {
    color: var(--white);
}

.address {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.city {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Contact Info Panel */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Contact Cards */
.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 184, 163, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Phone Card */
.phone-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
}

.phone-card:hover .contact-card-icon {
    transform: rotate(5deg) scale(1.1);
}

.contact-card-content {
    flex: 1;
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-phone-link {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--turquoise);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.contact-phone-link:hover {
    color: var(--seafoam);
    transform: scale(1.05);
}

.contact-schedule {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Social Media Card */
.social-media-card {
    text-align: center;
}

.social-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--turquoise);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.facebook-link {
    border-color: var(--turquoise);
}


.instagram-link {
    border-color: var(--turquoise);
}


.tiktok-link {
    border-color: var(--turquoise);
}


.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 28px;
    height: 28px;
}

.social-label {
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* WhatsApp Contact Card */
.whatsapp-contact-card {
    text-align: center;
}

.whatsapp-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.whatsapp-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: #25D366;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    background: #20c55a;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.whatsapp-icon svg {
    width: 20px;
    height: 20px;
}

.whatsapp-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.whatsapp-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.whatsapp-number {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .social-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .social-link {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        padding: 6rem 1rem 4rem;
        margin-top: 80px;
    }
    
    .contact-wrapper {
        padding: 3rem 1rem;
    }
    
    .contact-grid {
        gap: 2rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .phone-card {
        flex-direction: row;
        text-align: center;
        gap: 1rem;
    }

    .contact-card {
        gap: 10px;
    }

    .contact-card-icon {
        margin-top:40px;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .social-link {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem;
        text-align: left;
    }
    
    .whatsapp-btn {
        flex-direction: row;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .whatsapp-content {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-banner {
        padding: 8rem 1rem 1rem;
        margin-top: 40px;
        min-height: 30vh;
    }
    
    .contact-banner-title {
        font-size: 2rem;
    }
    
    .contact-banner-subtitle {
        font-size: 1rem;
    }
    
    .contact-wrapper {
        padding: 2rem 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-phone-link {
        font-size: 1.2rem;
    }
    
    .map-container {
        height: 250px;
    }
    
    .location-info {
        padding: 1rem 1.5rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-icon svg {
        width: 25px;
        height: 25px;
    }
}