/* 全域樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 移除連結的黃色外框 */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* 導覽列樣式 */
.navbar {
    padding: 0.5rem 0;
    background-color: #fff !important;
    z-index: 1000;
}

.navbar-brand img {
    height: 50px;
}

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

.nav-link:hover {
    color: #e67e22 !important;
}

.nav-link.active {
    color: #e67e22 !important;
    font-weight: 700;
}

/* 得獎地圖區域 - 充滿畫面 */
.award-map-section {
    flex: 1;
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: calc(100vh - 80px);
    overflow: hidden;
    position: relative;
    background: #8b7d6b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-map-container {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景底圖 */
.background-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 可點擊圖片的容器 */
.clickable-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 每個可點擊的圖片連結 */
.award-link {
    position: absolute;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.award-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Hover 效果：圖片輕微放大 */
.award-link:hover {
    transform: scale(1.05);
}

.award-link:hover img {
    transform: scale(1.05);
}

/* 頁尾 */
.footer {
    /*background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);*/
	 background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: 0;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer .small {
    color: #bdc3c7;
}

/* 響應式設計 */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .award-map-section {
        min-height: calc(100vh - 100px);
    }
}

@media (max-width: 768px) {
    .award-map-section {
        min-height: calc(100vh - 120px);
    }
    
    /* 在小螢幕上減少放大效果 */
    .award-link:hover {
        transform: scale(1.03);
    }
    
    .award-link:hover img {
        transform: scale(1.03);
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .footer {
        font-size: 0.875rem;
    }
    
    .award-map-section {
        min-height: calc(100vh - 140px);
    }
    
    /* 在手機上進一步減少放大效果 */
    .award-link:hover {
        transform: scale(1.02);
    }
    
    .award-link:hover img {
        transform: scale(1.02);
    }
}

