﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #EEF4BF;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #717171;
}

.body_main {
    min-height: 100%;
    margin: 0 auto;
    max-width: 1222px;
    box-sizing: border-box;
    padding: 0px 10px;
    border-right: 1px solid #DCE0B8;
    border-left: 1px solid #DCE0B8;
    background: white;
}

.body_int {
    padding: 20px 0px 20px;
}

.path {
    margin-bottom: 20px;
    font-size: 0.92em;
    color: #51658B;
}

.path a, .path a:visited {
    color: #51658B;
    text-decoration: underline;
}

.path a:hover {
    color: red;
}

.hotel-wrapper {
    margin-bottom: 50px;
}

.hotel-header {
    margin-bottom: 20px;
    border-bottom: 1px dotted silver;
    padding-bottom: 15px;
}

.hotel-title-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.hotel-title {
    color: #799301;
    font-size: 1.84em;
    font-weight: normal;
    margin: 0;
}

.stars {
    margin-top: 5px;
}

.hotel-location {
    font-size: 0.92em;
    color: #51658B;
    margin-top: 5px;
    line-height: 20px;
}

.metro-info {
    margin-top: 8px;
    font-size: 0.92em;
    color: #717171;
    line-height: 20px;
}

.nav-buttons {
    margin-top: 20px;
    overflow-x: auto;
    display: flex;
    gap: 5px;
    padding-bottom: 5px;
}

.nav-button {
    cursor: pointer;
    padding: 8px 15px;
    background-color: #EEF4BF;
    color: #758722;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.92em;
    font-family: inherit;
    transition: all 0.2s;
}

.nav-button:hover {
    background-color: #dbe87b;
}

.nav-button.active {
    background-color: #FF7F00;
    color: white;
}

.description {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    border: 1px solid #dce0b8;
}

.rating-container {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    min-width: 120px;
}

.rating-value {
    font-size: 2em;
    font-weight: bold;
    color: #FF7F00;
}

.rating-max {
    font-size: 1em;
    color: #717171;
    margin-left: 2px;
}

.rating-text {
    width: 100%;
    font-size: 0.85em;
    color: #728611;
    font-weight: bold;
    margin-top: 2px;
}

.rating-reviews {
    width: 100%;
    font-size: 0.85em;
    color: #51658B;
    text-decoration: underline;
    margin-top: 2px;
}

.rating-reviews:hover {
    color: red;
}

.description-text {
    flex: 1;
    font-size: 1em;
    line-height: 1.5;
    color: #717171;
    min-width: 250px;
}

.hotel-price-badge {
    background-color: #A4C10A;
    padding: 10px 15px;
    border-radius: 6px;
    color: white;
    text-align: center;
    min-width: 150px;
}

.price-from {
    font-size: 0.85em;
    display: block;
}

.price-value {
    font-size: 1.8em;
    font-weight: bold;
    display: block;
    white-space: nowrap;
}

.price-period {
    font-size: 0.75em;
    display: block;
}

.photo-container {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid #dce0b8;
    overflow: hidden;
}

.hotel-photo {
    width: 100%;
    height: auto;
    display: block;
}

.section {
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 1px dotted silver;
    padding-bottom: 20px;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    color: #FF7F00;
    font-size: 1.23em;
    font-weight: bold;
    margin: 20px 0 10px 0;
    padding-bottom: 5px;
}

.section-title:first-of-type {
    margin-top: 0;
}

.section-content {
    font-size: 1em;
    line-height: 1.5;
    color: #717171;
}

.section-content p {
    margin-bottom: 10px;
}

.section-content ul {
    padding-left: 25px;
    margin: 10px 0;
}

.section-content li {
    font-size: 1em;
    line-height: 1.5;
    color: #717171;
    margin-bottom: 5px;
}

.room-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.room-type {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dce0b8;
}

.room-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dotted silver;
}

.room-type h4 {
    color: #FF7F00;
    font-size: 1.15em;
    font-weight: bold;
    margin: 0;
}

.room-price {
    color: #728611;
    font-weight: bold;
    font-size: 1em;
}

.room-type ul {
    padding-left: 20px;
    margin: 0;
}

.room-type li {
    font-size: 0.92em;
    margin-bottom: 3px;
}

.contacts p {
    margin-bottom: 8px;
}

.contacts strong {
    color: #51658B;
}

.note {
    background-color: #fafafa;
    padding: 15px;
    border-left: 4px solid #FF7F00;
    border-radius: 4px;
}

.booking-section {
    text-align: center;
    margin: 30px 0;
}

.booking-button {
    display: inline-block;
    background-color: #FF7F00;
    color: white;
    font-size: 1.5em;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.booking-button:hover {
    background-color: #e67200;
    color: white;
}

.footerdiv {
    border-top: 1px solid #dce0b8;
    background-color: #F8FAEA;
    margin: 0 auto;
    max-width: 1222px;
    box-sizing: border-box;
    border-right: 1px solid #DCE0B8;
    border-left: 1px solid #DCE0B8;
    padding: 15px 10px;
}

.footer {
    font-size: 0.81em;
}

.footer .menu {
    margin-bottom: 15px;
    text-align: center;
}

.footer .menu a {
    color: #51658B;
    text-decoration: underline;
    margin: 0 3px;
}

.footer .menu a:hover {
    color: red;
}

.copyrights {
    color: #717171;
    text-align: center;
}

@media screen and (max-width: 1240px) {
    .body_main {
        padding-left: 5px;
        padding-right: 5px;
        border-left: 0;
        border-right: 0;
    }
    
    .footerdiv {
        margin: 0;
        border-right: 0;
        border-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .hotel-title {
        font-size: 1.5em;
    }
    
    .description {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hotel-price-badge {
        width: 100%;
    }
    
    .nav-buttons {
        flex-wrap: wrap;
    }
    
    .nav-button {
        flex: 1 1 auto;
        text-align: center;
    }
    
    .room-types {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 450px) {
    .hotel-title-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}