
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    --primary: #061D38; /* Luxury Navy */
    --gold: #D4AF37; /* Premium Gold */
    --text-dark: #1A1A1A;
    --text-light: #666;
    --bg-white: #FFFFFF;
    --red-alert: #9E1B22;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Noto Sans KR', sans-serif; word-break: keep-all; }
body { color: var(--text-dark); background: var(--bg-white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* HEADER - Glassmorphism */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: 90px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; transition: all 0.4s ease;
}
header.scrolled { height: 70px; background: rgba(255,255,255,0.98); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }

.logo img { height: 45px; transition: 0.3s; filter: brightness(0) invert(0) sepia(1) saturate(10000%) hue-rotate(200deg) contrast(1.2); }
header.scrolled .logo img { height: 35px; }

.pc-nav ul { display: flex; gap: 40px; }
.pc-nav a { font-size: 17px; font-weight: 700; color: var(--primary); position: relative; padding: 10px 0; transition: 0.3s; }
.pc-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: 0.3s; }
.pc-nav a:hover::after, .pc-nav a.active::after { width: 100%; }
.pc-nav a:hover { color: var(--gold); }

.header-tel { font-size: 22px; font-weight: 900; color: var(--primary); }
.header-tel i { color: var(--gold); }

.hamburger { display: none; font-size: 28px; color: var(--primary); background: none; border: none; cursor: pointer; }
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--primary); z-index: 2000; padding: 80px 30px;
    transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0); box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
