/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   BASE
========================= */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222222;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* =========================
   HEADER
========================= */
.site-header {
    background: #5B2D8B;
    height: 64px;
    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

/* =========================
   NAVIGATION (MOBILE FIRST)
========================= */
.nav {
    position: absolute;
    top: 64px;
    right: 0;
    width: 100%;
    background: #5B2D8B;
    display: none;
    flex-direction: column;
}

.nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.nav a:hover {
    color: #FF8C32;
}

.nav.active {
    display: flex;
}

.nav-toggle {
    background: none;
    border: none;
    font-size: 26px;
    color: #FFFFFF;
    cursor: pointer;
}

/* =========================
   CONTENT
========================= */
.content {
    padding: 0;
    background: #FFFFFF;
}

main {
    display: block;
}
/* =========================
   FOOTER
========================= */
.site-footer {
    background: #5B2D8B;
    color: #FFFFFF;
    text-align: center;
    padding: 20px 16px;
    font-size: 13px;
    margin-top: 40px;
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 768px) {

    .nav-toggle {
        display: none;
    }

    .nav {
        position: static;
        display: flex;
        flex-direction: row;
        background: none;
        width: auto;
        margin-left: auto;
    }

    .nav a {
        border: none;
        padding: 0;
        margin-left: 20px;
    }

    .header-inner {
        display: flex;
        align-items: center;
        height: 64px;
    }

    .logo img {
        height: 48px;
        filter: drop-shadow(0 0 6px rgba(0,0,0,0.3));
    }
}

.hero {
    min-height: calc(100vh - 64px);
    background: linear-gradient(90deg, #5B2D8B, #FF8C32);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
}


.hero h1 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.hero p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    color: #EDE6D8;
}

/* =========================
   EVENTS PREVIEW
========================= */
.events-preview {
    background: #EDE6D8;
    padding: 48px 0;
}

.section-title {
    text-align: center;
    font-size: 24px;
    color: #5B2D8B;
    margin-bottom: 32px;
}

.event-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.event-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.event-card:hover {
    transform: translateY(-4px);
}

.event-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-info {
    padding: 16px;
}

.event-info h3 {
    font-size: 18px;
    color: #5B2D8B;
    margin-bottom: 6px;
}

.event-info p {
    font-size: 14px;
    color: #555;
}

/* Desktop */
@media (min-width: 768px) {
    .event-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}