:root {
    --primary-color: #3498db;
    --dark-color: #3A3A3A;
    --text-color: #333;
    --light-gray: #666;
    --accent-color: #5d1207;
    --red-color: #8B0000;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: white;
    color: var(--text-color);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-row {
    align-items: center;
}

.logo a {
    color: var(--text-color) !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-links a:hover {
    background: var(--light-gray);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: var(--text-color);
    margin-bottom: 4px;
    border-radius: 2px;
}

.datepicker-strip .request-btn {
    text-decoration: none;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 20px;
    flex: 1;
    width: 100%;
}

/* Footer Styles */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

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


.footer-copyright {
    margin-top: 1rem;
}

/* Common Components */
.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #2980b9;
}

.book-btn {
    background: var(--accent-color);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 2px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.book-btn:hover {
    background: #450d05;
}

/* Hero Images */
.conference-hero-image,
.deals-hero-image,
.gym-hero-image {
    background-size: cover;
    height: 500px;
    width: 100%;
    margin: 0;
}

/* Conference Page Styles */
.conference-service-page {
    background: white;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

.conference-hero h1 {
    font-size: 2rem;
    color: #333;
    font-weight: bold;
}

.conference-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.conference-card {
    background: #f5f5f5;
    padding: 20px;
}

.conference-card h2 {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
}

.conference-table {
    width: 100%;
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.table-cell {
    padding: 0;
}

.table-cell:first-child {
    font-weight: bold;
    color: #333;
    text-align: left;
}

.table-cell:last-child {
    color: #666;
    text-align: right;
}

.price-includes {
    color: #666;
}

/* Rooms Page Styles */
.room-section {
    padding-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
}

.room-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: #2c3e50;
}

.room-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: #777;
}

.room-description {
    line-height: 1.6;
    font-size: 1rem;
}

/* Restaurant Page Styles */
.static-booking {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6;
}

.static-booking p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.book-table {
    background-color: var(--red-color);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

/* Gym Page Styles */
.gym-description h3 {
    color: #333;
    margin-bottom: 1rem;
}

.gym-description p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.opening-hours {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 5px;
}

.opening-hours h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.opening-hours table {
    border-collapse: collapse;
    width: 100%;
}

.opening-hours td {
    padding: 0.75rem 0;
}

.opening-hours .day {
    font-weight: 700;
    color: #333;
    text-align: left;
    padding-right: 1rem;
}

.opening-hours .time {
    font-weight: 700;
    color: #666;
    text-align: right;
    padding-left: 1rem;
}

/* Deals Page Styles */
.deal-title {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.deal-title h3 {
    color: #000;
    font-weight: 600;
    font-size: 1.5rem;
}

.deal-description {
    padding: 1rem 0;
}

.deal-description p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* Home Page Styles */
.full-width-block {
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    left: 50%;
    right: 50%;
    overflow-x: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
}

.datepicker-strip {
    display: flex;
    background: white;
    border-radius: 0 0 8px 8px;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.date-field {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 300px;
}

.field-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.label-icon {
    display: flex;
    align-items: center;
    margin-right: 10px;
    white-space: nowrap;
}

.label-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.date-input {
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    width: auto;
    cursor: pointer;
    outline: none;
    padding: 0;
    min-width: 120px;
}

.request-btn {
    background: #666;
    color: white;
    border: none;
    padding: 7px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}


/* Новые стили из шаблонов */

/* Index About Us */
.about-us-section {
    padding: 3rem 0;
}

.about-us-image {
    height: 500px;
    background: no-repeat center center;
    background-size: cover;
}

.about-us-small-image {
    height: 245px;
    background: no-repeat center center;
    background-size: cover;
}

.about-us-content h1 {
    margin-bottom: 1rem;
}

.about-us-content p {
    margin-bottom: 1rem;
}

.about-us-content p:last-child {
    margin-bottom: 0;
}

/* Index Inform */
.inform-section {
    background-color: #5d1207;
    color: white;
    padding: 3rem 0;
}

.inform-title {
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.inform-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-item {
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.feature-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Index Rooms */
.rooms-section {
    padding: 3rem 0;
}

.rooms-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.rooms-description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.room-card {
    min-height: 450px;
    border: none;
}

.room-card-img {
    height: 250px;
    object-fit: cover;
}

.room-card-placeholder {
    height: 250px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-card-title {
    font-weight: 600;
}

.room-card-area {
    color: #666;
    font-size: 0.9rem;
}

.room-card-btn-outline {
    border: 2px solid #5d1207;
    color: #000;
    text-decoration: none;
    border-radius: 2px;
    padding: 0.375rem 1rem;
}

.room-card-btn-primary {
    background-color: #5d1207;
    color: white;
    text-decoration: none;
    border-radius: 2px;
    padding: 0.375rem 1rem;
}

/* Index Restaurant, Conference, Gym, Contacts */
.service-section {
    padding: 3rem 0;
}

.service-section-light {
    background-color: #f8f9fa;
}

.service-section-white {
    background-color: #ffffff;
}

.service-category {
    color: #333;
    margin-bottom: 1.5rem;
}

.service-title {
    font-weight: 500;
    color: #555;
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-spacer {
    margin: 2rem 0;
}

.service-btn {
    background-color: #252525;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 2px;
    display: inline-block;
}

.service-image {
    min-height: 400px;
    background: no-repeat center center;
    background-size: cover;
}

/* Index Gallery */
.gallery-section {
    padding: 2rem 0;
}

.gallery-large {
    height: 500px;
    background: no-repeat center center;
    background-size: cover;
}

.gallery-small {
    height: 245px;
    background: no-repeat center center;
    background-size: cover;
}

/* Contacts */
.contacts-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .nav-links {
        gap: 0.4rem;
    }

    .nav-links a {
        padding: 0.35rem 0.7rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 0.3rem;
    }

    .nav-links a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 0.25rem;
    }

    .nav-links a {
        padding: 0.25rem 0.5rem;
        font-size: 0.78rem;
    }

    .logo a {
        font-size: 1.1rem;
    }
}

@media (max-width: 991.98px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 0;
        gap: 0;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: flex;
    }

    .logo a {
        font-size: 1rem;
    }

    .conference-hero-image,
    .deals-hero-image,
    .gym-hero-image {
        height: 300px;
    }

    .conference-card {
        padding: 15px;
    }

    .datepicker-strip {
        flex-direction: column;
        border-radius: 0;
    }

    .date-field {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        max-width: none;
        padding: 10px 20px;
    }

    .field-container {
        justify-content: space-between;
    }

    .request-btn {
        width: 100%;
        padding: 15px;
    }

    .service-image {
        min-height: 300px;
    }

    .about-us-image,
    .gallery-large {
        height: 400px;
    }

    .about-us-small-image,
    .gallery-small {
        height: 195px;
    }
}

@media (max-width: 768px) {
    .room-info-slider img {
        height: 250px;
    }

    .room-section > div {
        margin-bottom: 20px;
    }

    .inform-title {
        font-size: 1.5rem;
    }

    .inform-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .logo a {
        font-size: 0.9rem;
    }

    .rooms-title {
        font-size: 2rem;
    }

    .about-us-image,
    .gallery-large {
        height: 300px;
    }

    .about-us-small-image,
    .gallery-small {
        height: 145px;
    }
}