
/*
Theme Name:     Blue Butterfly Child Theme
Template:       twentytwentyfive
Version:        1.0.0
*/



  .no_margin_columns {
    margin: 0 !important;
  }

  .leaflet-map + p {
    display: none;
  }

  .sticky_header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff; /* match your header background color */
    padding-top: 6px;
    padding-bottom: 6px;
}



.cover_block .wp-block-cover__inner-container {
  /* mobile: stacked + centered */
  display: block;
  width: 100%;
  text-align: center;
}

/* spacing between blocks on mobile */
.caroldean_info { 
  margin-top: 1.25rem; 
  background: rgba(255, 255, 255, 0.7);
}

.caroldean_info img {
  border-radius: 24px;   /* rounded picture corners */
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

.cover_introduction .wp-block-button__link {

    background: linear-gradient( 
    to right,
    #67a679 0,            
    #67a679 16px,         /* keep blue until 12px */
    #ffffff 16px,         /* hard stop to white at 12px */
    #ffffff 100%          
  );
  color: #766f6f;             
  font-weight: 600;           
  font-size: 1rem;             
  padding: 0.9rem 1.75rem;    
  border-radius: 18px;         
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

/* hover + focus states */
.cover_introduction .wp-block-button__link:hover,
.cover_introduction .wp-block-button__link:focus {
  background-color: #555756;   
  color: #67a679;  
  transform: translateY(-2px); /* subtle lift */
}

/* call to action boxes */

.cta_columns {
  align-items: stretch;
}
.cta_columns .wp-block-column > .cta_box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cta_box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); /* soft shadow */
  text-align: center;
}

.cta_box a {
  color: #3972AA; 
  text-decoration: none;
  font-weight: 600;
}

.cta_box a:hover {
  color: #67a679;
  text-decoration: underline;
}

h1.wp-block-post-title {
  color: #C0C0C0;

}

h2.wp-block-post-title {
  color: #707070; 

}

.wp-block-post-title .title_line1 {
  font-family: "Raleway", sans-serif;
  color: #C0C0C0;
}

.wp-block-post-title .title_line2 {
  font-family: "Gistesy", cursive;
  color: #707070; 
  display: block;
  font-weight: normal;
  text-align: right;
  padding-right: 2em;
}

.testimonial {
  background-color: #dedede;
  font-size:30px;
  font-style: italic;
  margin-left:0px;
  margin-right:0px; 
  padding:2em;
  text-align:center;
}

.testimonial {
  position: relative;
}

.testimonial p {
  position: relative;
  z-index: 1; /* text stays on top */
}

