/* =========================
   기본
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Pretendard","Noto Sans KR",sans-serif;
    color:#222;
    background:#f7f7f7;
    line-height:1.7;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

a{
    text-decoration:none;
}


/* =========================
   헤더
========================= */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:#ffffff;

    box-shadow:0 3px 15px rgba(0,0,0,.08);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

.logo img{

    height:90px;

    transition:.3s;

}

.logo img:hover{

    transform:scale(1.05);

}

nav{

    display:flex;

    align-items:center;

    gap:35px;

}

nav a{

    color:#123f7b;

    font-size:18px;

    font-weight:700;

}

.menu-kakao{

    background:#FEE500;

    color:#3C1E1E;

    padding:13px 25px;

    border-radius:40px;

    font-weight:bold;

}


/* =========================
   메인
========================= */

.hero{

    height:100vh;

    background:url("images/hero.jpg") center center/cover no-repeat;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.overlay{

    position:absolute;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.55);

}

.hero-content{

    position:relative;

    z-index:2;

    color:white;

    width:90%;

    max-width:900px;

}

.hero h2 {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    margin-bottom: 15px;
}



.hero h1{

    font-size:78px;

    font-weight:800;

    color:#ffffff;

    text-shadow:
        0 4px 10px rgba(0,0,0,.7),
        0 10px 30px rgba(0,0,0,.6);

    margin-bottom:25px;

}

.hero p{

    font-size:24px;

    line-height:1.9;

    color:#ffffff;

    text-shadow:0 2px 12px rgba(0,0,0,.8);

    margin-bottom:45px;

}

.kakao-btn{

    display:inline-block;

    background:#FEE500;

    color:#3C1E1E;

    padding:20px 45px;

    border-radius:50px;

    font-size:20px;

    font-weight:bold;

    transition:.3s;

}

.kakao-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}


/* =========================
   공통
========================= */

section{

    padding:110px 0;

}

section h2{

    font-size:42px;

    text-align:center;

    margin-bottom:60px;

    color:#123f7b;

}


/* =========================
   서비스
========================= */

.service{

    background:white;

}

.service-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.box{

    background:white;

    border-radius:20px;

    padding:45px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.3s;

}

.box:hover{

    transform:translateY(-10px);

}

.box h3{

    margin-bottom:20px;

    color:#123f7b;

    font-size:25px;

}

.box p{

    color:#666;

    font-size:17px;

}


/* =========================
   고민
========================= */

.reason{

    background:#f5f7fb;

}

.reason-list{

    max-width:800px;

    margin:auto;

}

.reason-list div{

    background:white;

    margin-bottom:20px;

    padding:28px;

    border-left:6px solid #123f7b;

    border-radius:12px;

    font-size:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.06);

}


/* =========================
   상담
========================= */

.consult{

    background:#123f7b;

    text-align:center;

    color:white;

}

.consult h2{

    color:white;

}

.consult p{

    font-size:22px;

    margin-bottom:40px;

}

.kakao-big{

    display:inline-block;

    background:#FEE500;

    color:#3C1E1E;

    padding:22px 60px;

    border-radius:50px;

    font-size:22px;

    font-weight:bold;

    transition:.3s;

}

.kakao-big:hover{

    transform:scale(1.05);

}


/* =========================
   푸터
========================= */

footer{

    background:#081c36;

    color:white;

    text-align:center;

    padding:50px 20px;

}

footer p{

    margin:8px 0;

}


/* =========================
   모바일
========================= */

@media(max-width:900px){

header .container{

    flex-direction:column;

}

.logo img{

    height:70px;

    margin-bottom:15px;

}

nav{

    gap:18px;

    flex-wrap:wrap;

    justify-content:center;

}

.hero h1{

    font-size:48px;

}

.hero h2{

    font-size:24px;

}

.hero p{

    font-size:18px;

}

.service-grid{

    grid-template-columns:1fr;

}

.reason-list div{

    font-size:17px;

}

section h2{

    font-size:32px;

}

}