/* Общие стили */
* { margin: 0; padding: 0; box-sizing: border-box; }


body {
    margin: 0;
    font-family: 'Open Sans',sans-serif;
    line-height: 1.6;
    color: #333;

}

.lazy {
    background: #f1f1f1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    user-select: none;
}
#enlarged-image {
    user-select: none;
}
.error {
    color:red;
}

.container {
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 20px;
}

section, footer { 
    padding: 60px 0 90px 0;
    
}
footer {
    padding-bottom: 0;
}
.footer-bottom {
    background-color:rgba(0,0,0,0.3);
    padding:15px 0;
    margin-top: 60px;
}

h1,
h2,
h3 {
    margin: 0 0 20px;
    text-transform: uppercase;
}

p {
    margin: 0 0 10px;
}

button {
    
    color: #222;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    /*border-radius: 4px;*/
    transition: 0.5s;
    color: #222;
    background-color: rgb(255, 255, 255);
    border: 1px solid #222;
}

button:hover {
    transition: 0.5s;
    color: #fff;
    background: rgb(255, 132, 25);
    border: 1px solid rgb(255, 132, 25);
}
/* Header */

header {
    position: fixed;
    z-index:999;
    width: 100%;
    background-color: rgba(42, 62, 80, 0.9);
    border-bottom:1px solid #7777774D;
    box-shadow: 0 0 5px rgba(0,0,0,.5);
}

.container-fluid {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 1920px;
}
.general_cont {

    padding-bottom: 80px;
}
.menu-cont {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-block;
    padding: 15px 0;
}
.logo-img {
    display: inline-block;
}

.logo-img img{
    width: 150px;
}

.logo-text {
    display: none;
    vertical-align: top;
}

.art1 {
    display: block;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    font-size: 20px;
    text-align: left;
}

.art2 {
    font-size: 16px;
    line-height: normal;
    vertical-align: top;
    position: relative;
    margin-top: 5px;
    color: #000;
    font-weight: 300;

}
.nav-cont {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin: 0 15px;
}

nav a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    transition: 0.5s;
}

nav a:hover, .current-menu-item a{
    transition: 0.5s;
    color:rgb(255, 132, 25);
}

.header-contact {
    vertical-align: top;
    position: relative;
}

.header-contact .phone {
    display: inline-block;
    vertical-align: top;
}

.header-contact .phone span {
    color:rgba(255, 255, 255, 0.6);
    font-size:14px;
    display: block;
    margin-top: 5px;
    
}

.header-contact .phone a {
    color:rgba(255, 255, 255, 1);
    font-size:20px;
    text-decoration:none;
    letter-spacing: 0.5px;
    line-height: 20px;
}

.phone-icon {
    display: inline-block;
    font-size: 28px;
    padding: 6px 16px 4px 16px;
    border-radius: 28px;
    background-color: rgb(255, 132, 25);
    background-image: linear-gradient(rgba(0, 0, 0, 0) 48%, rgb(255, 209, 0) 100%);
    color:#fff;
    vertical-align: top;
    margin-right: 10px;
}

.header-contact .address {
    text-align: right;
    color:#fff;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin-left: 20px;
  }

/* Hero Section */

  #hero h6 {
    font-size:24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 20px;
    text-shadow: -1px 1px 11px rgba(0, 0, 0, 0.6);
  }
  .hero-line {
    display: block;
    max-width: 350px;
    border-top: 1px solid #fff;
    padding-bottom: 15px;
  }

  #hero h1 {
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 10px 0;
    margin: 0;
    line-height: 60px;
    text-shadow: -1px 1px 11px rgba(0, 0, 0, 0.6);
  }

  #hero p {
    font-size: 18px;
    margin-bottom: 30px;
    text-transform: uppercase;
    max-width:800px;
    text-shadow: -1px 1px 11px rgba(0, 0, 0, 0.6);
  }
  #hero .slider-button {
    background-color: rgb(255, 132, 25);
    text-transform: uppercase;
    padding: 20px 30px;
    color:#fff;
    transition: 0.5s;
    border: 1px solid rgb(255, 132, 25);
  }

  #hero .slider-button:hover {
    transition: 0.5s;
    color: #222;
    background-color: rgb(255, 255, 255);
    border: 1px solid #222;
  }


