:root {
    --primary-color: #002B2A; 
    --accent-color: #D4AF37;  
    --text-white: #ffffff;
    --text-dark: #111111;
    --bg-gray: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; height: 100%; overflow: hidden; }
body { width: 100%; height: 100%; font-family: 'Noto Sans KR', sans-serif; }

/* ¿µ¿ª °íÁ¤ Snap ½Ã½ºÅÛ */
#main-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

.snap-item {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* Header & Logo */
#header { position: fixed; top: 0; left: 0; width: 100%; padding: 40px 0; z-index: 1001; transition: 0.4s ease; color: var(--text-white); }
#header.scrolled { background: #fff; color: var(--text-dark); padding: 18px 0; box-shadow: 0 2px 15px rgba(0,0,0,0.08); }
.flex-header { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); transition: 0.3s; display: block; }
#header.scrolled .logo-img { filter: none; }

.desktop-nav ul { display: flex; list-style: none; }
.desktop-nav ul li { margin-left: 45px; }
.desktop-nav ul li a { text-decoration: none; color: inherit; font-size: 15px; font-weight: 700; text-transform: uppercase; }

/* Hamburger Menu */
.m-menu-btn { display: none; width: 30px; height: 20px; background: none; border: none; color: currentColor; position: relative; z-index: 1002; cursor: pointer; }
.m-menu-btn span { display: block; width: 100%; height: 2px; background: currentColor; position: absolute; transition: 0.3s; }
.m-menu-btn span:nth-child(1) { top: 0; }
.m-menu-btn span:nth-child(2) { top: 9px; }
.m-menu-btn span:nth-child(3) { bottom: 0; }
.m-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.m-menu-btn.active span:nth-child(2) { opacity: 0; }
.m-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.m-nav-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--primary-color); z-index: 1000; transition: 0.5s; display: flex; align-items: center; justify-content: center; }
.m-nav-overlay.active { right: 0; }
.m-nav-content ul li { list-style: none; margin: 25px 0; text-align: center; }
.m-nav-content ul li a { color: #fff; font-size: 28px; font-weight: 900; text-decoration: none; }

/* Sections */
.hero-screen { background: var(--primary-color); color: var(--text-white); text-align: center; }
.hero-content h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(48px, 10vw, 110px); line-height: 1.05; letter-spacing: -2px; }
.hero-content h2 span { opacity: 0.3; }
.sub-text { margin-top: 35px; font-size: clamp(18px, 2.2vw, 24px); font-weight: 300; opacity: 0.9; }

.content-section { width: 100%; padding: 80px 0; }
.dark-bg { background: var(--primary-color); color: var(--text-white); }
.philosophy-wrap { text-align: center; max-width: 900px; margin: 0 auto; }
.philosophy-title, .contact-title { font-size: clamp(26px, 4.5vw, 46px); line-height: 1.5; font-weight: 900; }
.philosophy-title { margin-bottom: 30px; }
.section-title { font-size: clamp(32px, 5vw, 56px); font-weight: 900; margin-bottom: 50px; font-family: 'Montserrat', sans-serif; }

/* Service Grid º¹±¸ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; width: 100%; }
.service-card { border-top: 1px solid rgba(0,0,0,0.1); padding-top: 40px; text-align: left; }
.dark-bg .service-card { border-top-color: rgba(255,255,255,0.1); }
.service-card .num { color: var(--primary-color); font-weight: 900; font-size: 14px; margin-bottom: 15px; display: block; }
.service-card h4 { font-size: 24px; margin-bottom: 20px; font-weight: 700; }
.service-card p { font-size: 16px; color: #666; line-height: 1.7; }

/* Work Slider */
.section-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.img-box { width: 100%; aspect-ratio: 16/10; background: #222; margin-bottom: 25px; cursor: grab; overflow: hidden;}
.work-img { width: 100%; height: 100%; object-fit: cover; /* °¡·Î¼¼·Î ºñÀ²À» À¯ÁöÇÏ¸ç ¹Ú½º¸¦ ²Ë Ã¤¿ò */ transition: transform 0.5s ease; /* È£¹ö ¾Ö´Ï¸ÞÀÌ¼Ç¿ë */}
.port-item:hover .work-img { transform: scale(1.1); /* ¸¶¿ì½º ¿Ã¸®¸é »ìÂ¦ Ä¿Áö´Â È¿°ú */}
.port-item h5 { font-size: 22px; margin-bottom: 5px; font-weight: 700; text-align: left; }
.port-item span { font-size: 15px; opacity: 0.5; display: block; text-align: left; }
.mobile-row-2 { display: none; margin-top: 30px; }

/* Contact Section & Footer */
.contact-visual-section { background: var(--primary-color); color: #fff; text-align: center; flex-grow: 1; display: flex; align-items: center; }
.contact-btn-wrap { margin-top: 80px; }
.btn-primary { display: inline-block; padding: 22px 75px; border: 1px solid rgba(255,255,255,0.3); color: #fff; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 18px; transition: 0.4s; }

#footer { background: #050808; color: rgba(255,255,255,0.5); padding: 50px 0; width: 100%; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.footer-logo { height: 32px; margin-bottom: 10px; opacity: 0.8; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; text-align: right; }
.info-grid p { font-size: 13px; margin: 0; }
.info-grid span { color: rgba(255,255,255,0.8); margin-right: 10px; font-weight: 700; }

/* Mobile */
@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .m-menu-btn { display: block; }
    .pc-only-slide { display: none; }
    .services-grid { grid-template-columns: 1fr; gap: 30px; }
    .service-card { text-align: center; padding-top: 30px; }
    .mobile-row-2 { display: block; }
    .footer-flex { flex-direction: column; text-align: center; gap: 30px; }
    .info-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-btn-wrap { margin-top: 60px; }
    .port-item h5, .port-item span { text-align: center; }
}

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); }
.mouse { width: 1px; height: 50px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.mouse::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 20px; background: #fff; animation: move 2s infinite; }
@keyframes move { 0% { top: -20px; } 100% { top: 50px; } }