/* 榮耀紀錄區塊 Awards & Certifications Section */
.awards-section {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #333 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
}

.awards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23444" stroke-width="1" opacity="0.2"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.awards-section .container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.awards-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.awards-section .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    position: relative;
}

.awards-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #B8860B, #DAA520, #FFD700);
    border-radius: 2px;
}

.awards-section .section-subtitle {
    font-size: 1.3rem;
    color: #ccc;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Awards Timeline */
.awards-timeline {
    position: relative;
    margin-top: 60px;
}

.awards-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        #B8860B 0%, 
        #DAA520 25%, 
        #FFD700 50%, 
        #DAA520 75%, 
        #B8860B 100%
    );
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 0;
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);
}

.award-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
    align-items: center;
}

.award-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.award-item:nth-child(odd) .award-content {
    margin-right: 60px;
    text-align: right;
}

.award-item:nth-child(even) .award-content {
    margin-left: 60px;
    text-align: left;
}

.award-year {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #FFD700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.award-year::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.3) 0%, rgba(184, 134, 11, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    opacity: 0.8;
    z-index: -1;
    transition: all 0.4s ease;
}

.award-item:hover .award-year::before {
    transform: scale(1.3);
    opacity: 1;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(218, 165, 32, 0.2) 70%, transparent 100%);
}

.award-item:hover .award-year {
    transform: scale(1.1);
    box-shadow: 0 20px 45px rgba(184, 134, 11, 0.5);
}

.award-content {
    flex: 1;
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(184, 134, 11, 0.3);
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
}

.award-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    border: 1px solid rgba(184, 134, 11, 0.3);
    transform: rotate(45deg);
    top: 50%;
    z-index: -1;
}

.award-item:nth-child(odd) .award-content::before {
    right: -10px;
    margin-top: -10px;
}

.award-item:nth-child(even) .award-content::before {
    left: -10px;
    margin-top: -10px;
}

.award-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(184, 134, 11, 0.6);
    background: linear-gradient(135deg, #252525 0%, #303030 100%);
}

.award-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #FFD700 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.3);
}

.award-item:nth-child(odd) .award-icon {
    margin-left: auto;
}

.award-icon i {
    font-size: 1.8rem;
    color: white;
}

.award-details h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f8f8f8;
    margin-bottom: 12px;
    line-height: 1.4;
}

.award-details p {
    font-size: 1.1rem;
    color: #b8b8b8;
    margin: 0;
    font-style: italic;
}

/* Animation Effects */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.award-item.animate-on-scroll {
    transform: translateX(-50px);
}

.award-item:nth-child(odd).animate-on-scroll {
    transform: translateX(50px);
}

.award-item.animate-on-scroll.animate {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .awards-section {
        padding: 80px 0;
    }
    
    .awards-section .section-title {
        font-size: 2.8rem;
    }
    
    .awards-timeline::before {
        left: 30px;
        transform: none;
    }
    
    .award-item,
    .award-item:nth-child(odd) {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .award-year {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
        margin-right: 30px;
        flex-shrink: 0;
    }
    
    .award-year::before {
        width: 100px;
        height: 100px;
    }
    
    .award-content,
    .award-item:nth-child(odd) .award-content,
    .award-item:nth-child(even) .award-content {
        margin: 0;
        text-align: left;
        flex: 1;
    }
    
    .award-content::before {
        display: none;
    }
    
    .award-icon,
    .award-item:nth-child(odd) .award-icon {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .awards-section {
        padding: 60px 0;
    }
    
    .awards-section .section-title {
        font-size: 2.2rem;
    }
    
    .awards-section .section-subtitle {
        font-size: 1.1rem;
    }
    
    .award-year {
        width: 60px;
        height: 60px;
        font-size: 1rem;
        margin-right: 20px;
    }
    
    .award-year::before {
        width: 80px;
        height: 80px;
    }
    
    .award-content {
        padding: 25px;
        border-radius: 15px;
    }
    
    .award-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .award-icon i {
        font-size: 1.4rem;
    }
    
    .award-details h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .award-details p {
        font-size: 1rem;
    }
    
    .award-item {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .awards-section .section-title {
        font-size: 1.8rem;
    }
    
    .award-content {
        padding: 20px;
    }
    
    .award-details h4 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .award-details p {
        font-size: 0.95rem;
    }
}

/* Dark Mode Support - 已經是預設深色主題，這裡保留以防需要 */
@media (prefers-color-scheme: light) {
    .awards-section {
        background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #333 100%);
    }
    
    .award-content {
        background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
        border-color: rgba(184, 134, 11, 0.3);
    }
    
    .award-details h4 {
        color: #f8f8f8;
    }
    
    .award-details p {
        color: #b8b8b8;
    }
    
    .awards-section .section-subtitle {
        color: #ccc;
    }
}

/* Print Styles */
@media print {
    .awards-section {
        background: white !important;
        padding: 40px 0;
    }
    
    .award-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .award-year {
        background: #666 !important;
        box-shadow: none;
    }
    
    .award-icon {
        background: #666 !important;
        box-shadow: none;
    }
}