/* Custom styles for UBC AI Club */
body {
    background: #1e1e2f;
    color: #dcdce0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Center only headings and specific containers */
h1, h2, h3, .header, .text-center, .quarto-announcement, .quarto-title-block, .title, .subtitle {
    text-align: center;
}

h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.neon-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: rgba(200, 162, 255, 0.05);
    color: #c8a2ff !important;
    text-decoration: none !important;
    font-weight: 600;
    border: 1px solid rgba(200, 162, 255, 0.3);
    box-shadow: 0 0 10px rgba(200, 162, 255, 0.2);
    transition: all 0.3s ease;
}

.neon-button:hover {
    background: rgba(200, 162, 255, 0.15);
    box-shadow: 0 0 20px rgba(200, 162, 255, 0.6);
    transform: translateY(-2px);
}

/* Paragraphs and lists should be left-aligned for readability */
p, li, .bio, .event-item {
    text-align: left;
}

#quarto-announcement.alert {
    background-color: #2b2940; /* Dark grey, not blue */
    color: #ffffff;
    padding: 0.25rem 0; /* Thinner */
    font-size: 1.2rem; /* Bigger text */
}

#quarto-announcement.alert a {
    color: #c8a2ff;
    text-decoration: underline;
    font-weight: bold;
}

/* Navbar adjustments */
#quarto-header .navbar {
    background-color: #1e1e2f; /* Match body background */
    border-bottom: 1px solid #4a4a68;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

#quarto-header .navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
}

.container-fluid {
    max-width: 95%;
    margin: 0 auto;
    padding: 1rem 2rem;
}

body .quarto-container {
    max-width: 95%;
    margin: 0 auto;
}

.header {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #4a4a68;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
    color: #ffffff;
}

.header .subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: #a0a0b0;
}

.hero-banner {
    width: 100%;
    margin-bottom: 0.2rem;
    overflow: hidden;
    border-radius: 15px;
}

.hero-banner img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

.grid {
    margin-top: -1.5rem !important;
}

.quarto-page-contents {
    padding-top: 0 !important;
}

/* Events and items */
.event-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #3a3852;
}

.dates {
    font-size: 0.85rem;
    color: #888699;
    display: block;
    margin-bottom: 0.25rem;
    text-align: left;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    justify-content: center;
}

.team-member {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(43, 41, 64, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-member:hover {
    transform: translateY(-10px);
    background: rgba(200, 162, 255, 0.1);
    border-color: rgba(200, 162, 255, 0.4);
    box-shadow: 0 15px 45px rgba(200, 162, 255, 0.2);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid rgba(200, 162, 255, 0.2);
    transition: transform 0.4s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
    border-color: rgba(0, 242, 254, 0.6);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.member-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-name a:hover {
    color: #00f2fe;
}

.member-role {
    font-weight: 500;
    color: #c8a2ff;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
