/* ---------- Colors ----------
   The site colors have names (called variables).
   The rest of the file uses var(--name) instead of a real color,
   so changing a color here changes the whole site.
   Teal colors come from the logo PDF page 3. */
body {
    --background: #29adb5;
    --box: #0a0a22;
    --bar: #0a0a22;
    --accent: #7fb6d1;
    --text: white;
    --buttontext: #0a0a22;
}

/* ---------- The page ---------- */
body {
    background-color: var(--background);
    color: var(--text);
    font-family: Arial;
    margin: 0;
    text-align: center;
}

/* ---------- Top bar with the links ---------- */
.navbar {
    background-color: var(--bar);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.navbar img {
    width: 50px;
    border-radius: 50%;
}

.navbar a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
}

.navbar a:hover {
    background-color: var(--accent);
    color: var(--buttontext);
}

/* ---------- Big title at the top of each page ---------- */
.banner {
    background-color: var(--box);
    padding: 30px 20px;
}

.banner h1 {
    color: var(--accent);
    font-size: 40px;
    margin-bottom: 5px;
}

.biglogo {
    width: 250px;
    max-width: 80%;
    border-radius: 50%;
}

/* ---------- Boxes for each section ---------- */
.section {
    background-color: var(--box);
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--accent);
}

.section h2, .section h3 {
    color: var(--accent);
}

.section img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

/* Home page: the section cards side by side */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 10px;
}

.card {
    background-color: var(--box);
    width: 280px;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid var(--accent);
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.card h2 {
    color: var(--accent);
}


/* Gaming page: 3 posters in a row */
.posters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.posters img {
    width: 260px;
}

/* Buttons that look like links */
.button {
    display: inline-block;
    background-color: var(--accent);
    color: var(--buttontext);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.button:hover {
    background-color: white;
}

/* Event details table */
table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border: 1px solid var(--accent);
    padding: 10px;
}

th {
    background-color: var(--accent);
    color: var(--buttontext);
}

.footer {
    background-color: var(--bar);
    padding: 15px;
    margin-top: 30px;
    color: var(--accent);
}

/* ---------- AI chat box ---------- */
.chat {
    background-color: var(--background);
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-radius: 10px;
    text-align: left;
}

.bubble {
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    white-space: pre-wrap;
}

/* Your questions go on the right */
.bubble.you {
    background-color: var(--box);
    margin-left: auto;
}

/* AI answers go on the left */
.bubble.ai {
    background-color: var(--accent);
    color: var(--buttontext);
}

.askrow {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.askrow input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

.askrow .button {
    margin-top: 0;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* The Ask Our AI button in the tab bar stands out from the other links */
.navbar a.askai {
    background-color: var(--accent);
    color: var(--buttontext);
}

.navbar a.askai:hover {
    background-color: white;
}

/* Claude logo on the AI card and AI page */
.claudelogo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 15px;
}

.card .claudelogo {
    width: 200px;
    height: 200px;
    margin: 50px 0;
}

.poweredby {
    font-size: 14px;
    opacity: 0.8;
}
