/* ===== CONTACT PAGE STYLES ===== */

/* Ensure proper spacing for fixed navbar */
body {
    padding-top: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Webview specific fixes */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.contact-hero {
    padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 4);
    padding-top: 120px;
    background: var(--graphite-black);
    text-align: center;
    min-height: auto;
}

@media (max-width: 991px) {
    .contact-hero {
        padding-top: 120px;
    }
}

.hero-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(209, 213, 219, 0.8);
    margin-top: calc(var(--spacing-unit) * 1.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding: calc(var(--spacing-unit) * 6) 0;
    background: var(--tungsten-gray);
    min-height: auto;
    overflow-x: hidden;
}

.contact-info-card,
.contact-form-card {
    background: #111827;
    border-radius: 16px;
    padding: calc(var(--spacing-unit) * 2.5);
    height: 100%;
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.4),
        -6px -6px 12px rgba(255, 255, 255, 0.02);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

body:not(.dark) .contact-info-card,
body:not(.dark) .contact-form-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info-card h2,
.contact-form-card h2 {
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    color: #E5E7EB;
    text-align: center;
}

body:not(.dark) .contact-info-card h2,
body:not(.dark) .contact-form-card h2 {
    color: #000000;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing-unit) * 0.5);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    padding-bottom: calc(var(--spacing-unit) * 1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

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

.contact-icon {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 0.25);
}

.contact-details {
    text-align: center;
    width: 100%;
}

.contact-details h4 {
    font-size: 0.8rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--titanium-silver);
    text-align: center;
}

.contact-details p {
    color: rgba(209, 213, 219, 0.7);
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* Form Styles */
.contact-form-card .form-group {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.contact-form-card label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #E5E7EB;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

body:not(.dark) .contact-form-card label {
    color: #000000;
}

.contact-form-card .form-control {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 2);
    background: #1F2937;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #E5E7EB;
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

body:not(.dark) .contact-form-card .form-control {
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    color: #000000;
}

.contact-form-card .form-control:focus {
    outline: none;
    border-color: #B87333;
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.2);
    background: #374151;
}

body:not(.dark) .contact-form-card .form-control:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #FFFFFF;
}

.contact-form-card .form-control::placeholder {
    color: rgba(209, 213, 219, 0.6);
}

body:not(.dark) .contact-form-card .form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.contact-form-card .btn-neo {
    width: 100%;
    margin-top: calc(var(--spacing-unit) * 0.5);
    padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 2);
    font-size: 0.875rem;
}

/* Map Section */
.map-section {
    padding: calc(var(--spacing-unit) * 6) 0;
    background: var(--graphite-black);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.map-section .section-title {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    text-align: center;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, 
        var(--tungsten-gray) 0%, 
        rgba(184, 115, 51, 0.2) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(184, 115, 51, 0.05) 20px,
            rgba(184, 115, 51, 0.05) 22px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(184, 115, 51, 0.05) 20px,
            rgba(184, 115, 51, 0.05) 22px
        );
}

.map-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: calc(var(--spacing-unit) * 2.5);
    background: rgba(11, 13, 15, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.map-content h3 {
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--titanium-silver);
}

.map-content p {
    color: rgba(209, 213, 219, 0.8);
    font-size: 0.9rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    max-width: 100%;
}

.map-note {
    font-size: 0.875rem;
    color: rgba(184, 115, 51, 0.8);
    font-style: italic;
    margin-top: calc(var(--spacing-unit) * 2);
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 100px;
        padding-bottom: calc(var(--spacing-unit) * 3);
    }
    
    .contact-section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: calc(var(--spacing-unit) * 2);
        margin-bottom: calc(var(--spacing-unit) * 2);
    }
    
    .contact-info-card h2,
    .contact-form-card h2 {
        font-size: 1.1rem;
        margin-bottom: calc(var(--spacing-unit) * 1);
    }
    
    .contact-item {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 0.5);
        align-items: center;
        text-align: center;
        margin-bottom: calc(var(--spacing-unit) * 1.25);
        padding-bottom: calc(var(--spacing-unit) * 1.25);
    }
    
    .contact-icon {
        flex: 0 0 auto;
        font-size: 1.1rem;
    }
    
    .contact-details h4 {
        font-size: 0.75rem;
    }
    
    .contact-details p {
        font-size: 0.75rem;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .contact-details h4,
    .contact-details p {
        text-align: center;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .map-section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }
    
    .map-section .section-title {
        font-size: 1.25rem;
        margin-bottom: calc(var(--spacing-unit) * 2);
    }
    
    /* Ensure proper container width */
    .container {
        max-width: 100%;
        padding-left: calc(var(--spacing-unit) * 2);
        padding-right: calc(var(--spacing-unit) * 2);
    }
    
    /* Fix form inputs for mobile */
    .contact-form-card .form-control {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}




