/**
 * FuelGuard Map Contact Widget Styles
 * 
 * @package FuelGuard
 * @version 1.0.0
 */

/* Main Section */
.fg-map-contact-section {
    padding: 0;
    background-color: #f3f4f6;
}

/* Container */
.fg-map-container {
    width: 100%;
    padding: 0;
}

/* Map Card */
.fg-map-card {
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

/* Grid Layout - Map Left, Contact Right */
.fg-map-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    min-height: 600px;
}

/* Map Side (Left) */
.fg-map-side {
    width: 100%;
    height: 100%;
}

.fg-map-side iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: 0;
    display: block;
}

/* Contact Side (Right) */
.fg-contact-side {
    background-color: #ffffff;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #e5e7eb;
}

/* Contact Items */
.fg-contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contact Item */
.fg-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.fg-contact-item:hover {
    background-color: #f3f4f6;
    transform: translateX(4px);
}

/* Contact Icon */
.fg-contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fef2f2;
    border-radius: 10px;
    overflow: hidden;
}

.fg-contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Contact Content */
.fg-contact-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Contact Label */
.fg-contact-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Value */
.fg-contact-value {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

/* Contact Value Link */
.fg-contact-value-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.fg-contact-value-link:hover .fg-contact-value {
    color: #e32222;
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .fg-map-grid {
        grid-template-columns: 1fr 350px;
    }

    .fg-contact-side {
        padding: 32px 24px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .fg-map-grid {
        grid-template-columns: 1fr;
    }

    .fg-map-side iframe {
        min-height: 400px;
    }

    .fg-contact-side {
        padding: 32px 24px;
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }

    .fg-contact-item {
        padding: 12px;
        gap: 12px;
    }

    .fg-contact-icon {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .fg-contact-icon img {
        width: 20px;
        height: 20px;
    }

    .fg-contact-label {
        font-size: 11px;
    }

    .fg-contact-value {
        font-size: 14px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .fg-map-side iframe {
        min-height: 300px;
    }

    .fg-contact-side {
        padding: 24px 16px;
    }

    .fg-contact-item {
        padding: 10px;
        gap: 10px;
    }

    .fg-contact-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .fg-contact-icon img {
        width: 18px;
        height: 18px;
    }

    .fg-contact-label {
        font-size: 10px;
    }

    .fg-contact-value {
        font-size: 13px;
    }
}

/* Accessibility */
.fg-contact-value-link:focus-visible {
    outline: 3px solid #e32222;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .fg-map-contact-section {
        background-color: #ffffff;
    }

    .fg-map-grid {
        grid-template-columns: 1fr;
    }

    .fg-map-side {
        display: none;
    }

    .fg-contact-side {
        border: 1px solid #ccc;
    }
}
