/**
 * Promo Block Styles - Актуальні акції та конкурси
 * 
 * ✅ Згідно ТЗ Phase 2, Block 2:
 * - Статичний/напівдинамічний таймер як візуальний елемент
 * - Картки сезонних добірок з CTA
 * - Без виводу переможців, без автологіки, без підрахунків
 * 
 * @since 2.37.3
 */

/* ===== Promo Block Container ===== */
.gotuimo-promo-block {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* ===== Header ===== */
.gotuimo-promo-header {
    text-align: center;
    margin-bottom: 60px;
}

.gotuimo-promo-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.gotuimo-promo-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ===== Статичний Таймер ===== */
.gotuimo-promo-timer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-size: 1rem;
    font-weight: 600;
}

.gotuimo-promo-timer .timer-icon {
    color: #FF6B35;
    width: 24px;
    height: 24px;
}

.gotuimo-timer-label {
    color: #666;
}

.gotuimo-timer-value {
    color: #FF6B35;
    font-weight: 700;
    font-size: 1.125rem;
}

/* ===== Promo Cards Grid ===== */
.gotuimo-promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Individual Promo Card ===== */
.gotuimo-promo-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gotuimo-promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Card 1: Зимові рецепти */
.gotuimo-promo-card[data-card-index="0"] {
    background: linear-gradient(135deg, #a8dadc 0%, #f1faee 100%);
}

/* Card 2: Конкурс */
.gotuimo-promo-card[data-card-index="1"] {
    background: linear-gradient(135deg, #ffba08 0%, #ffeaa7 100%);
}

/* Card 3: Святкове меню */
.gotuimo-promo-card[data-card-index="2"] {
    background: linear-gradient(135deg, #d4a5a5 0%, #ffccd5 100%);
}

/* ===== Card Icon/Emoji ===== */
.gotuimo-promo-card-icon {
    margin-bottom: 24px;
}

.gotuimo-promo-card-icon .promo-emoji {
    font-size: 4rem !important; /* ✅ ВАЖЛИВО: Перебити home-page.css */
    line-height: 1 !important;
    display: block !important;
    /* ✅ Тінь для emoji щоб не зливалися з фоном */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15)) !important;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.gotuimo-promo-card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* ===== Card Content ===== */
.gotuimo-promo-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gotuimo-promo-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.gotuimo-promo-card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ===== Card Button ===== */
.gotuimo-promo-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    /* ✅ Єдиний стиль: біла кнопка → червона при hover */
    background: #ffffff;
    color: #ef4444;
    border: 2px solid #ef4444;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.gotuimo-promo-card-btn:hover {
    background: #ef4444;
    color: #ffffff;
    gap: 12px;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4);
}

.gotuimo-promo-card-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.gotuimo-promo-card-btn:hover svg {
    transform: translateX(4px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .gotuimo-promo-block {
        padding: 60px 0;
    }
    
    .gotuimo-promo-header {
        margin-bottom: 40px;
    }
    
    .gotuimo-promo-title {
        font-size: 2rem;
    }
    
    .gotuimo-promo-subtitle {
        font-size: 1rem;
    }
    
    .gotuimo-promo-timer {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .gotuimo-promo-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .gotuimo-promo-card {
        padding: 32px 24px;
    }
    
    .gotuimo-promo-card-icon .promo-emoji {
        font-size: 3rem;
    }
    
    .gotuimo-promo-card-title {
        font-size: 1.5rem;
    }
}

