/*
*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 **/

/* .sidemenu.sidemenu-custom, .search-screen {
    display: none !important;
} */

.rooms-gallery-slides {
    overflow-x: hidden;
}

#page {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

:root {
    --secondary-main-color: #6D8A5C;
}

/* .container {
    max-width: inherit !important;
    padding: 0 32px !important;
} */

.primary {
    padding-bottom: 0 !important;
}

input[type="submit"] {
    text-transform: uppercase;
    font-family: "Gilroy-SemiBold", Sans-serif !important;
}

.header_reserv_btn .button.cs-btn-small {
	padding: 0 10px !important;
}

/* Home BG */

.home-video-bg {
    overflow: hidden;
}
.home-video-bg video {
    object-fit: none !important;
}

body.page-id-10 header.page-title-default {
    margin-bottom: 0;
}
body.page-id-10 div.main {
    background-color: #F7F9FC;
}
body.page-id-10 div.main > .container > .primary {
    padding: 40px 0 0 0;
}

.page-title-bg {
    background-color: #00000090;
    background-blend-mode: multiply;
}

li.btn-reserv {
    background-color: var(--secondary-main-color);
    padding: 0 10px !important;
    width: fit-content;
    transition: all .3s ease;
}
li.btn-reserv:hover {
    background-color: var(--secondary-color);
}
li.btn-reserv:hover a {
    color: #fff;
    opacity: 1;
}

.cs-rooms .overlay-label {
    font-size: 1rem !important;
    font-family: 'Gilroy-SemiBold';
    left: 50%;
    transform: translate(-50%);
    border-color: #fff;
}
.cs-rooms.cs-rooms-carousel.column-1.carousel-center-mode .post {
    transition: all .3s;
}
.cs-rooms.cs-rooms-carousel.column-1.carousel-center-mode .post.slick-current {
    border: 2px solid;
    border-color: #fff;
}

footer nav li > a:hover {
    color: #fff !important;
}

/* Parallax effect on image */

.parallax-img-wrapper,
.parallax-inner-wrapper {
    position: relative;
    overflow: hidden;
}

.parallax-img > div > img {
    display: block;
    width: 100%;
    will-change: transform;
    transition: transform 0.1s linear;
    transform: translate3d(0, 0, 0);
}

.parallax-inner-wrapper .parallax-img > div > img {
    transform-origin: center center;
    transform: translate3d(0, 0, 0) scale(1.1);
}

/* Contact page */

#contact-block::after {
    content: url(https://selena.marktarasov.com/wp-content/uploads/2026/02/scroll-down-small.gif);
    width: auto;
    height: 72px;
    position: absolute;
    bottom: 72px;
    left: 50%;
    z-index: 999;
    transform: translateX(-50%);
}
#contact-block .elementor-icon-list-items.elementor-inline-items li:last-child > a > span {
    padding-inline-end: 0px;
}

.e-n-accordion-item-title {
    position: relative;
}
.e-n-accordion-item-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: var( --e-global-color-c0289f4 );
  z-index: -1;
  transition: width 0.4s ease; /* скорость заполнения */
}
.e-n-accordion-item-title:hover::before {
  width: 100%;
}
.e-n-accordion-item-title-header, .e-n-accordion-item-title-text, .e-n-accordion-item-title-icon {
    transition: all .3s ease;
}


.map-fade-wrapper {
    position: relative;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
}

.map-fade-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1000;

    background:
        linear-gradient(to top, #ffffff 0%, transparent 20%),
        linear-gradient(to bottom, #ffffff 0%, transparent 20%),
        linear-gradient(to right, #ffffff 0%, transparent 20%),
        linear-gradient(to left, #ffffff 0%, transparent 20%);
}
.map-route-btn {
    position: absolute;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%);
    z-index: 10;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 22px;
    border-radius: 0px;

    background: var(--e-global-color-c0289f4);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;

    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 1001;

    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.map-route-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    background: var(--secondary-color);
}
.map-route-btn:active {
    transform: translateX(-50%) translateY(0);
}
.custom-marker .marker-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transform: translateY(-10px);
}
.custom-marker .marker-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--e-global-color-c0289f4);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.custom-marker .marker-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
.custom-marker .marker-label {
    background: var(--e-global-color-c0289f4);
    border-radius: 0px;
    padding: 6px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
    text-align: center;
    min-width: 140px;
}
.custom-marker .marker-title {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 2px;
}
.custom-marker .marker-address {
    font-size: 11px;
    line-height: 1.2;
    color: #fff;
}
.custom-marker .marker-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;

    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--e-global-color-c0289f4);
}
.custom-marker {
    z-index: 1000;
}

