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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Oswald', sans-serif;
    background-color: #DDEBF7;
    color: #0A0F2C;
}

h1, h2, h3,
nav.desktop-nav a,
.nav-menu a,
footer .copyright p,
#typewriter-text {
    font-family: 'Oswald', sans-serif;
}

/* ------------------ NAVIGATION ------------------ */
nav.desktop-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
}

nav.desktop-nav a {
    color: #0A0F2C;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

nav.desktop-nav a:hover {
    background-color: #2E2E3A;
    color: #DDEBF7;
}

/* ---------- MOBILE NAV FIXED ---------- */
.mobile-nav {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
}

.nav-toggle {
    width: 50px;
    height: 50px;
    background-color: #DDEBF7;
    border: 2px solid #0A0F2C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.nav-toggle:hover {
    background-color: #F0F4FA;
}

.nav-lines {
    width: 20px;
    height: 2px;
    background-color: #0A0F2C;
    position: relative;
    transition: background-color 0.3s ease;
}

.nav-lines::before,
.nav-lines::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #0A0F2C;
    left: 0;
    transition: background-color 0.3s ease;
}

.nav-lines::before {
    top: -6px;
}

.nav-lines::after {
    top: 6px;
}

/* Nav menu closed state */
.nav-menu {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background-color: #DDEBF7;
    border: 4px double;
    border-color: #0A0F2C #D72638;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
    justify-content: start;
    z-index: 1099;
}

/* Nav menu open state */
.nav-menu.open {
    width: 250px;
    height: auto;
    max-height: 360px;
    border-radius: 40px 40px 40px 40px / 40% 40% 60% 60%;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 2rem 1.5rem;
    justify-content: flex-start;
    overflow-y: auto;
}

/* Links inside mobile nav */
.nav-menu a {
    color: #0A0F2C;
    text-decoration: none;
    margin: 0.75rem 0;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
    width: 100%;
    text-align: center;
}

/* ------------------ TITLE SECTION ------------------ */
.title-section {
    text-align: center;
    margin-top: 8rem;
    padding: 2rem;
}

.title-section h1 {
    font-size: 48px;
    font-weight: 900;
    color: #0A0F2C;
}

.title-section h2 {
    font-size: 20px;
    font-weight: 500;
    color: #0A0F2C;
    margin-top: 0.5rem;
}

/* ------------------ EVENT CARD ------------------ */
.event-card {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.event-text {
    font-size: 16px;
    line-height: 1.8;
}

/* ------------------ IMAGES ------------------ */
.inline-img-5,
.inline-img-6 {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.inline-img-5 img,
.inline-img-6 img {
    width: 60%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
}

.inline-img-6 img {
    max-width: 200px;
}

/* ------------------ FOOTER ------------------ */
.footer-strip {
    background-color: #D72638;
    height: 80px;
    width: 100%;
}

footer {
    background-color: #0A0F2C;
    text-align: center;
    padding: 1rem;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.icons img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 14rem;
}

.icons img:hover {
    transform: scale(1.15);
}

footer .copyright {
    font-size: 12px;
    color: #F4F6FA;
}

/* ------------------ TYPEWRITER ------------------ */
#typewriter-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ------------------ SCROLL REVEAL ------------------ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0px);
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 800px) {
    nav.desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .title-section h1 {
        font-size: 30px;
    }

    .title-section h2 {
        font-size: 18px;
    }

    .event-card {
        max-width: 95%;
        padding: 1.5rem;
    }

    .inline-img-5 img,
    .inline-img-6 img {
        width: 90%;
    }

    .icons img {
        width: 28px;
        height: 28px;
        margin-top: 14rem;
    }

    .nav-menu a {
        font-size: 0.95rem;
    }
}
