/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: white;
    background-image: url('../images/bg/default-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden;
    transition: background-image 0.5s ease-in-out;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

/* 메인 타이틀 이미지를 위한 스타일 */
.main-title-image {
    max-width: 450px;
    height: auto;
    margin-bottom: 30px;
    transition: all 0.3s ease-in-out;
}

.theme-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.theme-item {
    width: 200px;
    height: 200px;
    margin: 50px 15px;
    border-bottom: 2px solid white;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(15px);
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.theme-item h2 {
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.theme-item:hover {
    transform: scale(1.1) translateY(-10px);
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #f0f0f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.preview-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    gap: 15px;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

.preview-gallery a {
    text-decoration: none;
    display: contents;
}

.preview-gallery img {
    width: 18%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.preview-gallery img:hover {
    transform: translateY(-5px) scale(1.05);
}

.welcome-message {
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 80px; 
}

/* 푸터 고정 스타일 */
.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
}

.copyright {
    font-size: 0.9rem;
    color: #dddddd;
}


/* 검색창 스타일 */
.search-container {
    text-align: center;
    /* === 수정: 위아래 다른 요소들과의 간격 조정 === */
    margin-bottom: 20px;
}

.search-form {
    display: inline-flex;
    border: 1px solid #fff;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 5px;
}

.search-input {
    width: 450px;
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: #eee;
}

.search-button {
    padding: 10px 25px;
    border: none;
    border-radius: 50px;
    background-color: #fff;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background-color: #ddd;
}




