/* ========================================
   GPC PLACE TEMPLATE - MOBILE-FIRST CLEAN
   File: place-template-styles.css
   ПО ОБРАЗУ ОТЕЛЬНОГО ШАБЛОНА
======================================== */

/* КОНТЕЙНЕР С АНИМАЦИЕЙ ПОЯВЛЕНИЯ */
.gpc-place-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-place-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-place-type {
    font-size: 16px;
    font-weight: 500;
    color: #007aff;
    margin: 0 0 12px 0;
    text-transform: capitalize;
    opacity: 0;
    animation: slideInLeft 0.6s ease-out 0.3s forwards;
}

/* GOOGLE РЕЙТИНГ (КОНСИСТЕНТНО С ОТЕЛЯМИ) */
.gpc-place-rating {
    font-size: 15px;
    color: #515154;
    margin: 0 0 20px 0;
    line-height: 1.4;
    opacity: 0;
    animation: slideInLeft 0.6s ease-out 0.4s forwards;
}

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


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

/* КООРДИНАТЫ И КАРТЫ - ИНТЕРАКТИВНЫЙ БЛОК */
.gpc-place-coordinates {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: slideInUp 0.6s ease-out 0.6s forwards;
}

.coordinates-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.coordinates-label {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 15px;
}

.coordinates-value {
    font-family: 'SF Mono', Monaco, monospace;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    flex: 1;
}

.copy-btn {
    background: #007aff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-btn:active {
    background: #0056d3;
    transform: scale(0.98);
}

.copy-btn.copied {
    background: #34c759;
}

.maps-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gpc-place-maps-btn {
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b35 100%);
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 160px;
}

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


/* БЫСТРЫЕ ХАРАКТЕРИСТИКИ (КОМПАКТНЫЕ ДЛЯ МОБИЛЬНЫХ) */
.gpc-place-quick-features {
    display: flex;
    gap: 6px;
    margin: 16px 0;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInRight 0.6s ease-out 0.5s forwards;
}

.quick-feature {
    background: rgba(52, 199, 89, 0.1);
    color: #1d1d1f;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(52, 199, 89, 0.3);
    white-space: nowrap;
}

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

/* ОПИСАНИЕ (КОНСИСТЕНТНО С ОТЕЛЯМИ) */
.gpc-place-description {
    font-size: 16px;
    line-height: 1.6;
    color: #1d1d1f;
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, #f5f5f7 0%, #f0f9ff 100%);
    border-radius: 16px;
    border-left: 4px solid #007aff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    opacity: 0;
    animation: slideInRight 0.6s ease-out 0.8s forwards;
}

/* H2 - С АКЦЕНТОМ (КОНСИСТЕНТНО С ОТЕЛЯМИ) */
.gpc-place-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-place-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;
}

/* РАСПИСАНИЕ РАБОТЫ */
.gpc-place-schedule {
    display: grid;
    gap: 8px;
    margin: 24px 0;
}



/* РАСПИСАНИЕ РАБОТЫ - ТОЛЬКО ТЕКСТ ДНЕЙ */
.schedule-item {
    padding: 12px 16px;
    background: rgba(248, 249, 250, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(229, 229, 231, 0.3);
    font-size: 16px;
    font-weight: 600;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInScale 0.3s ease-out forwards;
}

.schedule-item:nth-child(1) { animation-delay: 1.0s; }
.schedule-item:nth-child(2) { animation-delay: 1.1s; }
.schedule-item:nth-child(3) { animation-delay: 1.2s; }
.schedule-item:nth-child(4) { animation-delay: 1.3s; }
.schedule-item:nth-child(5) { animation-delay: 1.4s; }
.schedule-item:nth-child(6) { animation-delay: 1.5s; }
.schedule-item:nth-child(7) { animation-delay: 1.6s; }

/* СПОСОБЫ ОПЛАТЫ - КОНСИСТЕНТНЫЕ */
.gpc-place-payment {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.payment-option {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(97, 62, 164, 0.2);
    font-size: 16px;
    font-weight: 600;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(20px);
}

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

.payment-option::before {
    content: '•';
    color: #555555;
    font-size: 18px;
    font-weight: bold;
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ПАРКОВКА - КОНСИСТЕНТНЫЕ */
.gpc-place-parking {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.parking-option {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(97, 62, 164, 0.2);
    font-size: 16px;
    font-weight: 600;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(20px);
}

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

.parking-option::before {
    content: '•';
    color: #555555;
    font-size: 18px;
    font-weight: bold;
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* EV ЗАРЯДНЫЕ СТАНЦИИ - КОНСИСТЕНТНЫЕ */
.gpc-place-ev-charging {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.ev-connector {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(97, 62, 164, 0.2);
    font-size: 16px;
    font-weight: 600;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(20px);
}

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

.ev-connector::before {
    content: '•';
    color: #555555;
    font-size: 18px;
    font-weight: bold;
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ДОСТУПНОСТЬ - ОБНОВЛЕННЫЕ */
.gpc-place-accessibility {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.accessibility-feature {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(97, 62, 164, 0.2);
    font-size: 16px;
    font-weight: 600;
    color: #555555;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(20px);
}

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

.accessibility-feature::before {
    content: '•';
    color: #555555;
    font-size: 18px;
    font-weight: bold;
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* BLOCKQUOTES (КОНСИСТЕНТНО С ОТЕЛЯМИ) */
.gpc-place-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-place-container blockquote::before {
    content: '"';
    font-size: 28px;
    color: #007aff;
    position: absolute;
    left: 20px;
    top: 16px;
    font-weight: 700;
    opacity: 0.7;
}

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

/* СПИСКИ (КОНСИСТЕНТНО С ОТЕЛЯМИ) */
.gpc-place-container ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.gpc-place-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-place-container ul li::before {
    content: '•';
    color: #007aff;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    left: 16px;
    top: 12px;
}

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

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

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

/* RESPONSIVE - MOBILE FIRST */
@media (min-width: 768px) {
    .gpc-place-container {
        max-width: 768px;
        margin: 0 auto;
        padding: 6px;
    }
     
    .gpc-place-container h1 {
        font-size: 26px!important;
    }
    
    .gpc-place-container h2 {
        font-size: 24px!important;
    }
        
    .coordinates-block {
        flex-wrap: nowrap;
    }
    
    .maps-actions {
        justify-content: flex-start;
    }
    
    .gpc-place-maps-btn {
        flex: none;
        min-width: 180px;
    }
}

@media (min-width: 1024px) {   
    .gpc-place-container h1 {
        font-size: 26px!important;
    }
    
    .gpc-place-quick-features {
        justify-content: flex-start;
    }
}

/* 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-place-maps-btn:focus,
.copy-btn:focus {
    outline: 2px solid #007aff;
    outline-offset: 2px;
}

/* АНИМАЦИИ ПОЯВЛЕНИЯ ДЛЯ ДИНАМИЧЕСКИХ ЭЛЕМЕНТОВ */
.gpc-place-payment .payment-option,
.gpc-place-parking .parking-option,
.gpc-place-ev-charging .ev-connector,
.gpc-place-accessibility .accessibility-feature {
    opacity: 0;
    transform: translateY(20px);
}

.gpc-place-payment .payment-option.gpc-visible,
.gpc-place-parking .parking-option.gpc-visible,
.gpc-place-ev-charging .ev-connector.gpc-visible,
.gpc-place-accessibility .accessibility-feature.gpc-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}