/*!
Theme Name: Blocksy
Theme URI: https://creativethemes.com/blocksy/
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Version: 2.1.37
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (c) 2019 CreativeThemes.
Requires at least: 6.5
Requires PHP: 7.0
Tested up to: 6.9
Text Domain: blocksy
Blocksy Minimum Companion Version: 2.1.36-dev1
Tags: accessibility-ready, blog, block-patterns, e-commerce, wide-blocks, block-styles, grid-layout, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments
*/
.qodef-gutenberg-column-inner h1,
.qodef-gutenberg-column-inner h2,
.qodef-gutenberg-column-inner h3,
.qodef-gutenberg-column-inner h4,
.qodef-gutenberg-column-inner h5,
.qodef-gutenberg-column-inner h6 {
    flex: 0 0 100%;
}
.center-text {
  text-align: center;
}
.light-text * {
  color:#fff!important;
}
h5 {
  margin-bottom: 0!important;
}
/* Homepage */
.home .ct-container-full{
  padding-top: 0;
  padding-bottom: 0;
}
/* Main slider wrapper - full viewport */
.fixed-slider {
  position: relative;
  width: 100vw !important;       /* full width */
  height: 100vh !important;      /* full height */
  overflow: hidden;
  margin: 0;                     /* remove any default margin/padding */
  padding: 0;
}

/* Make all slider inner containers fill the space */
.fixed-slider .qodef-block-swiper,
.fixed-slider .swiper-wrapper,
.fixed-slider .swiper-slide,
.fixed-slider .qodef-e-inner {
  width: 100% !important;
  height: 100% !important;
}

/* Slide images full-cover, fixed-position effect */
.fixed-slider img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  transform: translateZ(0);          /* smooth GPU rendering */
}

/* Optional: pseudo fixed effect with transform for parallax-like feel */
.fixed-slider .qodef-e-inner {
  will-change: transform;
}

/* White overlay on top of slides */
.fixed-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 2;
  pointer-events: none;
}

/* Single centered logo, only on top-level wrapper */
.fixed-slider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px; /* adjust as needed */
  height: 440px;
  max-width: 90%;
  transform: translate(-50%, -50%);
  background: url('/wp-content/uploads/2026/03/GoodFun-Logo.png') no-repeat center;
  background-size: contain;
  z-index: 3;
  pointer-events: none;
}

/* Disable any logo added inside slider to prevent duplicates */
.fixed-slider > .qi-block-image-slider::before {
  content: none;
}

/* Make the images appear fixed while slides transition */
.fixed-slider .qodef-e-inner img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}

/* Default state */
.wp-block-buttons .wp-block-button__link,
.wp-block-qi-blocks-button .qi-block-button,
.gform_button, .ct-button {
  background-color: #ff4f9a!important; /* default pink */
  color: #242424!important;             /* default text color */
  border: none;
  padding: 13px 42px!important;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 0px!important; /* optional, rounded corners */
  font-size: 16px!important;
}
#menu-header {
  height:auto!important;
}
.ct-header [data-id="menu"] > ul > li > a {
  font-size: 16px;
  text-transform: none;
  font-weight: normal;
  border-top:2px solid transparent;
  border-bottom:2px solid transparent;
  padding-top: 5px;
  padding-bottom: 5px;
  display:inline-block; 
}
.ct-header [data-id="menu"] > ul > li > a:hover {  
  border-top:2px solid #242424;
  border-bottom:2px solid #242424;
}
/* Hover state */
.wp-block-buttons .wp-block-button__link:hover,
.wp-block-qi-blocks-button .qi-block-button:hover,
.gform_button:hover, .ct-button:hover {
  background-color: #242424!important; /* background changes on hover */
  color: #ffffff!important;             /* text becomes white */
  cursor: pointer;
}

.light-text .wp-block-qi-blocks-button .qodef-layout--outlined {
  border-color:#fff!important;
  color:#fff!important;
  background-color: transparent!important;
}
.light-text .wp-block-qi-blocks-button .qodef-layout--outlined:hover {
  border-color:#fff!important;
  color:#242424!important;
  background-color: #fff!important;
}
.light-text .wp-block-qi-blocks-button .qodef-layout--outlined:hover span{
  color:#242424!important;
}
.gfield input {
  width:100%!important; 
  box-shadow: 0!important;
}
.gform_wrapper {
  width: 100%;
}
.gform_required_legend{
  display: none;
}
/* Hover Overlay */
/* Base container */
.hover-overlay {
  position: relative;
  overflow: hidden;
}

/* Inner (background layer) */
.hover-overlay .qodef-gutenberg-column-inner {
  position: relative;
  transition: transform 0.5s ease; /* zoom */
}

/* Overlay */
.hover-overlay .qodef-gutenberg-column-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

