/* ============================================
   REZERVÁCIA HRAD - CSS
   ============================================ */

.hrad-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 0 1.5rem;
    color: white;
}
.hrad-hero .section-label { color: var(--accent); }
.hrad-hero h1 { font-size: 30px; margin-bottom: 0.5rem; color: white; }
.hrad-hero p { font-size: 18px; color: rgba(255,255,255,0.75); }

.hrad-section { padding: 1rem 0 3.5rem; }

.info-banner {
    background: linear-gradient(135deg, #fff3e0, #ffe8d6);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
    font-size: 18px;
    color: #5a3000;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.wizard-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 1.2rem;
    margin-bottom: 1rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.wizard-card.hidden { display: none; }

.wizard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}
.step-num {
    width: 32px; height: 32px;
    background: var(--primary);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.wizard-header h2 { margin: 0; font-size: 20px; }

.sub-header {
    font-size: 18px;
    color: var(--primary);
    margin: 0 0 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #f0f0f0;
}

.oddelovac {
    text-align: center;
    color: #aaa;
    font-size: 16px;
    margin: 0.75rem 0;
    position: relative;
}
.oddelovac::before, .oddelovac::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #e0e0e0;
}
.oddelovac::before { left: 0; }
.oddelovac::after { right: 0; }

/* Balíčky */
.balicky-sekcia { margin-bottom: 0.5rem; }
.balicky-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.balicek-card {
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    text-align: center;
}
.balicek-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.balicek-card.selected { border-color: var(--accent); background: rgba(255,107,53,0.05); }
.balicek-ikona { font-size: 1.8rem; margin-bottom: 0.25rem; }
.balicek-card h4 { margin: 0 0 0.2rem; font-size: 16px; }
.balicek-card p { font-size: 14px; color: #666; margin: 0 0 0.4rem; }
.balicek-ceny { display: flex; align-items: center; gap: 0.75rem; justify-content: center; margin-bottom: 0.4rem; }
.cena-stara { font-size: 14px; color: #aaa; text-decoration: line-through; }
.cena-nova { font-size: 16px; font-weight: 900; color: var(--primary); }
.usetrite { font-size: 13px; color: #28a745; font-weight: 700; }
.balicek-card .select-check {
    display: none;
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 22px;
    font-weight: 600;
    margin-top: 0.75rem;
}
.balicek-card.selected .select-check { display: block; }

/* Produkty hrad grid */
.produkty-hrad {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.produkt-hrad-card {
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}
.produkt-hrad-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.produkt-hrad-card.selected { border-color: var(--accent); }
.ph-img-wrap { height: 120px; overflow: hidden; background: #f5f5f5; position: relative; }
.ph-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ph-img-wrap .select-check {
    position: absolute; top: 8px; right: 8px;
    width: 28px; height: 28px;
    background: var(--accent); color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; opacity: 0; transition: opacity 0.2s;
}
.produkt-hrad-card.selected .select-check { opacity: 1; }
.ph-info { padding: 0.6rem; }
.ph-info h4 { font-size: 15px; margin: 0 0 0.2rem; }
.ph-info p { font-size: 13px; color: #666; margin: 0 0 0.3rem; }
.produkt-cena { font-size: 14px; font-weight: 700; color: var(--primary); }

/* Termín hrad */
.termin-hrad-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Detaily štvorkolky */
.stvorkolka-detail-row {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 22px;
    cursor: pointer;
    margin-top: 0.4rem;
}

/* Kalkulácia */
.kalkulacia-box {
    background: #f8f9fa; border-radius: 14px;
    padding: 1.5rem; margin: 1.5rem 0;
}
.kalkulacia-box h3 { margin: 0 0 0.5rem; font-size: 16px; }
.detail-row { display: flex; justify-content: space-between; padding: 0.25rem 0; font-size: 14px; border-bottom: 1px solid #eee; }
.kalkulacia-total { display: flex; justify-content: space-between; padding: 0.4rem 0 0; font-size: 16px; font-weight: 700; }
.zlava-badge { background: #d4edda; color: #155724; padding: 0.5rem 1rem; border-radius: 8px; font-size: 22px; font-weight: 600; margin-top: 0.75rem; }

/* Zhrnutie */
.zhrnutie-box { background: #f0f7ff; border-radius: 12px; padding: 1.5rem; margin: 1.5rem 0; }
.zhrn-row { display: flex; justify-content: space-between; padding: 0.25rem 0; font-size: 14px; border-bottom: 1px solid #dde8f5; }
.zhrn-row.total { font-weight: 700; font-size: 15px; border-bottom: none; padding-top: 0.75rem; }

/* Navigácia */
.wizard-nav { display: flex; gap: 0.75rem; margin-top: 1rem; justify-content: space-between; }

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.5rem 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
    color: #333;
    background: white;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

/* Dark theme overrides */
html.dark-theme .hrad-hero {
    background: linear-gradient(135deg, #000000 0%, #121212 100%);
}
html.dark-theme .info-banner {
    background: #1e1e1e;
    color: #f2f2f2;
    border-color: #ff8a50;
}
html.dark-theme .wizard-card {
    background: #1e1e1e;
    color: #f2f2f2;
}
html.dark-theme .produkt-hrad-card,
html.dark-theme .stvorkolka-detail-row {
    background: #181818;
    border-color: #444;
}
html.dark-theme .termin-hrad-box,
html.dark-theme .kalkulacia-box,
html.dark-theme .zhrnutie-box {
    background: #181818;
    border-color: #333;
}
html.dark-theme .form-group input,
html.dark-theme .form-group textarea,
html.dark-theme .form-group select {
    background: #181818;
    border-color: #444;
    color: #f2f2f2;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .wizard-card { padding: 1.5rem; }
    .balicky-grid { grid-template-columns: 1fr; }
    .produkty-hrad { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .produkty-hrad { grid-template-columns: 1fr; }
}
