/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background: #fff;
    overflow-x: hidden;
    color: #333;
}

/* 🟠 상단 바: 모든 페이지 절대 고정 틀 */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    background: rgba(255, 106, 0, 0.95) !important; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10000 !important;
}

.header-left { display: flex; align-items: center; gap: 15px; }
.logo a { 
    display: flex; 
    align-items: center; 
    color: white !important; 
    text-decoration: none !important; 
    font-weight: 900; 
    font-size: 24px; 
    letter-spacing: -1.5px; 
    text-transform: uppercase;
}
.logo-img {
    height: 42px; width: 42px;
    object-fit: contain;
    margin-right: 12px;
    mix-blend-mode: screen;
    filter: brightness(1.2);
}

.menu { display: flex; align-items: center; }
.menu a { 
    color: rgba(255, 255, 255, 0.85); 
    text-decoration: none; 
    margin-right: 30px; 
    font-weight: 700; 
    font-size: 15px; 
    letter-spacing: -0.5px;
    transition: 0.3s;
    white-space: nowrap;
}
.menu a:hover { color: white; }

.header-right { display: flex; align-items: center; gap: 10px; }
.naver-btn { background: #03c75a; color: white; padding: 10px 20px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 13px; white-space: nowrap; }
.kakao-btn { background: #fee500; color: #3c1e1e; padding: 10px 20px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 13px; margin-left: 10px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 10002; padding: 10px; }
.menu-toggle span { width: 24px; height: 3px; background: white; border-radius: 2px; }

.side-menu { position: fixed; top: 0; left: 0; width: 300px; height: 100vh; background: #fff; z-index: 10010; padding: 100px 30px; transform: translateX(-100%); transition: 0.4s; box-shadow: 20px 0 50px rgba(0,0,0,0.1); }
.side-menu.active { transform: translateX(0); }
.side-menu a { display: block; font-size: 18px; font-weight: 700; color: #111; text-decoration: none; padding: 20px 0; border-bottom: 1px solid #f5f5f5; }
.side-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 10005; display: none; backdrop-filter: blur(5px); }
.side-menu-overlay.active { display: block; }

/* 🔥 Hero 섹션 (DJI 스타일 완벽 고정) */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* 화면 꽉 채움 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.video-background video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; color: white; }
.hero-content h1 { font-size: clamp(60px, 15vw, 120px); font-weight: 900; line-height: 0.9; margin-bottom: 20px; letter-spacing: -4px; text-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.hero-content p { font-size: clamp(16px, 3vw, 24px); font-weight: 500; opacity: 0.9; }

/* 🔥 마우스 지시계 */
.scroll-indicator { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 4; opacity: 0; transition: opacity 1s ease; }
.scroll-indicator.visible { opacity: 1; }
.scroll-indicator.fade-out { opacity: 0; pointer-events: none; }
.mouse { width: 48px; height: 80px; border: 4px solid white; border-radius: 24px; position: relative; }
.mouse::before { content: ''; width: 8px; height: 16px; background: white; position: absolute; left: 50%; top: 12px; transform: translateX(-50%); border-radius: 4px; animation: scroll 2s infinite; }
@keyframes scroll { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 35px); } }

/* 🔥 인원 선택 (+, -) 버튼 디자인 */
.counter { display: flex; align-items: center; gap: 18px; }
.count-btn { 
    width: 36px; height: 36px; border-radius: 50%; 
    border: 1.5px solid #eee; background: white; 
    color: #333; font-size: 20px; font-weight: 400;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s;
}
.count-btn:hover { border-color: #ff6a00; color: #ff6a00; background: #fff9f5; }
.count-btn:active { transform: scale(0.9); }

/* 🔥 상품 섹션 */
.best-title { background: #fff; color: #ff6a00; padding: 120px 40px 40px; text-align: center; font-size: 40px; font-weight: 900; }
.products { background: #fff; padding: 0 60px 150px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.product { border-radius: 24px; overflow: hidden; background: #fff; transition: 0.6s; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #f5f5f5; }
.product h3 { padding: 30px 20px; text-align: center; font-size: 20px; font-weight: 800; color: #111; }
.img-container { width: 100%; height: 450px; overflow: hidden; }
.img-container img { width: 100%; height: 100%; object-fit: cover; }

/* 🟠 푸터 */
.footer { background: #ff6a00; color: #fff; padding: 80px 60px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.footer-left b.important { font-size: 21px; display: inline-block; margin-bottom: 8px; }
.footer-right { display: flex; flex-direction: column; gap: 15px; min-width: 300px; }
.kakao-banner, .naver-banner { padding: 20px 25px; border-radius: 16px; text-decoration: none; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: 0.3s; }
.kakao-banner { background: #fee500; color: #3c1e1e; }
.naver-banner { background: #03c75a; color: white; }

@media (max-width: 768px) {
    .top-bar { height: 70px; padding: 0 15px; }
    .logo a { font-size: 18px; letter-spacing: -0.8px; }
    .logo-img { height: 34px; width: 34px; }
    .menu { display: none; }
    .menu-toggle { display: flex; }
    .header-right { gap: 6px; }
    .naver-btn, .kakao-btn { padding: 8px 12px; font-size: 6px; border-radius: 20px; }
    .hero-content h1 { font-size: 55px; }
    .products { grid-template-columns: 1fr; gap: 20px; padding: 0 20px 80px; }
    .img-container { height: 320px; }
    .footer { flex-direction: column; align-items: flex-start; padding: 60px 25px; }
    .footer-right { width: 100%; min-width: auto; }
}
