/* ═══════════════════════════════════════════════════
   Zvonek Makete - Custom Page Styles
   ═══════════════════════════════════════════════════ */

:root {
    --zm-primary: #c0392b;
    --zm-primary-dark: #96281b;
    --zm-secondary: #2c3e50;
    --zm-olive: #4a5e3d;
    --zm-olive-light: #5a7247;
    --zm-bg: #f8f9fa;
    --zm-card: #ffffff;
    --zm-text: #333333;
    --zm-muted: #6c757d;
    --zm-border: #e2e8f0;
    --zm-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --zm-shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --zm-radius: 12px;
    --zm-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Hero Section ─── */
.zm-hero {
    background: linear-gradient(135deg, #545025 0%, #30311c 100%);
    color: #fff;
    padding: 60px 30px;
    border-radius: var(--zm-radius);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.zm-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192,57,43,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.zm-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74,94,61,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.zm-hero h2 {
    font-size: 2.2em;
    margin: 0 0 15px;
    position: relative;
    z-index: 1;
    color: #fff !important;
}

.zm-hero p {
    font-size: 1.15em;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.zm-hero .zm-badge {
    display: inline-block;
    background: var(--zm-primary);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* ─── Section Headers ─── */
.zm-section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.zm-section-header h2 {
    color: var(--zm-secondary);
    font-size: 1.8em;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.zm-section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--zm-primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.zm-section-header p {
    color: var(--zm-muted);
    font-size: 1.05em;
    max-width: 600px;
    margin: 15px auto 0;
}

/* ─── Service Cards ─── */
.zm-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.zm-service-card {
    background: var(--zm-card);
    border-radius: var(--zm-radius);
    padding: 35px 28px;
    box-shadow: var(--zm-shadow);
    transition: var(--zm-transition);
    border: 1px solid var(--zm-border);
    position: relative;
    overflow: hidden;
}

.zm-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--zm-primary), var(--zm-olive));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.zm-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--zm-shadow-hover);
}

.zm-service-card:hover::before {
    transform: scaleX(1);
}

.zm-service-card .zm-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
    color: var(--zm-primary);
}

.zm-service-card .zm-icon .fa {
    transition: var(--zm-transition);
}

.zm-service-card:hover .zm-icon .fa {
    transform: scale(1.15);
    color: var(--zm-olive);
}

.zm-about-icon .fa {
    color: var(--zm-primary);
}

.zm-gallery-visual .fa {
    color: rgba(255,255,255,0.85) !important;
}

.zm-contact-link .fa {
    color: var(--zm-primary);
}

.zm-service-card h3 {
    color: var(--zm-secondary);
    font-size: 1.25em;
    margin: 0 0 12px;
}

.zm-service-card p {
    color: var(--zm-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95em;
}

/* ─── Stats Bar ─── */
.zm-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    background: linear-gradient(135deg, #545025 0%, #30311c 100%);
    padding: 40px 30px;
    border-radius: var(--zm-radius);
    margin: 50px 0;
    text-align: center;
}

.zm-stat {
    color: #fff;
}

.zm-stat .zm-stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1.2;
}

.zm-stat .zm-stat-label {
    font-size: 0.85em;
    opacity: 0.8;
    margin-top: 5px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── Info List ─── */
.zm-info-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}

.zm-info-list li {
    padding: 14px 0 14px 45px;
    position: relative;
    border-bottom: 1px solid var(--zm-border);
    font-size: 1em;
    line-height: 1.6;
    transition: var(--zm-transition);
}

.zm-info-list li:last-child {
    border-bottom: none;
}

.zm-info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 14px;
    width: 30px;
    height: 30px;
    background: var(--zm-olive);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
    font-weight: 700;
}

.zm-info-list li:hover {
    padding-left: 50px;
    color: var(--zm-secondary);
}

/* ─── Scale Cards ─── */
.zm-scales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.zm-scale-card {
    background: var(--zm-card);
    border: 2px solid var(--zm-border);
    border-radius: var(--zm-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--zm-transition);
}

.zm-scale-card:hover {
    border-color: var(--zm-primary);
    transform: scale(1.03);
}

.zm-scale-card .zm-scale-num {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--zm-secondary);
    display: block;
}

.zm-scale-card .zm-scale-desc {
    font-size: 0.85em;
    color: var(--zm-muted);
    margin-top: 8px;
    display: block;
}

.zm-scale-card.zm-recommended {
    border-color: var(--zm-primary);
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
}

.zm-scale-card.zm-recommended::after {
    content: 'NAJPOPULARNIJE';
    display: block;
    background: var(--zm-primary);
    color: #fff;
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 10px;
    margin-top: 10px;
}

/* ─── CTA Button ─── */
.zm-cta {
    text-align: center;
    margin: 50px 0 30px;
}

