/* Interactive CTA Section Styles - Theme-Aware */

.interactive-cta {
    position: relative;
    overflow: hidden;
}

/* Overlay adapts to theme - darker in light mode, lighter in dark mode */
.interactive-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    transition: background-color 0.3s ease;
}

:root:not([data-theme="dark"]) .interactive-cta::before {
    background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .interactive-cta::before {
    background: rgba(0, 0, 0, 0.5);
}

.interactive-cta .container {
    position: relative;
    z-index: 2;
}

.cta-main-title {
    color: var(--accent);
    font-size: 42px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
}

.cta-subtitle {
    color: #ffffff;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    border: 2px solid rgba(244, 163, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 163, 0, 0.1), transparent);
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(244, 163, 0, 0.15);
    box-shadow: 0 15px 35px rgba(244, 163, 0, 0.3);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(244, 163, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(244, 163, 0, 0.6);
}

.contact-icon i {
    font-size: 36px;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.1);
}

.contact-card h4 {
    color: var(--accent);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 12px;
    transition: color 0.3s ease;
}

.contact-card:hover h4 {
    color: #fff;
}

.contact-card p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-card:hover p {
    opacity: 1;
}

.contact-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 8px;
}

.phone-link {
    font-size: 20px;
    white-space: nowrap;
}

.email-link {
    font-size: 18px;
    white-space: nowrap;
    word-break: normal;
}

.contact-card:hover .contact-link {
    color: #fff;
    transform: scale(1.1);
}

.contact-card .theme-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 163, 0, 0.4);
}

:root:not([data-theme="dark"]) .contact-card .theme-btn {
    color: #000;
}

[data-theme="dark"] .contact-card .theme-btn {
    color: #fff;
}

.contact-card .theme-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(244, 163, 0, 0.6);
}

/* Pulse animation for icons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.contact-icon {
    animation: pulse 2s ease-in-out infinite;
}

.contact-card:hover .contact-icon {
    animation: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 28px;
    }
}

