/* Import Montserrat from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

/* NAVBAR */

.navbar {
    background-color: #131313;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo{
    background-image: linear-gradient(to top, #ff0844 -5%, #ca8927 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    font-family: Copperplate, fantasy;
}

.fa-gem{ margin-right: 0.5rem; }

.navbar__menu{
    display: flex;
    align-items: center;
    list-style: none;
}

.navbar__item{ height: 80px; }

.navbar__links{
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__links:hover{
    color: #ff0844;
    transition: 0.3s ease;
}

/* ACCESSIBILITY */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* LANGUAGE SWITCH */

.lang-switch { display:flex; align-items:center; width:100px; }

.lang-selector { position:relative; display:inline-block; }

.lang-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#000;
    color:#fff;
    border:1px solid rgba(255,255,255,0.15);
    padding:6px 10px;
    border-radius:6px;
    cursor:pointer;
}

.lang-btn .lang-flag{
    width:20px;
    height:14px;
    object-fit:cover;
}

.lang-options{
    display:none;
    position:absolute;
    right:0;
    margin-top:8px;
    background:#000;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:6px;
    min-width:160px;
    padding:8px 6px;
    box-shadow:0 6px 20px rgba(0,0,0,0.35);
}

.lang-options.open{ display:block; }

.lang-option{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 10px;
    color:#fff;
    cursor:pointer;
}

.lang-option:hover{ background:rgba(255,255,255,0.03); }

@media (max-width:600px){
    .lang-switch{ display:none; }
}

/* MAIN CENTER */

.main-center{
    min-height:calc(100vh - 80px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:20px;
    text-align:center;
}

.main-center .main-caption{
    font-size:3rem;
    margin-bottom:20px;
    color:#131313;
    font-weight:600;
}

.main-center .main-desc{
    font-size:1rem;
    max-width:720px;
    color:#333;
    margin-bottom:18px;
    line-height:1.5;
}

.main-center img{
    max-width:100%;
    height:auto;
    display:block;
}

/* CONTENT LAYOUT */

.content-layout{
    display:flex;
    gap:32px;
    align-items:flex-start;
    max-width:1400px;
    margin:12px auto 0;
}

.main-content{ flex:1; }

.hero-media{
    width:100%;
    display:flex;
    justify-content:center;
}

.hero-media img{
    width:100%;
    max-width:920px;
    border-radius:8px;
}

/* EVENTS SIDEBAR */

.events-sidebar{
    width:460px;
    max-width:46%;
    min-width:320px;
    height:68vh;
    background:#0f0f0f;
    color:#fff;
    padding:28px;
    border-radius:8px;
    box-shadow:0 6px 24px rgba(0,0,0,0.28);
    display:flex;
    flex-direction:column;
}

.events-sidebar h2{
    margin-bottom:16px;
    font-size:1.3rem;
}

.events-list{
    list-style:none;
    margin-bottom:12px;
    overflow:auto;
    flex:1;
}

.event-item{
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,0.04);
}

.event-title{ font-weight:700; }

.event-meta{ color:rgba(255,255,255,0.82); }

.event-desc{ color:rgba(255,255,255,0.94); }

.btn{
    display:inline-block;
    margin-top:12px;
    padding:12px 16px;
    background:#ff0844;
    color:#fff;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
}

/* BOARD GRID */

.board-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:24px;
    max-width:1100px;
    margin:40px auto;
    padding:0 20px 40px;
}

.board-member{
    grid-column:span 2;
}

.board-member:nth-child(4){
    grid-column:2/span 2;
}

.board-member:nth-child(5){
    grid-column:4/span 2;
}

.board-member{
    background:#fff;
    padding:18px;
    border-radius:8px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
    text-align:center;
}

.board-member img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 12px;
}

.board-member a{
    color:#ff0844;
    text-decoration:none;
}

/* FOOTER */

.site-footer{
    width:100%;
    background:#0b0b0b;
    color:#ddd;
    border-top:1px solid rgba(255,255,255,0.03);
}

.footer-container{
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-contact a{
    color:#ffb3b3;
    text-decoration:none;
}

.footer-contact a:hover{ text-decoration:underline; }

.social-link{
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:6px;
    background:#1877F2;
}

/* RESPONSIVE */

@media (max-width:920px){
    .content-layout{
        flex-direction:column-reverse;
        align-items:center;
    }

    .events-sidebar{
        width:100%;
        max-width:none;
        height:auto;
        min-width:auto;
    }
}

@media (max-width:680px){
    .footer-container{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }
}

@media (max-width:480px){
    .board-member img{
        width:96px;
        height:96px;
    }
}

.lang-switch {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px 14px;
    font-size: 16px;
}

.lang-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-caret {
    font-size: 12px;
}

.lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 150px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.lang-selector.open .lang-options {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    cursor: pointer;
    color: #111;
}

.lang-option:hover {
    background: #f2f2f2;
}

.lang-option img {
    width: 24px;
    height: 16px;
    object-fit: cover;
}