/* CSS Variables */
:root {
    --bg-color: #082238;
    --text-color: #ffffff;
    --spacing-small: 10px;
    --spacing-medium: 20px;
    --logo-height: 174px;
    --logo-height-sm: 140px;
    --logo-height-collapsed: 74px;
    --logo-height-collapsed-sm: 64px;
    --logo-height-mobile: 48px;
    --transition-speed: 300ms;
    --breakpoint: 600px;
    --spacing-sm: 15px;
    --spacing-xs: 0; 
}

/* Reset and global styles */
html, body {
    height: 100%;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: Arial, sans-serif;
}

/* Header styling: normal flow, centered logo */
header {
    /* leave in document flow so it scrolls away with content */
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: var(--logo-height);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: height var(--transition-speed) ease, transform var(--transition-speed) ease;
    padding-top: var(--spacing-small); /* distance from top browser frame */
}

header .logo {
    margin: 0 auto;
}

/* content block for headline and details */
.content {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-medium) var(--spacing-small) calc(var(--spacing-medium)*2);
    /* default vertical layout; may change to row on wider screens */
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
}

/* Responsive headline sizing to prevent awkward breaks */
.content h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: var(--spacing-medium);
    word-break: keep-all;
}

/* paragraphs justified for block-text appearance */
.content p,
.content ul {
    margin-bottom: var(--spacing-medium);
    text-align: justify;
}

/* highlight online ticket link */
.online-link {
    font-weight: bold;
    text-decoration: underline;
    color: #03b0e8;
}
.online-link:hover {
    color: #0292b8;
}

.content ul {
    list-style: none;
    padding-left: 0;
}

.content ul li::before {
    content: "– ";
}

/* image container beside text on wide screens */
.content-image {
    max-width: 300px;
    margin-top: var(--spacing-medium);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* layout switch to row with text left and image right on larger viewports */
@media (min-width: 800px) {
    .content {
        flex-direction: row;
        align-items: flex-start;
    }
    .content > .text,
    .content > .content-image {
        flex: 1 1 auto;
    }
    .content > .content-image {
        margin-left: var(--spacing-medium);
        margin-top: 0;
    }
    .content p,
    .content ul {
        text-align: justify;
    }
}

.content ul {
    list-style: none;
    padding-left: 0;
}

.content ul li::before {
    content: "– ";
}


.logo {
    height: var(--logo-height);
    width: auto;
    transition: height var(--transition-speed) ease;
}

/* Main content: centered with header spacing */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* remove extra top padding; header is in normal flow */
    box-sizing: border-box;
}

.links-container {
    text-align: center;
    margin-top: var(--spacing-medium);
}

.big-link {
    color: #03b0e8;
    display: block;
    margin: var(--spacing-medium) 0;
    margin-top: 0;
    font-size: 2rem;
    text-decoration: none;
}

.big-link:hover {
    color: #0292b8;
    text-decoration: underline;
}

/* Collapsed state when user scrolls */
body.header-small header {
    height: var(--logo-height-collapsed);
}

body.header-small .logo {
    height: var(--logo-height-collapsed);
}

/* header is in normal flow; no padding adjustment required */

/* Widget containers */
.elfsight-wrapper {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

/* Elfsight widgets: responsive iframe styling */
div[class^="elfsight-app"] {
    width: 100% !important;
    box-sizing: border-box;
}

div[class^="elfsight-app"] iframe {
    width: 100% !important;
    min-height: 300px;
    height: auto !important;
}

/* Instagram/website icons: display side-by-side with fixed size anchors */
.instagram-link {
    display: inline-flex;
    gap: var(--spacing-small);
}

.instagram-link a {
    display: inline-block;
    width: 48px;
    height: 48px;
}

.instagram-link img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Mobile responsive styles */
@media (max-width: 600px) {
    header {
        height: var(--logo-height-sm);
    }

    .logo {
        height: var(--logo-height-sm);
    }

    main {
        padding-top: var(--logo-height-sm);
    }

    .big-link {
        font-size: 1.5rem;
        margin: var(--spacing-sm) 0;
    }

    body {
        padding: 0 var(--spacing-small);
    }

    body.header-small header {
        height: var(--logo-height-collapsed-sm);
    }

    body.header-small .logo {
        height: var(--logo-height-collapsed-sm);
    }

    body.header-small main {
        padding-top: var(--logo-height-collapsed-sm);
    }

    div[class^="elfsight-app"] iframe {
        min-height: 220px;
    }

    .instagram-link a {
        width: 40px;
        height: 40px;
    }
    /* container keeps inline-flex and gap from base rules */
}
