/* ========================================
   GPC HOTEL TEMPLATE - MOBILE-FIRST CLEAN
   File: hotel-template-styles.css
   БЕЗ HOVER ЭФФЕКТОВ, ТОЛЬКО ЖИВЫЕ АНИМАЦИИ
======================================== */

/* КОНТЕЙНЕР С АНИМАЦИЕЙ ПОЯВЛЕНИЯ */
.gpc-hotel-container {
    max-width: 100%;
    margin: 0;
    padding: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #1d1d1f;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    animation: fadeInContainer 0.8s ease-out 0.1s forwards;
}

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

/* H1 - С АНИМАЦИЕЙ */
.gpc-hotel-container h1 {
    font-size: 22px!important;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px!important;
    line-height: 1.3!important;
    letter-spacing: -0.3px;
    opacity: 0;
    animation: slideInLeft 0.6s ease-out 0.2s forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ЗВЕЗДНОСТЬ */
.gpc-hotel-stars {
    font-size: 16px;
    font-weight: 500;
    color: #f6820d;
    margin: 0 0 12px 0;
    opacity: 0;
    animation: slideInLeft 0.6s ease-out 0.3s forwards;
}

/* GOOGLE РЕЙТИНГ */
.gpc-hotel-rating {
    font-size: 15px;
    color: #515154;
    margin: 0 0 2px 0;
    line-height: 1.4;
    opacity: 0;
    animation: slideInLeft 0.6s ease-out 0.4s forwards;
}

.gpc-hotel-rating-reviews {
    display: block;
    font-size: 13px;
    color: #86868b;
    margin-top: 2px;
}

/* ЦЕНА - СТАТИЧНАЯ С ГРАДИЕНТОМ */
.gpc-hotel-price {
    color: #1d1d1f;
    font-size: 18px;
    font-weight: 700;
    opacity: 0;
    animation: scaleIn 0.6s ease-out 0.5s forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* КНОПКИ БРОНИРОВАНИЯ - С БЛЕСКОМ */
.gpc-hotel-booking-top,
.gpc-hotel-booking-bottom {
    margin: 24px 0;
    opacity: 0;
    animation: slideInUp 0.6s ease-out 0.6s forwards;
}

.gpc-hotel-btn {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b35 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* БЕЗ HOVER ЭФФЕКТОВ */

.gpc-hotel-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
}

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

/* ОПИСАНИЕ */
.gpc-hotel-description {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #021F94;
    margin: 10px 0;
    padding: 10px;
    background: linear-gradient(135deg, #f5f5f7 0%, #f0f9ff 100%);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    opacity: 0;
    animation: slideInRight 0.6s ease-out 0.7s forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* АДРЕС И ЯЗЫКИ */
.gpc-hotel-address,
.gpc-hotel-languages {
    font-size: 15px;
    color: #515154;
    margin: 16px 0;
    padding: 16px;
    background: rgba(248, 249, 250, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(229, 229, 231, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    opacity: 0;
    animation: fadeInScale 0.6s ease-out 0.8s forwards;
}

.gpc-hotel-languages strong {
    color: #1d1d1f;
    font-weight: 600;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* H2 - С АКЦЕНТОМ */
.gpc-hotel-container h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 40px 0 20px 0;
    letter-spacing: -0.2px;
    position: relative;
    padding-left: 16px;
    opacity: 0;
    animation: slideInLeft 0.6s ease-out 0.9s forwards;
}

.gpc-hotel-container h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 75%;
    background: linear-gradient(to bottom, #007aff, #00d4ff);
    border-radius: 2px;
}

/* FACILITIES - АКТИВНЫЙ СТИЛЬ ПО УМОЛЧАНИЮ */
.gpc-hotel-facilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}

.gpc-hotel-facility {
    padding: 16px;
    font-size: 14px;
    color: #1d1d1f;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(52, 199, 89, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(20px);
    cursor: default;
}

.gpc-hotel-facility.gpc-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.gpc-hotel-facility::before {
    content: '✓';
    color: #34c759;
    font-weight: bold;
    font-size: 16px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 199, 89, 0.15);
    border-radius: 50%;
}

/* HOTEL INFO - КОМПАКТНАЯ ЭЛЕГАНТНАЯ ТАБЛИЦА */
.gpc-hotel-tech-info {
    margin: 24px 0;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(229, 229, 231, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    animation: slideInUp 0.6s ease-out 1.2s forwards;
}

.gpc-hotel-tech-info p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    margin: 0 !important; /* ПЕРЕОПРЕДЕЛЯЕМ ТЕМУ */
    margin-bottom: 0 !important; /* УБИРАЕМ 30px ОТ ТЕМЫ */
    font-size: 15px;
    color: #515154;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    margin-bottom: 8px !important;
    border: 1px solid rgba(240, 240, 240, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.gpc-hotel-tech-info p:last-child {
    margin-bottom: 0 !important;
}

.gpc-hotel-tech-info p span {
    font-weight: 600;
    color: #1d1d1f;
    background: rgba(0, 122, 255, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
}

/* BLOCKQUOTES */
.gpc-hotel-container blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f5f5f7 0%, #f0f9ff 100%);
    border-left: 4px solid #007aff;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #1d1d1f;
    font-style: normal !important;
    text-decoration: none !important;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.gpc-hotel-container blockquote::before {
    content: '"';
    font-size: 28px;
    color: #007aff;
    position: absolute;
    left: 20px;
    top: 16px;
    font-weight: 700;
    opacity: 0.7;
}

.gpc-hotel-container blockquote p {
    margin: 0;
    padding-left: 20px;
    text-decoration: none !important;
}

/* СПИСКИ - АКТИВНЫЙ СТИЛЬ ПО УМОЛЧАНИЮ */
.gpc-hotel-container ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.gpc-hotel-container ul li {
    margin: 8px 0;
    padding: 12px 0 8px 32px;
    font-size: 15px;
    line-height: 1.5;
    color: #1d1d1f;
    position: relative;
    background: rgba(248, 249, 250, 0.7);
    border-radius: 8px;
    padding-left: 36px;
}

.gpc-hotel-container ul li::before {
    content: '•';
    color: #007aff;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    left: 16px;
    top: 12px;
}

/* NESTED LISTS */
.gpc-hotel-container ul ul {
    margin: 12px 0 12px 20px;
}

.gpc-hotel-container ul ul li {
    background: rgba(248, 249, 250, 0.5);
}

.gpc-hotel-container ul ul li::before {
    content: '◦';
    color: #86868b;
    font-size: 16px;
}

/* RESPONSIVE - MOBILE FIRST */
@media (min-width: 768px) {
    .gpc-hotel-container {
        max-width: 768px;
        margin: 0 auto;
        padding: 6px;
    }
    
    .gpc-hotel-facilities {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
    }
    
    .gpc-hotel-container h1 {
        font-size: 28px!important;
    }
    
    .gpc-hotel-container h2 {
        font-size: 24px!important;
    }
        
    .gpc-hotel-btn {
        font-size: 18px;
        padding: 20px 32px;
    }
}

@media (min-width: 1024px) {
    .gpc-hotel-facilities {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gpc-hotel-container h1 {
        font-size: 32px!important;
    }
}

/* LOADING STATES */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* FOCUS STYLES FOR ACCESSIBILITY */
.gpc-hotel-btn:focus {
    outline: 2px solid #007aff;
    outline-offset: 2px;
}