
.site-login {
    background: white;
    margin: 30px 0;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.site-login h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.site-login p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

/* Стили для формы */
#login-form {
    padding: 0 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control:hover {
    border-color: #bdc3c7;
}

.custom-control {
    margin: 20px 0;
    padding-left: 0;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-checkbox input[type="checkbox"]:checked {
    background-color: #3498db;
    border-color: #3498db;
}

.custom-checkbox input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.custom-checkbox label {
    margin-bottom: 0;
    cursor: pointer;
    color: #34495e;
    font-weight: normal;
}


.btn-primary {
    display: block;
    background: #3498db;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin: 25px auto 0;
    width: 100%;
    max-width: 200px;
}

.btn-primary:hover {
    background: #2980b9;
    transform: scale(1.05);
    color: white;
}

.btn-primary:active {
    transform: scale(0.98);
}


.invalid-feedback {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.has-error .form-control {
    border-color: #e74c3c;
}

.has-error .form-control:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.site-login {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .site-login {
        padding: 30px 25px;
        margin: 20px 15px;
    }

    #login-form {
        padding: 0 10px;
    }

    .site-login h1 {
        font-size: 1.7rem;
    }

    .btn-primary {
        width: 100%;
        max-width: none;
        padding: 14px 25px;
    }
}

@media (max-width: 480px) {
    .site-login {
        padding: 25px 20px;
        margin: 15px 10px;
    }

    .site-login h1 {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .custom-checkbox {
        font-size: 0.9rem;
    }
}

.form-control:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.custom-checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.form-group.field-loginform-rememberme {
    margin-bottom: 15px;
}

.form-horizontal {
    background: white;
    margin: 30px 0;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 25px;
    padding: 0 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control:hover {
    border-color: #bdc3c7;
}

/* Стили для кнопки */
.btn-primary {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
    width: auto;
    min-width: 200px;
}

.btn-primary:hover {
    background: #2980b9;
    transform: scale(1.05);
    color: white;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Стили для контейнера кнопки */
.col-lg-offset-1.col-lg-11 {
    text-align: center;
    margin-top: 30px;
    padding: 0 15px;
}

.has-error .form-control {
    border-color: #e74c3c;
}

.help-block {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .form-horizontal {
        padding: 25px 20px;
        margin: 20px 10px;
    }

    .form-group {
        padding: 0 5px;
        margin-bottom: 20px;
    }

    .btn-primary {
        width: 100%;
        min-width: auto;
        padding: 14px 25px;
    }

    .col-lg-offset-1.col-lg-11 {
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .form-horizontal {
        padding: 20px 15px;
        margin: 15px 5px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

.form-horizontal {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input[type="tel"] {
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

.form-control:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}


body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px !important;
}

section {
    background: white;
    margin: 30px 0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

h3 {
    color: #34495e;
    margin-bottom: 15px;
}

.hotel-section h2 {
    color: #e74c3c;
}

.hotel-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}
.media-section {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.photo-gallery, .video-gallery {
    flex: 1;
    min-width: 300px;
}

.gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery img, .gallery video {
    width: 150px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery img:hover, .gallery video:hover {
    transform: scale(1.05);
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.advantage-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.advantage-card h3 {
    color: #2c3e50;
    margin: 10px 0;
}

.room-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.room-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.room-image {
    height: 300px !important;
    background-size: cover;
    background-position: center;
    position: relative;
    width: 600px;
}

.room-info {
    padding: 20px;
}

.room-info h3 {
    color: #2c3e50;
    margin-top: 0;
}

.room-type {
    color: #7f8c8d;
    font-style: italic;
    margin: 5px 0;
}

.room-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin: 10px 0;
}

.room-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.room-features li {
    padding: 5px 0;
    border-bottom: 1px solid #ecf0f1;
}

.room-features li:before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
}

.btn-book, .book-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-book:hover, .book-btn:hover {
    background: #2980b9;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #3498db;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #2c3e50;
    margin: 10px 0;
}

.service-description {
    color: #555;
    margin-bottom: 15px;
}

.service-time {
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    section {
        padding: 20px;
        margin: 20px 0;
    }

    .media-section {
        flex-direction: column;
    }

    .room-cards {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        justify-content: center;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .advantages {
        grid-template-columns: 1fr;
    }

    .room-card {
        margin: 0 -10px;
    }

    .gallery img, .gallery video {
        width: 120px;
        height: 100px;
    }
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}