* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
}

.header-section {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
} */

.header-title {
    font-size: 3.3rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 1px 1px 0px #000000;
    animation: slideUp 1s ease forwards;
}

.header-subtitle {
    font-size: 2rem;
    color: #B9F302;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease forwards; /* 0.3초 딜레이로 타이틀 다음에 등장 */
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
scroll-behavior: smooth;
}

.gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10vh;
    margin-bottom : 10vh;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius : 20px;
    opacity: 0;
    transform: scale(0.2);
    transition: opacity 0.8s ease-out;
}

.gallery-item.visible {
    opacity: 1;
    max-height : 190px;
}

.gallery-item.zoomed {
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.17, 0.67, 0.45, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        margin-top : 20px;
    }

    .header-title{font-size : 2.3rem;}
    .header-subtitle{font-size : 1.6rem;}
}


