/*
Theme Name: Zakra Child
Template: zakra
Description: Child theme of Zakra for NakupujVČíně.cz custom content styling 2025
Version: 1.0.0
*/

@import url("../zakra/style.css");

/* Custom Modern Content Styling for 2025 Content Refresh */

.nv-comparison-table {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nv-table-header {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nv-warning-box {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white !important;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #fff;
    box-shadow: 0 8px 25px rgba(255,107,107,0.3);
    position: relative;
    overflow: hidden;
}

.nv-warning-box * {
    color: white !important;
}

.nv-warning-box::before {
    content: "⚠️";
    font-size: 2em;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
}

.nv-info-box {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(116,185,255,0.3);
}

.nv-success-box {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0,184,148,0.3);
}

.nv-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.nv-pros, .nv-cons {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nv-pros {
    background: linear-gradient(135deg, #55efc4, #00b894);
    color: white;
}

.nv-pros::before {
    content: "✅ VÝHODY";
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nv-cons {
    background: linear-gradient(135deg, #fab1a0, #e17055);
    color: white;
}

.nv-cons::before {
    content: "❌ NEVÝHODY";
    display: block;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nv-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.nv-feature-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #6c5ce7;
    position: relative;
}

.nv-feature-card:hover {
    transform: translateY(-5px);
}

.nv-timeline {
    position: relative;
    max-width: 800px;
    margin: 30px auto;
}

.nv-timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.nv-timeline-item {
    padding: 10px 40px;
    position: relative;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.nv-calculator-section {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.nv-button-primary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin: 10px;
}

.nv-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108,92,231,0.4);
    color: white;
    text-decoration: none;
}

.nv-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.nv-stat-card {
    background: white;
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 3px solid #00cec9;
}

.nv-stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #00cec9;
    margin-bottom: 10px;
}

.nv-comparison-table table {
    width: 100%;
    color: white !important;
    border-collapse: collapse;
}

.nv-comparison-table th,
.nv-comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: white !important;
}

.nv-comparison-table th {
    background: rgba(255,255,255,0.1);
    font-weight: bold;
    text-transform: uppercase;
    color: white !important;
}

.nv-rating-stars {
    color: #ffd700;
    font-size: 1.2em;
}

.nv-price-highlight {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
}

@media (max-width: 768px) {
    .nv-pros-cons { 
        grid-template-columns: 1fr; 
    }
    .nv-feature-grid { 
        grid-template-columns: 1fr; 
    }
    .nv-stats-row { 
        grid-template-columns: 1fr; 
    }
    .nv-comparison-table {
        overflow-x: auto;
    }
}

/* Animated elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nv-feature-card,
.nv-stat-card,
.nv-timeline-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Interactive hover effects */
.nv-stat-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Force white text in all comparison tables */
.nv-comparison-table * {
    color: white !important;
}

.nv-comparison-table table * {
    color: white !important;
}

.nv-comparison-table tbody td {
    color: white !important;
}

.nv-comparison-table thead th {
    color: white !important;
}

.nv-timeline-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: box-shadow 0.3s ease;
}

/* Featured articles section for homepage */
.nv-featured-section {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    color: white;
}

.nv-section-subtitle {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 25px 0;
    text-align: center;
    color: white;
}

.nv-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.nv-featured-card {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.nv-featured-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.nv-featured-badge {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    position: absolute;
    top: -10px;
    right: 15px;
    box-shadow: 0 3px 10px rgba(0,184,148,0.4);
}

.nv-featured-card h4 {
    margin: 15px 0 10px 0;
    font-size: 1.2em;
    line-height: 1.3;
}

.nv-featured-card h4 a {
    color: white;
    text-decoration: none;
}

.nv-featured-card h4 a:hover {
    color: #ffecd2;
}

.nv-featured-card p {
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.5;
}

.nv-featured-meta {
    font-size: 0.9em;
    opacity: 0.8;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;
}

/* Update mobile responsiveness */
@media (max-width: 768px) {
    .nv-featured-grid {
        grid-template-columns: 1fr;
    }
    .nv-featured-section {
        padding: 20px;
    }
}

/* CRITICAL FIX - Dark readable text */
body .nv-comparison-table .nv-table-header,
body .nv-comparison-table table,
body .nv-comparison-table table th,
body .nv-comparison-table table td,
body .nv-comparison-table table tbody tr td,
body .nv-comparison-table table thead tr th,
body .nv-comparison-table *,
html body .nv-comparison-table table tr td,
html body .nv-comparison-table table tr th {
    color: #2d3436 !important;
    text-shadow: none !important;
}