/* Base styles - Mobile first (applies to all screen sizes unless overridden) */

:root {
    --header-height: 110px;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    font-size: 16px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

main {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

header {
    position: fixed;
    top: 0;
    background: black;
    width: 100%;
    height: auto;
    padding: 0;
    box-sizing: border-box;
    z-index: 100;
}

.logo-menu {
    display: flex;
    flex-direction: row;
}

.burger-menu-button {
    background: none;
    border: none;
    padding: 0 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.burger-menu {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.logo {
    margin: 0;
    padding: 0;
}

.logo img {
    width: 100%;
}

.logo a {
    display: block;
    line-height: 0;
}

.menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.menu li {
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
}

.menu li a {
    display: block;
    padding: 18px 15px;
    color: inherit;
    text-decoration: none;
}

.menu li:last-child {
    border-bottom: none;
}

.menu li:active {
    background: black;
    color: white;
}

/* Show menu when menu-open class is added */
.menu.menu-open {
    display: block;
}

.submenu {
    display: none;
}

.submenu li {
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #333;
    font-size: 14px;
    color: white;
    background: black;
}

.submenu li a {
    display: block;
    padding: 18px 15px;
    color: white;
    text-decoration: none;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li:active {
    background: #333;
}

.content {
    margin-top: var(--header-height);
    display: flex;
    flex-direction: column;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.gallery {
    width: 100%;
    position: relative;
}

.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.gallery-image.active {
    position: relative;
    opacity: 1;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 36px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
}

.gallery:hover .gallery-btn {
    opacity: 1;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.gallery-btn-prev {
    left: 10px;
}

.gallery-btn-next {
    right: 10px;
}

.gallery-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}

.indicator.active {
    background: rgba(255, 255, 255, 1);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.sections {
    display: flex;
    flex-direction: column;
}

.section {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    max-width: 100%;
    overflow: hidden;
}

.section-headline {
    padding: 15px;
    margin: 0 0 12px 0;
}

.section-subheadline {
    font-size: 16px;
    width: 100%;
    padding: 12px 15px;
    margin: 0 0 15px 0;
    color: white;
    background: black;
    box-shadow: 2px 0 3px black;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-content {
    padding: 15px;
    margin-bottom: 12px;
    box-sizing: border-box;
    word-break: break-word;
}

.section-content p {
    margin: 0 0 12px 0;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-links {
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.section-links a {
    display: inline-block;
    background: black;
    color: white;
    padding: 6px 15px;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    padding-left: 35px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-links a::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 3px;
    background: white;
}

.section-links a::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.section-links a:hover {
    background: #444;
}

footer {
    text-align: center;
    padding: 30px 15px;
    margin-top: 40px;
    font-size: 14px;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    padding-top: 25px;
    height: 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Desktop styles - Override mobile styles for larger screens */
@media (min-width: 601px) {
    :root {
        --header-height: 360px;
    }

    main {
        width: calc(100% - 40px);
        max-width: 980px;
    }

    header {
        width: 100%;
        padding: 0;
        background: white;
    }

    .fixed-top {
        width: calc(100% - 40px);
        max-width: 980px;
        padding: 0;
        margin: 0 auto;
    }

    .logo-menu {
        align-items: flex-start;
        padding: 0;
    }

    .burger-menu-button {
        display: none;
    }

    .burger-menu {
        display: none;
    }

    .menu {
        display: flex;
        position: static;
        width: auto;
        box-shadow: none;
        z-index: auto;
    }

    .menu li {
        padding: 0;
        border-bottom: none;
    }

    .menu li a {
        padding: 5px 20px;
    }

    .menu li:hover, .selected {
        background: black;
        color: white;
        box-shadow: 2px 0 3px #000000;
    }

    .menu li:active {
        background: initial;
        color: initial;
    }

    .submenu {
        display: flex;
        background: black;
        height: auto;
        min-height: 31px;
        margin: 0;
        padding: 0;
        list-style: none;
        box-shadow: 2px 0 3px black;
    }

    .submenu li {
        padding: 0;
        border-bottom: none;
        font-size: 13px;
    }

    .submenu li a {
        padding: 5px 20px;
    }

    .submenu li:hover {
        background: #333;
    }

    .submenu li:active {
        background: black;
    }

    .gallery {
        display: flex;
        box-shadow: 2px 0 3px black;
    }

    .gallery-image {
        height: auto;
    }

    .section {
        flex-direction: row;
        margin-bottom: 0;
        border-top-width: 1px;
        border-top-color: black;
        border-top-style: solid;
        margin-bottom: 30px;
    }

    .section-headline {
        padding: 0;
        padding-left: 26.5%;
        margin-top: 25px;
    }

    .section-subheadline {
        width: 25.5%;
        min-width: 200px;
        align-self: start;
        padding: 5px;
        margin: 0;
    }

    .section-content {
        max-width: 530px;
        padding: 5px 10px;
        width: 53%;
        margin: 0;
    }

    .section-content-2col {
        max-width: 720px;
        padding: 5px 10px;
        width: 72%;
        margin: 0;
    }

    .section-links {
        align-self: end;
        padding: 5px;
        flex-direction: column;
        align-items: stretch;
        min-width: 200px;
    }

    .section-links a {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Photo gallery styles */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    width: 100%;
}

.photo-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.photo-gallery img:hover {
    transform: scale(1.05);
}

@media (min-width: 601px) {
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
}
