/********** Template CSS **********/
:root 
{
    --primary: #d1a347;
    --secondary: #34AD54;
    --light: #EEF9FF;        
}


/*** Top Bar ***/
.bg-dark 
{
    background-color: #212529 !important;
}


/*** Spinner ***/
.spinner 
{
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

#spinner 
{
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show 
{
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top 
{
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header
{
    background: linear-gradient(rgba(8, 8, 8, 0.6), rgba(7, 7, 7, 0.7)), url(../img/main-page-3.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a 
{
    transition: .5s;
}

.link-animated a:hover 
{
    padding-left: 10px;
}

.footer-brand
{ 
        width: auto;
        height: auto;
        opacity: 100;
}

@media (min-width: 767.98px)
{
    .footer-about 
    {
        margin-bottom: -75px;
    }
}

/* 아이콘과 텍스트를 한 줄로 배치, 작은 화면에서는 자동 줄바꿈 */
.container-fluid .d-inline-flex 
{
    display: inline-flex;
    align-items: center;  /* 세로 정렬 */
    flex-wrap: wrap; /* 텍스트가 길어지면 자동으로 줄바꿈 */
}

/* 이메일 텍스트가 길어지면 줄바꿈 */
.container-fluid small 
{
    margin-right: 10px;
}

/* 작은 화면에서 텍스트가 줄바꿈되도록 */
@media (max-width: 768px) 
{
    .container-fluid small {
        white-space: normal; /* 작은 화면에서 줄바꿈 가능하게 설정 */
    }
}

/* 왼쪽 라인 */
.quote-style {
    border-left: 4px solid #009ecf; /* 원하는 색상으로 */
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #333;
    font-size: 1.1rem; /* 폰트 크기 조절 */
  }

  .gallery-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .gallery-thumbnail .caption {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.6); /* 반투명 검정 배경 */
    color: #fff;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
  }

/* 갤러리 이미지 호버 효과 */
.gallery-thumbnail:hover img
{
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.gallery-thumbnail .caption-right 
{
    left: auto;
    right: 12px;
}

.sns-icons
{
    position: fixed;
    bottom: 40px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

.sns-icons a 
{
    color: #000;
    font-size: 20px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sns-icons a:hover 
{
    opacity: 0.6;
}
  
.copyright 
{
    position: fixed;        /* 화면 고정 */
    bottom: 10px;           /* 하단 여백 */
    left: 20px;             /* 좌측 여백 */
    font-size: 19px;        /* 글씨 크기 */
    color: #ffffff;       /* 글자 색상 */
    
    
    /* font-family: 'Arial', sans-serif; */  /* 기본 폰트 (비활성화됨) */

    font-family: 'Smooch Sans', sans-serif; /* 사용 폰트 */
    letter-spacing: 0.5px;                  /* 글자 사이 간격 */
    z-index: 1000;                          /* 우선순위 */
}

.thumbnail-img 
{
    transition: 0.3s ease;
}

.overlay 
{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.play-icon 
{
    font-size: 48px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}


/* 갤러리 페이지 */
.gallery-pagination
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;      /* 간격 */
    font-family: 'Helvetica Neue', sans-serif;
    margin-top: 30px;
}

.nav-btn
{
    background: transparent;
    border: none;
    font-size: 24px;
    color: #a79c9c;
    cursor: pointer;
    padding: 4px 10px;
    transition: color 0.2s ease;
}

.nav-btn:hover
{
    color: #7759bb;
}