/**
 * INFO-PAGES.CSS
 * Moderní stylování pro informační stránky (FAQ, Doprava a platba)
 */

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-burgundy) 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin: 0 0 16px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-header h1 i {
    margin-right: 16px;
    color: var(--primary-gold);
}

.page-subtitle {
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 300;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.content-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== INFO SECTION ===== */
.info-section {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.info-section:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.info-section h2 {
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #d4af37 100%);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ===== SHIPPING/PAYMENT OPTIONS ===== */
.shipping-options,
.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.option-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-gold), var(--accent-burgundy));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.option-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

.option-card:hover::before {
    transform: scaleY(1);
}

.option-card.highlighted {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, #fffef8 0%, #fff9e6 100%);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.option-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-burgundy) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.option-icon.ppl-color {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
}

.option-icon.zasilkovna-color {
    background: linear-gradient(135deg, #00a651 0%, #00c853 100%);
}

.option-icon.personal-color {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #d4af37 100%);
}

.option-icon.dobírka-color {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

.option-info h3 {
    margin: 0 0 5px;
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

.option-price {
    color: var(--primary-gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.option-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.option-details ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.option-details li {
    padding: 8px 0;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-details li i {
    color: var(--primary-gold);
    width: 20px;
}

.option-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

/* ===== BANK DETAILS ===== */
.bank-details {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-gold);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.bank-details p {
    margin: 8px 0;
    color: var(--primary-dark);
    font-size: 1rem;
}

.bank-details strong {
    color: var(--accent-burgundy);
}

/* ===== INFO NOTES ===== */
.info-note {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-note.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left-color: #ff9800;
}

.info-note i {
    font-size: 1.5rem;
    color: #2196f3;
    margin-top: 2px;
}

.info-note.warning i {
    color: #ff9800;
}

.info-note p {
    margin: 0;
    color: #1565c0;
    line-height: 1.6;
}

.info-note.warning p {
    color: #e65100;
}

/* ===== PROMO BOX ===== */
.promo-box {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #d4af37 100%);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.promo-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.promo-content h3 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    color: #fff;
}

.promo-content p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===== CONTACT INFO BOX ===== */
.contact-info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.contact-info-box p {
    margin: 5px 0;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

/* ===== FAQ SPECIFIC STYLES ===== */
.faq-page {
    background: #f8f9fa;
}

.faq-quick-links {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-quick-links h3 {
    color: var(--primary-dark);
    margin: 0 0 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.quick-link {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-burgundy) 100%);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.quick-link i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.quick-link span {
    font-weight: 600;
    font-size: 0.95rem;
}

.faq-section {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f0f0f0;
}

.section-header h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 600;
}

/* ===== FAQ ITEMS ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.faq-item[open] {
    border-color: var(--primary-gold);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
}

.faq-item summary {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: linear-gradient(135deg, #fffef8 0%, #fff9e6 100%);
    color: var(--accent-burgundy);
}

.faq-item summary i {
    color: var(--primary-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary i {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 25px 25px;
    color: #495057;
    line-height: 1.8;
}

.faq-answer p {
    margin: 15px 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer li {
    margin: 10px 0;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--primary-dark);
}

.faq-answer .note {
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
    padding: 12px 15px;
    border-radius: 6px;
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-answer .note i {
    color: #2196f3;
    margin-top: 2px;
}

/* ===== TABLES ===== */
.shipping-table table,
.warranty-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.shipping-table th,
.warranty-table th {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-burgundy) 100%);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.shipping-table td,
.warranty-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.shipping-table tr:last-child td,
.warranty-table tr:last-child td {
    border-bottom: none;
}

.shipping-table tr:nth-child(even),
.warranty-table tr:nth-child(even) {
    background: #f8f9fa;
}

.shipping-table tr.highlight,
.warranty-table tr.highlight {
    background: linear-gradient(135deg, #fffef8 0%, #fff9e6 100%);
}

.shipping-table tr.highlight td {
    font-weight: 600;
    color: var(--accent-burgundy);
}

/* ===== ADDRESS BOX ===== */
.address-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-gold);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.address-box h4 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.address-box p {
    margin: 8px 0;
    color: #495057;
}

/* ===== INFO/WARNING BOXES ===== */
.info-box,
.warning-box,
.highlight-box {
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
}

.warning-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
}

.highlight-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid #4caf50;
}

.info-box i {
    color: #2196f3;
    font-size: 1.5rem;
    margin-top: 2px;
}

.warning-box i {
    color: #ff9800;
    font-size: 1.5rem;
    margin-top: 2px;
}

.highlight-box i {
    color: #4caf50;
    font-size: 1.5rem;
    margin-top: 2px;
}

.info-box p,
.warning-box p,
.highlight-box p {
    margin: 0;
    line-height: 1.6;
}

/* ===== PAYMENT OPTIONS LIST ===== */
.payment-options-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.payment-option {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-gold);
}

.payment-option i {
    font-size: 2rem;
    color: var(--primary-gold);
    width: 50px;
    text-align: center;
}

.payment-option h4 {
    margin: 0 0 8px;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.payment-option p {
    margin: 5px 0;
    color: #495057;
}

.payment-option .bank-info {
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 10px;
    border: 1px solid #dee2e6;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-burgundy) 100%);
    color: #fff;
}

.cta-box {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cta-content h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.8rem;
}

.cta-content p {
    margin: 0 0 20px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-buttons .btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
}

/* ===== CONTACT SECTION ===== */
.contact-section .contact-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.contact-card h3 {
    color: var(--primary-dark);
    margin: 0 0 15px;
    font-size: 1.8rem;
}

.contact-card > p {
    color: #6c757d;
    margin: 0 0 30px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-top: 5px;
}

.contact-method strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-method p {
    margin: 0;
    color: #495057;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-header {
        padding: 50px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .info-section {
        padding: 30px 20px;
    }
    
    .info-section h2 {
        font-size: 1.6rem;
        flex-direction: column;
        text-align: center;
    }
    
    .shipping-options,
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .promo-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .faq-section {
        padding: 30px 20px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }
    
    .faq-answer {
        padding: 0 15px 20px;
    }
}

@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}
