/*
Theme Name: Suprevo x Volkstuin Lommerrijck
Author: Suprevo - Marco Brok
Author URI: https://www.suprevo.com
Description: A custom WordPress theme for the Volkstuin Lommerrijck website
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suprevo
Version: 0.1.0
*/
/* Add your custom styles below */
.default-section__row + .default-section__row {
  margin-top: 4rem !important;
}

.default-section__column {
  align-items: normal;
}

.volkstuin-image-frame__img {
  height: auto !important;
}

/* Image blocks stacked in one column: the column is a flex column without
   gap and the frame has no margin, so they would otherwise touch */
.volkstuin-image-frame + .volkstuin-image-frame {
  margin-top: 1.5rem;
}


.mb-0 {
  margin-bottom: 0;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Non-clickable card (e.g. agenda items): no hover lift that suggests a link */
.card--static:hover {
  transform: none !important;
}

/* ── Footer ──────────────────────────────────── */

.volkstuin-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.volkstuin-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.volkstuin-footer__logo {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.volkstuin-footer__address {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
  letter-spacing: 0.02em;
}

.volkstuin-footer__bottom {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.volkstuin-footer__copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin: 0;
}

.volkstuin-footer__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.volkstuin-footer__link:hover {
  color: #fff;
}

/* Override compiled footer text style */
.volkstuin-footer__content {
  padding: 2.5rem 1rem 2rem !important;
}

/* Mobile: the decorative plants are absolutely positioned and hang 100px above
   the footer (main.css: .volkstuin-footer__plants { top: -100px; height: 115px }).
   Sections only provide --section-padding-mobile (3rem/48px) of bottom padding
   versus 6rem/96px on desktop, so on mobile the image paints over the last lines
   of content. Reserve the missing clearance so the plants hang over empty space. */
@media (max-width: 767px) {
  .volkstuin-footer {
    margin-top: 4rem;
  }
}

/* Sunray Burst Animation */
@keyframes rayBurst {
  0% {
    transform: scale(0);
    transform-origin: center;
    opacity: 0;
  }
  100% {
    transform: scale(1);
    transform-origin: center;
    opacity: 1;
  }
}

/* Logo Scale Animation with Glow */
@keyframes scaleFromCenter {
  0% {
    transform: scale(0);
    opacity: 0;
    filter: drop-shadow(0 0 0px rgba(251, 191, 36, 0));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6));
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.3));
  }
}

#logo {
  animation: scaleFromCenter 0.8s ease-out forwards;
  transform-origin: center;
  opacity: 0;
}

/* Apply burst animation to all rays simultaneously */
#ray_x5F_1,
#ray_x5F_2,
#ray_x5F_3,
#ray_x5F_4,
#ray_x5F_5,
#ray_x5F_6,
#ray_x5F_7,
#ray_x5F_8,
#ray_x5F_9,
#ray_x5F_10,
#ray_x5F_11,
#ray_x5F_12,
#ray_x5F_13,
#ray_x5F_14,
#ray_x5F_15 {
  animation: rayBurst 0.8s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
  transform-origin: center;
}

/* [kaart] shortcode (Leaflet). Own stacking context, so the map panes
   (z-index 400+) stay below the sticky header. */
.suprevo-map {
  position: relative;
  z-index: 0;
  border-radius: 12px;
  overflow: hidden;
}
