body {
    font-size: 14px;
    font-family: montserrat,helvetica neue,Arial,sans-serif;
    overflow-x: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
/* header */
.navbar .navbar-brand{
    text-transform:uppercase;
    font-size:1em;
    padding-top:.5rem;
    padding-bottom:.5rem;
    line-height:1.625rem;
    color: inherit;
}
.dropdown-item {
    text-transform:uppercase;
    font-size:.8em;
    color: inherit;
}
.navbar .navbar-nav .nav-link:not(.btn) {
    text-transform:uppercase;
    font-size:.9em;
    padding:.5rem .7rem;
    line-height:1.625rem;
    color: inherit;
}

.form-check-input {
    margin: 7px 0 -10px 0;
}
.page-header {
    min-height:100vh;
    max-height:999px;
    padding:0;
    position:relative;
    overflow:hidden
}
.page-header .page-header-image {
    position:absolute;
    background-size:cover;
    background-position:center center;
    width:100%;
    height:100%;
    z-index:-1
}
.page-header>.content {
    margin-top:11%;
    text-align:center;
    margin-bottom:50px
}
.page-header:after,.page-header:before{
    position:absolute;
    z-index:0;
    width:100%;
    height:100%;
    display:block;
    left:0;
    top:0;
    content:""
}
.page-header .content-center{
    position:absolute;
    top:50%;
    left:50%;
    z-index:2;
    -webkit-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
    text-align:center;
    padding:0 15px;
    width:100%;
    max-width:880px
}
.page-header footer{
    position:absolute;
    bottom:0;
    width:100%
}
.page-header .container{
    height:100%;
    z-index:1;
    position:relative
}
.title {
    font-weight: 700;
    padding-bottom: 30px 
}

.form-check-input {
    visibility: hidden;
}
.nav-link {
    opacity: 70%;
}
.nav-link:hover {
    opacity: 100%;
}
.nav-icon {
    padding: 0.5rem 0;
}
.nav-icon-light {
    fill: black;
}
.nav-icon-dark {
    fill: white;
}
.nav-icon svg {
    opacity: 50%;
}
.nav-icon svg:hover {
    opacity: 100%;
}


/* about */
.about-1 {
    text-align: center;
    padding: 80px 0;
}
.description {
    font-weight: 300;   
}

/* works */
.works-1 {
    text-align: center;
    padding: 80px 0;
}
.card {
    border:0;
    border-radius:.25rem;
    display:inline-block;
    position:relative;
    width:100%;
    margin-bottom:30px;
    -webkit-box-shadow:0 5px 25px 0 rgba(0,0,0,.2);
    box-shadow:0 5px 25px 0 rgba(0,0,0,.2)
}
.card .card-image {
    position: relative;
}
.card:not(.card-plain) .rounded {
    border-radius: 0!important;
}
.card-btn {
    font-size: 12px;
    border-radius: 30px;
}
.modal-btn {
    font-size: 12px;
    border-radius: 30px;
}
/* contact */
.contact-1 {
    text-align: center;
    padding: 80px 0 120px 0;
}
.footer {
    text-align: center;
    padding: 40px 0;
}
/* 드롭다운 옆에 강제로 생기는 쐐기 삼각형(▼) 아이콘 제거 */
.after-none::after {
    display: none !important;
}

/* 네비게이션 아이콘들의 기본 색상을 주변 텍스트와 완벽 연동 (테마 호환) */
.navbar .navbar-nav .nav-item .nav-link i {
    color: inherit !important;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

/* 마우스 올렸을 때만 선명하게 */
.navbar .navbar-nav .nav-item .nav-link:hover i {
    opacity: 1;
}

/* 모바일 화면에서 스위치가 찌그러지거나 라인이 안 맞는 현상 방지 */
.form-check-input {
    width: 2.5em !important;
    height: 1.25em !important;
}
/* 한국어/일본어 단어가 중간에 보기 싫게 쪼개지는 현상 방지 */
.header-title {
    word-break: keep-all;
    overflow-wrap: break-word;
}
/* ⚡ 더 보기 버튼 커스텀 (카드의 More 버튼과 모서리 라운드/컬러 100% 일치) */
.btn-load-custom {
    font-family: inherit;
    font-size: 0.85rem;
    padding: 10px 25px; /* 좌우 컴팩트한 여백 */
    border-radius: 50px !important; /* ⚡ 네 모서리를 More 버튼처럼 완벽하게 둥글게 (알약 형태) */
    background-color: #6c757d; /* More 버튼과 동일한 차분한 회색 */
    border: 1px solid #6c757d;
    color: #fff !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-load-custom:hover {
    background-color: #5a6268; /* 마우스 올렸을 때의 톤 다운 */
    border-color: #545b62;
}

/* ⚡ 포트폴리오의 끝 (비활성화 상태도 동일한 알약 형태로 맞춤) */
.btn-load-end {
    font-family: inherit;
    font-size: 0.85rem;
    padding: 10px 25px;
    border-radius: 50px !important; /* ⚡ 동일하게 완벽한 라운드 처리 */
    background-color: transparent;
    border: 1px dashed #adb5bd;
    color: #6c757d;
    font-weight: 500;
    cursor: default;
}


/* =========================================
   ⚡ 포트폴리오 카드 & 스켈레톤 로딩 (직각 모던 스타일 + 크로스페이드)
   ========================================= */

/* 1. 카드 전체 뼈대 (직각) */
.card-blog {
    border-radius: 0 !important;
    overflow: hidden; 
}

/* 2. 스켈레톤(Shimmer) 배경 래퍼 */
.skeleton-wrapper {
    position: relative;
    background-color: #e9ecef;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 0 !important;
    transition: background-color 0.3s ease-in-out; 
}

/* 3. 스켈레톤 빛 반사 애니메이션 */
.skeleton-wrapper::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg, rgba(255,255,255, 0) 0, rgba(255,255,255, 0.5) 20%, rgba(255,255,255, 0.8) 60%, rgba(255,255,255, 0));
    animation: shimmer 1.5s infinite;
    transition: opacity 0.3s ease-in-out; 
}

/* 4. 썸네일 이미지 초기 상태 (투명 & 직각) */
.card-img-top.lozad {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: 0 !important;
}

/* 5. 로딩 완료 시 크로스페이드 (지연 로딩 대신 Native onload 이벤트 감지) */
.card-img-top.lozad[data-ready="true"] {
    opacity: 1; 
}
.skeleton-wrapper:has(.lozad[data-ready="true"]) {
    background-color: transparent; 
}
.skeleton-wrapper:has(.lozad[data-ready="true"])::after {
    opacity: 0; 
}