/* Global Styles */
:root {
    --primary-color: #dc3545;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding-top: 76px;
}

/* Navigation */
.navbar {
    min-height: 76px;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: height 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: #333 !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
    margin-top: 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Dropdown on hover */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    margin-top: auto;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    padding: 80px 0;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.08);
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

/* Active menu item */
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 3px solid var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
    body {
        padding-top: 60px;
    }
    
    .navbar {
        min-height: 60px;
    }
    
    .dropdown-menu {
        box-shadow: none;
    }
    
    section {
        padding: 40px 0;
    }
}

/* Dissolve Image Container */
.dissolve-image-container {
    position: relative;
    width: 100%; /* Or a specific width */
    height: 405px; /* Or a specific height, adjust as needed */
    overflow: hidden;
}

.dissolve-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the container without distortion */
    transition: opacity 1s ease-in-out; /* Dissolve transition */
}