
/* Global Styles */
body {
    font-family: 'Manrope', sans-serif;
    scroll-behavior: smooth;
    background-color: #ffffff;
    color: #1f2937;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    /*text-shadow: 3px 3px 6px #0d9488;*/
    
}
.text_main-p{
    background-color: #0d94893e;
    max-width: max-content;
    max-height: max-content;
    border-radius: 15px;
}

h2 {
    font-size: 2rem;
    color: #0d9488;

}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}
.text_nav-about{
    font-size: larger;
    padding-top: 20px;
    font-weight: bold;
}
.header_main-txt{
    font-size: x-large;
    padding-top: 12px;
}


/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    z-index: 50;
    background-color:  #ffffffc5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100px;
    
}

.header_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
}

.header_main-link{
    display: flex;
    align-items: center;
}
.header_main-txt{
    --tw-text-opacity: 1;
    color: rgb(13 148 136 / var(--tw-text-opacity, 1));
    font-weight: 900;
    font-size: 3rem;
    line-height: 2rem;
}
.header_main-link:hover {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

/* Hero Section */
.hero-bg {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    color: rgb(0, 0, 0);
}

.hero-content {
    max-width: 42rem;
}
.bg-promo{
    background-color: #ffffff42;
}



/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d9488;
    color: white;
}

.btn-primary:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    border: 2px solid rgb(0, 0, 0);
    color: black;
}

.btn-secondary:hover {
    background-color: white;
    color: #1f2937;
}

/* Rooms Section */
.rooms-grid {
    display: grid;
    gap: 2rem;
}
.gallery-back{
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.room-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.room-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.room-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.room-details {
    padding: 1.5rem;
}

.price {
    color: #d97706;
    font-weight: bold;
}

/* Services Section */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    background-color: #f0fdfa;
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: #ccfbf1;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    gap: 1rem;
}
.gallery-nav{
    position: relative;
}
.gallery-tittle{
    position: absolute;
    z-index: 10;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
}
.btn-gallery{
    width: max-content;
   
}
.btn-gallery-booking{
     display: flex;
    justify-content: center;

}

/* Reviews Section */
.reviews-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reviewer {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 3rem;
    height: 3rem;
    background-color: #ccfbf1;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #0d9488;
    font-weight: bold;
}

.stars {
    display: flex;
    color: #f59e0b;
}

/* Booking Section */
.text-boocking{
    padding-bottom: 50px;
}
.booking-container {
    max-width: 64rem;
    margin: 0 auto;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.booking-form {
    padding: 2rem;
    color: #1f2937;
}

.booking-info {
    padding: 2rem;
    background-color: #0f766e;
    color: white;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
}

.form-input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
}
/* Агрессивные стили для мобильных полей date */
.mobile-date-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: white;
    border: 1px solid #d1d5db;
    min-height: 44px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

/* Для WebKit браузеров (Safari, Chrome) */
.mobile-date-input::-webkit-datetime-edit {
    padding: 0;
    line-height: 1;
}

.mobile-date-input::-webkit-date-and-time-value {
    text-align: left;
    display: block;
    width: 100%;
}

.mobile-date-input::-webkit-calendar-picker-indicator {
    margin-left: 0;
    padding: 0;
}

/* Для Firefox */
.mobile-date-input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Медиа запрос для очень маленьких экранов */
@media (max-width: 480px) {
    .mobile-date-input {
        font-size: 14px;
        padding-left: 8px;
        padding-right: 8px;
    }
    
    #booking .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .md\\:w-1\\/2 {
        width: 100%;
    }
}

/* Принудительное ограничение ширины на всех устройствах */
#booking .max-w-4xl {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#booking input[type="date"] {
    max-width: 100%;
    overflow: hidden;
}

/* Contacts Section */
.contacts-container {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contacts-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    margin-bottom: 1rem;
}

.contact-icon {
    color: #0d9488;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #0f766e;
}

.map-container {
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Responsive Navigation */
.mobile-menu-button {
    display: none;
}

.mobile-menu {
    position: absolute;
    width: 100%;
    left: 0;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Main New*/


        .main-slider {
            position: relative;
            width: 100%;
            height: 500px; /* или нужная вам высота */
            overflow: hidden;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            animation: slideShow 16s infinite;
        }

        .slide:nth-child(1) {
            background-image: url('image1.jpg');
            animation-delay: 0s;
        }

        .slide:nth-child(2) {
            background-image: url('image2.jpg');
            animation-delay: 4s;
        }

        .slide:nth-child(3) {
            background-image: url('image3.jpg');
            animation-delay: 8s;
        }

        .slide:nth-child(4) {
            background-image: url('image4.jpg');
            animation-delay: 12s;
        }

        @keyframes slideShow {
            0% { opacity: 0; }
            5% { opacity: 1; }
            25% { opacity: 1; }
            30% { opacity: 0; }
            100% { opacity: 0; }
        }



@media (max-width: 767px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-desktop {
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }
}

.gallary_dpl{
    color: #ffffff;
    font: bold;
    background-color: #0f766daa;
    border-radius: 10px;
}
.allinclusive_txt{
    font: bold;
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
    padding-left: 190px;
    margin-bottom: 15px;

}
.dopuslugi_txt{
    font: bold;
    font-weight: 700;
    margin-top: 20px;
    line-height: 1.2;
    padding-left: 155px;
    margin-bottom: 20px;

}
.dopuslugi_menu{
    display: flex;
    gap: 240px;
    padding-left: 3px;
}

.gallery-wifi:hover{
    color: #0d9488;

}
.container{
    padding-top: 20px;
    padding-bottom: 20px;
}

