/* Moderní styly pro zvýraznění inzerátů - Pronajto.cz */

/* ===== ZÁKLADNÍ STYLY PRO ZVÝRAZNĚNÍ ===== */

/* Premium badge - moderní design */
.listing-premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b35, #ffa726);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
    animation: premiumGlow 3s ease-in-out infinite;
}

.listing-premium-badge::before {
    content: '★';
    margin-right: 4px;
    font-size: 10px;
    color: #fff;
}

/* Highlighted badge */
.listing-highlighted-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.listing-highlighted-badge::before {
    content: '✨';
    margin-right: 4px;
    font-size: 10px;
}

/* Urgent badge */
.listing-urgent-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f44336, #ef5350);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
    animation: urgentPulse 2s ease-in-out infinite;
}

.listing-urgent-badge::before {
    content: '⚡';
    margin-right: 4px;
    font-size: 10px;
}

/* ===== ZVÝRAZNĚNÉ KARTY INZERÁTŮ ===== */

/* Premium karta */
.listing-card.premium {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15), 0 0 0 2px rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.listing-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ffa726, #ff6b35);
    background-size: 200% 100%;
    animation: premiumShine 4s ease-in-out infinite;
}

.listing-card.premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2), 0 0 0 2px rgba(255, 107, 53, 0.2);
}

/* Highlighted karta */
.listing-card.highlighted {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.15), 0 0 0 2px rgba(76, 175, 80, 0.1);
    position: relative;
}

.listing-card.highlighted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4caf50, #66bb6a, #4caf50);
    background-size: 200% 100%;
    animation: highlightShine 4s ease-in-out infinite;
}

.listing-card.highlighted:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.2), 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* Urgent karta */
.listing-card.urgent {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
    box-shadow: 0 4px 20px rgba(244, 67, 54, 0.15), 0 0 0 2px rgba(244, 67, 54, 0.1);
    position: relative;
}

.listing-card.urgent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f44336, #ef5350, #f44336);
    background-size: 200% 100%;
    animation: urgentShine 3s ease-in-out infinite;
}

.listing-card.urgent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(244, 67, 54, 0.2), 0 0 0 2px rgba(244, 67, 54, 0.2);
}

/* ===== ANIMACE ===== */

@keyframes premiumGlow {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
    50% { 
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
    }
}

@keyframes urgentPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(244, 67, 54, 0.5);
    }
}

@keyframes premiumShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes highlightShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes urgentShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== ZVÝRAZNĚNÉ OBSAHY ===== */

/* Premium obsah */
.listing-card.premium .listing-content h3 {
    color: #ff6b35;
    font-weight: 700;
    font-size: 1.15em;
}

.listing-card.premium .listing-price {
    color: #ff6b35;
    font-size: 1.3em;
    font-weight: 700;
}

/* Highlighted obsah */
.listing-card.highlighted .listing-content h3 {
    color: #4caf50;
    font-weight: 700;
    font-size: 1.15em;
}

.listing-card.highlighted .listing-price {
    color: #4caf50;
    font-size: 1.3em;
    font-weight: 700;
}

/* Urgent obsah */
.listing-card.urgent .listing-content h3 {
    color: #f44336;
    font-weight: 700;
    font-size: 1.15em;
}

.listing-card.urgent .listing-price {
    color: #f44336;
    font-size: 1.3em;
    font-weight: 700;
}

/* ===== RESPONZIVNÍ DESIGN ===== */

@media (max-width: 768px) {
    .listing-premium-badge,
    .listing-highlighted-badge,
    .listing-urgent-badge {
        top: 8px;
        right: 8px;
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .listing-card.premium,
    .listing-card.highlighted,
    .listing-card.urgent {
        border-width: 1px;
    }
    
    .listing-card.premium::before,
    .listing-card.highlighted::before,
    .listing-card.urgent::before {
        height: 2px;
    }
}

@media (max-width: 480px) {
    .listing-premium-badge,
    .listing-highlighted-badge,
    .listing-urgent-badge {
        top: 6px;
        right: 6px;
        padding: 4px 8px;
        font-size: 9px;
    }
    
    .listing-premium-badge::before,
    .listing-highlighted-badge::before,
    .listing-urgent-badge::before {
        font-size: 8px;
        margin-right: 3px;
    }
}

/* ===== DOPLŇKOVÉ EFEKTY ===== */

/* Hover efekt pro premium */
.listing-card.premium:hover .listing-premium-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
}

/* Hover efekt pro highlighted */
.listing-card.highlighted:hover .listing-highlighted-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5);
}

/* Hover efekt pro urgent */
.listing-card.urgent:hover .listing-urgent-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.5);
}

/* ===== SEZNAMOVÝ POHLED ===== */

/* Pro seznamový pohled */
.listings-grid.view-list .listing-card.premium,
.listings-grid.view-list .listing-card.highlighted,
.listings-grid.view-list .listing-card.urgent {
    border-left-width: 4px;
    border-left-color: transparent;
}

.listings-grid.view-list .listing-card.premium::before {
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, #ff6b35, #ffa726, #ff6b35);
    background-size: 100% 200%;
    animation: premiumShineVertical 4s ease-in-out infinite;
}

.listings-grid.view-list .listing-card.highlighted::before {
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, #4caf50, #66bb6a, #4caf50);
    background-size: 100% 200%;
    animation: highlightShineVertical 4s ease-in-out infinite;
}

.listings-grid.view-list .listing-card.urgent::before {
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, #f44336, #ef5350, #f44336);
    background-size: 100% 200%;
    animation: urgentShineVertical 3s ease-in-out infinite;
}

.listings-grid.view-list .listing-premium-badge,
.listings-grid.view-list .listing-highlighted-badge,
.listings-grid.view-list .listing-urgent-badge {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px;
}

/* ===== KOMPAKTNÍ POHLED ===== */

/* Pro kompaktní pohled */
.listings-grid.view-compact .listing-premium-badge,
.listings-grid.view-compact .listing-highlighted-badge,
.listings-grid.view-compact .listing-urgent-badge {
    position: static;
    display: inline-block;
    margin-right: 10px;
    padding: 4px 8px;
    font-size: 10px;
}

.listings-grid.view-compact .listing-card.premium,
.listings-grid.view-compact .listing-card.highlighted,
.listings-grid.view-compact .listing-card.urgent {
    border-left-width: 3px;
    border-left-color: transparent;
}

.listings-grid.view-compact .listing-card.premium::before {
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, #ff6b35, #ffa726, #ff6b35);
    background-size: 100% 200%;
    animation: premiumShineVertical 4s ease-in-out infinite;
}

.listings-grid.view-compact .listing-card.highlighted::before {
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, #4caf50, #66bb6a, #4caf50);
    background-size: 100% 200%;
    animation: highlightShineVertical 4s ease-in-out infinite;
}

.listings-grid.view-compact .listing-card.urgent::before {
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, #f44336, #ef5350, #f44336);
    background-size: 100% 200%;
    animation: urgentShineVertical 3s ease-in-out infinite;
}

/* ===== VERTIKÁLNÍ ANIMACE PRO SEZNAMOVÝ POHLED ===== */

@keyframes premiumShineVertical {
    0% { background-position: 0 -200%; }
    100% { background-position: 0 200%; }
}

@keyframes highlightShineVertical {
    0% { background-position: 0 -200%; }
    100% { background-position: 0 200%; }
}

@keyframes urgentShineVertical {
    0% { background-position: 0 -200%; }
    100% { background-position: 0 200%; }
} 