.zm-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--zm-primary), var(--zm-primary-dark));
    color: #fff !important;
    padding: 18px 50px;
    font-size: 1.15em;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    transition: var(--zm-transition);
    box-shadow: 0 4px 15px rgba(192,57,43,0.35);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.zm-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.zm-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192,57,43,0.45);
    color: #fff !important;
}

.zm-cta-btn:hover::before {
    left: 100%;
}

/* ─── Steps / Order Process ─── */
.zm-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 30px 0;
    counter-reset: step-counter;
}

.zm-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 25px 15px;
    position: relative;
    counter-increment: step-counter;
}

.zm-step::before {
    content: counter(step-counter);
    display: block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--zm-primary), var(--zm-primary-dark));
    color: #fff;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(192,57,43,0.3);
}

.zm-step::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 38px;
    font-size: 1.5em;
    color: var(--zm-border);
}

.zm-step:last-child::after {
    display: none;
}

.zm-step h4 {
    font-size: 0.95em;
    color: var(--zm-secondary);
    margin: 0 0 8px;
}

.zm-step p {
    font-size: 0.8em;
    color: var(--zm-muted);
    margin: 0;
    line-height: 1.5;
}

/* ─── FAQ Accordion ─── */
.zm-faq-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--zm-muted);
    font-size: 1.05em;
    line-height: 1.7;
}

.zm-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.zm-faq-item {
    background: var(--zm-card);
    border-radius: var(--zm-radius);
    margin-bottom: 12px;
    box-shadow: var(--zm-shadow);
    border: 1px solid var(--zm-border);
    overflow: hidden;
    transition: var(--zm-transition);
}

.zm-faq-item:hover {
    box-shadow: var(--zm-shadow-hover);
}

.zm-faq-question {
    padding: 22px 55px 22px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--zm-secondary);
    font-size: 1.05em;
    position: relative;
    transition: var(--zm-transition);
    margin: 0;
    line-height: 1.5;
}

.zm-faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: 300;
    color: var(--zm-primary);
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zm-faq-item.active .zm-faq-question {
    color: var(--zm-primary);
}

.zm-faq-item.active .zm-faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.zm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.zm-faq-item.active .zm-faq-answer {
    max-height: 500px;
    padding: 0 25px 22px;
}

.zm-faq-answer p {
    color: var(--zm-text);
    line-height: 1.8;
    margin: 0;
    font-size: 0.95em;
}

/* ─── Timeline (Process Page) ─── */
.zm-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding-left: 60px;
}

.zm-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--zm-primary), var(--zm-olive), var(--zm-secondary));
    border-radius: 2px;
}

.zm-timeline-item {
    position: relative;
    margin-bottom: 35px;
    padding: 25px 30px;
    background: var(--zm-card);
    border-radius: var(--zm-radius);
    box-shadow: var(--zm-shadow);
    border: 1px solid var(--zm-border);
    transition: var(--zm-transition);
}

.zm-timeline-item:hover {
    transform: translateX(5px);
    box-shadow: var(--zm-shadow-hover);
}

.zm-timeline-item::before {
    content: attr(data-step);
    position: absolute;
    left: -48px;
    top: 25px;
    width: 36px;
    height: 36px;
    background: var(--zm-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85em;
    box-shadow: 0 3px 10px rgba(192,57,43,0.3);
    border: 3px solid #fff;
}

.zm-timeline-item h3 {
    color: var(--zm-secondary);
    margin: 0 0 10px;
    font-size: 1.15em;
}

.zm-timeline-item p {
    color: var(--zm-text);
    margin: 0;
    line-height: 1.7;
    font-size: 0.95em;
}

.zm-timeline-item ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.zm-timeline-item li {
    color: var(--zm-text);
    margin-bottom: 5px;
    font-size: 0.9em;
    line-height: 1.6;
}

.zm-timeline-item .zm-highlight {
    background: linear-gradient(120deg, rgba(192,57,43,0.1) 0%, rgba(192,57,43,0.05) 100%);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--zm-primary);
}

/* ─── Gallery Grid ─── */
.zm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.zm-gallery-card {
    background: var(--zm-card);
    border-radius: var(--zm-radius);
    overflow: hidden;
    box-shadow: var(--zm-shadow);
    border: 1px solid var(--zm-border);
    transition: var(--zm-transition);
    text-decoration: none !important;
    display: block;
    color: inherit !important;
}

.zm-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--zm-shadow-hover);
    color: inherit !important;
}

.zm-gallery-card .zm-gallery-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    position: relative;
    overflow: hidden;
}

