/* Custom Animations and Fixes */
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-content {
    animation: ticker 30s linear infinite;
}

.ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
}

html {
    scroll-behavior: smooth;
}

/* Ensure ticker doesn't hide content */
body {
    padding-top: 40px; /* Offset for the ticker */
}

/* Mobile Menu Transition */
#main-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#main-menu.active li {
    margin: 0.5rem 0;
}

/* Cookie banner animation */
#cookie-banner.show {
    transform: translateY(0);
}

/* Responsive Maps */
.map-container {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-container iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}