.testimonial p::before,
.testimonial p::after {
  position: absolute;
  font-size: 10rem;               /* oversized decorative size */
  color: rgba(0, 0, 0, 0.08);     /* faded look */
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.testimonial p::before {
  content: "“";
  top: 0;           /* aligns with top line of text */
  left: 0;          /* start of paragraph */
  transform: translate(-40%, -20%); 
}

.testimonial p::after {
  content: "”";
  bottom: 0;        /* aligns with bottom line of text */
  right: 0;         /* end of paragraph */
  transform: translate(40%, 20%);
}


/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [class*="animate_"] { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Base animation helper */
.animate_base {
  opacity: 0;                    /* start hidden */
  animation-fill-mode: forwards; /* stay at end state */
  animation-timing-function: var(--anim-ease, ease-out);
  animation-duration: var(--anim-duration, .6s);
  animation-delay: var(--anim-delay, 0s);
}

/* Keyframes */
@keyframes slide_left_in  { from {opacity:0; transform: translateX(50px);}  to {opacity:1; transform: translateX(0);} }
@keyframes slide_right_in { from {opacity:0; transform: translateX(-50px);} to {opacity:1; transform: translateX(0);} }
@keyframes fade_up_in     { from {opacity:0; transform: translateY(20px);}  to {opacity:1; transform: translateY(0);} }
@keyframes zoom_in_in     { from {opacity:0; transform: scale(.96);}        to {opacity:1; transform: scale(1);} }

/* Effects (combine with .animate_base) */
.animate_slide_left  { animation-name: slide_left_in; }
.animate_slide_right { animation-name: slide_right_in; }
.animate_fade_up     { animation-name: fade_up_in; }
.animate_zoom_in     { animation-name: zoom_in_in; }

/* Easy stagger & duration utilities (optional) */
.animate_delay_100 { --anim-delay: .1s; }
.animate_delay_200 { --anim-delay: .2s; }
.animate_delay_300 { --anim-delay: .3s; }
.animate_delay_400 { --anim-delay: .4s; }
.animate_delay_600 { --anim-delay: .6s; }

.animate_fast { --anim-duration: .4s; }
.animate_slow { --anim-duration: .9s; }

/* Base parallax styling */

.parallax_cover {
  position: relative;
  overflow: hidden; /* keep the drifting image clipped */
}
.parallax_cover img.wp-block-cover__image-background,
.parallax_cover video.wp-block-cover__video-background {
  will-change: transform;
  transform: translateY(0);
  pointer-events: none; /* optional */
}

@media (prefers-reduced-motion: reduce) {
  .parallax_cover img.wp-block-cover__image-background,
  .parallax_cover video.wp-block-cover__video-background {
    transform: none !important;
  }
}

.cover_columns 
{ position: relative; 
}
.cover_columns .overlay_image {
  position: absolute;
  bottom: 0;               /* stick to bottom */
  left: 50%;               /* move to horizontal midpoint */
  transform: translateX(-50%); /* center the element itself */
  z-index: 2;
  pointer-events: none;    /* let links under it work */

}
.cover_columns .overlay_image img {
  display: block;
  width:320px; 
  height: auto; 

  /* the mask */
  -webkit-mask-image: linear-gradient(#000 0 0); /* solid opaque */
          mask-image: linear-gradient(#000 0 0);
  -webkit-mask-repeat:no-repeat;
          mask-repeat:no-repeat;
  -webkit-mask-position: 0 100%; /* anchor at bottom */
          mask-position: 0 100%;
  -webkit-mask-size: 100% 0%;   /* start hidden (0% height) */
          mask-size: 100% 0%;

  animation: revealFlower 1.2s ease-in forwards;
}

@keyframes revealFlower{
  to{
    -webkit-mask-size:100% 100%; /* grow upward to full height */
            mask-size:100% 100%;
  }
}


.sage {
  background-blend-mode: screen;
  background-color: #cad1c3;
}

.sand {

  background-blend-mode: screen;
  background-color: #e8e1bf;
  
}

.sea{

  background-blend-mode: screen;
  background-color: #cadecf;
  
}

.lavender{

  background-blend-mode: screen;
  background-color: #e4dfe4;
  
}

@media (max-width: 768px) {
  .cover_columns .overlay_image img {
    opacity: 0.2; /* 20% visible */
  }
}

@media (min-width: 820px) {

  .cover_block.wp-block-cover,
  .cover_block.wp-block-cover-image {
    align-items: flex-start;  /* content hugs the top */
    justify-content: space-between;
    padding: 0 !important;
  }

  .cover_block  .wp-block-cover__inner-container { 
    display: flex; 
    flex-direction: row-reverse;
    justify-content: space-between;
    position: relative;
    padding: 0 !important;
    height: 100%;


  }

  .cover_content_pages img{
  max-height: 400px;         /* your desired max height */
  width: 100%;               /* make it fill column width */
  object-fit: cover;         /* crop instead of squish */
  object-position: center; 
  
  }

  .caroldean_info { 
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    color: #333333;                    
    padding: 2.5rem;  
    margin:0px;                               
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    max-width: 25rem;                   
    text-align: left;
    line-height: 1.6;
  }

  .cover_introduction {
    flex: 2;
    padding-top:1rem; 
    align-self: center;
    text-align: left;
  }

  .instagram_row img {
 max-width: 200px;
 height: auto; 
}


}