/* 
   ========================================
   CONTACT US PAGE STYLES
   Extends base.css
   ========================================
*/

/* Hero Section */
.contact-hero {
    padding: var(--space-16) 0 var(--space-8);
    background: linear-gradient(to bottom, var(--color-bg), var(--color-surface));
    border-bottom: 1px solid var(--color-border);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.lead {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-top: var(--space-4);
}

/* Contact Section Grid */
.contact-section {
    padding: var(--space-12) 0;
}

.contact-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }
}

/* Left Column: Info */
.contact-info h2 {
    color: var(--color-text);
    margin-bottom: var(--space-6);
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-4);
}

.info-block {
    margin-bottom: var(--space-8);
}

.info-block h3 {
    font-size: var(--text-xl);
    color: var(--color-silver);
    margin-bottom: var(--space-2);
}

.contact-list, .hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li, .hours-list li {
    margin-bottom: var(--space-2);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-2);
}

.contact-list li:last-child, .hours-list li:last-child {
    border-bottom: none;
}

.contact-list strong {
    color: var(--color-silver);
}

address {
    font-style: normal;
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

/* Right Column: Form */
.contact-form-wrapper {
    background-color: var(--color-surface);
    position: relative;
    overflow: hidden;
}

.form-footer {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.privacy-note {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    line-height: var(--leading-normal);
    margin-bottom: 0;
}

.error-message {
    color: var(--color-danger);
    font-size: var(--text-xs);
    margin-top: var(--space-1);
    display: block;
    height: 1.2em;
}

/* Success Message Overlay */
.success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-8);
    z-index: 10;
    animation: fadeIn var(--transition-normal) forwards;
}

.success-message h3 {
    color: var(--color-success);
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Map Section */
.map-section {
    padding-bottom: var(--space-12);
}

.map-container {
    padding: 0;
    overflow: hidden;
    height: 450px;
    border-color: var(--color-border);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* Simulate industrial map look */
    background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Social CTA */
.social-cta {
    padding: var(--space-12) 0;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-surface);
}

.social-links {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-6);
    flex-wrap: wrap;
}