/* AutoNom Contact Page - Unique styles only */
/* All common styles are in shared.css */

/* ============================================================================
   CONTACT PAGE UNIQUE STYLES ONLY
   ============================================================================ */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--theme-bg) 0%, var(--theme-bg-secondary) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* Gradient Orbs - Unique to contact page */
.gradient-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    z-index: 1;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-gradient);
    top: -150px;
    left: -150px;
    animation-name: float-orb-1;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--success-gradient);
    top: 50%;
    right: -150px;
    transform: translateY(-50%);
    animation-name: float-orb-2;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--info-gradient);
    bottom: -100px;
    left: 30%;
    animation-name: float-orb-3;
}

@keyframes float-orb-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 100px) rotate(90deg); }
    50% { transform: translate(0, 200px) rotate(180deg); }
    75% { transform: translate(-100px, 100px) rotate(270deg); }
}

@keyframes float-orb-2 {
    0%, 100% { transform: translate(0, -50%) rotate(0deg); }
    33% { transform: translate(-100px, -100px) rotate(120deg); }
    66% { transform: translate(100px, 0) rotate(240deg); }
}

@keyframes float-orb-3 {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(100px) rotate(180deg); }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--theme-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--theme-border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.05;
    z-index: 1;
}

/* Position relative for z-index stacking */
.contact-hero .container {
    position: relative;
    z-index: 2;
}

/* Badge Variations (different from other pages) */
.contact-hero-badge {
    background: rgba(var(--theme-primary-rgb), 0.15);
    border: 2px solid rgba(var(--theme-primary-rgb), 0.3);
    color: var(--theme-primary);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-badge {
    background: rgba(var(--theme-info-rgb), 0.15);
    border: 2px solid rgba(var(--theme-info-rgb), 0.3);
    color: var(--theme-info);
}

.contact-info-badge {
    background: rgba(var(--theme-success-rgb), 0.15);
    border: 2px solid rgba(var(--theme-success-rgb), 0.3);
    color: var(--theme-success);
}

.support-badge {
    background: rgba(var(--theme-warning-rgb), 0.15);
    border: 2px solid rgba(var(--theme-warning-rgb), 0.3);
    color: var(--theme-warning);
}

.social-badge {
    background: rgba(var(--theme-purple-rgb), 0.15);
    border: 2px solid rgba(var(--theme-purple-rgb), 0.3);
    color: var(--theme-purple);
}

.faq-badge {
    background: rgba(var(--theme-danger-rgb), 0.15);
    border: 2px solid rgba(var(--theme-danger-rgb), 0.3);
    color: var(--theme-danger);
}

.cta-badge {
    background: rgba(var(--theme-orange-rgb), 0.15);
    border: 2px solid rgba(var(--theme-orange-rgb), 0.3);
    color: var(--theme-orange);
}

.glass-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--theme-text);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.875rem;
}

/* Hero Heading */
.hero-heading {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--theme-heading);
}

/* Hero Stats */
.hero-stats {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--theme-border-rgb), 0.2);
    background: rgba(var(--theme-card-bg-rgb), 0.6);
}

.stat-item .stat-value {
    color: var(--theme-primary);
    font-weight: 800;
}

.stat-item .stat-label {
    color: var(--theme-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Info Card */
.contact-info-card {
    height: 100%;
}

.contact-items {
    margin-top: 2rem;
}

.contact-item {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(var(--theme-border-rgb), 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 1.5rem;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-icon-primary {
    background: rgba(var(--theme-primary-rgb), 0.1);
    color: var(--theme-primary);
    border: 2px solid rgba(var(--theme-primary-rgb), 0.2);
}

.contact-icon-success {
    background: rgba(var(--theme-success-rgb), 0.1);
    color: var(--theme-success);
    border: 2px solid rgba(var(--theme-success-rgb), 0.2);
}

.contact-icon-info {
    background: rgba(var(--theme-info-rgb), 0.1);
    color: var(--theme-info);
    border: 2px solid rgba(var(--theme-info-rgb), 0.2);
}

.icon-large {
    font-size: 2rem;
}

/* Business Hours */
.business-hours-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hours-item {
    border-bottom: 1px solid rgba(var(--theme-border-rgb), 0.1);
}

.hours-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--theme-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--theme-border-rgb), 0.2);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
}

/* Contact Form */
.contact-form-card {
    background: linear-gradient(135deg, var(--theme-card-bg) 0%, var(--theme-card-secondary) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--theme-border-rgb), 0.2);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header .section-badge {
    margin-bottom: 1rem;
}

.glass-form-control {
    background: rgba(var(--theme-card-bg-rgb), 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--theme-border-rgb), 0.2);
    color: var(--theme-text);
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-height: 56px;
}

.glass-form-control::placeholder {
    color: var(--theme-text-secondary);
    opacity: 0.7;
}