.zm-gallery-card .zm-gallery-visual.zm-bg-tanks { background: linear-gradient(135deg, #3d5a3d, #2c3e2c); }
.zm-gallery-card .zm-gallery-visual.zm-bg-vehicles { background: linear-gradient(135deg, #4a3d2c, #3e352c); }
.zm-gallery-card .zm-gallery-visual.zm-bg-armor { background: linear-gradient(135deg, #3d4a5a, #2c3540); }
.zm-gallery-card .zm-gallery-visual.zm-bg-soldiers { background: linear-gradient(135deg, #5a4a3d, #40352c); }
.zm-gallery-card .zm-gallery-visual.zm-bg-weapons { background: linear-gradient(135deg, #4a4a4a, #333333); }
.zm-gallery-card .zm-gallery-visual.zm-bg-eastern { background: linear-gradient(135deg, #4a5a6a, #354050); }

.zm-gallery-card .zm-gallery-body {
    padding: 25px;
}

.zm-gallery-card h3 {
    color: var(--zm-secondary);
    margin: 0 0 10px;
    font-size: 1.15em;
}

.zm-gallery-card p {
    color: var(--zm-muted);
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0 0 15px;
}

.zm-gallery-card .zm-link {
    color: var(--zm-primary);
    font-weight: 600;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--zm-transition);
}

.zm-gallery-card:hover .zm-link {
    gap: 10px;
}

/* ─── Contact Box ─── */
.zm-contact-box {
    background: linear-gradient(135deg, var(--zm-bg), #edf2f7);
    border-radius: var(--zm-radius);
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    border: 1px solid var(--zm-border);
}

.zm-contact-box h3 {
    color: var(--zm-secondary);
    margin: 0 0 15px;
    font-size: 1.3em;
}

.zm-contact-box .zm-contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.zm-contact-box .zm-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--zm-card);
    border-radius: 50px;
    text-decoration: none !important;
    color: var(--zm-secondary) !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: var(--zm-transition);
    border: 1px solid var(--zm-border);
}

.zm-contact-box .zm-contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    border-color: var(--zm-primary);
    color: var(--zm-primary) !important;
}

/* ─── Scroll Reveal Animation ─── */
.zm-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.zm-reveal.zm-visible {
    opacity: 1;
    transform: translateY(0);
}

.zm-reveal.zm-delay-1 { transition-delay: 0.1s; }
.zm-reveal.zm-delay-2 { transition-delay: 0.2s; }
.zm-reveal.zm-delay-3 { transition-delay: 0.3s; }
.zm-reveal.zm-delay-4 { transition-delay: 0.4s; }

/* ─── Divider ─── */
.zm-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--zm-border), transparent);
    margin: 50px 0;
    border: none;
}

/* ─── About Bar ─── */
.zm-about-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    background: var(--zm-card);
    border-radius: var(--zm-radius);
    padding: 30px;
    box-shadow: var(--zm-shadow);
    border: 1px solid var(--zm-border);
    margin: 40px 0;
}

.zm-about-bar .zm-about-icon {
    font-size: 3em;
    flex-shrink: 0;
}

.zm-about-bar .zm-about-text {
    flex: 1;
    min-width: 250px;
}

.zm-about-bar .zm-about-text h3 {
    color: var(--zm-secondary);
    margin: 0 0 8px;
}

.zm-about-bar .zm-about-text p {
    color: var(--zm-muted);
    margin: 0;
    line-height: 1.7;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .zm-hero {
        padding: 40px 20px;
    }
    .zm-hero h2 {
        font-size: 1.6em;
    }
    .zm-services-grid {
        grid-template-columns: 1fr;
    }
    .zm-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 25px 15px;
    }
    .zm-step::after {
        display: none;
    }
    .zm-steps {
        flex-direction: column;
    }
    .zm-step {
        text-align: left;
        display: flex;
        gap: 15px;
        align-items: flex-start;
        padding: 15px 0;
    }
    .zm-step::before {
        flex-shrink: 0;
        margin: 0;
    }
    .zm-timeline {
        padding-left: 45px;
    }
    .zm-timeline::before {
        left: 16px;
    }
    .zm-timeline-item::before {
        left: -37px;
        width: 30px;
        height: 30px;
        font-size: 0.75em;
    }
    .zm-gallery-grid {
        grid-template-columns: 1fr;
    }
    .zm-contact-box {
        padding: 25px 15px;
    }
    .zm-scales {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Avada Title Bar ─── */
.fusion-page-title-bar {
    background: linear-gradient(135deg, #545025 0%, #30311c 100%) !important;
    border-bottom: none !important;
}

.fusion-page-title-bar .fusion-page-title-captions,
.fusion-page-title-bar h1,
.fusion-page-title-bar h2,
.fusion-page-title-bar .fusion-page-title-secondary {
    color: #fff !important;
}

.fusion-page-title-bar .fusion-breadcrumbs,
.fusion-page-title-bar .fusion-breadcrumbs a,
.fusion-page-title-bar .fusion-breadcrumbs span {
    color: rgba(255,255,255,0.7) !important;
}

.fusion-page-title-bar .fusion-breadcrumbs a:hover {
    color: #fff !important;
}

/* ─── Paragraph Margins ─── */
.fusion-post-content p,
.post-content p {
    margin: 10px auto !important;
}
