/* Custom Styles for Zibo Qisheng Senior High School */

:root {
    --primary-color: #004a99; /* 调整为更符合校园风光的蓝色 */
    --secondary-color: #d32f2f;
    --accent-color: #e0b33a;
}

html {
    scroll-behavior: smooth;
}

/* Custom selection color */
::selection {
    background-color: var(--accent-color);
    color: white;
}

/* Smooth transitions for all elements */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Hero section text shadow for better readability */
#hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Glass effect for navigation */
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Footer Decorative Lines & Fade-out */
footer .decorative-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    width: 100%;
    margin-bottom: 2px;
}

.footer-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* News card image hover zoom */
.news-card img {
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Teacher item hover effect */
.teacher-item {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.teacher-item:hover {
    transform: translateY(-15px) scale(1.05);
}

.teacher-item:hover img {
    border-color: var(--accent-color);
}

/* Scenery Grid Hover */
.scenery-item h4 {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.scenery-item:hover h4 {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero-title {
        font-size: 2.5rem;
    }
    .h-\[600px\] {
        height: auto;
    }
}
