@charset "UTF-8";

:root {
    /* Colors */
    --color-primary: #F3CB00;
    --color-yellow: #FFD700;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-gray: #666666;
    --color-gray-dark: #333333;   

    /* Container widths */
    --width-gnb: 1760px;
    --width-content: 1520px;
}

.mo {display: none !important;}

body {
    color: var(--color-gray-dark);
    font-family: 'Inter', "Pretendard Variable", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
.wrapper {
    padding-top:170px;
}
.container {
    max-width: var(--width-content);
    margin: 0 auto;
    padding: 0 40px;
}

/* ====================================
   GNB (Global Navigation Bar)
   ==================================== */
.gnb {
    width: 100%;
    height: 170px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
    position: fixed;
    top: 0;
    z-index: 1000;
}

.gnb-container {  
    position:relative;  
    max-width: var(--width-gnb);
    margin: 0 auto;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gnb-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.logo {
    padding-top:5px;
}

.logo a {
    font-family: 'Poppins';
    font-size: 36px;
    font-weight: 700;
    line-height:30px;
    color: var(--color-black);
    text-decoration: none;
    display: block;
}

.logo-subtitle {
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.4;
    margin-top:27px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    line-height: 0;
}
.nav-menu {
    display: flex;
    gap: 24px;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: auto;
}

.nav-menu a {    
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray-dark);
    text-decoration: none;
    padding:16px 0;
    border-bottom:2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
    border-bottom:2px solid var(--color-primary);
}

.nav-menu a.menu-apply {
    display: none;
}
.btn-login {        
    width:24px; 
    min-width:24px;
    height:24px;
    background: url('../images/common/icon_login.svg') no-repeat center / contain;
    font-size: 0;
}
.btn-login.logout {  
    transform: scale(-1);
}

.btn-inquiry {
    position:absolute;
    right:40px; 
    bottom:27px;
    background: var(--color-yellow);
    color: var(--color-black);
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
}

.btn-inquiry:hover {
    background: #FFC700;
    transform: translateY(-2px);
}


/* ====================================
   Footer
   ==================================== */
.footer {
    max-width: 1760px;
    background: var(--color-white);
    margin:0 auto;
    padding: 80px 40px 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;   
    margin: 0 auto 60px;
}

.footer-logo h3 {
    font-family: 'Poppins';
    font-size: 32px;
    font-weight: 600;
    color: var(--color-black);
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--color-black);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    border-color: var(--color-black);
    color: var(--color-black);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #D4D2E3;
}

.footer-bottom p {
    color:#000;
    font-size: 18px;
    font-weight: 400;
}

/* ====================================
   Scroll to Top Button
   ==================================== */
.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    font-size:0;
    background: url('../images/common/btn_top.png') center / 100% auto no-repeat;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
}

.title-area {
    text-align: center;
    padding:24px 0 60px;
}

.title-area .sub-title {
    color:#000;
    font-size:64px;
    font-weight: 600;
    line-height:100%;
}
.title-area .sub-desc {
    color:#000;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    margin-top: 16px;
}


/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top:80px;
}

.pagination .page-first,
.pagination .page-prev,
.pagination .page-next,
.pagination .page-last {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px; 
}

.pagination .page-first span,
.pagination .page-prev span,
.pagination .page-next span,
.pagination .page-last span {
  display: block;
  width:28px;
  height:28px;
  border-radius: 50%;
  transition: all 0.2s ease;
  background-color: #F5F5F5;
  background-repeat: no-repeat;
  background-position: center;
}

.pagination .page-first span {
  background-image: url("../images/common/pagenate_first.svg");
}

.pagination .page-prev span {
  background-image: url("../images/common/pagenate_prev.svg");
}

.pagination .page-next span {
  background-image: url("../images/common/pagenate_next.svg");
}

.pagination .page-last span {
    background-image: url("../images/common/pagenate_last.svg");
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination .page-numbers a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  transition: all 0.2s ease;
  color: #999;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 100%;
}

.pagination .page-numbers a:hover {
  color: #000;
}

.pagination .page-numbers a.active {
  color: #F3CB00;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}


.layer-popup {
    z-index:1001;
    position:fixed;
    left:0;
    top:0;
    display: none;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);      
}

