/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

:root {
  --color-1: #8E2B2F;
  --color-2: #AA863D;
}

/* Ukryj escape'owany HTML tekst flag */
/* .rkit-menu-item:nth-last-child(1) .rkit-nav-link,
.rkit-menu-item:nth-last-child(2) .rkit-nav-link,
.rkit-menu-item:nth-last-child(3) .rkit-nav-link {
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    display: inline-block !important;
    width: 20px !important;
    height: 14px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    padding: 0 !important;
} */

/* DE - ostatni (nth-last-child 1) */
/* .rkit-menu-item:nth-last-child(1) .rkit-nav-link {
    background-image: url('/wp-content/plugins/polylang/flags/de.png') !important;
} */

/* EN - przedostatni (nth-last-child 2) */
/* .rkit-menu-item:nth-last-child(2) .rkit-nav-link {
    background-image: url('/wp-content/plugins/polylang/flags/gb.png') !important;
} */

/* PL - trzeci od końca (nth-last-child 3) */
/* .rkit-menu-item:nth-last-child(3) .rkit-nav-link {
    background-image: url('/wp-content/plugins/polylang/flags/pl.png') !important;
} */

a.glink img {
  margin: 0 5px !important;
}

.sticky-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 20px 0px;
}

/* Stan startowy - białe linki */
.sticky-menu a,
.sticky-menu .elementor-nav-menu a,
.sticky-menu .elementor-heading-title {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

/* Po scrollu */
.sticky-menu.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0px 0px;
}

.sticky-menu.scrolled a,
.sticky-menu.scrolled .elementor-nav-menu a,
.sticky-menu.scrolled .elementor-heading-title {
  color: #BA1319 !important;
}

.sticky-menu.scrolled a:hover {
  color: #8a0e13 !important;
}

.comments-area {
  display: none !important;
}

body:not(.home) #content .page-header {
  display: none;
}

iframe {
  display: block;
}

.content-table table {
  text-align: center;
}

.gallery-1 .gallery-item img {
  aspect-ratio: 3/2;
  object-fit: cover;
}

#page > header {
	z-index: 99999;
}

@media screen and (min-width: 1024px) {
  #page>header {
    position: absolute;
    width: 100%;
  }
}

/**
 * Sticky Header - Style CSS
 * Stylizacja nagłówka w stanie normalnym i przykleionym
 */

/* Styl nagłówka w stanie normalnym */
.header-main {
  transition: all 0.3s ease;
  /* Płynna animacja przejścia */
  /* Dodaj tutaj swoje domyślne style */
}

/* Styl nagłówka gdy jest przykleilony (klasa is-sticky) */
.header-main.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background-color: #8E2B2F !important;
}

button {
  border: none !important;
  text-transform: none !important;
}

button.showHotres {
  color: #8E2B2F !important;
  background: #ffffff !important;
}

button.showHotres:hover {
  color: #ffffff !important;
  background: #AA863D !important;
}

/* widget hotres - dodatkowe style */

/* .c-widget-hotres {
	z-index: 999999;
} */

.is-sticky .booking-bar {
  background-color: var(--color-2);
}

.is-sticky .button-hotres-1:hover {
  background-color: var(--color-1) !important;
}

.is-sticky .button-hotres-2 {
  background-color: var(--color-2) !important;
  color: #ffffff !important;
}

.is-sticky .button-hotres-2:hover {
  background-color: var(--color-1) !important;
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .c-widget-hotres {
    width: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .booking-bar {
    padding: 0 !important;
    background: none !important;
  }
}

@media screen and (max-width: 767px) {
  .c-widget-hotres {
    /* position: static; */
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
  }

  .booking-bar {
    padding: 0 !important;
    background: none !important;
  }

  button.showHotres {
    padding: 15px 20px 15px 20px !important;
  }
}

.hotres-link-abs,
.hotres-link-abs .showHotres {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.showHotres {
  cursor: pointer;
}

.rank-math-breadcrumb {
  margin-bottom: 10px;
}