/* Location Page Styles */
.location-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* 섹션 공통 스타일 */
.contact-info-section,
.map-section,
.office-hours-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
    padding: 32px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.contact-info-section:hover,
.map-section:hover,
.office-hours-section:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 섹션 헤더 */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f8fafc;
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background:  var(--color-secondary);;
    border-radius: 12px;
    margin-right: 16px;
    color: white;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.025em;
}

/* 연락처 정보 스타일 */
.contact-details {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background: #f8fafc;
    border-left: 4px solid  var(--color-secondary);;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f1f5f9;
    border-left-color:  var(--color-secondary);;
    transform: translateX(4px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background:  var(--color-secondary);;
    border-radius: 10px;
    margin-right: 16px;
    color: white;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* 지도 섹션 */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#kakao-map {
    height: 400px;
    width: 100%;
}

.kakao-map-wrapper {
    position: relative;
}

.map-info {
    background: #f8fafc;
    padding: 24px;
    border-top: 1px solid #e2e8f0;
}

.address-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 12px 0;
}

.full-address {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.5;
}

.map-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-outline {
    background: white;
    color: var(--color-secondary);;
    border: 2px solid  var(--color-secondary);;
}

.btn-outline:hover {
    background:  var(--color-secondary);;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 160, 95, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* 운영시간 섹션 */
.hours-info {
    display: grid;
    gap: 16px;
}

.hours-item {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.hours-item.lunch-break {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.hours-item.closed {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
}

.hours-item.closed .hours-time {
    color: #dc2626;
    font-weight: 600;
}

.hours-day {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.hours-day svg {
    color: #31a05f;
}

.hours-item.lunch-break .hours-day svg {
    color: #f59e0b;
}

.hours-item.closed .hours-day svg {
    color: #ef4444;
}

.hours-day strong {
    font-size: 16px;
    color: #374151;
    font-weight: 600;
}

.hours-time {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* 카카오맵 인포윈도우 스타일 */
.map-info-window {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    min-width: 200px;
    border-radius: 8px;
}

.map-info-window strong {
    color: var(--color-secondary);
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
}

.loading-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: #6b7280;
    font-size: 16px;
    text-align: center;
}

.loading-message small {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 8px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .location-content {
        padding: 0 16px;
    }

    .contact-info-section,
    .map-section,
    .office-hours-section {
        padding: 24px 20px;
        margin-bottom: 24px;
    }


    .section-title {
        font-size: 20px;
    }

    .contact-item {
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 12px;
        align-self: center;
    }

    .map-controls {
        justify-content: center;
    }

    .hours-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .hours-day {
        justify-content: center;
    }

    #kakao-map {
        height: 300px;
    }
}

/* 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-section,
.map-section,
.office-hours-section {
    animation: fadeInUp 0.6s ease-out;
}

.contact-info-section {
    animation-delay: 0.1s;
}

.map-section {
    animation-delay: 0.2s;
}

.office-hours-section {
    animation-delay: 0.3s;
}
