/* Complete Contact Section Overhaul - Premium Tech Style */

/* Main Layout Container */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

/* Left Column: Contact Details (1/3 width approx) */
.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Styled Detail Cards */
.info-item {
    background: linear-gradient(145deg, #3e3a3b, #2a2728);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-gold);
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #444041, #302d2e);
}

.info-item>i {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-gold);
    min-width: 50px;
    text-align: center;
}

.info-item div {
    flex: 1;
}

.info-item h4 {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0;
    opacity: 0.7;
}

.info-item p {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.info-item p i {
    font-size: 0.8rem;
}

.info-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--primary-gold);
}

.info-item .btn-primary:hover {
    color: #fff !important;
}

/* Special styling for full-width item overrides (if any) */
.info-item.full-width {
    grid-column: auto;
}


/* Right Column: Massive Map (2/3 width) */
.contact-map-wrapper {
    flex: 2;
    min-width: 300px;
    /* changed from 400px to avoid overflow on mobile */
    position: relative;
    padding: 0;
    margin: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    /* Ensure it's tall and imposing */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(181, 156, 110, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    filter: grayscale(100%) invert(90%) contrast(90%);
    /* Dark Theme Map */
    transition: filter 0.5s ease, border-color 0.5s ease;
    background-color: #1a1a1a;
    /* Fallback background */
    background-size: cover;
    background-position: center;
}

.contact-map:hover {
    filter: grayscale(0%) invert(0%) contrast(100%);
    border-color: var(--primary-gold);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Navigation Button Styling */
.map-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-end;
    /* Align to the right under the map */
}

.map-link-btn:hover {
    background: var(--primary-gold);
    color: #1a1a1a;
    box-shadow: 0 0 20px rgba(181, 156, 110, 0.4);
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .contact-grid {
        flex-direction: column;
    }

    .contact-info {
        min-width: 100%;
    }

    .contact-map-wrapper {
        min-width: 100%;
    }

    .contact-map {
        min-height: 280px;
        background-image: none !important;
        border: 2px solid var(--primary-gold);
        box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(181, 156, 110, 0.2);
        overflow: hidden;
        filter: none !important;
    }

    .contact-map:hover {
        transform: none;
    }

    .contact-map iframe {
        display: none !important;
    }

    .mobile-map-static {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .map-link-btn {
        align-self: center;
        width: 100%;
    }
}

.mobile-map-static {
    display: none;
}