/* ═══════════════════════════════════════════════════════════
   Extracted Inline Styles from index.html
   Optimized for better performance and maintainability
   ═══════════════════════════════════════════════════════════ */

/* Container Padding Fix - только для Hero Section */
.hero-slider .container.mx-auto.px-4,
.hero-bg .container.mx-auto.px-4 {
    padding-left: 2rem !important;  /* 32px */
    padding-right: 2rem !important;
}

@media (min-width: 768px) {
    .hero-slider .container.mx-auto.px-4,
    .hero-bg .container.mx-auto.px-4 {
        padding-left: 4rem !important;  /* 64px на больших экранах */
        padding-right: 4rem !important;
    }
}

@media (min-width: 1024px) {
    .hero-slider .container.mx-auto.px-4,
    .hero-bg .container.mx-auto.px-4 {
        padding-left: 6rem !important;  /* 96px на десктопе */
        padding-right: 6rem !important;
    }
}

/* Base Styles */
body {
    font-family: 'Manrope', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

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

.slide:nth-child(1) {
    background-image: url(../style/img/Main2.webp);
    animation-delay: 0s;
}

.slide:nth-child(2) {
    background-image: url(../style/img/Main6.webp);
    animation-delay: 4s;
}

.slide:nth-child(3) {
    background-image: url(../style/img/About_Area.webp);
    animation-delay: 8s;
}

.slide:nth-child(4) {
    background-image: url(../style/img/Main4.webp);
    animation-delay: 12s;
}

.slide:nth-child(5) {
    background-image: url(../style/img/About_sport.webp);
    animation-delay: 16s;
}

.slide:nth-child(6) {
    background-image: url(../style/img/Main5.webp);
    animation-delay: 20s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    15% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.transition-all {
    transition: all 0.3s ease;
}

.btn-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Gallery Styles */
.gallery-container {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.gallery-slide {
    min-width: 100%;
    height: 256px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 100px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.room-card:hover .gallery-controls,
.room-card:hover .gallery-indicators {
    opacity: 1;
}

.room-card:hover .gallery-container {
    position: relative;
}

.room-card:hover .gallery-slide {
    transform: scale(1);
}

.gallery-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: white;
}

/* Scroll To Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: white;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Star Rating */
.star-rating {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.star-rating i {
    color: #d1d5db;
    transition: all 0.2s ease;
}

.star-rating.active i,
.star-rating:hover i {
    color: #f59e0b;
}

.star-rating:hover~.star-rating i {
    color: #d1d5db;
}

/* Review Text Scrollable */
.review-text-scrollable {
    max-height: 80px;
    overflow-y: auto;
    padding-right: 8px;
    line-height: 1.4;
}

.review-text-scrollable::-webkit-scrollbar {
    width: 4px;
}

.review-text-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.review-text-scrollable::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.review-text-scrollable::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.review-text-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 8px;
    height: 20px;
    background: linear-gradient(transparent, #f9fafb);
    pointer-events: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f766e;
    color: white;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show-banner {
    transform: translateY(0);
}

.cookie-banner.hide-banner {
    transform: translateY(100%);
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.banner-text {
    flex: 1;
}

.banner-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.banner-description {
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.4;
}

.banner-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-accept {
    background: white;
    color: #0f766e;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-accept:hover {
    background: #f0f0f0;
}

.btn-reject {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-message {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    z-index: 10001;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-message.show-message {
    transform: translateX(0);
    opacity: 1;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Sound Toggle Widget */
.sound-toggle-widget {
    position: fixed;
    right: 23px;
    z-index: 40;
    top: calc(185px + 1rem + 70px);
}

.sound-toggle-btn {
    background: #6b7280;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
    border: none;
}

.sound-toggle-btn:hover {
    transform: scale(1.1);
    background: #4b5563;
}

.sound-toggle-btn.muted {
    background: #ef4444;
}

.sound-toggle-btn.muted:hover {
    background: #dc2626;
}

.sound-toggle-btn i {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer-links {
    padding-top: 15px;
    margin-bottom: 25px;
    color: #0f766e;
}

.footer-link {
    color: #5c5c5c78;
    font-weight: 600;
    cursor: pointer;
}

.footer-link:hover {
    color: #0d8e748b;
}

.privacy {
    display: flex;
    justify-content: center;
}

/* Form Inputs */
input[type="checkbox"] {
    border: 1px solid #d1d5db;
}

input[type="checkbox"]:checked {
    background-color: #0d9488;
    border-color: #0d9488;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

input[type="checkbox"]:focus {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

input[type="date"] {
    max-width: 100%;
    box-sizing: border-box;
}

input[type="date"]::-webkit-datetime-edit {
    padding: 0;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background-color: #0d9488;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background-color: #0f766e;
}

/* Christmas Decorations */
.snowflake {
    position: fixed;
    color: #ffffff;
    font-size: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    z-index: 9999;
    pointer-events: none;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.christmas-tree {
    position: fixed;
    z-index: 9998;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.christmas-tree img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.garland {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(90deg,
            #ff0000, #ff8000, #ffff00, #80ff00,
            #00ff80, #00ffff, #0080ff, #8000ff);
    z-index: 9997;
    opacity: 0.7;
    animation: garland-flash 3s infinite alternate;
}

@keyframes garland-flash {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

.christmas-ornament {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 100;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: ornament-swing 3s ease-in-out infinite alternate;
}

@keyframes ornament-swing {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.new-year-badge {
    position: absolute;
    background: linear-gradient(45deg, #d40000, #ff6b00, #ffd700);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    animation: badge-pulse 2s infinite alternate;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    }

    100% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
    }
}

.holly-branch {
    position: fixed;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.8;
}

.holly-branch img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* TravelLine Search Block */
#block-search,
#block-search * {
    box-sizing: border-box;
}

#block-search {
    position: absolute;
    right: 30px;
    transform: translateY(calc(-100% - 80px));
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.tl-container {
    padding: 0 30px;
}

/* reCAPTCHA Badge */
.grecaptcha-badge {
    visibility: hidden;
}

/* ═══════════════════════════════════════════════════════════
   Responsive Styles
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
    .all-inclusive-widget {
        transform: scale(1.5) translateY(-50%);
        top: 39%;
        right: 80px;
    }

    .hero-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 100%;
    }

    .hero-content .max-w-2xl {
        max-width: 60%;
    }

    .banner-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 1700px) {
    #block-search {
        position: relative;
        right: 0;
        transform: none;
        max-width: 100%;
        border-radius: 0;
    }

    .tl-container {
        max-width: 1440px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    #about .grid-cols-2 {
        grid-template-columns: 1fr 1fr;
    }

    #about .h-48,
    #about .h-64 {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
    }

    .hero-content {
        padding-top: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .all-inclusive-widget {
        position: absolute;
        top: 6rem;
        right: 1rem;
        transform: none;
    }

    .promotions-widget {
        position: absolute;
        bottom: 3rem;
        left: 1rem;
        right: 1rem;
        transform: none;
        width: auto;
        max-width: none;
    }

    .promotions-widget .bg-promo {
        padding: 1rem;
    }

    .review-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .review-container>div {
        margin-bottom: 0;
    }

    #prevReview,
    #nextReview {
        display: none;
    }

    .header_container {
        padding: 1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .md\\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .lg\\:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .flex-col-mobile {
        flex-direction: column;
    }

    .text-center-mobile {
        text-align: center;
    }

    .review-text-scrollable {
        max-height: 60px;
    }

    #moderateButton {
        display: none !important;
        margin: 1rem auto 0 auto !important;
        width: auto;
    }

    .text-center>.ml-4 {
        margin-left: 0 !important;
    }

    #about .flex-col-mobile {
        flex-direction: column;
    }

    #about .md\\:w-1\\/ {
        width: 100%;
    }

    #about .md\\:pr-10 {
        padding-right: 0;
    }

    #about .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    #about .h-48,
    #about .h-64 {
        height: 200px;
    }

    .allinclusive_txt {
        padding-left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .dopuslugi_txt {
        padding-left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .dopuslugi_menu {
        flex-direction: column;
        gap: 10px;
        padding-left: 0;
    }

    .allinclusive .grid-cols-1 {
        gap: 10px;
    }

    .allinclusive .md\\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .christmas-tree {
        width: 80px !important;
    }

    .christmas-ornament {
        width: 25px;
        height: 25px;
    }

    .new-year-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .holly-branch {
        width: 60px !important;
    }
}

@media (max-width: 767px) {
    .all-inclusive-widget-mobile {
        top: calc(6rem + 25px);
        left: 1rem;
        transform: none;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .privacy-checkbox-text {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

@media (max-width: 480px) {
    .christmas-tree {
        width: 60px !important;
    }

    .garland {
        height: 15px;
    }

    .new-year-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
}
