@charset "utf-8";

/* =========================================
   1. 히어로 섹션 (슬라이더 영역 - PC 기본)
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px); /* 상단 헤더 높이 제외 */
    margin-top: 90px; /* 헤더 겹침 방지 */
    min-height: 600px;
    background-color: #000;
    overflow: hidden;
}

.hero-swiper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: top center; /* 윗부분 짤림 방지 */
    background-repeat: no-repeat;
    width: 100%; height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 2;
    pointer-events: none; /* 마우스/터치 이벤트를 통과시켜 드래그 가능하게 함 */
}

/* 슬라이더 페이징 (점) */
.hero-swiper .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
    width: 12px; height: 12px;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold) !important;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
    transition: all 0.3s;
}

/* 재생/일시정지 버튼 스타일 */
.swiper-autoplay-control {
    position: absolute;
    bottom: 30px; 
    right: 50px;  
    z-index: 10;
}

#autoplay-btn {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

#autoplay-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--gold);
    color: var(--gold);
}


/* =========================================
   2. 메인 전용 섹션 스타일 (브랜드 철학 등)
   ========================================= */
section { padding: 100px 0; }

.philosophy { background-color: #fff; }
.philosophy-grid { display: flex; gap: 60px; align-items: center; }
.philosophy-img {
    flex: 1;
    height: 450px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}
.philosophy-text { flex: 1; }
.philosophy-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--dark); }
.philosophy-text p { font-size: 1.1rem; color: #666; line-height: 1.8; }

#store { background-color: var(--light-gray); }


/* =========================================
   📱 3. 모바일 화면 반응형 (가로폭 768px 이하)
   ========================================= */
@media (max-width: 768px) {
    
    /* [1] 히어로 배너 모바일 최적화 */
    .hero {
        margin-top: 120px !important; /* 모바일 헤더가 덮지 않도록 여백 추가 */
        height: 45vw !important; 
        min-height: 180px !important; 
    }
    .hero .swiper-slide {
        background-size: 100% auto !important; 
        background-position: top center !important;
        background-repeat: no-repeat !important;
        background-color: transparent !important; 
    }
    
    /* [2] 배너 재생 버튼 모바일 최적화 */
    .swiper-autoplay-control {
        bottom: 15px;
        right: 20px;
    }
    #autoplay-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* [3] 메인 섹션 모바일 최적화 */
    section { padding: 60px 0; }
    
    .philosophy-grid { flex-direction: column; gap: 30px; }
    .philosophy-img { width: 100%; height: 300px; }
}