:root {
    --video-height: 70vh;
    --visible-slides: 3;
    --slider-width-factor: 0.8;
    --slide-gap: 24px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/bg-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 20, 18, 0.8);
    z-index: 1;
}

#home > .container-fluid {
    position: relative;
    z-index: 2;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 416px;
    min-width: 208px;
    height: var(--video-height);
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.slider-wrapper {
    width: calc(100% * var(--slider-width-factor));
    max-width: 100%;
    margin: 0 auto;
}

.slider-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.slider-logo img {
    max-width: 200px;
    height: auto;
}

.slider-notice {
    text-align: center;
    color: white;
    font-family: 'Dongle', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    padding: 0;
    background-color: transparent;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.image-slider {
    display: flex;
    gap: var(--slide-gap);
    transition: transform 0.5s ease;
    will-change: transform;
}

.image-slider.no-transition {
    transition: none;
}

.image-slide {
    position: relative;
    flex: 0 0 auto;
    aspect-ratio: 6 / 4;
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.slider-content {
    text-align: center;
    color: white;
    margin-top: 2rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.slider-content h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.slider-content .description {
    font-size: 1.1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.blog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #03c75a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
}

.blog-button i {
    font-size: 1rem;
}

.blog-button:hover {
    background-color: #02b350;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 199, 90, 0.4);
}

.map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
}

.map-button i {
    font-size: 1rem;
}

.map-button:hover {
    background-color: #357ae8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1200px) {
    :root {
        --video-height: 60vh;
    }
}

@media (max-width: 992px) {
    :root {
        --video-height: 55vh;
        --slider-width-factor: 1;
    }
    .video-container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --video-height: 50vh;
        --slider-width-factor: 1;
        --slide-gap: 16px;
        --visible-slides: 2;
    }
    #home > .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .slider-wrapper {
        width: 100%;
    }
    .slider-logo img {
        max-width: 150px;
    }
    .slider-notice {
        font-size: 3rem;
        padding: 0;
        letter-spacing: 0.05em;
    }
    .slider-content {
        margin-top: 1.5rem;
    }
    .video-container {
        margin-top: 4rem;
    }
    .slider-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    .slider-content .description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    .button-group {
        gap: 0.75rem;
        flex-direction: column;
        align-items: stretch;
    }
    .blog-button,
    .map-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    .blog-button i,
    .map-button i {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    :root {
        --video-height: 45vh;
        --visible-slides: 1;
        --slide-gap: 12px;
    }
    #home > .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .slider-notice {
        font-size: 2.5rem;
    }
    .slider-content h2 {
        font-size: 1.3rem;
    }
    .slider-content .description {
        font-size: 0.95rem;
    }
    .blog-button,
    .map-button {
        font-size: 0.85rem;
        padding: 0.65rem 0.9rem;
    }
}