/* Single room page */

.room-top-section {
    margin-bottom: 32px !important;
}
.room-top-section > .featured-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.room-template-default.single-room .site-header.overlap-header ~ .site-content .room-top-section .featured-img:after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)) !important;
}

.single-room-details {
    position: absolute;
    margin-top: 80px;
    color: #fff;
    text-align: center;
    z-index: 999;
}
.single-room-details > h1 {
    font-size: 60px;
    text-transform: uppercase;
}

.single-room-details .cs-room-basic-info {
    display: flex;
    justify-content: center;
}
.single-room-details .cs-room-basic-info .csrbi-text {
    font-size: 1.1rem;
}

.selena-open-modal {
    font-size: 15px;
    text-transform: uppercase;
    --btn-color: #fff !important;
    border: 1px solid var(--secondary-main-color) !important;
    background-color: var(--secondary-main-color) !important;
    font-family: "Gilroy-SemiBold", Sans-serif !important;
    margin-top: 20px;
    transition: all .3s ease;
}
.selena-open-modal:hover {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}
.selena-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.35s ease, visibility 0s 0.35s;
}
.selena-modal .wpcf7-response-output, .selena-modal .wpcf7-form .wpcf7-spinner {
    display: none !important;
}
.reservation-form-btn > p {
    margin: 0;
}

.selena-modal-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 180px;
    overflow: hidden;
}
.selena-modal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.65)
    );
}
.selena-modal-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    height: 100%;
    padding: 20px 24px;
}
.selena-modal-title {
    width: 100%;
    text-align: center;
    margin: 0;
    color: #fff;
    font-size: 35px;
    line-height: 1.3;
}
.selena-modal-hero-inner > p {
    width: 100%;
    margin: 0;
    text-align: center;
}

.selena-modal-body {
    background: #ffffff;
    padding: 24px 24px 28px;
    border-radius: 0 0 14px 14px;
}

.selena-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.selena-modal-window {
    position: relative;
    z-index: 2;

    background: #fff;
    padding: 0px;
    border-radius: 0px;
    max-width: 650px;
    width: 100%;

    box-shadow: 0 20px 60px rgba(0,0,0,0.25);

    opacity: 0;
    transform: translateY(25px) scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.selena-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    border: none;
    background: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.selena-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease;
}

.selena-modal.show .selena-modal-window {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.selena-modal-status {
    display: none;
    text-align: center;
    padding: 40px 24px 32px;
    background: var(--secondary-main-color);
}
.selena-modal-status.is-visible {
    display: block;
}

.selena-status-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 36px;
    font-weight: 700;
    background: #f2f2f2;
}

.selena-status-success .selena-status-icon {
    color: var(--secondary-main-color);
}

.selena-status-error .selena-status-icon {
    background: rgba(231, 76, 60, 0.12);
    color: #e74c3c;
}

.selena-status-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.selena-status-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .single-room-details > h1 {
        font-size: 30px;
    }
    .single-room-details > div {
        padding: 0 32px;
    }
    .single-room-details > div > ul {
        justify-content: center;
    }

    .cs-rooms.cs-rooms-carousel.column-1.carousel-center-mode .post.slick-current {
        border: none;
    }

    #contact-block::after {
        display: none;
    }
    .map-route-btn {
        width: 100%;
    }
}

/* End single room page */

/* Hotel page */

.hotel-page-first-block .cs-fancy-card .cs-fc-img > img {
    min-height: 500px;
    height: 500px;
    object-fit: cover;
}

@media screen and (max-width: 480px) {
    .hotel-page-first-block .cs-fancy-card .cs-fc-img > img {
        min-height: auto;
        height: auto;
    }
}

/* Bathhouse page */

.cs-video-btn .video-play-btn {
    border-color: #fff;
    transition: all .3s;
}
.cs-video-btn .video-play-btn:hover {
    background-color: #fff;
}
.cs-video-btn .video-play-btn .btn-svg svg path {
    transition: all .3s;
}
.cs-video-btn .video-play-btn:hover .btn-svg svg path {
    fill: #6D8A5C;
}