/* 
 * Petra Dueck Design - Landing Page Specific Stylesheet
 * Created: December 2025
 *
 * This stylesheet contains styles unique to specific pages or components
 * that require higher specificity or distinct layout not covered by the global styles.
 */

/* ========================================= */
/* ==== 1. Promotion Planning Workshops ==== */
/* ========================================= */

.progression-diagramed-container {
    display: flex;
    flex-direction: column;
    /* Center the container itself using margin auto + fit-content */
    width: fit-content;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* Staggered Animation for Steps */
@keyframes fadeInStagger {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progression-diagramed-container>* {
    opacity: 0;
    /* Start hidden */
}

/* Only run animation when parent has .animate-active class */
.progression-diagramed-container.animate-active>* {
    animation: fadeInStagger 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.progression-diagramed-container>*:nth-child(1) {
    animation-delay: 0.1s;
}

/* Step 1 */
.progression-diagramed-container>*:nth-child(2) {
    animation-delay: 0.25s;
}

/* Line */
.progression-diagramed-container>*:nth-child(3) {
    animation-delay: 0.4s;
}

/* Step 2 */
.progression-diagramed-container>*:nth-child(4) {
    animation-delay: 0.55s;
}

/* Line */
.progression-diagramed-container>*:nth-child(5) {
    animation-delay: 0.7s;
}

/* Step 3 */
.progression-diagramed-container>*:nth-child(6) {
    animation-delay: 0.85s;
}

/* Line */
.progression-diagramed-container>*:nth-child(7) {
    animation-delay: 1.0s;
}

/* Step 4 */
.progression-diagramed-container>*:nth-child(8) {
    animation-delay: 1.15s;
}

/* Line */
.progression-diagramed-container>*:nth-child(9) {
    animation-delay: 1.3s;
}

/* Step 5 */

.progression-step {
    position: relative;
    z-index: 2;
    display: flex;
    /* Clean row alignment */
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.step-circle {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border: 3px solid var(--brand-main-colour, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-main-colour, #2c3e50);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    /* Ensure circle doesn't shrink in flex row */
    flex-shrink: 0;
}

.step-text {
    /* Make text relative to flow naturally in the flex row */
    position: relative;
    background-color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    color: var(--brand-dark-grey, #333);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    /* Add margin to separate from circle */
    margin-left: 1rem;

    /* Animation: slide in slightly on hover */
    opacity: 1;
    /* Always visible as per robust design */
    transform: translateX(0);
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1;
}

.step-line {
    width: 2px;
    height: 40px;
    background-color: #d1d5db;
    /* Light grey */
    z-index: 1;
    transition: background-color 0.3s ease;

    /* Align with the center of the 80px circle */
    /* Circle center is at 40px. Line width is 2px. Center is 1px. Start at 39px. */
    margin-left: 39px;
    margin-top: -2px;
    /* Slight overlap */
    margin-bottom: -2px;
}

/* Hover Interactions */
.progression-step:hover .step-circle {
    transform: scale(1.15);
    background-color: var(--brand-main-colour, #2c3e50);
    color: #fff;
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

.progression-step:hover .step-text {
    color: var(--brand-main-colour, #2c3e50);
    transform: translateX(5px) scale(1.05);
    /* Slide right and pop */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Responsive adjustment */
@media (max-width: 480px) {
    .step-text {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }

    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .step-line {
        /* Adjust for 50px circle -> 25px center -> 24px margin */
        margin-left: 24px;
    }
}

/* White Title for Dark/Parallax Backgrounds */
.section-title-center.white-title {
    color: #ffffff;
}

.section-title-center.white-title::after {
    background-color: #ffffff;
}

/* ========================================= */
/* ==== 2. Toolkit Visual Component ==== */
/* ========================================= */

.toolkit-visual-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 350px;
    margin: 0 auto;
}

.toolkit-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.toolkit-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--brand-main-colour);
}

.toolkit-card span {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--brand-dark-grey, #333);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Specifics */
.card-guide {
    width: 160px;
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-left: 4px solid var(--brand-main-colour);
    /* Spine effect */
}

.card-guide i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.card-guide span {
    font-size: 1.1rem;
}

.card-calc {
    width: 110px;
    height: 110px;
    top: 5%;
    left: 5%;
    z-index: 5;
    animation: float-slow 6s ease-in-out infinite;
}

.card-planner {
    width: 120px;
    height: 100px;
    bottom: 25%;
    right: 6%;
    z-index: 6;
    animation: float-slow 7s ease-in-out infinite 1s;
}

.card-templates {
    width: 100px;
    height: 100px;
    bottom: 5%;
    left: 10%;
    z-index: 7;
    animation: float-slow 5s ease-in-out infinite 0.5s;
}

/* Animations */
@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hover Effects */
.toolkit-visual-wrapper:hover .card-guide {
    transform: translate(-50%, -55%) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ========================================= */
/* ==== 3. Outcomes Framework Visual ==== */
/* ========================================= */

.outcomes-visual-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    /* Ensure space */
}

.framework-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    width: 100%;
    max-width: 320px;
}

.framework-stage {
    background: #fff;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    border-left: 5px solid #ddd;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.framework-stage:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.stage-icon {
    width: 45px;
    height: 45px;
    background-color: var(--off-white, #f9f9f9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--brand-main-colour);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stage-content {
    display: flex;
    flex-direction: column;
}

.stage-title {
    font-weight: 700;
    color: var(--brand-dark-grey);
    font-size: 1.05rem;
}

.stage-desc {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Specific Stage Colors */
.stage-1 {
    border-left-color: #81c784;
}

/* Light Green/Teal */
.stage-2 {
    border-left-color: #26a69a;
}

/* Medium Teal */
.stage-3 {
    border-left-color: #00695c;
}

/* Dark Teal */

.framework-connector {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfd8dc;
    position: relative;
    z-index: 1;
}

.framework-connector i {
    animation: flowDown 2s infinite ease-in-out;
}

@keyframes flowDown {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(3px);
        opacity: 1;
    }
}

/* ========================================= */
/* ==== 4. Responsive Spacing Adjustments ==== */
/* ========================================= */

.outcomes-text,
.about-text,
.curriculum-list-wrapper {
    /* Default (Desktop) */
    padding-left: 3rem;
}

@media (max-width: 768px) {

    .outcomes-text,
    .about-text,
    .curriculum-list-wrapper {
        padding-left: 0;
    }

    /* Meet Your Instructor Image Stacking */
    .about-container {
        justify-content: center;
    }

    .about-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Responsive Toolkit Visuals: Taller on Desktop to match list height */
@media (min-width: 915px) {
    .toolkit-visual-container {
        height: 600px;
        /* Taller height for side-by-side layout */
    }

    /* Spread out the cards in the taller space */
    .card-calc {
        top: 50px;
        /* Move closer to top */
        left: 10%;
    }

    .card-planner {
        bottom: 25%;
        right: 5%;
        /* Slight overlap */
        /* Move up slightly */
    }

    .card-templates {
        bottom: 50px;
        /* Anchor near bottom */
    }
}