:root {
    --bg: #0f0f10;
    --bg-alt: #18181b;
    --text: #f5f5f5;
    --accent: #f5c453;
    --muted: #a1a1aa;
    --border: #27272a;
    --max-width: 1100px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f5; /*background: radial-gradient(circle at top, #1f2933, #020617);*/
    color: #111827;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

#gallery .container {
    max-width: 1400px;   /* try 1400px, 1600px, or 100% */
    padding: 0 0.5rem;   /* a bit less side padding in gallery */
}

/* Header / Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo a {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.main-nav a {
    margin-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted);
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero */

.hero {
    padding: 4rem 0 2.5rem;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.3rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.hero p {
    max-width: 32rem;
    color: var(--muted);
}

/* Sections */

.section {
    padding: 2.5rem 0;
}

.section-alt {
    background: #f5f5f5;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.section-intro {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #020617;
    border: 1px solid var(--border);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    padding: 0.75rem 0.85rem 0.9rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.gallery-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* About / Overview row: text and pictures side by side */
.about-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Left column: text */
.about-text {
    flex: 2;
}

/* Right column: images */
.about-images {
    flex: 1;
    display: flex;
    flex-direction: column;  /* images under each other */
    gap: 1rem;
    align-items: flex-start;
}

.about-photo {
    width: 100%;
    max-width: 240px;    /* makes them smaller */
    height: auto;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    object-fit: cover;
}

/* On mobile: stack text and images */
@media (max-width: 768px) {
    .about-row {
        flex-direction: column;
    }
}

/* Events */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.event-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 0.9rem 1rem;
    background: rgba(15, 15, 16, 0.9);
}

.event-card h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.event-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.event-card-past {
    opacity: 0.75;
}

.current-event-image img {
    width: 100%;        /* fill its own box */
    max-width: 280px;   /* ← control size here (try 220–320px) */
    height: auto;       /* keep aspect ratio */
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    object-fit: cover;
}

.current-event-image {
    display: flex;
    justify-content: center;   /* center horizontally */
}




/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.lightbox.hidden {
    display: none;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-height: 90vh;
    width: auto;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    background: #0f172a;
    color: #f9fafb;
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 0.2rem 0.6rem;
    cursor: pointer;
    font-size: 1.4rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    margin-top: 2rem;
    background: #020617;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-links a {
    margin-left: 1rem;
}

/* Responsive tweaks */

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
}


/* Carousel */

.carousel {
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.carousel-window {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-item {
    flex: 0 0 calc(100% / 3);
    padding: 0 0.4rem;
}

.carousel-item img {
    width: 100%;
    height: auto;   /* <= this is the main limiter */
    max-height: 70vh;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid var(--border);
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}


.carousel-btn {
    border: none;
    background: rgba(15, 15, 16, 0.9);
    color: var(--text);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--border);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.carousel-btn:hover {
    border-color: var(--accent);
}

/* Mobile: show one big image */

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 100%;
        padding: 0 0.2rem;
    }
}

/* Lightbox arrows */

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(15, 15, 16, 0.9);
    color: #f9fafb;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border: 1px solid var(--border);
    font-size: 1.6rem;
    z-index: 50;
}

.lightbox-prev {
    left: 2%;
}

.lightbox-next {
    right: 2%;
}

