:root {
    --accent-color: #E37A25;
    --dark-accent: #a84600;
    --text-color: #E37A25;
    --body-text: #333333;
    --bg-color: #FEFEFE;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding-top: 60px;
    text-align: center;
    color: var(--body-text);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(254, 254, 254, 0.98);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(227, 122, 37, 0.1);
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-logo {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.mini-logo:hover {
    transform: scale(1.05);
}

.navbar ul { display: flex; justify-content: center; gap: 30px; list-style: none; padding: 0; margin: 0; }
.navbar a {
    text-decoration: none; color: var(--text-color);
    font-family: 'Poppins'; font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-button {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.lang-button:hover {
    background-color: rgba(227, 122, 37, 0.1);
}

.lang-button.active {
    border: 1px solid var(--accent-color);
    background-color: rgba(227, 122, 37, 0.2);
}

.lang-separator {
    color: var(--text-color);
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 0.85rem;
}

/* HERO & LOGO */
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.logo-area { max-width: 650px; margin: 0 auto 20px; }
.logo { width: 100%; height: auto; display: block; }

.headline {
    font-family: 'Poppins'; font-size: clamp(1.8rem, 6vw, 3rem);
    color: var(--text-color); letter-spacing: 3px; margin: 10px 0;
}
.tagline { font-size: 1.1rem; color: var(--text-color); opacity: 0.8; margin-bottom: 40px; }

/* SECTIONS */
.section { padding: 50px 0; }
.divider { width: 60px; height: 2px; background: var(--accent-color); margin: 0 auto 30px; }
h2 { font-family: 'Poppins'; color: var(--accent-color); font-size: 2rem; margin-bottom: 20px; }

.subtext { line-height: 1.7; font-size: 1.05rem; margin-bottom: 15px; }
#about .subtext { color: var(--body-text); text-align: center; }

/* FORM */
.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.form-row { display: flex; gap: 15px; }
.contact-form input, .contact-form textarea {
    padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 0.95rem;
}
.contact-form input { flex: 1; }
.button {
    background: var(--accent-color); color: white; border: none; padding: 14px 28px;
    font-weight: 700; border-radius: 5px; cursor: pointer; transition: 0.3s; text-transform: uppercase;
}
.button:hover { background: var(--dark-accent); transform: translateY(-2px); }

/* Disabled state for buttons */
.button.disabled, .event-button.disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    pointer-events: none; /* Disables click events */
}

.button.disabled:hover, .event-button.disabled:hover {
    background-color: #cccccc; /* Keep the same background on hover */
    transform: none; /* No hover effect */
}

/* FOOTER & UTILS */
.social-links { margin-top: 30px; display: flex; justify-content: center; gap: 20px; }
.social-icon { color: var(--accent-color); transition: 0.3s; }
.social-icon:hover { color: var(--dark-accent); transform: scale(1.1); }

#backToTop {
    position: fixed; bottom: 25px; right: 25px; display: none;
    background: var(--accent-color); color: white; border: none;
    width: 45px; height: 45px; border-radius: 50%; cursor: pointer; z-index: 1000;
}
.footer { padding: 40px 0; font-size: 0.8rem; color: #777; }

/* MOBILE ADJUSTMENTS */
@media (max-width: 600px) {
    .form-row { flex-direction: column; }
    .navbar ul { gap: 15px; }
}

/* SOCIAL LINKS */
.member-link {
    color: var(--body-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.member-link:hover {
    color: #000000;
    border-bottom: 1px solid var(--accent-color);
    opacity: 0.8;
}

/* --- events Section Styles --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: stretch; /* This will make cards the same height */
}

.event-card {
    background: white;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.event-details {
    flex-grow: 1;
}

.event-title {
    font-family: 'Poppins';
    color: var(--dark-accent);
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

.event-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--body-text);
}

.event-button {
    padding: 12px 25px;
    font-size: 0.9rem;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .event-card {
        align-items: stretch;
    }
    .event-button {
        width: 100%;
        text-align: center;
    }
}