/**
 * Info Pages Styles
 * EpicDecks design - shared styles for all info/static pages
 */

/* ============================================
   WRAPPER
   ============================================ */

.epicdecks-info-wrapper {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

.epicdecks-info-wrapper *,
.epicdecks-info-wrapper *::before,
.epicdecks-info-wrapper *::after {
    box-sizing: border-box;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.info-page-header {
    text-align: center;
    padding: 40px 0 32px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 32px;
}

.info-page-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 8px;
}

.info-page-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* ============================================
   LAYOUT: TWO COLUMNS
   ============================================ */

.info-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.info-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
}

.info-box h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px;
}

.info-box h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */

.info-content {
    max-width: 100%;
}

.info-content-wide {
    max-width: 100%;
}

.info-content-narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info-content-legal {
    max-width: 100%;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.info-form .form-field {
    margin-bottom: 14px;
}

.info-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

.info-form .form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s;
}

.info-form .form-input:focus {
    outline: none;
    border-color: #3BC1F4;
    box-shadow: 0 0 0 3px rgba(59,193,244,0.12);
}

.info-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.req { color: #ef4444; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #3BC1F4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    background: #2aa5d1;
    transform: translateY(-1px);
}

.btn-full { width: 100%; }

.form-success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-error-msg {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ============================================
   CONTACT INFO
   ============================================ */

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Compact contact info layout */
.contact-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-label {
    font-weight: 700;
    color: #374151;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contact-row a,
.contact-row span:not(.contact-label) {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

.contact-row a:hover {
    color: #3BC1F4;
}

/* Map */
.map-embed {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.map-embed iframe {
    display: block;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-text {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
}

.about-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 28px 0 10px;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 15px;
    color: #374151;
    line-height: 1.75;
    margin: 0 0 12px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.about-stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.about-stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #3BC1F4;
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

/* ============================================
   FAQ
   ============================================ */

.faq-category {
    margin-bottom: 32px;
}

.faq-category h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
    padding-left: 4px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.2s;
    color: #9ca3af;
}

.faq-item.is-open .faq-question svg {
    transform: rotate(180deg);
    color: #3BC1F4;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 20px 16px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   STEPS (Jak nakupovat)
   ============================================ */

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #f3f4f6;
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #3BC1F4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.step-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
}

.step-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.step-content a {
    color: #3BC1F4;
    text-decoration: none;
    font-weight: 600;
}

.step-content a:hover {
    text-decoration: underline;
}

/* ============================================
   LEGAL TEXT (OP, GDPR)
   ============================================ */

.legal-text {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 36px 40px;
}

.legal-text h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 28px 0 12px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.legal-text h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-text p {
    font-size: 14px;
    color: #374151;
    line-height: 1.8;
    margin: 0 0 10px;
}

.legal-text .legal-indent {
    padding-left: 24px;
    margin-bottom: 6px;
}

/* ============================================
   DOPRAVA INFO LIST
   ============================================ */

.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-list-item {
    padding: 14px 16px;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    background: #f9fafb;
}

.info-list-item.highlight {
    background: #eaf8fd;
    border-color: #bae6fd;
}

.info-list-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.info-list-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.info-list-item a {
    color: #3BC1F4;
    text-decoration: none;
}

.info-list-item a:hover {
    text-decoration: underline;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #3BC1F4;
    color: #fff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.download-link:hover {
    background: #2aa5d1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .epicdecks-info-wrapper {
        padding: 0 16px 40px;
    }
    
    .info-page-header {
        padding: 24px 0 20px;
    }
    
    .info-page-header h1 {
        font-size: 24px;
    }
    
    .info-two-col {
        grid-template-columns: 1fr;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .step-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .legal-text {
        padding: 20px;
    }
}
