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

.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: clamp(2.2rem, 7vw, 3.2rem) !important;
        line-height: 1.25 !important;
    }

    .hero-content p {
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
    }

    .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);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 20;
    pointer-events: none;
    color: #ffffff;
}

@media (max-width: 768px) {
    .scroll-down-indicator {
        bottom: 115px;
    }
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.scroll-wheel {
    width: 4px;
    height: 7px;
    background: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollBounce {
    0% { opacity: 1; transform: translate(-50%, 0); }
    50% { opacity: 0.3; transform: translate(-50%, 12px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
}