/* Extracted from keystoneapp/templates/components/hero_gradient.html */
.hero-gradient {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-4));
    background-size: 400% 400%;
    animation: gradientShift var(--animation-duration) ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-gradient .hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient .hero-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatParticle 20s infinite;
}

.hero-gradient .hero-particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-gradient .hero-particle:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.hero-gradient .hero-particle:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 30%;
    animation-delay: 4s;
}

.hero-gradient .hero-particle:nth-child(4) {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 70%;
    animation-delay: 6s;
}

.hero-gradient .hero-particle:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
}

.hero-gradient .hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.highlight-gradient {
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Extracted from keystoneapp/templates/components/hero_slider.html */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.7) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.hero-slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.hero-slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active,
.hero-slider-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Extracted from keystoneapp/templates/components/hero_static.html */
.hero-static {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.7) 100%);
    z-index: 1;
}

.hero-static .hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-static {
        background-attachment: scroll;
    }
}

/* Extracted from keystoneapp/templates/components/hero_video.html */
.hero-video {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-element,
.hero-video-iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.7) 100%);
    z-index: 1;
}

.hero-video .hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-video-highlight {
    display: inline-block;
    font-weight: 800;
}

.hero-video-highlight.is-block {
    display: block;
    margin-top: 0.12em;
}

.hero-highlight-orange {
    color: #ff9f1c;
}

.hero-highlight-gold {
    color: #ffd166;
}

.hero-highlight-blue {
    color: #60a5fa;
}

.hero-highlight-green {
    color: #34d399;
}

.hero-highlight-cyan {
    color: #22d3ee;
}

.hero-highlight-red {
    color: #fb7185;
}

.hero-highlight-white {
    color: #ffffff;
}