/* Content (fade only, no movement) */
.hover-overlay h3,
.hover-overlay p,
.hover-overlay .wp-block-qi-blocks-button {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover states */

/* Zoom background */
.hover-overlay:hover .qodef-gutenberg-column-inner {
  transform: scale(1.05);
}

/* Show overlay */
.hover-overlay:hover .qodef-gutenberg-column-inner::before {
  opacity: 1;
}

/* Fade in text */
.hover-overlay:hover h3,
.hover-overlay:hover p,
.hover-overlay:hover .wp-block-qi-blocks-button {
  opacity: 1;
}
/* Make the column a perfect square */
.hover-overlay, .square-image, .squared-image {
  aspect-ratio: 1 / 1;
  width: 100%;
} 

.squared-image .qodef-gutenberg-column-inner {
  height: 100%;
  display: flex;
}

.squared-image .wp-block-group {
  flex: 1;                      /* fill available height */
  display: flex;
  align-items: center;          /* vertical center */
  justify-content: center;      /* horizontal center */
  text-align: center;
}
/* Center content vertically + horizontally */
.hover-overlay .qodef-gutenberg-column-inner {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center;     /* horizontal center */
  text-align: center;      /* keep text centered */
}

/* Make columns square */
.square-image {
  position: relative;
  aspect-ratio: 1 / 1; /* perfect square */
  overflow: hidden;    /* important for zoom & border-radius */
  border-radius: 40px;
  cursor: pointer;
}

/* The inner column that has the background image */
.square-image .qodef-gutenberg-column-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease; /* zoom animation */
}

/* Hover: zoom-in background */
.square-image:hover .qodef-gutenberg-column-inner {
  transform: scale(1.05);
}

/* Overlay */
.square-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

/* Show overlay on hover */
.square-image:hover::before {
  opacity: 1;
}

/* Optional: if you have content inside the column */
.square-image .qodef-gutenberg-column-inner > * {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}

/* Fade in content on hover */
.square-image:hover .qodef-gutenberg-column-inner > * {
  opacity: 1;
}

/* Sticky header semi-transparent background */
.ct-sticky-container [data-sticky="yes:fade"] {
  background-color: rgba(255, 255, 255, 0.7)!important; /* 50% white */
  transition: background-color 0.3s ease;
}

/* Logo default size & padding */
.site-logo-container img.default-logo {
  width: 120px;       /* keeps original layout width */
  padding: 15px 0;    /* vertical padding */
  transition: transform 0.3s ease;
  transform-origin: center; /* scale from center */
}

/* Sticky state: smooth zoom out */
.ct-sticky-container [data-sticky="yes:fade"] .site-logo-container img.default-logo {
  transform: scale(0.9); /* 80px / 120px ≈ 0.667 */
}
/* Target the middle row inside sticky header */
.ct-sticky-container [data-row="middle"] {
    background-color: transparent !important;
}
#footer {
  padding-top:50px;
  padding-bottom:50px;
}
#footer .wp-block-image img {
  width: 250px;
  height:auto;
  padding-bottom:15px;
}
#footer h4 {
  font-size: 24px;
}
#footer .widget_text {
  margin-top:0;
}
#footer .widget_nav_menu {
  text-align: center;
  margin-top:0;
}

@media only screen and (max-width: 1024px) {
  .cell-phone .qodef-gutenberg-column-inner{
    background:none!important;
  }
} 

.ct-drawer-canvas a {
  color:#fff!important;
}
.ct-drawer-canvas a:hover {
  color:#ff4f9a!important;
}

.ct-drawer-canvas .ct-button {  
  color:#242424!important;
}
.ct-drawer-canvas .ct-button:hover {
  background:#fff!important;
  color:#242424!important;
}
.page-id-173 .ct-container-full {
  padding-bottom:0;
}

.archive #main, 
.category #main, 
.blog #main, 
.single-post #main {
  padding-top:150px;
}
.entry-card {
  box-shadow:rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;
  
}
.entry-card img {
  display: none;
}
.entry-card .entry-title {
  margin-bottom: 0!important;
  padding-bottom:0!important;
}
.custom-featured-image img {
	width: 100%;
	max-width: 800px;
	height: 320px;
	object-fit: cover;
	display: block;
	margin: 0 auto 20px;
}

.custom-post-title { 
	margin-bottom: 20px;
}

.archive-search-form input {
  border-color:#242424;
  border-radius: 0;
  margin-bottom: 50px;
}
.archive-search-form {
  width:50%!important;
  margin:0 auto;
}
.entry-card h2:hover a {
  color: #ff4f9a;
}
.entry-card {
  border: 1px solid #eeeeee!important;
}

.ct-search-form .ct-search-form-controls {
  display:block!important;
}