/**
 * Journey Map Template Styles
 *
 * Styles for the K4 Kitchens Customer Journey Map page template.
 *
 * @package  bb-theme-child
 * @author   Steve Austen
 * @company  The PCGP
 * @version  1.0.0
 */

/* Push content below the fixed header (33px top bar + 80px main header) */
.journey-map-template {
    margin-top: 113px;
}

/* Account for WordPress admin bar when logged in */
.admin-bar .journey-map-template {
    margin-top: 145px; /* 113px header + 32px admin bar */
}

/* WordPress admin bar changes at 782px and below to 46px height */
@media screen and (max-width: 782px) {
    .admin-bar .journey-map-template {
        margin-top: 159px; /* 113px header + 46px admin bar */
    }
}

/* ═══════════════════════════════════════════
   Hero Header
   ═══════════════════════════════════════════ */
.journey-hero {
    background: #f5f5f5;
    padding: 60px 0 50px;
    text-align: center;
}

.journey-header {
    max-width: 800px;
    margin: 0 auto;
}

/* Row 1: Subtitle – italic yellow text */
.journey-subtitle {
    display: block;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 20px;
    color: #f3af2e;
    margin-bottom: 12px;
}

/* Row 2: Page title – uppercase, heavy weight, dark */
.journey-title {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: #231f20;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

/* Row 3: Intro text */
.journey-intro {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════
   Journey Map Image Section
   ═══════════════════════════════════════════ */
.journey-map-image-section {
    background: #fff;
    padding: 50px 0;
    text-align: center;
}

.journey-map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ═══════════════════════════════════════════
   Journey Steps Cards
   ═══════════════════════════════════════════ */
.journey-steps-section {
    background: #f5f5f5;
    padding: 60px 0;
}

/* 3-column grid layout */
.journey-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 30px;
}

/* Individual step card */
.journey-step-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Large step number – overlaps the top of the card */
.journey-step-number {
    display: block;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 100px;
    line-height: 1;
    color: #f2ece3;
    margin: -50px 0 10px;
}

/* Step title */
.journey-step-title {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #231f20;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0 0 14px 0;
}

/* Step description text */
.journey-step-text {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════
   WordPress Editor Content (optional)
   ═══════════════════════════════════════════ */
.journey-editor-section {
    background: #fff;
    padding: 60px 0 70px;
}

.journey-editor-content {
    max-width: 900px;
    margin: 0 auto;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.journey-editor-content h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #231f20;
    text-transform: uppercase;
    margin: 40px 0 20px 0;
}

.journey-editor-content h2:first-child {
    margin-top: 0;
}

.journey-editor-content h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #231f20;
    margin: 35px 0 15px 0;
}

.journey-editor-content p {
    margin-bottom: 18px;
}

.journey-editor-content a {
    color: #f3af2e;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.journey-editor-content a:hover {
    color: #e2a027;
}

.journey-editor-content h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #231f20;
    margin: 30px 0 12px 0;
}

.journey-editor-content ul,
.journey-editor-content ol {
    margin: 0 0 20px 24px;
    padding: 0;
}

.journey-editor-content li {
    margin-bottom: 8px;
}

.journey-editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.journey-editor-content blockquote {
    border-left: 4px solid #f3af2e;
    margin: 20px 0;
    padding: 15px 25px;
    background: #fafafa;
    font-style: italic;
    color: #555;
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 991px) {
    .journey-title {
        font-size: 34px;
    }

    /* Steps: 2-column on tablets */
    .journey-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-editor-content h2 {
        font-size: 26px;
    }

    .journey-editor-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .journey-hero {
        padding: 40px 0 35px;
    }

    .journey-subtitle {
        font-size: 18px;
    }

    .journey-title {
        font-size: 28px;
    }

    .journey-intro {
        font-size: 14px;
    }

    .journey-map-image-section {
        padding: 30px 0;
    }

    /* Steps: single column on mobile */
    .journey-steps-grid {
        grid-template-columns: 1fr;
    }

    .journey-steps-section {
        padding: 40px 0;
    }

    .journey-editor-section {
        padding: 40px 0;
    }
}
