
/**
 * Contact Page SEO Styles
 * 
 * @package Veroc_Web
 */

/* Contact Page Specific Styles */
.page-template-page-contact-seo .entry-title,
.page-template-page-contact-seo .page-title {
    display: none !important;
}

.contact-hero {
    position: relative;
    overflow: hidden;
}

.contact-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 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

/* Form Styles */
#veroc-contact-form input:focus,
#veroc-contact-form select:focus,
#veroc-contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#veroc-contact-form button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* FAQ Accordion Styles */
details summary::-webkit-details-marker {
    display: none;
}

details[open] summary span {
    transform: rotate(45deg);
}

details summary span {
    transition: transform 0.2s;
    display: inline-block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem !important;
    }

    .contact-hero h1 span {
        font-size: 1.125rem !important;
    }

    .contact-main > .container > div {
        grid-template-columns: 1fr !important;
    }

    #contact-form {
        padding: 25px !important;
    }
}

/* Trust Signals Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-hero .btn {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-hero .btn:nth-child(2) {
    animation-delay: 0.1s;
}

/* Service Area Tags Hover */
.contact-main span[style*="background: #e0e7ff"]:hover {
    background: #2563eb !important;
    color: white !important;
    transform: translateY(-2px);
    transition: all 0.2s;
    cursor: default;
}

/* Contact Card Hover Effects */
.contact-main > .container > div:first-child > div > div {
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-main > .container > div:first-child > div > div:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Map Container */
iframe[src*="google.com/maps"] {
    filter: grayscale(20%);
    transition: filter 0.3s;
}

iframe[src*="google.com/maps"]:hover {
    filter: grayscale(0%);
}

/* Loading State for Form */
#veroc-contact-form button[type="submit"].loading {
    opacity: 0.7;
    cursor: not-allowed;
}

#veroc-contact-form button[type="submit"].loading::after {
    content: '';
    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;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}