.slider-container {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    height: 100vh;
    color:#fff;
}
.slider {
    display: flex;
    width: 400vw;
    height: 100vh;
    transition: transform 0.5s ease-in-out;
    color:#fff;
}
.slide {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: white;
    background-position: center;
    background-size: 100% auto;
    overflow: hidden;
    background-color: #000;
}


.slide img {
    max-width: 100%;
    height: auto;
   
}
.slide-text-cont {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    text-align: center;
}

.slide-text {
    width: 100%;
    text-align: center;
}
.slide-text-wrap {
    text-align: left;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.control-btn {
    background: rgba(50, 50, 50, 0.5);
    border-bottom: 1px solid rgba(50, 50, 50, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 2rem;
    cursor: pointer;
}
#room-modal-description {
    font-weight: bold;
}

.room-type table {
    margin-bottom:30px;
    border-collapse: collapse;
}
.room-type table td {
    vertical-align: top;
    border:1px solid #ccc;
    padding:3px 5px;
}
.room-type table tr>td:first-child{
    font-weight: bold;
    min-width: 160px;
}
.room-button {
    text-align: right;
}



/*rooms*/
#rooms, #special-offers, #about, #conditions, .wrap-gray{
    background-color: rgba(44,62,80, 0.15);
}

#about {
    margin-top: 60px;
}
.grid-col-4-1 {
    max-width: 49%;
    display: inline-block;
}
#map {
    padding: 0;
    border-top:1px solid rgba(42, 62, 80, 0.5);
    background-color: rgb(42, 62, 80);
}
#contact-footer {
    margin-top: 0;
    background-color: rgb(42, 62, 80);
    color:#fff;
}

@media (min-width: 768px) {
    /* Grid layout */
    .grid {
        display: grid;
        gap: 20px;
    }
    .grid-col-4-1 {
        max-width: 275px;
    }
    .grid-cols-4 {
        grid-template-columns: repeat(1, 2fr 1fr 1fr);
    }
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }


    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article {
    text-align: center;
}
.article h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 24px;
    padding-bottom: 20px;
}
.article span {
    display: inline-block;
    width: 100px;
    padding-bottom: 40px;
}

.line-blue h2 {
    color:#494949;
}

.line-blue span {
    border-top: 2px solid rgb(73, 73, 73);
}
.line-white h2 {
    color:rgb(73, 73, 73);
}

.line-white span {
    border-top: 2px solid #494949;
}

/* Карточки */
.room-card,
.offer-card,
.review-card {
    background: #fff;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,.5);
}

.room-card img,
.offer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;

    margin-bottom: 10px;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    max-width: 800px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#image-modal .modal-content {
	background:none;
	margin:0;
	max-width:none;
	width:100%;
	box-sizing:border-box;
	overflow:hidden;
	display: grid;
    place-items: center;
	height:100%;
}

#enlarged-image {
	width:auto !important;
	max-height: 90vh;
	max-width:100%;
    border: 2px solid #ccc;
}

.room-wrap {
	display: grid;
    place-items: center;
    height: 100%;
}

.room-wrap .modal-content{
	margin:0;
}

.modal-content .controls {
    left:0;
}

.modal-content form input,
.modal-content form select,
.modal-content form button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

#image-modal .close {
	font-size:56px;
	color: rgb(255, 132, 25);
    border: 3px solid #fff;
    padding: 0;
    line-height: 40px;
}


/* Carousel styles */
#carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
}

#carousel-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 8px;
    cursor: pointer;
}

#carousel-prev {
    left: 10px;
}

#carousel-next {
    right: 10px;
}
#contacts {
    background-color:rgb(44,62,80);
}

/* Contacts Section */
#contacts div {
    color:#fff;
}

#contacts img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#room-modal-description {
    padding-bottom:20px;
}

