@font-face {
    font-family: 'Hollywood';
    src: url('../fonts/hollywood.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: open-sans, sans-serif;
    background: #000000;
    min-height: 100vh;
    padding: 20px;
    color: #ffffff;
}

h1 {
    font-family: 'Hollywood', sans-serif;
    font-size: 5rem;
    letter-spacing: 0.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.logo {
    width: 80%;
    height: 2em;
    margin: 2rem auto 0;
  
    background: url("/img/vasiluv-rubas-logo.svg") no-repeat center / 100% auto;
  
    /* hide text visually but keep it accessible */
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.container {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.container h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.links-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.container a {
    color: #ea6666;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.container a:hover {
    color: #ce0000;
    transform: scale(1.3);
}

.container a svg {
    width: 32px;
    height: 32px;
}

.error {
    background: #fee;
    color: #c33;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #c33;
}

#eventsContainer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
}

.event-card {
    padding: 0.6rem;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 12px;
}

.event-date {
    color: #999;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.event-time {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-location {
    color: #888;
    font-size: 0.85rem;
    margin-top: 8px;
    font-style: italic;
}

.event-location a {
    color: #ea6666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-location a:hover {
    color: #d35555;
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #666;
}

@media (max-width: 768px) {
    .page-container {
        padding: 0;
    }
    
    header h1 {
        font-size: 2rem;
    }
}
