/* Hide WordPress content container */
body.splash-page-template #content.site-content {
    display: none !important;
}

/* Full‑page wrapper */
.splash-page-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.splash-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index:-1000;
}

.splash-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.splash-slide.active {
    opacity: 1;
}

/* Position classes - fixed */
.splash-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 2;
}

.splash-content {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 4px;
    padding: 2rem;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    max-width: 800px !important;
    width: 90% !important;
}

/* Position classes */
.splash-text-position-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.splash-text-position-top-left {
    top: 2rem;
    left: 2rem;
    transform: none;
    text-align: left;
}

.splash-text-position-top-center {
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.splash-text-position-top-right {
    top: 2rem;
    right: 2rem;
    left: auto;
    transform: none;
    text-align: right;
}

.splash-text-position-center-left {
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    text-align: left;
}

.splash-text-position-center-right {
    top: 50%;
    right: 2rem;
    left: auto;
    transform: translateY(-50%);
    text-align: right;
}

.splash-text-position-bottom-left {
    bottom: 2rem;
    left: 2rem;
    transform: none;
    text-align: left;
}

.splash-text-position-bottom-center {
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.splash-text-position-bottom-right {
    bottom: 2rem;
    right: 2rem;
    left: auto;
    transform: none;
    text-align: right;
}

.splash-content {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 4px;
    padding: 2rem;
    box-sizing: border-box;
    color: #fff;
    z-index: 2;
    position: absolute;
    overflow: visible !important;
}

h1.splash-title {
    margin: 0 -12px 0.5em;
    font-size: 2.0rem !important;
    font-weight: 700;
    line-height: 1.0;
    display: inline-block;
    background: linear-gradient(60deg, 
        #ffb3ff, #ffffb3, #b3ffff, #b3ffb3,
        #ffb3b3, #8080ff, #ffb3ff, #ffffb3,
        #b3ffff, #b3ffb3, #ffb3b3, #8080ff, #ffb3ff
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: splash-title-gradient 12s linear infinite;
    text-shadow: none;
}

@keyframes splash-title-gradient {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
@keyframes splash-title-gradient {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.splash-description p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

.splash-description br {
    display: inline !important;
    line-height: 1.4 !important;
}

.splash-enter-button {
    display: inline-block;
    margin-top: 1.5em;
    padding: 0.75em 2em;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.splash-enter-button:hover {
    background: #fff;
    color: #000;
}

body.splash-page-template .site-header {
    z-index: 1000 !important;
}
body.splash-page-template .main-navigation .sub-menu {
    z-index: 1001 !important;
}
body.splash-page-template .site-header {
    overflow: visible !important;
}
body.splash-page-template .main-navigation ul ul {
    z-index: 1002 !important;
}

/* Dynamic menu colors */
body.acceptAB-has-hero.hero-dark .site-header:not(.scrolled) .main-navigation > ul > li > a,
body.acceptAB-has-hero.hero-dark .site-header:not(.scrolled) .main-navigation .nav-menu > li > a,
body.acceptAB-has-hero.hero-dark .site-header:not(.scrolled) .site-title a {
    color: #ffffff;
}
body.acceptAB-has-hero.hero-dark .site-header:not(.scrolled) .main-navigation > ul > li > a:hover,
body.acceptAB-has-hero.hero-dark .site-header:not(.scrolled) .main-navigation .nav-menu > li > a:hover,
body.acceptAB-has-hero.hero-dark .site-header:not(.scrolled) .main-navigation .current-menu-item > a,
body.acceptAB-has-hero.hero-dark .site-header:not(.scrolled) .site-title a:hover {
    color: #ff3399;
}

body.acceptAB-has-hero.hero-light .site-header:not(.scrolled) .main-navigation > ul > li > a,
body.acceptAB-has-hero.hero-light .site-header:not(.scrolled) .main-navigation .nav-menu > li > a,
body.acceptAB-has-hero.hero-light .site-header:not(.scrolled) .site-title a {
    color: #555555;
}
body.acceptAB-has-hero.hero-light .site-header:not(.scrolled) .main-navigation > ul > li > a:hover,
body.acceptAB-has-hero.hero-light .site-header:not(.scrolled) .main-navigation .nav-menu > li > a:hover,
body.acceptAB-has-hero.hero-light .site-header:not(.scrolled) .main-navigation .current-menu-item > a,
body.acceptAB-has-hero.hero-light .site-header:not(.scrolled) .site-title a:hover {
    color: #ff3399;
}

@media (max-width: 767px) {
    #site-navigation.main-navigation.toggled > #primary-menu.toggled .menu-item-has-children,
    #site-navigation.main-navigation.toggled > #primary-menu.toggled .page_item_has_children {
        display: block !important;
    }
    #site-navigation.main-navigation.toggled > #primary-menu.toggled .menu-item-has-children > a,
    #site-navigation.main-navigation.toggled > #primary-menu.toggled .page_item_has_children > a {
        width: 100% !important;
        display: block !important;
    }
}

/* Prevent scrolling on splash page */
html.splash-page-template,
body.splash-page-template {
    overflow: hidden !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.splash-page-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden !important;
}

.splash-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
}

.splash-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .splash-description p {
        white-space: normal !important;
        word-break: keep-all !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    .splash-content {
        padding: 1.5rem !important;
        max-width: 90% !important;
    }
}

@media (max-width: 480px) {
    .splash-description p {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}