﻿@charset "utf-8";

/*지도 영역*/
.map-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* 비율 유지 (모바일 대응) */
    max-height: 500px; /* 최대 높이 제한 (데스크탑 대응) */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*위치 및 연락처 영역*/
.map-section {
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Nanum Gothic', sans-serif;
}

    .map-section h2 {
        text-align: center;
        font-size: 32px;
        color: #00498c;
        margin-bottom: 40px;
        position: relative;
    }

        .map-section h2::after {
            content: "";
            width: 60px;
            height: 4px;
            background-color: #00498c;
            display: block;
            margin: 12px auto 0;
            border-radius: 2px;
        }

.supportTable {
    width: 100%;
    border-collapse: collapse;
    margin: 40px;
    font-size: 16px;
    line-height: 1.6em;
}

    .supportTable td {
        padding: 12px 16px;
        border-bottom: 1px solid #cfdae5;
    }

    .supportTable tr:last-child td {
        border-bottom: none;
    }

    .supportTable td:first-child {
        font-weight: bold;
        width: 150px;
        color: #00498c;
    }

/*가로 배너 내 텍스트 모바일 반응형 처리*/
@media (max-width: 768px) {
    .support-detail {
        flex-direction: column;
    }
}

/*하단 연락 버튼들 css*/
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    justify-content: center;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 12px;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    min-width: 0; /* grid에서 줄바꿈 방지 */
    transition: all 0.3s ease;
}

    .contact-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

    .contact-card img {
        width: 48px;
        margin-bottom: 16px;
    }

    .contact-card h3 {
        font-size: 18px;
        color: #00498c;
        margin-bottom: 8px;
    }

    .contact-card p {
        font-size: 15px;
        color: #333;
        margin-bottom: 12px;
    }

/*하단 연락 카드 반응형*/
@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

.support-btn {
    background-color: #00498c;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px; /* 여기 값을 키움 */
}

/*토스트 효과*/
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 9999;
}

    .toast.show {
        opacity: 1;
    }