.mobile-menu.active { right: 0; }
.mobile-menu .close-btn { position: absolute; top: 25px; right: 25px; font-size: 30px; color: #fff; background: none; border: none; cursor: pointer; }
.mobile-menu a { color: #fff; font-size: 20px; font-weight: 500; display: block; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1999; display: none; }
.mobile-overlay.active { display: block; }

/* HERO */
.hero { position: relative; min-height: 100vh; width: 100%; display: flex; align-items: center; background: #000; overflow: hidden; padding: 120px 0; }
.vid-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: hidden; }
.vid-bg iframe { width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.77vh; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-content { position: relative; z-index: 10; padding-left: 5%; color: #fff; width: 100%; }
.hero-badge { display: inline-block; background: var(--gold); color: #fff; padding: 8px 20px; font-weight: 700; border-radius: 30px; margin-bottom: 20px; letter-spacing: 2px;}
.hero-title { font-size: 60px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero-title span { color: var(--gold); }
.hero-desc { font-size: 22px; font-weight: 300; opacity: 0.9; margin-bottom: 40px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-btn { 
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff; padding: 18px 40px; font-size: 18px; font-weight: 700;
    border-radius: 5px; transition: 0.3s; border: 1px solid var(--primary);
}
.hero-btn:hover { background: transparent; border-color: var(--gold); color: var(--gold); }


/* MAIN SECTIONS */
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; color: #fff; text-align: center; font-size: 12px; letter-spacing: 2px; }
.mouse { width: 30px; height: 50px; border: 2px solid rgba(255,255,255,0.7); border-radius: 20px; margin: 10px auto 0; position: relative; }
.mouse::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 4px; animation: scrollAnim 1.5s infinite; }
@keyframes scrollAnim { 0% { top: 10px; opacity: 1; } 100% { top: 30px; opacity: 0; } }

.main-sec2 { padding: 150px 5%; text-align: center; background: #fff; }
.sec2-text p { font-size: 30px; font-weight: 300; margin-bottom: 10px; }
.sec2-text .gold-txt { color: var(--gold); font-weight: 700; }
.sec2-text h2 { font-size: 50px; font-weight: 900; margin-top: 30px; margin-bottom: 60px; font-family: 'Playfair Display', serif; }
.sec2-text .navy-txt { color: var(--primary); }
.sec2-images { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.sec2-images .img-wrap { max-width: 400px; border-radius: 15px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.sec2-images img { width: 100%; transition: 0.5s; }
.sec2-images .img-wrap:hover img { transform: scale(1.05); }

.main-sec3 { position: relative; padding: 150px 5%; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.sec3-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('https://gjws-jinarehii.co.kr/images/sec4-bg1.jpg'); background-size: cover; background-position: center; background-attachment: fixed; filter: brightness(0.4); z-index: 1; }
.sec3-content { position: relative; z-index: 2; }
.sec3-content h3 { font-size: 20px; color: var(--gold); letter-spacing: 2px; margin-bottom: 20px; }
.sec3-content h2 { font-size: 45px; font-weight: 300; line-height: 1.4; margin-bottom: 30px; }
.sec3-content h2 span { font-weight: 700; color: var(--gold); }
.sec3-content p { font-size: 18px; opacity: 0.8; line-height: 1.8; }

.main-sec4 { padding: 120px 0; background: #f9f9f9; text-align: center; }
.sec4-header { margin-bottom: 60px; }
.sec4-header h3 { font-size: 18px; color: var(--primary); letter-spacing: 2px; margin-bottom: 15px; font-weight: 800; }
.sec4-header h2 { font-size: 45px; font-weight: 900; line-height: 1.3; }
.sec4-header .gold-txt { color: var(--gold); }
.sec4-header .navy-txt { color: var(--primary); }

/* SUBPAGE */
.sub-header { height: 400px; background: url('images/조감도.jpg') center/cover; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; margin-top: 90px; }
.sub-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(6, 29, 56, 0.7); }
.sub-header-content { position: relative; z-index: 10; }
.sub-header h1 { font-size: 50px; font-weight: 900; margin-bottom: 10px; }
.sub-content { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 40px; font-weight: 900; color: var(--primary); margin-bottom: 15px; font-family: 'Playfair Display', serif;}
.img-box { border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.08); margin-bottom: 40px; }
.img-box img { width: 100%; transition: transform 0.5s; }
.img-box:hover img { transform: scale(1.02); }

/* OVERVIEW TABLE */
.overview-table-wrap { margin-top: 50px; background: #fff; border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.05); padding: 40px; border-top: 5px solid var(--gold); }
.overview-table { width: 100%; border-collapse: collapse; text-align: left; }
.overview-table th, .overview-table td { padding: 20px; border-bottom: 1px solid #eee; font-size: 17px; }
.overview-table th { width: 25%; color: var(--primary); font-weight: 900; background: rgba(6, 29, 56, 0.03); }
.overview-table td { font-weight: 400; color: #444; }
.overview-table tr:last-child th, .overview-table tr:last-child td { border-bottom: none; }
@media (max-width: 768px) {
    .overview-table th, .overview-table td { display: block; width: 100%; padding: 15px; }
    .overview-table th { background: transparent; padding-bottom: 5px; font-size: 16px; }
    .overview-table td { padding-top: 0; font-size: 16px; border-bottom: 1px dashed #ddd; margin-bottom: 10px; }
}

/* PREMIUM GRID */
.premium-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.premium-card { background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border-bottom: 4px solid transparent; }
.premium-card:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.premium-card .num { font-size: 40px; font-weight: 900; color: rgba(212, 175, 55, 0.2); margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.premium-card h3 { font-size: 22px; color: var(--primary); margin-bottom: 15px; }

/* TECH RULES */
.pc-floating-btns { position: fixed; right: 30px; bottom: 30px; z-index: 990; display: flex; flex-direction: column; gap: 15px; }
.pill-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px; border-radius: 50px; font-weight: 800; font-size: 18px; color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: 0.3s; cursor: pointer; animation: pulse 2s infinite;
}
.pill-btn.tel { background: var(--primary); animation-delay: 0s; }
.pill-btn.res { background: var(--gold); animation-delay: 1s; }
.pill-btn:hover { transform: scale(1.05); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }

.mobile-sticky { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); }
.mobile-sticky a { display: flex; align-items: center; justify-content: center; height: 60px; font-size: 18px; font-weight: 800; color: #fff; width: 50%; float: left; }
.mobile-sticky .tel { background: var(--primary); }
.mobile-sticky .res { background: var(--gold); }

.luxury-popup {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 3000; display: none; align-items: center; justify-content: center;
}
.luxury-popup.show { display: flex; }
.luxury-popup .overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); }
.luxury-popup .content {
    position: relative; z-index: 3001; animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center; max-width: 90%; width: 800px;
}
@keyframes popIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.luxury-popup .popup-images { display: flex; gap: 10px; justify-content: center; }
.luxury-popup .popup-images img { width: 100%; max-width: 400px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
@media (max-width: 768px) {
    .luxury-popup .content { max-width: 95%; padding: 20px 10px; }
    .luxury-popup .popup-images {
        flex-direction: row; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
        padding-bottom: 10px; justify-content: flex-start; scroll-behavior: smooth;
        -ms-overflow-style: none; scrollbar-width: none;
    }
    .luxury-popup .popup-images::-webkit-scrollbar { display: none; }
    .luxury-popup .popup-images > * {
        flex: 0 0 92%; scroll-snap-align: center; max-width: 100%; margin: 0 4%;
    }
    .luxury-popup .popup-bottom { flex-direction: column; align-items: center; }
    .luxury-popup .popup-bottom::before {
        content: '← 옆으로 밀어서 다음 내용 확인 →'; display: block; margin-bottom: 15px; font-size: 15px; font-weight: 800; color: #E8D08D; animation: blink 1.5s infinite;
    }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.luxury-popup .close-btn { position: absolute; top: -40px; right: 0; color: #fff; font-size: 18px; font-weight: 600; background: none; border: none; cursor: pointer; display:flex; align-items:center; gap:5px; }
.luxury-popup .popup-bottom { display: flex; justify-content: center; margin-top: 15px; color: #fff; font-size: 15px; }

.fomo-ticker {
    position: fixed; bottom: 30px; left: 30px; background: rgba(6, 29, 56, 0.95);
    color: #fff; padding: 12px 25px; border-radius: 50px; font-size: 15px; font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 900; border-left: 4px solid var(--gold);
    display: flex; align-items: center; gap: 10px; transform: translateY(100px); opacity: 0; transition: all 0.5s ease;
}
.fomo-ticker.show { transform: translateY(0); opacity: 1; }
.fomo-ticker i { color: var(--gold); font-size: 20px; }

.form-container { background: #fff; padding: 50px; border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-top: 5px solid var(--red-alert); max-width: 800px; margin: 0 auto; }
.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { display: block; font-weight: 700; margin-bottom: 10px; color: var(--primary); font-size: 16px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; font-family: 'Noto Sans KR'; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); }
.submit-btn { width: 100%; background: var(--primary); color: #fff; border: none; padding: 20px; font-size: 20px; font-weight: 800; border-radius: 8px; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.submit-btn:hover { background: var(--gold); }
.checkbox-group { display: flex; align-items: center; gap: 10px; margin-top: 20px; }

footer { background: var(--primary); color: #fff; padding: 60px 5%; text-align: left; padding-bottom: 120px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-logo img { height: 50px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-info p { margin-bottom: 10px; opacity: 0.7; font-size: 14px; }

@media (max-width: 1024px) {
    .pc-nav, .header-tel { display: none; }
    .hamburger { display: block; }
    .pc-floating-btns { display: none; }
    .mobile-sticky { display: block; }
    .hero-title { font-size: 40px; }
    .hero-desc { font-size: 18px; }
    .fomo-ticker { bottom: 80px; left: 5%; width: 90%; justify-content: center; }
}
