/*
*Theme Name:     CozyStay Child Theme
*Theme URI: 	 https://cozystay.loftocean.com/
*Description:    CozyStay child theme for user customization
*Author:         Loft.Ocean
*Author URI:     http://www.loftocean.com
*License: 		 GNU General Public License v2 or later
*License URI: 	 http://www.gnu.org/licenses/gpl-2.0.html
*Tags: 			 full-width-template, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready
*Template:       cozystay
*Text Domain: 	 cozystay-child
*Version:        1.0
*/

 /** Add your styles below **/

/* Ensure Seawest logo is always centered on all devices */
.elementor-widget-heading .elementor-heading-title {
    text-align: center !important;
}

/* Specific targeting for the header logo elements */
.elementor-element-39b3dcb9 .elementor-heading-title,
.elementor-element-5be990e0 .elementor-heading-title {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Ensure column content is centered */
.elementor-element-3201d84e,
.elementor-element-73f3f41f {
    text-align: center !important;
}

/* Responsive centering for all screen sizes */
@media (max-width: 1024px) {
    .elementor-widget-heading .elementor-heading-title {
        text-align: center !important;
    }

    .elementor-element-39b3dcb9 .elementor-heading-title,
    .elementor-element-5be990e0 .elementor-heading-title {
        text-align: center !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 767px) {
    .elementor-widget-heading .elementor-heading-title {
        text-align: center !important;
    }

    /* Ensure mobile header logo is centered */
    .elementor-element-5be990e0 .elementor-heading-title {
        text-align: center !important;
        margin: 0 auto !important;
        display: block !important;
        width: 100% !important;
    }

    /* Center the mobile column content */
    .elementor-element-73f3f41f {
        text-align: center !important;
    }
}

/* Gallery hover zoom-in effect */
/* Applies to CozyStay .cs-gallery and default WP .gallery */
.cs-gallery .cs-gallery-item { overflow: hidden; }
.cs-gallery .cs-gallery-item img { transition: transform 0.35s ease; will-change: transform; }
.cs-gallery .cs-gallery-item:hover img { transform: scale(1.06); }

.gallery .gallery-item .gallery-icon { overflow: hidden; }
.gallery .gallery-item .gallery-icon img { transition: transform 0.35s ease; will-change: transform; }
.gallery .gallery-item:hover .gallery-icon img { transform: scale(1.06); }

/* Pointer-aware zoom origin and class-based trigger */
.cs-gallery .cs-gallery-item img,
.gallery .gallery-item .gallery-icon img {
  transform-origin: var(--zx, 50%) var(--zy, 50%);
}
.cs-gallery .cs-gallery-item.seawest-zooming img,
.gallery .gallery-item.seawest-zooming .gallery-icon img {
  transform: scale(1.2);
}

/* Darken page-title hero images on specific pages to improve text readability */
body.page-id-2342 .page-title-section .page-title-bg::after, /* /faqs */
body.page-id-2341 .page-title-section .page-title-bg::after, /* /reviews */
body.page-id-2340 .page-title-section .page-title-bg::after  /* /gallery */
{
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #000;
  opacity: 0.35; /* adjust 0.25–0.5 as needed */
  pointer-events: none;
}

