/* 성수야! V2 - 상세페이지 확장 스타일 (소셜 & 투어 정보) */

/* ================================
   소셜 미디어 & 연락처 섹션
   ================================ */

.store-social-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.social-content {
    display: grid;
    gap: 2rem;
}

.social-links-group,
.contact-info-group,
.booking-links-group,
.hashtags-group {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.social-links-group:hover,
.contact-info-group:hover,
.booking-links-group:hover {
    transform: translateY(-2px);
}

.subsection-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.subsection-icon {
    font-size: 1.1rem;
}

/* 소셜 링크 스타일 */
.social-links {
    display: grid;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.social-link.instagram-link {
    background: linear-gradient(135deg, #e1306c 0%, #fd1d1d 50%, #f77737 100%);
}

.social-link.facebook-link {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
}

.social-link.youtube-link {
    background: linear-gradient(135deg, #ff0000 0%, #ff4444 100%);
}

.social-link.website-link {
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
}

.social-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.social-name {
    font-weight: 600;
    flex: 1;
}

.social-action {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 연락처 정보 스타일 */
.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
}

.contact-icon {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    width: 24px;
    text-align: center;
}

.contact-label {
    font-weight: 500;
    margin-right: 1rem;
    min-width: 80px;
    color: #6c757d;
}

.contact-value {
    flex: 1;
}

.contact-value .info-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.contact-value .info-link:hover {
    text-decoration: underline;
}

.copy-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background: #0056b3;
}

/* 예약 링크 스타일 */
.booking-links {
    display: grid;
    gap: 1rem;
}

.booking-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.booking-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

.booking-link.event-link {
    background: linear-gradient(135deg, #fd7e14 0%, #e83e8c 100%);
}

.booking-link.event-link:hover {
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.4);
}

.booking-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.booking-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.booking-description {
    font-size: 0.9rem;
    opacity: 0.9;
    flex: 1;
}

.external-indicator {
    font-size: 1.2rem;
    margin-left: 1rem;
}

/* 해시태그 스타일 */
.hashtags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.hashtag {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hashtag:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    transform: translateY(-1px);
}

.hashtags-hint {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}

/* ================================
   투어 정보 섹션
   ================================ */

.store-tour-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #fff9e6 0%, #f0fff4 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.tour-score-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tour-content {
    display: grid;
    gap: 2rem;
}

.visit-planning-group,
.crowd-info-group,
.features-group,
.recommendations-group,
.special-notes-group {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 방문 계획 정보 */
.visit-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.visit-info-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.visit-info-item:hover {
    background: #e9ecef;
}

.info-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.info-value {
    font-weight: 600;
    color: #2d3748;
}

/* 혼잡도 정보 */
.crowd-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.crowd-info-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.crowd-day {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.crowd-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.crowd-icon {
    font-size: 1.5rem;
}

.crowd-text {
    font-weight: 600;
}

.crowd-desc {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 특별 옵션 및 접근성 */
.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.special-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #744210;
}

.accessibility-badge {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
}

/* 연계 장소 추천 */
.recommendation-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

.recommendation-content {
    line-height: 1.6;
    color: #4a5568;
}

.tips-content {
    background: #f0f8ff;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

/* 특별 안내사항 */
.special-notes-content {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    line-height: 1.6;
}

/* 투어 액션 버튼 */
.tour-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.add-to-tour-btn.added {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    cursor: not-allowed;
}

/* ================================
   반응형 디자인
   ================================ */

@media (max-width: 768px) {
    .social-content,
    .tour-content {
        gap: 1rem;
    }
    
    .social-links-group,
    .contact-info-group,
    .booking-links-group,
    .hashtags-group,
    .visit-planning-group,
    .crowd-info-group,
    .features-group,
    .recommendations-group,
    .special-notes-group {
        padding: 1rem;
    }
    
    .visit-info-grid,
    .crowd-info-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-link,
    .booking-link {
        padding: 1rem;
    }
    
    .booking-icon {
        font-size: 1.2rem;
        margin-right: 0.75rem;
    }
    
    .booking-title {
        font-size: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-label {
        min-width: auto;
        margin-right: 0;
    }
}

/* ================================
   상세페이지 기본 정보 섹션 개선
   ================================ */

.store-info-grid .info-item {
    position: relative;
    overflow: hidden;
}

.store-info-grid .info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #007bff 0%, #28a745 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-info-grid .info-item:hover::before {
    opacity: 1;
}

.category-tag.enhanced {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.info-value.status-open {
    color: #28a745;
}

.info-value.status-upcoming {
    color: #007bff;
}

.info-value.status-closing_soon {
    color: #ffc107;
}

.info-value.status-closed {
    color: #dc3545;
}

.info-value.status-temporary_closed {
    color: #6c757d;
}

.store-description-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.store-description-content {
    line-height: 1.7;
    color: #4a5568;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

/* 토스트 메시지 스타일 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast--success {
    border-left: 4px solid #28a745;
}

.toast--warning {
    border-left: 4px solid #ffc107;
}

.toast--error {
    border-left: 4px solid #dc3545;
}

.toast--info {
    border-left: 4px solid #17a2b8;
}

.toast-icon {
    font-size: 1.2rem;
}

.toast-message {
    flex: 1;
    font-weight: 500;
}
