/* Hero Section */
.hero {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -80px;
    /* Counter offset fixed header */
    padding-top: 80px;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/HOME.png') no-repeat center center/cover;
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: -1;
}

.hero-bg::after {
    display: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Ticker Section */
.news-ticker-section {
    border-bottom: 1px solid var(--border-color);
    background: #F8FAFC;
}

.news-ticker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.view-all {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.news-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.2s;
}

.news-item:hover {
    transform: translateX(10px);
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-item .date {
    font-family: monospace;
    color: var(--accent-secondary);
    margin-right: var(--spacing-md);
}

/* Events Preview */
.events-preview {
    display: none;
}

.event-card {
    display: flex;
    background: #FFFFFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-top: var(--spacing-lg);
}

.event-image {
    flex: 1;
    min-height: 300px;
    background: #EDF2F7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img {
    color: #A0AEC0;
    font-weight: bold;
    font-size: 1.2rem;
}

.event-details {
    flex: 1;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.event-details .tag {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .event-card {
        flex-direction: column;
    }

    .event-image {
        min-height: 200px;
    }
}

/* Parallax scroll cover effect */
.parallax-content {
    position: relative;
    z-index: 5;
    background-color: var(--bg-color, #ffffff);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.12);
}