/**
 * 오시는 길 페이지 CSS
 */

/* 페이지 배너 */
.page-banner {
    position: relative;
    height: 300px;
    background-image: url('/api/placeholder/1900/300');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(43, 46, 74, 0.9) 0%, rgba(231, 40, 85, 0.8) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.page-banner-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-banner-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 20px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .separator {
    font-size: 0.7rem;
    opacity: 0.7;
}

.breadcrumb .current {
    font-weight: 500;
}

/* 지도 섹션 */
.map-section {
    background-color: #fff;
}

.map-container {
    margin-bottom: 40px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#map {
    width: 100%;
    height: 500px;
    background-color: #f8f8f8;
}

.map-controls {
    position: absolute;
    right: 15px;
    bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.map-control-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.map-control-btn:hover {
    background-color: #f8f8f8;
}

.roadview-btn, .route-btn, .expand-btn {
    width: auto;
    padding: 0 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 위치 정보 카드 */
.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.location-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.location-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(231, 40, 85, 0.3);
}

.location-icon i {
    font-size: 1.5rem;
    color: white;
}

.location-details h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.location-details p {
    color: var(--gray);
    line-height: 1.5;
}

/* 교통 정보 카드 */
.transport-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.transport-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.transport-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(231, 40, 85, 0.3);
}

.transport-icon i {
    font-size: 1.5rem;
    color: white;
}

.transport-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.transport-card ul {
    list-style: none;
}

.transport-card ul li {
    margin-bottom: 10px;
    color: var(--gray);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.6;
}

/* 지하철 라인 스타일 */
.line {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: white;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 24px;
    margin-right: 5px;
}

.line-2 {
    background-color: #3cb44a;
}

.line-3 {
    background-color: #f06e00;
}

/* 버스 타입 스타일 */
.bus {
    display: inline-block;
    min-width: 48px;
    padding: 2px 8px;
    border-radius: 4px;
    color: white;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
}

.bus-blue {
    background-color: #2c7be5;
}

.bus-green {
    background-color: #3cb44a;
}

.bus-red {
    background-color: #e63946;
}

.bus-yellow {
    background-color: #ffc107;
}

.bus-purple {
    background-color: #9d4edd;
}

/* 문의 정보 섹션 */
.contact-section {
    background-color: #f4f5f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(231, 40, 85, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: rotateY(180deg);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.contact-info p {
    margin-bottom: 8px;
    color: var(--gray);
    line-height: 1.6;
}

/* 반응형 스타일 */
@media screen and (max-width: 992px) {
    .page-banner {
        height: 250px;
    }
    
    .page-banner-content h1 {
        font-size: 2.5rem;
    }
    
    #map {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .page-banner {
        height: 200px;
    }
    
    .page-banner-content h1 {
        font-size: 2rem;
    }
    
    .page-banner-content p {
        font-size: 1rem;
    }
    
    #map {
        height: 350px;
    }
    
    .location-info, .transport-info {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 576px) {
    .page-banner {
        height: 180px;
    }
    
    .page-banner-content h1 {
        font-size: 1.8rem;
    }
    
    #map {
        height: 300px;
    }
}