/* 1. pagePiling 애니메이션 설정 (부드러운 2초) */
    #pagepiling .pp-easing {
        -webkit-transition: -webkit-transform 2000ms cubic-bezier(0.550, 0.085, 0.000, 0.990) !important;
        -moz-transition: -moz-transform 2000ms cubic-bezier(0.550, 0.085, 0.000, 0.990) !important;
        -o-transition: -o-transform 2000ms cubic-bezier(0.550, 0.085, 0.000, 0.990) !important;
        transition: transform 2000ms cubic-bezier(0.550, 0.085, 0.000, 0.990) !important;
        
        -webkit-transition-timing-function: cubic-bezier(0.550, 0.085, 0.000, 0.990) !important;
        transition-timing-function: cubic-bezier(0.550, 0.085, 0.000, 0.990) !important;
    }

    /* 2. 섹션 공통 설정 */
    .section {
        background-position: center;
        background-size: cover;
        overflow: hidden; 
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
        background-clip: border-box !important;
        will-change: transform;
    }

    /* 3. 섹션 내부 여백 */
    .section-inner {
        padding-top: 100px;
        height: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* 4. 기본 설정 */
    html, body {
        margin: 0;
        padding: 0;
        height: 100%;
        overflow: hidden;
        background-color: #FFF0E6;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    
    /* 5. 배너 섹션 및 슬라이드 설정 */
    #section-hero .section-inner { padding-top: 0 !important; }
    #mainCarousel, #mainCarousel .carousel-inner, #mainCarousel .carousel-item { height: 100vh !important; }
    #mainCarousel .carousel-item img { height: 100vh !important; object-fit: cover !important; }

    /* ========================================================= */
    /* 🔥 [수정완료] 스크롤 시(.scrolled) 색상 강제 변경 🔥 */
    /* ========================================================= */
    
    /* 1) 로고 이미지 교체 (점이 2개인 오타 수정: body..home -> body.home) */
    body.home .site-header.scrolled .bbp-logo img,
    body.home .site-header.scrolled .navbar-brand img {
        content: url('/include/image/transparent_logo.png') !important; 
        filter: none !important;
        opacity: 1 !important;
        width: auto; 
    }

    /* 2) 상단 아이콘 (집, 장바구니 등) 검정색 강제 */
    body.home .site-header.scrolled .bi,
    body.home .site-header.scrolled .icon-link,
    body.home .site-header.scrolled i {
        color: #111 !important; /* 진한 검정 */
        fill: #111 !important;
    }

    /* 3) 상단 텍스트 링크 (로그인, 회원가입 등) 검정색 강제 */
    body.home .site-header.scrolled a, 
    body.home .site-header.scrolled span,
    body.home .site-header.scrolled .nav-link {
        color: #111 !important;
    }
    
    /* 4) 헤더 배경색 흰색 고정 */
    body.home .site-header.scrolled {
        background-color: #ffffff !important;
        border-bottom: 1px solid #e5e7eb !important; /* 구분선 추가 */
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important; /* 그림자 추가 */
    }
    
    /* 5) 부드러운 전환 효과 */
    body.home .site-header, 
    body.home .site-header .bi, 
    body.home .site-header a,
    body.home .site-header img {
        transition: all 0.3s ease;
    }

  /* nav.navbar를 포함시켜서 기존 CSS보다 점수를 높임 + html body까지 붙여서 최강으로 만듦 */
    html body.home .site-header.scrolled nav.navbar .navbar-brand img,
    html body.home .site-header.scrolled .bbp-logo img {
    /* 1. 검정 로고로 교체 */
    content: url('/include/image/transparent_logo.png') !important;
    
    /* 2. 기존 속성 초기화 */
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    
    /* 3. 크기 및 스타일 강제 */
    height: 40px !important;
    max-height: 60px !important;
    width: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.section.scrollable-section .section-inner {
    overflow-y: auto !important;
    height: 100% !important;
    
    /* ✅ 플렉스 구조를 유지하도록 변경 */
    display: flex !important; 
    flex-direction: column !important;
    justify-content: flex-start !important;

    -ms-overflow-style: none;
    scrollbar-width: none;
}



/* ========================================= */
    /* 🔥 [추가] 오른쪽 네비게이션 툴팁 검정색 변경 🔥 */
    /* ========================================= */
    
    /* 1. 툴팁 글자 색상 (검정색) */
    #pp-nav .pp-tooltip {
        color: #000000 !important; /* 검정색 */
        font-weight: 600; /* 잘 보이게 약간 굵게 */
        background-color: rgba(255, 255, 255, 0.8); /* 배경을 살짝 흰색으로 깔아서 가독성 확보 (선택사항) */
        padding: 4px 8px;
        border-radius: 4px;
    }

    /* 2. 동그라미(Bullet) 점 색상도 검정으로 바꾸고 싶다면 */
    #pp-nav span, 
    .pp-slidesNav span {
        border-color: #000000 !important; /* 테두리 검정 */
    }
    
    #pp-nav li .active span, 
    .pp-slidesNav .active span {
        background-color: #000000 !important; /* 활성화된 점 채우기 검정 */
    }


    /* =========================== */
/* 🔥 Footer 자연스럽게 보이기 */
/* =========================== */
#section-footer {
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
    padding-top: 120px;
    padding-bottom: 80px;
}

#section-footer .section-inner {
    height: auto !important;
    overflow: visible !important;
    display: block !important;
}