
/*
Theme Name: Mitery18
Theme URI: https://jozefinska11.pl/
Author: FutureCode.pl
Author URI: https://futurecode.pl/
Description: Motyw Mitery18 - nowoczesny i responsywny szablon WordPress
Version: 1.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mitery18
*/


@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
  --color-text-primary: #3D2817;
  --max-width: 1250px;
  --text-light: #1a1a1a;
  --primary-color: #2C4A3F;
  --primary-color-dark: #1C3329;
  --secondary-color: #C5A572;
  --background-cream: #F5EFE7;
  --background-beige: #EDE6DA;
  --hover-green: #8FA896;
  --accent-terracotta: #D2691E;
  --accent-mint: #A8D5BA;
  --font-heading: 'Cinzel Decorative', serif;
  --font-body: 'Lora', serif;
  --status-available: #2C4A3F;
  --status-reserved: #D2691E;
  --status-sold: #8B4A5C;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--background-cream);
  color: var(--color-text-primary);
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

input,
button,
textarea {
  font: inherit;
}

button:not([disabled]) {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.page-header {
  background: linear-gradient(180deg, rgba(44, 74, 63, 0.8) 0%, rgba(44, 74, 63, 0.6) 42%, rgba(44, 74, 63, 0.8) 100%) 0% 0% no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  position: relative;
  z-index: 10;
}

.page-header-columns {
  display: flex;
  gap: 20px;
  height: 104px;
  margin: 0 auto;
  max-width: 1600px;
  padding: 20px 15px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-header-columns {
    height: 140px;
  }
}

.page-header-logo-mobile {
  display: block;
}


.page-header-logo-desktop {
  display: none;
}
@media (min-width: 1200px) {
  .page-header-logo-mobile {
    display: none;
  }

  .page-header-logo-desktop {
    display: block;
  }
}

.custom-logo-link {
  display: block;
  max-width: 368px;
}

.custom-logo {
  height: auto;
  max-width: 100%;
}

.page-header-mobile-space {
  flex-grow: 1;
}

@media (min-width: 768px) {
  .page-header-mobile-space {
    display: none;
  }
}

.mobile-menu {
  background: url(images/mobile-menu.svg);
  border: none;
  height: 25px;
  width: 36px;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.page-header-menu {
  flex-grow: 1;
}

.page-header-menu-list {
  list-style: none;
}

@media (min-width: 768px) {
  .page-header-menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
}

.page-header-menu-list li {
  font-size: 18px;
  margin: 20px 0;
}

.page-header-menu-list li a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .page-header-menu-list li {
    margin: 0 15px;
  }
}

@media (min-width: 1200px) {
  .page-header-menu-list li {
    margin: 0 15px;
  }
}

@media (min-width: 1440px) {
  .page-header-menu-list li {
    margin: 0 40px;
  }
}

.page-header-menu-mobile-top {
  display: flex;
  height: 104px;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.button-close {
  background: url(images/icon-mobile-menu-close.svg) center no-repeat;
  border: none;
  height: 35px;
  width: 35px;
}

@media (min-width: 768px) {
  .page-header-menu-mobile-top {
    display: none;
  }
}

@media (max-width: 767px) {
  .page-header-menu {
    background-color: #292929;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
  }

  .page-header-menu .page-header-menu-list {
    padding: 20px 0;
    text-align: center;
  }
}

.page-header-menu {
  list-style: none;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .page-header-menu {
    display: flex;
  }
}

.page-header-actions {
  display: none;
}

@media (min-width: 992px) {
  .page-header-actions {
    display: block;
  }
}

.page-header-actions a {
  border: 1px solid #fff;
  display: inline-flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}

.page-header-actions a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transition: 0.3s ease-in-out;
}

.page-header-actions a::before {
  background: url(images/icon-phone.svg);
  position: relative;
  content: '';
  height: 23px;
  margin-right: 10px;
  width: 23px;
}

.page-header-actions a:hover::before {
  filter: invert(25%) sepia(95%) saturate(2000%) hue-rotate(210deg) brightness(50%) contrast(90%);
}

@media (max-width: 767px) {
  .page-header-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    inset: 0;
    position: fixed;
    z-index: -1;
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
  }
  .page-header.page-header_open .page-header-menu {
    opacity: 1;
    pointer-events: all;
  }
  .page-header.page-header_open .page-header-backdrop {
    opacity: 1;
    pointer-events: all;
  }
}

