@import "style-dynamic.css";

/* Two buttons side by side (same as Banner) */
.module-hero .item-feet.module-buttons,
.module-hero .item-feet.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.module-hero .item-feet.module-buttons .scroll,
.module-hero .item-feet.hero-buttons .scroll {
  display: inline-block;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensure hero is behind content */
}

.hero-background--images {
    position: absolute;
    inset: 0;
}

.hero-background_image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--hero-fade, 1s) ease-in-out;
}

.hero-background_image.is-active {
    opacity: 1;
}

/* === jump fix start === */
.video.hero-background {
    position: relative !important;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-background_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease-in-out; /* Smooth fade-in */
}

.hero-background.loaded .hero-background_video {
    opacity: 1; /* Fade in when loaded */
}


.video.hero-background.loaded {
    background: none; /* Remove background image when loaded */
}

/* === jump fix end === */
.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area of .hero-wrapper */
}

.hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Above the hero but allows interaction with content */
}

.hero-content {
    max-width: unset;
    text-align: center; /* Center content text */
    z-index: 3; /* Ensure it's above the overlay */
}

.hero-inner {
    padding: 1em 1em 0;
    }

.hero-inner img {
    max-width: 100%;
    }



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-logo {
    max-width: 340px;
    margin: 0 auto;
}

.hero-favicon {
    max-width: 40px;
    margin: 0 auto;
    display: inline-block;
}

/* .module-hero .button {
    border-radius: 10px;
} */

.footer-container {
    padding: 20px;
    background-color: #f8f8f8;
}

.footer-column-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.column {
    box-sizing: border-box;
    padding: 10px;
}

.column1 {
    text-align: right;
    white-space: nowrap;
    margin-right: 20px;
}

.column2 {
    text-align: center;
    padding: 0 !important;
}

.column3 {
    text-align: left;
    white-space: nowrap;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .column-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .column2 {
        position: static;
        transform: none;
    }

    .column1,
    .column3 {
        width: 100%;
        text-align: center;
    }

    .column3 {
        margin-left: 0;
    }
}