:root {
    --primary: #4B1D3F;
    --secondary: #2ECC71;
    --light: #F8F9FA;
    --dark: #333;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: var(--light);
    /* color: var(--primary); */
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(75,29,63,0.7);
    backdrop-filter: blur(10px);
}

.nav-links a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 15px;
}

/* underline animation */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--secondary);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .logo img {
        height: 45px;
    }
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    top: 25px;
    min-width: 180px;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--dark);
    padding: 10px;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* HERO */
.hero {
    background-image: linear-gradient(
        rgba(75,29,63,0.6),
        rgba(46,204,113,0.4)
    ),
    url('/images/header_banner.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 160px 20px 100px;
}


.hero-content {
    max-width: 600px;
    margin-left: 40px;
}

@media (max-width: 768px) {
    .hero-content {
        margin-left: 0;
        text-align: center;
    }
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
}
/* MAIN GRID */
.container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    padding: 40px;
}

/* SECTIONS */
.section {
    margin-bottom: 40px;
}

.section h2 {
    margin-bottom: 15px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    color: var(--primary);
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    color: var(--primary);
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    color: var(--primary);
}

.card-content {
    padding: 15px;
}

/* SIDEBAR */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background: white;
    padding: 15px;
    border-radius: 10px;
}

.sidebar-box h3 {
    margin-bottom: 10px;
}

.sidebar-box a {
    text-decoration: none;
    color: var(--primary);
}
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* FIX SIDEBAR POSITION (CRITICAL) */
.container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 60px 20px;
}

/* FOOTER */
.footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

/* MOBILE */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-direction: column;
    }

    .hero-content {
        margin-left: 0;
    }
}

html, body {
    height: 100%;
    
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #27ae60;
    transform: translateY(-2px);
}
.hero {
    padding-top: 160px;
}
h1, h2, h3 {
    font-weight: 600;
}

p {
    line-height: 1.6;
    font-size: 15px;
    color: white;
}

.hero p {
    color: white;
}
.section {
    margin-bottom: 50px;
    color: var(--primary);
}

.center {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

/* CENTER WHO WE ARE */
.center-section {
    text-align: center;
    max-width: 800px;
    margin: 60px auto; /* THIS centers it horizontally */
    padding: 0 20px;
}
.center-section h2 {
    margin-bottom: 15px;
}

.center-section p {
    font-size: 16px;
    line-height: 1.7;
} 

/* HEADINGS COLOR */

/* BODY TEXT COLOR */
body > *:not(.navbar):not(.footer):not(.hero) p {
    color: var(--primary);
}

/* SIDEBAR RIGHT */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* READ MORE */
.read-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* EVENT CARD DETAILS */
.card-content p {
    margin: 6px 0;
    color: var(--primary);
}

/* SIDEBAR LINKS */
.sidebar-box p {
    margin-bottom: 10px;
}

.sidebar-box small {
    display: block;
    color: #777;
}

.icon {
    color: var(--secondary);
    margin-right: 5px;
}

.date {
    font-size: 14px;
}

.month {
    color: var(--secondary);
    font-weight: bold;
}

.location {
    font-size: 14px;
    margin-top: 5px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: rgba(75,29,63,0.95);
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px;
        font-size: 18px;
        width: 100%;
        text-align: center;
    }

    .nav-links.show {
        display: flex;
    }
}


.nav-links {
    transition: all 0.3s ease;
}