:root {
    --bg-color: #0B0F29;
    --text-color: #F2F2F2;
    --accent-color: #F5C542;
    --accent-dark: #C9A12F;
    --section-bg: #11152F;
    --card-bg: #1A1F3D;
}

body {
    margin: 0;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
}

.section {
    padding: 3rem 2rem;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.section.events {
    background: #0B0F29;   /* matches your dark theme */
    color: #fff;
}


.section.about {
    background: #0B0F29;   /* matches your dark theme */
    color: #fff;
	font-size: 1.5rem;
}


.btn-primary {
    background: var(--accent-color);
    color: #0B0F29;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary {
    border: 2px solid var(--accent-color);
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    color: var(--accent-color);
}

.btn-small {
    background: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #0B0F29;
    font-size: 0.9rem;
}

.event-card,
.blog-card,
.astro-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.gallery-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.gallery-user {
    font-size: 0.9rem;
    opacity: 0.8;
}
.dashboard-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.profile-box {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    width: 260px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.dashboard-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 260px;
}
.event-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.event-tag.public {
    background: #4CC9F0;
    color: #0B0F29;
}

.event-tag.members {
    background: #F5C542;
    color: #0B0F29;
}
form.form-auth textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: var(--section-bg);
    color: var(--text-color);
    border: 1px solid #333;
}
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 10px;
}

.blog-cover {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.blog-cover-large {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.blog-meta {
    opacity: 0.8;
    font-size: 0.9rem;
}

.blog-content {
    line-height: 1.6;
    font-size: 1.1rem;
}


nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

nav a:hover {
    color: #4CC9F0;
}

.nav-menu {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
	justify-content: flex-end; /* NEW: aligns items to the right */
    text-align: right;         /* helps when wrapping */
	margin-left: auto; /* pushes nav to the right */
}

@media (max-width: 900px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

.site-header {
    width: 100%;
    background: #0B0F29;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

* {
    box-sizing: border-box;
}
