/* 가족간병 소개 페이지 스타일 - 이미지 기반 */
.family-intro-page {
    background: #fff;
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', Arial, sans-serif;
    color: #333;
}

/* 상단 배너 섹션 */
.hero-banner {
    display: flex;
    max-width: 1440px;
    margin: 50px auto 0;
    padding: 40px 20px;
    gap: 40px;
    align-items: center;
    aspect-ratio: 3/1;
    height: auto;
}

/* 왼쪽 섹션 */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
	width:32%;
    height: 100%;
    justify-content: center;
}

.hero-left img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2.5rem;
    color: #ff6b35;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6b35;
    line-height: 1;
}

.sub-text {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.family-illustration {
    width: 200px;
    height: 200px;
}

.family-illustration svg {
    width: 100%;
    height: 100%;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 20px 0;
    line-height: 1.4;
}

.decorative-elements {
    position: relative;
    height: 60px;
}

.cloud {
    position: absolute;
    width: 30px;
    height: 20px;
    background: #ddd;
    border-radius: 15px;
    opacity: 0.6;
}

.cloud-1 {
    bottom: 10px;
    left: 20px;
}

.cloud-2 {
    bottom: 30px;
    left: 50px;
}

.flower {
    position: absolute;
    bottom: 20px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    opacity: 0.8;
}

.flower::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #ff6b35;
    border-radius: 50%;
}

.nav-arrows {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.arrow-left, .arrow-right {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 1rem;
}
/* 오른쪽 슬라이드 섹션 */
.hero-right {
    flex: 1;
    position: relative;
    height: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50px 0 50px 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: grab;
}

.slider-container:active {
    cursor: grabbing;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    color: white;
}

.slide-number {
    font-size: 3rem;
	text-align:center;
    font-weight: bold;
    color: #ff6b35;
}

.slide-text {
    padding: 15px;
    border-radius: 10px;
}

.sub_text{
	font-size:15px;
	margin-top:20px;
	color:#666;
}
.slide-text p {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 500;
	text-align:center;
}

/* 중간 서비스 특징 섹션 */
.service-features {
    max-width: 1440px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.main-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0px;
    font-weight: bold;
}

.main-title b{
	color: #ff7f2a;
}

.summary-box {

    color: #333;
    padding: 30px;
    border-radius: 15px;
    position: relative;
}
.summary-box img{
	width:60px;
}
.arrow-icon {
    font-size: 2rem;
    margin-bottom: 15px;
	border:3px solid #ff7f2a;
	width:60px;
	color:#ff7f2a;
	height:60px;
	margin:0 auto 50px;
	border-radius:50%;
}

.summary-box p {
    font-size: 1.3rem;
	color:#333;
	margin:30px auto 0;
    font-weight: 500;
	width:fit-content;
	border:2px solid #ff7f2a;
	border-radius:30px;
	padding:10px 20px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.house-cards{
	grid-template-columns: repeat(auto-fit, minmax(31%, 1fr));
}
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card img{
	width:25%;
}

.nurs-card img{
	width:40%;
}

.nurs-card p{
	font-size:1.1rem;
}
.feature-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.card-divider {
    width: 50px;
    height: 3px;
    background: #ff6b35;
    margin: 30px auto;
}

/* 하단 주의사항 섹션 */
.precautions {
    max-width: 1440px;
    margin: 60px auto;
    padding: 0 20px;
}

.precautions-title {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}
@media (max-width: 768px) {
.precautions-title {
		font-size: 1.5rem;
	}
}
	
.feature-card h3{
	font-size:1.0rem;
}
.precautions-content {
    position: relative;
}

.precautions-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}

.precautions-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.precautions-content p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.2rem;
}

.divider {
    height: 1px;
    background: #ddd;
    margin: 20px 0;
    opacity: 0.6;
}

/* 하단 버튼 */
.cta-section {
    text-align: center;
    margin: 20px 0 60px;
    padding: 0 20px;
}

.cta-button {
    background: #ff7f2a;
    color: white;
    border: none;
    padding: 10px 30px;
    font-size: 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
}


/* 반응형 디자인 */
@media (max-width: 1200px) {
    .hero-banner {
        aspect-ratio: 3/1;
        padding: 30px 15px;
    }
}

@media (max-width: 992px) {
    .hero-banner {
        aspect-ratio: 3/1;
        padding: 25px 15px;
    }
    
    .slide-number {
        font-size: 2.5rem;
    }
    
    .slide-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        flex-direction: column;
        padding: 20px 10px;
        gap: 30px;
        aspect-ratio: 3/2;
        min-height: auto;
    }
    .summary-box p{
		font-size:1.0rem;
	}
    .hero-left {
		height:auto;
        width:100%;
		text-align:center;
    }
    .hero-left img{
        width:80%;
		margin:0 auto;
    }
    .hero-right {
        width:100%;
        pointer-events: none;
    }
    
    .hero-right .slider-container {
        pointer-events: none;
    }
    
    .hero-right .slider-wrapper {
        pointer-events: none;
    }
    
    .hero-right .slide {
        pointer-events: none;
    }
    
    .slider-container {
        min-height: 300px;
    }
    
    .slide-number {
        font-size: 2rem;
    }
    
    .slide-text p {
        font-size: 1.2rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .precautions-content {
        padding: 15px;
    }
    
    .nav-arrows {
        gap: 15px;
		display:none;
    }
    
    .arrow-left, .arrow-right {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        aspect-ratio: 2/3;
        padding: 15px 10px;
    }
    
    .slider-container {
        height: 50vh;
        min-height: 250px;
    }
    
    .slide-overlay {
        padding: 15px;
    }
    
    .slide-number {
        font-size: 1.5rem;
    }
    
    .slide-text p {
        font-size: 0.8rem;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .summary-box p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .main-text {
        font-size: 1.5rem;
    }
}



/* 중요 안내사항 섹션 스타일 */
.important-notice {
    max-width: 1440px;
    margin: 60px auto;
    padding: 0 20px;
}

.notice-container {
    background: #FFF8F2;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #FFE4D6;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.warning-icon {
    font-size: 24px;
    color: #FFA500;
    font-weight: bold;
}

.notice-header h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.notice-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notice-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .important-notice {
        margin: 40px auto;
        padding: 0 15px;
    }
    
    .notice-container {
        padding: 30px 20px;
    }
    .notice-header{
		margin-bottom:0;
	}
    .notice-header h3 {
        font-size: 1.2rem;
    }
    
    .notice-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .important-notice {
        margin: 30px auto;
        padding: 0 10px;
    }
    
    .notice-container {
        padding: 25px 15px;
    }
    
    .notice-header h3 {
        font-size: 1.1rem;
    }
    
    .notice-content p {
        font-size: 0.9rem;
    }
}