
:root {
    --thebig-blue: #32b1e4;
    --edaan-red: #b32d2e;
    --bg-gray: #f8fafc;
    --safe-padding: 24px;
}

/* 기본 리셋 및 스무스 스크롤 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: 'Pretendard', sans-serif; color: #333; background: #fff; line-height: 1.6; overflow-x: hidden; }

/* 모바일 브라우저의 강제 다크모드(웹페이지 다크 모드) 영향을 최대한 차단 */
html, body { color-scheme: light; }
@media (prefers-color-scheme: dark) {
    body { background: #fff; color: #333; }
    header { background: rgba(255,255,255,0.9); }
    .business-section { background: #fff; }
}

/* [상단 헤더] */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 var(--safe-padding);
    height: 70px; position: sticky; top: 0; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo-brand { cursor: pointer; display: flex; align-items: center; }
.logo-brand img { height: 40px; width: auto; }

.nav-desktop { display: none; list-style: none; }
.nav-desktop li { margin-left: 30px; }
.nav-desktop a { text-decoration: none; color: #333; font-weight: 700; font-size: 0.95rem; }

.menu-btn { font-size: 28px; cursor: pointer; border: none; background: none; }

/* [사이드 메뉴] */
.mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; z-index: 1001; }
.mobile-nav { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; background: #fff; z-index: 1002; transition: 0.3s ease; padding: 40px var(--safe-padding); }
.mobile-nav.active { right: 0; }
.mobile-nav ul { list-style: none; margin-top: 40px; }
.mobile-nav ul li { margin-bottom: 25px; }
.mobile-nav ul li a { text-decoration: none; font-size: 1.1rem; font-weight: 700; color: #333; }

/* [Hero 섹션: 비주얼 전략 반영] */
.hero { 
    position: relative;
    color: #fff; text-align: center;
    background: #000;
    overflow: hidden;
}
.hero-image {
    display: block;
    width: 100%;
    height: auto;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}
.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--safe-padding);
    z-index: 1;
}
.hero .badge { 
    display: inline-block; padding: 5px 15px; background: var(--edaan-red); 
    color: #fff; font-size: 11px; border-radius: 50px; margin-bottom: 20px; 
    font-weight: 700; letter-spacing: 1px;
}
.hero h1 { 
    font-size: 2rem; font-weight: 800; line-height: 1.3; word-break: keep-all;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.hero p { 
    font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-top: 25px; 
    word-break: keep-all; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* [브랜드 스토리] */
.brand-story { padding: 80px var(--safe-padding); }
.story-content { max-width: 800px; margin: 0 auto; }
.story-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 25px; }
.story-text { color: #555; font-size: 0.95rem; margin-bottom: 40px; }
.stat-highlight { background: var(--bg-gray); padding: 30px; border-radius: 20px; display: flex; flex-direction: column; gap: 20px; }
.stat-item b { font-size: 1.4rem; color: var(--thebig-blue); display: block; }

/* [사업분야] */
.business-section { padding: 80px var(--safe-padding); background: #fff; }
.business-grid { display: grid; grid-template-columns: 1fr; gap: 25px; max-width: 1100px; margin: 0 auto; }
.biz-card { padding: 40px; border-radius: 24px; background: var(--bg-gray); border: 1px solid transparent; }
.biz-card h3 { font-size: 1.4rem; margin-bottom: 15px; }

/* biz-card 상단 아이콘 크기 조정 */
.biz-icon { 
    font-size: 2.6rem; 
    line-height: 1; 
    margin-bottom: 18px; 
}

/* [푸터] */
footer { background-color: #1a1a1a; color: #aeaeae; padding: 60px var(--safe-padding) 30px; }
.footer-logo img { height: 55px; filter: brightness(0) invert(1); margin-bottom: 25px; cursor: pointer; }
.footer-bottom { margin-top: 40px; padding-top: 25px; border-top: 1px solid #2a2a2a; font-size: 0.75rem; }

/* [반응형] */
@media (min-width: 768px) {
    header { padding: 0 10%; }
    .nav-desktop { display: flex; }
    .menu-btn { display: none; }
    .hero-content { padding: 0 10%; }
    .hero h1 { font-size: 3.8rem; }
    .hero p { font-size: 1.4rem; }
    .brand-story, .business-section { padding: 120px 10%; }
    .business-grid { grid-template-columns: repeat(3, 1fr); }
    footer { padding: 80px 10% 40px; }
    .footer-bottom { display: flex; justify-content: space-between; text-align: left; }
}
