/* ==========================================================================
   PREMIUM CONTACT PAGE STYLES
   ========================================================================== */

/* Layout & Spacing */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    /* Removed Overlap, now distinct */
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 24px;
    }
}

/* 
   Fancy Contact Cards 
   Apple/Google Style: Clean, elevated, interactive
*/
.contact-card {
    background: var(--color-bg);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    border: 1px solid var(--color-border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px var(--color-brand-primary);
    border-color: transparent;
}

/* Card Icon with Glow */
.card-icon-box {
    width: 80px;
    height: 80px;
    background: color-mix(in srgb, var(--color-brand-primary), transparent 92%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-brand-primary);
    transition: all 0.5s ease;
    position: relative;
}

.contact-card:hover .card-icon-box {
    background: var(--color-brand-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
    /* Brand glow */
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.card-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-action {
    margin-top: auto;
    font-weight: 600;
    color: var(--color-brand-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.card-action:hover {
    gap: 12px;
}

/* 
   Premium Form Section
   Split layout: Form vs Map/Info 
*/
.form-section {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

/* Background Blobs */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: color-mix(in srgb, var(--color-brand-primary), transparent 85%);
}

.blob-2 {
    bottom: -10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: color-mix(in srgb, var(--color-text-main), transparent 95%);
}

.form-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: center;
}

@media (max-width: 900px) {
    .form-container-grid {
        grid-template-columns: 1fr;
    }
}

/* Glass Form Card */
.glass-form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .glass-form-card {
    background: rgba(30, 30, 35, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

.form-heading {
    margin-bottom: 32px;
}

.form-heading h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

/* Input Fields - Modern Floating/Minimal */
.premium-input-group {
    margin-bottom: 24px;
    position: relative;
}

.premium-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--color-text-main);
    transition: all 0.3s ease;
}

.premium-input:focus {
    border-color: var(--color-brand-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-brand-primary), transparent 90%);
    outline: none;
}

.premium-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

textarea.premium-input {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    border-radius: 16px;
    /* Super rounded */
    background: var(--color-text-main);
    /* High contrast */
    color: var(--color-bg);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .btn-submit {
    background: white;
    color: black;
}

/* Map Container */
.map-visual-wrapper {
    height: 100%;
    min-height: 500px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-visual-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    /* Classy B&W map */
    transition: filter 0.5s ease;
}

.map-visual-wrapper:hover iframe {
    filter: grayscale(0%);
}

.map-pin-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

/* FAQ or Extra Info Section */
.faq-mini {
    margin-top: 40px;
}

.faq-item {
    padding: 24px;
    background: var(--color-bg);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
}

.faq-question {
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question svg {
    color: var(--color-brand-primary);
}