/* Language switcher */
.page-header .language-switch {
  display: flex;
  position: relative;
}
.page-header .language-switch a {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  height: 36px;
  text-transform: uppercase;
  width: 36px;
}

.page-header .language-switch a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

@media (min-width: 768px) {
  .page-header .language-switch a {
    height: 40px;
    width: 40px;
  }
}

@media (min-width: 992px) {
  .page-header .language-switch a {
    height: 50px;
    width: 50px;
  }
}


/* FOOTER */

.page-footer {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
}

.page-footer-logo img {
  filter: brightness(0);
}

.page-footer-columns {
  display: grid;
  grid-row-gap: 30px;
  grid-column-gap: 50px;
  padding: 40px 0;
}

.page-footer-info {
  text-align: center;
}

@media (min-width: 768px) {
  .page-footer-columns {
    grid-template-columns: auto 300px;
    padding: 50px 0;
  }
  
  .page-footer-info {
    grid-column: 1 / 3;
  }
}

@media (min-width: 992px) {
  .page-footer-columns {
    grid-template-columns: 375px auto 300px;
    padding: 70px 0;
  }

  .page-footer-info {
    grid-column: unset;
    text-align: left;
  }
}

.page-footer h4 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 20px;
}

@media (min-width: 992px) {
  .page-footer h4 {
    margin-bottom: 35px;
  }
}

.page-footer-info p {
  margin: 20px 0 0;
}

.page-footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.page-footer-nav ul {
  list-style: none;
}

.page-footer-nav ul li {
  margin: 0 0 15px;
}

.page-footer-nav ul li a:hover {
  color: var(--hover-green);
}

.page-footer-about address {
  display: block;
  font-style: normal;
  margin: 20px 0;
}

.page-footer-bottom {
  border-top: 1px solid #f9f9f9;
  padding: 20px 0 30px;
  text-align: center;
}

@media (min-width: 768px) {
  .page-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 60px;
  }
}

.page-footer-bottom strong {
  color: var(--primary-color);
}

.page-footer-fc {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.page-footer-fc img {
  vertical-align: middle;
}

@media (min-width: 768px) {
  .page-footer-fc {
    margin-top: 0;
  }
}


.contact-form-home {
  /* border: 2px solid #e7ba8c;
  padding: 30px 50px;
  position: relative; */
}

/* @media (min-width: 768px) {
  .contact-form-home {
    padding: 30px;
  }
}

@media (min-width: 992px) {
  .contact-form-home {
    padding: 50px 70px;
  }
}

@media (min-width: 1200px) {
  .contact-form-home {
    padding: 50px 130px;
  }
} */

.contact-form-home .contact-form-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 36px;
  margin: 0 0 20px;
  text-align: center;
}

@media (min-width: 992px) {
  .contact-form-home .contact-form-heading {
    font-size: 48px;
    text-align: left;
  }
}
.contact-form-home .wpcf7-form-control-wrap {
  display: block;
  margin: 0 0 20px;
}
.contact-form-home .wpcf7-form-control-wrap .form-input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--text-light);
  color: #fff;
  display: block;
  outline: none;
  width: 100%;
  padding: 10px 15px;
}
.contact-form-home .wpcf7-form-control-wrap .wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}

.contact-form-home .wpcf7-form-control-wrap .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
  appearance: none;
  border: 1px solid var(--text-light);
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  width: 20px;
}

.contact-form-home .wpcf7-form-control-wrap .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked {
  background-color: var(--primary-color);
}