.layer-popup .popup {
    overflow:hidden;
    position:absolute;
    left:50%;
    top:50%;
    width: max-content;
    max-width:calc(100% - 70px);
    padding:80px 120px;
    border-radius: 24px;
    background-color: #FFFFFF;
    transform: translate(-50%, -50%);
}

.layer-popup .popup-title {
    color:#000;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    line-height: 128%;
    letter-spacing: -0.28px;
}
.layer-popup .btn-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap:16px;
    margin-top:40px;
}

.layer-popup .btn-area button {
    display: flex;
    align-items: center;
    justify-content: center;
    width:240px;
    height:60px;
    font-size:20px;
    font-weight: 700;
    color:#000;
    border-radius: 40px;
    border:1px solid #000;    
}

.layer-popup .btn-area button.btn-confirm {
    border:0;
    background-color: #F3CB00;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 1000px) {
    .pc {display: none !important;}
    .mo {display: inline-block !important;}
    .mo.flex {display:flex !important;}

    .wrapper {
        padding-top:112px;
    } 

    .wrapper, footer {
        overflow:hidden;
        width:100%;
    }
    .container {
        padding: 0 16px;
    }
    img {
        width:100%;
    }

    .gnb {
        height:auto;
    }
    .gnb-container {
        padding: 0;
        overflow-x: hidden;
    }
    .gnb-top {
        display: block;
    }
    .logo {
        text-align:center;        
        padding:20px 0;
    }
    .logo a {
        font-size:24px;
        line-height:100%;
        font-weight: 600;
    }
    .logo-subtitle {
        display: none;
    }

    .nav-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap:10px;
    }

    .nav-wrapper::-webkit-scrollbar {
        display: none;
    }

    .nav-menu {
        flex-wrap: nowrap;
        min-width: max-content;
        padding: 0 16px;
        gap:24px;
    }

    .nav-menu a {
        opacity: 0.6;
        font-size:14px;
        font-weight: 500;
        line-height:100%;
        white-space: nowrap;
        padding:0; 
        padding:16px 0; 
    }
    .btn-login {
        display:none;
    }    

    .btn-inquiry {
        z-index:99;
        position:fixed;
        left:50%; 
        right:auto;
        bottom:16px;
        background: var(--color-yellow);
        color: var(--color-black);
        font-size: 16px;
        font-weight: 700;
        line-height:100%;
        padding: 16px 20px;
        border-radius: 99px;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        transform: translateX(-50%);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .footer {
        padding:40px 24px 80px;
    }
    .footer .container {
        padding:0;
    }

    .footer-nav {
        display: none;
    }
    .footer-logo h3 {
        font-size:24px;
        font-weight: 600;
        line-height:100%;
    }
    .footer-content {
        flex-direction: column;
        margin:0;
    }
    .footer-social {
        margin-top: 24px;
    }
    .footer-bottom {
        padding-top:32px;
        margin-top:24px;
    }
    .footer-bottom p {
        font-size: 13px;
        font-weight: 400;
        line-height: 18px;
    }

    .title-area {        
        padding:40px 0;
    }

    .title-area .sub-title {
        font-size:28px;
        font-weight: 600;
        line-height:100%;
    }
    .title-area .sub-desc {
        font-size:14px;
        font-weight: 400;
        line-height: 128%;
    }    

    .scroll-top {
        right:16px; 
        bottom:16px;
    }

    .pagination {
        width:100%;
        gap: 4px;
        margin-top:30px;
    }
    .pagination a {
        width: 32px;
        height: 32px;
    }
    .pagination .page-numbers a {
        font-size: 14px;
    }
    
    .layer-popup .popup {
        max-width:320px;
        width:100%;
        padding:40px 24px;
    }
    .layer-popup .popup-title {
        font-size: 20px;
    }
    .layer-popup .btn-area button { 
        width:auto;
        height:auto;       
        font-size:16px;
        padding:16px 40px;
    }
    .layer-popup .btn-area {
        margin-top:20px;
        gap:8px;
    }
    .layer-popup .btn-area.col {
        flex-direction: column-reverse;
        gap:16px;
    }
}
