/* ===================================
   웨딩센스 - 사이드바 디자인 수정
   sidebar-fix.css
   =================================== */

/* ===================================
   오른쪽 사이드바 - 오늘의 박람회
   =================================== */
.sidebar-right .today-events {
    padding: 20px;
}

.sidebar-right .event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-right .event-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sidebar-right .event-item:hover {
    background: rgba(232, 180, 184, 0.1);
    transform: translateX(-5px);
}

.sidebar-right .event-date {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #b8406a 0%, #d4547e 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(184, 64, 106, 0.3);
}

.sidebar-right .event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.sidebar-right .event-date .month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
}

.sidebar-right .event-info {
    flex-grow: 1;
    min-width: 0; /* 텍스트 잘림 방지 */
}

.sidebar-right .event-info h3 {
    font-size: 1rem !important; /* 일관된 크기 */
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-right .event-info p {
    font-size: 0.875rem;
    color: #595959;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-right .event-info p i {
    color: #b8406a;
    font-size: 0.875rem;
}

/* ===================================
   인기 신혼여행지 스타일
   =================================== */
.sidebar-right .popular-destinations {
    padding: 20px;
}

.sidebar-right .destination-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-right .destination-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8ec 100%);  /* 매우 연한 핑크 그라데이션 */
    color: #8f2f52 !important;  /* 진한 와인색 텍스트 (WCAG AA 준수) */
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;  /* 더 굵게 */
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid #f5c6ca;  /* 연한 핑크 테두리 */
    box-shadow: 0 2px 5px rgba(184, 64, 106, 0.1);
}

.sidebar-right .destination-tag:hover {
    background: linear-gradient(135deg, #b8406a 0%, #d4547e 100%);  /* 진한 그라데이션 배경 */
    color: white !important;
    border-color: transparent;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(184, 64, 106, 0.3);
}

.sidebar-right .destination-tag:focus {
    outline: 3px solid #b8406a;
    outline-offset: 2px;
}

.sidebar-right .destination-tag:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(184, 64, 106, 0.3);
}

/* ===================================
   사이드바 제목 스타일 통일
   =================================== */
.sidebar-right .sidebar-title {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(184, 64, 106, 0.2);
    position: relative;
}

.sidebar-right .sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #b8406a 0%, transparent 100%);
}

/* ===================================
   반응형 디자인
   =================================== */
@media (max-width: 1400px) {
    .sidebar-right .event-date {
        width: 55px;
        height: 55px;
    }
    
    .sidebar-right .event-date .day {
        font-size: 1.3rem;
    }
    
    .sidebar-right .event-info h3 {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    .sidebar-right .today-events,
    .sidebar-right .popular-destinations {
        padding: 15px;
    }
    
    .sidebar-right .event-item {
        padding: 12px;
    }
    
    .sidebar-right .event-date {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-right .event-date .day {
        font-size: 1.2rem;
    }
    
    .sidebar-right .event-date .month {
        font-size: 0.7rem;
    }
}

/* ===================================
   다크모드 지원
   =================================== */
@media (prefers-color-scheme: dark) {
    .sidebar-right .event-item {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .sidebar-right .event-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-right .event-info h3 {
        color: #f0f0f0;
    }
    
    .sidebar-right .event-info p {
        color: #b0b0b0;
    }
    
    .sidebar-right .sidebar-title {
        color: #f0f0f0;
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }
    
    .sidebar-right .destination-tag {
        background: rgba(255, 255, 255, 0.1);
        color: #f5c6ca !important;  /* 밝은 핑크색 */
        border: 1px solid rgba(245, 198, 202, 0.5);
        font-weight: 600;
    }
    
    .sidebar-right .destination-tag:hover {
        background: linear-gradient(135deg, #d4547e 0%, #ff6b9d 100%);
        color: white !important;
        border-color: transparent;
    }
}