.contact-form-home .wpcf7-form-control-wrap .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
  color: var(--text-light);
  display: inline-block;
}

.contact-form-home .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 90%;
  margin: 5px 0;
}

.contact-form-home .wpcf7-form-control.wpcf7-submit {
  background-color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 300;
  padding: 10px 15px;
  transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
  width: 100%;
}

.contact-form-home .wpcf7-form-control.wpcf7-submit:hover {
  background-color: var(--hover-green);
  border-color: var(--secondary-color);
}


.page-heading {
	color: #fff;
	font-size: 18px;
	height: 468px;
	margin-top: -104px;
	position: relative;
}
.page-heading::before {
  background-color: rgba(35, 35, 35, 0.6);
  content: "";
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: -1;
}
.page-heading .page-heading-image {
	height: 100%;
	inset: 0;
  object-fit: cover;
	position: absolute;
	width: 100%;
  z-index: -2;
}
.page-heading .page-heading-texts {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 428px;
	padding-top: 140px;
	position: relative;
}
.page-heading .page-breadcrumbs {
	display: flex;
	list-style: none;
}
.page-heading .page-breadcrumbs li + li::before {
	content: "»";
	display: inline-block;
	margin: 0 5px;
}

.page-heading .page-heading-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .page-heading .page-heading-title {
    font-size: 60px;
  }
}

@media (min-width: 1200px) {
  .page-heading .page-heading-title {
    font-size: 74px;
  }
}
.page-heading-back-link {
	height: 40px;
}
.page-heading-back-link a {
	background: url(images/icon-back-link.svg) 0 no-repeat;
	display: inline-block;
	font-weight: 300;
	font-size: 20px;
	padding-left: 40px;
}

@media (min-width: 768px) {
	.page-heading {
		margin-top: -140px;
	}
}




.single-flat .flat-columns {
  border-bottom: 1px solid #d1d1d1;
  padding: 20px 20px 0;
}

@media (min-width: 768px) {
  .single-flat .flat-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 50px 60px;
    gap: 50px;
  }
}

.single-flat .flat-columns:last-child {
  border-bottom: none;
}

.single-flat .flat-header {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  margin: 0 0 15px;
}

@media (min-width: 992px) {
  .single-flat .flat-header {
    font-size: 48px;
    margin-bottom: 20px;
  }
}

.single-flat .flat-details {
  padding: 20px 60px 0;
}

.single-flat .flat-details-heading {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 20px;
}

.single-flat .flat-details-text {
  border-bottom: 1px solid #d1d1d1;
  color: var(--text-light);
  font-size: 18px;
  line-height: 2;
  padding: 20px 60px;
}

.single-flat .flat-column-image {
  text-align: center;
  position: relative;
}

.single-flat .flat-column-image img {
  height: unset !important;
  max-width: 100%;
}

.single-flat .flat-details-text {
    border-bottom: 1px solid #d1d1d1;
    color: var(--color-text-primary);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 0 0 20px;
}

.single-flat .flat-details-text strong {
    font-weight: 700;
}

.single-flat .flat-actions {
  margin-top: 20px;
}

.single-flat .flat-actions a {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  display: inline-block;
  line-height: 30px;
  padding: 10px 15px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.single-flat .flat-actions a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.single-flat .flat-details-text .status-available {
    color: var(--status-available);
}

.single-flat .flat-details-text .status-reserved {
    color: var(--status-reserved);
}

.single-flat .flat-details-text .status-sold {
    color: var(--status-sold);
}

.single-flat .rooms-heading {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 30px;
}

.single-flat .rooms-table {
  border: none;
  border-collapse: collapse;
  color: var(--text-light);
  width: 100%;
}

.single-flat .rooms-table tr td {
  border: none;
  padding: 8px 10px
}

.single-flat .rooms-table tr td:first-child {
  width: 30px
}

.single-flat .rooms-table tr td:nth-child(3) {
  width: 100px
}

.single-flat .rooms-table tr:nth-child(2n) {
  background-color: #f9f9f9
}