/*
Theme Name: My Bootstrap Theme
Author: Your Name
Version: 1.0
*/

/* =========================================
   1. DESIGN TOKENS (GLOBAL VARIABLES)
========================================= */

:root {
    /* Brand colors */
    --brand-primary: #cb607e;
    --brand-secondary: #616eae;
    --brand-bg: #ffffff;
	--brand-bg-secondary: #f4f4f4;

    /* Layout */
    --header-logo-height: 200px;
    --header-navbar-height: 91px;
    --header-total-height: 291px; /* must equal header-logo-height + header-navbar-height

    /* Spacing */
    --section-padding-y: 100px;
    --scroll-margin-top: 0px;
}

/* =========================================
   2. BASE STYLES
========================================= */

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    background-color: var(--brand-bg);
}

/* Typography */
:is(h1, h2, h3, h4, h5, h6) {
    color: var(--brand-primary)
}

/* =========================================
   3. LAYOUT
========================================= */

header {
    height: var(--header-logo-height);
    background: var(--brand-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

section {
    padding: var(--section-padding-y) 0;
    min-height: 100vh;
    scroll-margin-top: var(--scroll-margin-top);
}

/* =========================================
   4. NAVBAR
========================================= */

.navbar {
    background-color: var(--brand-bg);
    height: var(--header-navbar-height);
}

.nav-link {
    border-radius: 50rem;
    padding: 0.5rem 1.25rem;
    color: var(--brand-secondary);
    border: 2px solid transparent;
    transition: all 0.25s ease;
}

/* Hover → outlined pill */
.nav-link:hover {
    border-color: var(--brand-primary);
    color: var(--brand-secondary);
}

/* Active → filled pill */
.nav-link.active {
    background-color: var(--brand-primary) !important;
    color: var(--brand-bg) !important;
    border-color: var(--brand-primary);
}

/* =========================================
   5. COMPONENTS
========================================= */

/* ---- Event Card ---- */

.event-card {
    border: none;
    border-left: 4px solid var(--brand-primary);
	background-color: var(--brand-bg-secondary);
}

.event-meta {
    display: flex;
    flex-direction: column;
}

.meta-row {
    margin-bottom: 0.5rem;
}

/* Event Typography */

.event-date {
    font-size: 1.4rem;
    font-weight: 600;
}

.event-time {
    font-size: 1.1rem;
    color: var(--bs-secondary);
}

.event-location {
    font-size: 0.95rem;
    color: var(--bs-secondary);
}

.event-type {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--brand-primary)
    ;
}

.event-title {
    font-weight: 600;
    color: var(--brand-secondary);
}

.event-excerpt {
    font-size: 0.95rem;
}

/* ---- Calendar ---- */

#calendar {
    min-width: 500px;
    min-height: 1000px;
}

/* fix stacking of header columns in list view of calendar */
.fc .fc-list-day {
    position: sticky;
    z-index: 9999;
}