/* Match the original Animate.css fadeInDownBig entrance and 0/1/2 second delays. */
@keyframes velikaans-fade-in-down {
    from { opacity: 0; transform: translate3d(0, -2000px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.motion-ready .hero-enter {
    animation: velikaans-fade-in-down 1s ease both;
}
.motion-ready .hero-enter-subtitle { animation-delay: 1s; }
.motion-ready .hero-enter-button { animation-delay: 2s; }

/* ScrollReveal's original fade, 600ms duration and 300ms delay, once per section. */
.motion-ready .ani1 {
    opacity: 0;
}
.motion-ready .ani1.is-revealed {
    opacity: 1;
    transition: opacity 600ms cubic-bezier(.5, 0, 0, 1) 300ms;
}

/* The English backup deliberately kept its covers in colour. */
html[lang="tr"] .workout-cover { filter: grayscale(100%); transition: filter 200ms ease; }
html[lang="tr"] .card:hover .workout-cover,
html[lang="tr"] .card:focus-within .workout-cover { filter: grayscale(0%); }
.footer-separator { opacity: .14; }

.social-icons a { display: inline-flex; padding: 1rem; }
.social-icons img { height: 62px; width: auto; max-width: 100%; }
.contact-hero { position: relative; max-width: 1320px; margin: 0 auto; }
.contact-photo { width: 100%; height: auto; display: block; }
.contact-panel { width: min(100%, 620px); margin: 1.5rem auto 0; }
.contact-hero.has-photo .contact-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: min(90%, 620px);
    background: rgba(25, 26, 29, .94) !important;
}
.contact-panel .card-body { padding: 2rem; }
.contact-panel .btn:hover { color: #35363a; font-weight: 700; }
.contact-panel .rich-content:empty { display: none; }

@media (max-width: 767px) {
    .contact-hero.has-photo .contact-panel { position: static; transform: none; width: 100%; margin-top: 1rem; }
    .contact-panel .card-body { padding: 1.25rem; }
    .social-icons a { padding: .75rem; }
    .social-icons img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .motion-ready .hero-enter { animation: none; }
    .motion-ready .ani1 { opacity: 1; transition: none; }
    html[lang="tr"] .workout-cover { transition: none; }
}
