/* AOS timing override for a premium, slightly slower feel */
[data-aos] {
    transition-duration: 900ms !important;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ---------------- Hero parallax ---------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 30, 21, 0.55) 0%, rgba(13, 30, 21, 0.72) 55%, rgba(13, 30, 21, 0.92) 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

/* Shorter hero banner used on inner pages so the transparent navbar always has a dark image behind it */
.hero-inner {
    min-height: 52vh;
    align-items: flex-start;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero-inner .hero-content {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-2xl);
    width: 100%;
}

.hero-inner .breadcrumbs { margin-bottom: var(--space-md); }

.hero-inner .breadcrumbs a,
.hero-inner .breadcrumbs li { color: rgba(255, 255, 255, 0.7); }
.hero-inner .breadcrumbs a:hover { color: var(--color-white); }
.hero-inner .breadcrumbs li[aria-current] { color: rgba(255, 255, 255, 0.5); }
.hero-inner .breadcrumbs li:not(:last-child)::after { color: rgba(255, 255, 255, 0.4); }

@media (max-width: 700px) {
    .hero-inner .hero-content { padding-bottom: var(--space-xl); }
}

.hero-inner h1 { color: var(--color-white); margin-top: var(--space-md); }
.hero-inner p { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; max-width: 620px; margin-top: var(--space-sm); }

@media (max-width: 700px) {
    .hero-inner { min-height: 40vh; }
}

.scroll-cue {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    animation: floatY 2.4s ease-in-out infinite;
}

.scroll-cue .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
}

@keyframes floatY {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ---------------- Magnetic buttons ---------------- */
.magnetic { display: inline-block; }

/* ---------------- Marker glow pulse (world map) ---------------- */
.map-marker-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 rgba(59, 170, 87, 0.6);
    animation: pulseGlow 2.2s var(--ease-premium) infinite;
}

@keyframes pulseGlow {
    0%   { box-shadow: 0 0 0 0 rgba(59, 170, 87, 0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(59, 170, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 170, 87, 0); }
}

/* ---------------- Floating product card ---------------- */
.float-card {
    animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ---------------- Fade helpers (no-AOS fallback) ---------------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease-premium), transform 0.9s var(--ease-premium);
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safety net: if the AOS CDN fails to load entirely, don't leave content stuck at opacity:0 */
html.no-aos [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    [data-aos], .fade-in, .float-card, .map-marker-dot, .scroll-cue { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