/*gallery*/
.wp-block-gallery.has-nested-images figure.wp-block-image {
	max-height:300px
}
#gallery img{
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: 0.5s;
    width: 100%;
    height: auto;
    
    opacity: 1;
}
#gallery img:hover{ 
    opacity: 0.8;
}
#menu-item-97{
    display: none;
}
.p-ab {
    text-indent: 1.5em;
    text-align:justify;
}
.about-wrap {
    margin-bottom: 40px;
}
#about .lazy{
    background-color: transparent;
    height: 120px;
    width: auto;
    display: block;
    margin: 40px 0 20px 0;
}
#about h6{
    font-size: 17px;
    text-transform: uppercase;
}
#about h6::after{
    margin: 10px auto;

    content: "";
    max-width: 40px;
    display: block;
    border: 1px solid rgb(255, 132, 25);
}
#about p {
    display: block;
    color:#2c3e50;
}
.equipment img {
    filter: brightness(0) saturate(100%) invert(51%) sepia(89%) saturate(902%) hue-rotate(348deg) brightness(102%) contrast(101%);
    width: 55px;
    height: auto;
    vertical-align: middle;
}

.equipment span {
    vertical-align: middle;
    font-size: 20px;
    padding-left: 20px;
}
.rooms-icon {
    padding-bottom: 30px;
}
.footer-contact span {
    display: inline-block;
    font-size: 18px;
    padding: 6px 12px 4px 12px;
    border-radius: 28px;
    background-color: rgb(255, 132, 25);
    background-image: linear-gradient(rgba(0, 0, 0, 0) 48%, rgb(255, 209, 0) 100%);
    color: #fff;
    margin-right: 10px;
}
.footer-ya {
    float: right;
}
.coll_2{
    width: 49%;
    display: inline-block;
}
.coll_2:nth-of-type(odd){
    margin-right: 10px;
}
#booking-modal .modal-content {
    background-color: rgba(42, 62, 80, 0.8);

    border:1px solid rgba(255,255,255,0.1);
    color:#fff;
    padding-bottom: 40px;
}

@media (max-width: 1600px) {
    /**page*/
.about-wrap{
    height: 350px;
    overflow: hidden;
}

.about-wrap img{
    object-fit: cover;
    width: 100%; height: 100%;
}
}

@media (max-width: 768px), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi)  {
    #menu-general {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 80px;
      left: 0;
      width: 100%;
      background-color: rgba(42, 62, 80, 0.9);
      text-align: center;
      border-bottom: 1px solid #ccc;
    }

    #menu-general li {
      margin: 15px 0;
    }

    #menu-toggle {
      display: block;
    }
    .offer-card, .room-card{
        margin: 30px 10px;
    }
    .logo-img img {
        width: 80px;
    }
    .header-contact{
        display: none;
    }

    #menu-item-97 {
        display: block;
        position: relative;
    }
    #menu-item-97 a{
        display: inline-block;
        position: relative;
        padding: 10px 60px;
        
    }
    #menu-item-97 a:before {
        position: absolute;
        left:0;
        top:0;
        content: "✆";
        display: inline-block;
        font-size: 28px;
        padding: 2px 12px 0px 12px;
        border-radius: 28px;
        background-color: rgb(255, 132, 25);
        background-image: linear-gradient(rgba(0, 0, 0, 0) 48%, rgb(255, 209, 0) 100%);
        color: #fff
    }
    .slide img {
        max-width: none;
        width: auto;
        height: 100%;
    }
    .slider-container .controls {
        display: none;
    }
    .wp-block-media-text__media {
        padding-bottom: 50px;
    }
    h1 {
        font-size:24px;
    }
    #hero h1  {
        font-size: 48px;
    }
    #hero p {
        font-size: 16px;
        margin-bottom: 60px;
    }
    .slide-text-wrap {
        text-align: center;
    }
    .hero-line {
        display: inline-block;
        width:150px;
    }
    .main {
        padding-top: 80px !important;
    }
    .footer-ya {
        float: none;
        display: block;
        text-align: right;
    }
    .coll_2{
        width: 100%;
        display: block;
    }
    .coll_2:nth-of-type(odd){
        margin-right: 0;
    }
	#carousel-container {
		height:300px;
	}
}
@media (max-width: 400px) {
    h1 {
        font-size:20px;
    }
    #hero h1  {
        font-size: 32px;
    }
    #hero p {
        font-size: 14px;
        margin-bottom: 60px;
    }
    .article h2 {
        font-size: 20px;
    }
    .open-room-details, .open-booking-room {
        font-size:12px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

