/*
Theme Name: aeroplusshaker
Theme URI: https://wordpress.com/website-design-service/
Author: WordPress.com Express Design Service
Author URI: https://wordpress.com/website-design-service/
Description: a WordPress.com Express Design Service theme
Requires at least: 6.8
Tested up to: 6.9
Requires PHP: 5.7
Version: 1.07
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: assembler
Text Domain: aeroplusshaker
Tags:
*/

/* ─── Iron Workshop: Animation Classes ─────────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: slideInLeft 0.7s ease forwards;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  animation: slideInRight 0.7s ease forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  to { opacity: 1; transform: translateX(0); }
}

/* ─── Stagger Children ──────────────────────────────────────────────────── */

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
}
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }

/* ─── Hover interactions ────────────────────────────────────────────────── */

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
}

/* ─── Iron Workshop: Section / Layout helpers ───────────────────────────── */


/* Heading underline — border-bottom in Additional CSS */
.heading-underline {
  display: inline-block;
}


/* Product image: orange glow effect */
.product-image-wrap img {
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.65)) drop-shadow(0 0 30px rgba(255,87,34,0.1));
  transition: filter 0.4s ease, transform 0.4s ease;
}
.product-image-wrap:hover img {
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.75)) drop-shadow(0 0 45px rgba(255,87,34,0.2));
  transform: translateY(-4px);
}

/* Compatible products grid cards */
.product-card {
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* In-action grid images */
.action-image-card {
  overflow: hidden;
}
.action-image-card img {
  transition: transform 0.4s ease;
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.action-image-card:hover img {
  transform: scale(1.04);
}

/* Video section */
.video-wrap video {
  width: 100%;
}


/* Equal-height cards */
.equal-cards > .wp-block-column {
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}
.equal-cards > .wp-block-column > .wp-block-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Footer top margin reset */
.wp-site-blocks > footer {
  margin-block-start: 0;
}

/* ─── Editor: keep animated content visible while editing ───────────────── */

.editor-styles-wrapper .fade-up,
.editor-styles-wrapper .fade-in,
.editor-styles-wrapper .slide-in-left,
.editor-styles-wrapper .slide-in-right,
.editor-styles-wrapper .animate-on-scroll,
.editor-styles-wrapper .stagger-children > * {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* ─── Reduced Motion ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll,
  .fade-up,
  .fade-in,
  .slide-in-left,
  .slide-in-right,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