.glass-form-control:focus {
    background: rgba(var(--theme-card-bg-rgb), 0.5);
    border-color: var(--theme-primary);
    color: var(--theme-text);
    box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.15);
    outline: none;
}

.glass-form-control:invalid {
    border-color: var(--theme-danger);
}

.glass-form-control.is-valid {
    border-color: var(--theme-success);
    background: rgba(var(--theme-success-rgb), 0.05);
}

.glass-form-control.is-invalid {
    border-color: var(--theme-danger);
    background: rgba(var(--theme-danger-rgb), 0.05);
}

.form-label {
    color: var(--theme-heading);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
    font-size: 1rem;
}

/* Support Cards */
.support-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--theme-border-rgb), 0.2);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.support-icon {
    font-size: 3rem;
}

/* FAQ Accordion */
.faq-accordion {
    width: 100%;
}

.faq-item {
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--theme-border-rgb), 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(var(--theme-primary-rgb), 0.3);
}

.faq-item.faq-active {
    border-color: var(--theme-primary);
    box-shadow: 0 10px 30px rgba(var(--theme-primary-rgb), 0.1);
}

.faq-header {
    padding: 0;
    border: none;
    background: transparent;
}

.faq-button {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--theme-heading);
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-button:hover {
    color: var(--theme-primary);
}

.faq-button[aria-expanded="true"] {
    color: var(--theme-primary);
}

.faq-button[aria-expanded="true"] .faq-icon i {
    transform: rotate(180deg);
}

.faq-question {
    flex: 1;
    padding-right: 2rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-icon i {
    transition: transform 0.3s ease;
}

.faq-collapse {
    transition: all 0.3s ease;
}

.faq-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--theme-text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* CTA Section */
.contact-cta {
    background: linear-gradient(135deg, var(--theme-bg-secondary) 0%, var(--theme-bg) 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-gradient);
    filter: blur(120px);
    opacity: 0.1;
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

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

/* Form input focused state */
.input-focused .form-label {
    color: var(--theme-primary);
    transform: translateY(-2px);
}

.input-focused .glass-form-control {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.2);
}

/* Button styles */
.glass-button {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-button-primary {
    background: rgba(var(--theme-primary-rgb), 0.15);
    border-color: rgba(var(--theme-primary-rgb), 0.3);
    color: var(--theme-primary);
}

.glass-button-primary:hover {
    background: rgba(var(--theme-primary-rgb), 0.25);
    border-color: rgba(var(--theme-primary-rgb), 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--theme-primary-rgb), 0.2);
}

.glass-button-secondary {
    background: rgba(var(--theme-secondary-rgb), 0.15);
    border-color: rgba(var(--theme-secondary-rgb), 0.3);
    color: var(--theme-secondary);
}

.glass-button-secondary:hover {
    background: rgba(var(--theme-secondary-rgb), 0.25);
    border-color: rgba(var(--theme-secondary-rgb), 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--theme-secondary-rgb), 0.2);
}

.glass-button-outline {
    background: transparent;
    border-color: rgba(var(--theme-border-rgb), 0.3);
    color: var(--theme-text);
}

.glass-button-outline:hover {
    border-color: var(--theme-primary);
    color: var(--theme-primary);
    transform: translateY(-3px);
}

.glass-button-success {
    background: rgba(var(--theme-success-rgb), 0.15);
    border-color: rgba(var(--theme-success-rgb), 0.3);
    color: var(--theme-success);
}

/* Section spacing */
.section {
    padding: 6rem 0;
}

.section:first-of-type {
    padding-top: 4rem;
}

/* ============================================================================
   RESPONSIVE DESIGN - Only adjustments for contact page
   ============================================================================ */

@media (max-width: 1200px) {
    .hero-heading {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        min-height: 50vh;
        padding: 4rem 0;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats .col-6 {
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .hero-heading {
        font-size: 2.25rem;
    }
    
    .contact-hero-bg .orb {
        filter: blur(60px);
    }
    
    .orb-1 {
        width: 300px;
        height: 300px;
    }
    
    .orb-2 {
        width: 250px;
        height: 250px;
    }
    
    .orb-3 {
        width: 200px;
        height: 200px;
    }
    
    .faq-button {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .glass-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 2rem !important;
    }
    
    .social-icons {
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        padding: 1.5rem !important;
    }
    
    .hero-stats .stat-value {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .faq-body {
        padding: 0 1rem 1rem;
        font-size: 1rem;
    }
    
    .contact-cta {
        padding: 4rem 0;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-actions .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    .gradient-orbs .orb,
    .gradient-blur {
        animation: none;
    }
    
    .social-icon,
    .support-card,
    .faq-item,
    .glass-button,
    .faq-icon i,
    .glass-form-control {
        transition: none;
    }
    
    .social-icon:hover,
    .support-card:hover,
    .glass-button:hover {
        transform: none;
    }
    
    .field-error {
        animation: none;
    }
    
    .faq-button[aria-expanded="true"] .faq-icon i {
        transform: none;
    }
}
