/* =============================================== */
/* ===== 컴포넌트 스타일 (위젯, 버튼 등) ===== */
/* =============================================== */

/* 예약 위젯 */
.booking-widget-container {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.booking-widget {
    max-width: 600px;
    width: 100%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-sizing: border-box;
}

.booking-widget .location-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.booking-widget .location-icon svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.booking-widget .location-text h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.booking-widget .location-text p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.booking-widget .booking-buttons {
    flex-shrink: 0;
}

.btn-modern-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #333;
    padding: 12px 24px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modern-ghost:hover {
    background-color: #333;
    color: #fff;
}

/* 채팅 버블 */
.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffeb3b;
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 100;
    transition: transform 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

/* 상담 리스트 */
.consultation-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-list li {
    padding: 0.8rem 1rem;
    margin: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    border-left: 4px solid #59d4ff;
}

/* 프로그램 그리드 */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.program-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.program-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #59d4ff;
}

.program-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 센터장 프로필 */
.director-profile {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
    margin: 3rem 0;
}

.profile-image {
    display: flex;
    justify-content: center;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #007bff;
}

.profile-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #007bff;
}

.credentials {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.message {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    margin: 2rem 0;
    padding: 2rem;
    background-color: #e3f2fd;
    border-radius: 12px;
    color: #1565c0;
    font-weight: 500;
}

/* 연락처 정보 */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    text-align: left;
}

.address-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #59d4ff;
}

.address-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0.8rem 0;
}

.address {
    font-weight: 600;
    color: #e8e8e8;
}

.phone {
    color: #59d4ff;
    font-weight: 600;
}

.hours {
    color: #b0b0b0;
}

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #59d4ff;
}

.map-placeholder p {
    color: #59d4ff;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 모바일 반응형 - 컴포넌트 */
@media (max-width: 768px) {
    .booking-widget {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .booking-buttons {
        width: 100%;
    }
    
    .btn-modern-ghost {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .director-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .profile-image img {
        width: 150px;
        height: 150px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .consultation-list {
        text-align: center;
    }
    
    .consultation-list li {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .highlight-box-yellow {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .highlight-box-yellow p {
        font-size: 1rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .credentials {
        padding: 1rem;
    }
    
    .message {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
}