:root {
    --brand-red: rgb(209, 68, 49);
    --brand-black: rgb(22, 22, 22);
}

body {
    font-family: 'Montserrat', sans-serif;
}

#mobile-menu {
    z-index: 40;
}

#menu-button {
    z-index: 50;
}

#teacher-section .max-w-4xl {
    opacity: 0;
    transform: translateX(-100px);
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#teacher-section.visible .max-w-4xl {
    opacity: 1;
    transform: translateX(0);
}

.member-card,
.event-card,
.article-card,
.trophy-card {
    opacity: 0;
    transform: translateY(30px) scale(1);
    will-change: opacity, transform;
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.member-card.visible,
.event-card.visible,
.article-card.visible,
.trophy-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.member-card.visible:hover,
.event-card.visible:hover,
.trophy-card.visible:hover {
    transform: translateY(-8px) scale(1.05);
}

.no-events-message {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
                color 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.no-events-message:hover {
    transform: scale(1.05);
    color: var(--brand-red);
}

/* Article Card Style */
.article-card {
    cursor: pointer;
}
.article-card .inner-card {
    transition: border-color 0.3s ease-in-out;
    border-color: rgba(255, 255, 255, 0.1);
}
.article-card:hover .inner-card {
    border-color: var(--brand-red);
}
.article-summary, .article-full-content {
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.5s ease-in-out;
}
.article-summary {
    max-height: 300px;
    opacity: 1;
}
.article-full-content {
    max-height: 0;
    opacity: 0;
}
.article-card.expanded .article-summary {
    max-height: 0;
    opacity: 0;
}
.article-card.expanded .article-full-content {
    max-height: 7500px;
    opacity: 1;
}

/* Contact Page */
.copy-button {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    background-color: var(--brand-red);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    margin-left: 1rem;
    cursor: pointer;
}
.group:hover .copy-button {
    transform: translateY(-50%) scale(1);
}
.copy-button.copied {
    background-color: #22c55e;
}


h1, h2, h3, h4, h5, h6,
b, strong,
.font-bold {
    font-weight: 400 !important;
}

#back-to-top {
    transition: opacity 0.3s, transform 0.3s;
    z-index: 50; /* Make sure it's on top of everything */
}

#back-to-top:hover {
    transform: scale(1.1);
}
