/**
 * Process Showcase - Main Styles
 * Version: 1.0.0
 */

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */

:root {
    --ps-bg-primary: #0a0a0a;
    --ps-bg-card: transparent;
    --ps-border-color: rgba(255, 255, 255, 0.12);
    --ps-border-hover: rgba(255, 255, 255, 0.2);
    --ps-text-primary: #ffffff;
    --ps-text-secondary: rgba(255, 255, 255, 0.75);
    --ps-text-muted: rgba(255, 255, 255, 0.5);
    --ps-accent: #EAC863;
    --ps-accent-hover: #EAC863;
    --ps-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --ps-radius-sm: 8px;
    --ps-radius-md: 16px;
    --ps-radius-lg: 20px;
    --ps-font-display: 'Lora', Georgia, "Times New Roman", serif;
    --ps-font-body: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
}

/* ==========================================================================
   Desktop V1 - Exact Bento Grid Layout
   ========================================================================== */

.ps-desktop-v1 {
    padding: 60px 20px 100px;
    background-color: var(--ps-bg-primary);
    overflow: visible;
}

.ps-desktop-v1__container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px 60px;
}

/* Common Card Styles */
.ps-desktop-v1__card {
    position: relative;
}

/* Arrow Button */
.ps-desktop-v1__arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--ps-border-color);
    background: transparent;
    color: var(--ps-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ps-transition);
    flex-shrink: 0;
}

.ps-desktop-v1__arrow-btn:hover {
    border-color: var(--ps-accent);
    background: var(--ps-accent);
    color: var(--ps-bg-primary);
    transform: scale(1.1);
}

.ps-desktop-v1__arrow-btn svg {
    transition: transform 0.3s ease;
}

.ps-desktop-v1__arrow-btn:hover svg {
    transform: translateX(3px);
}

/* Typography */
.ps-desktop-v1__title {
    font-family: var(--ps-font-display);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--ps-text-primary);
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.ps-desktop-v1__desc {
    font-family: var(--ps-font-body);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--ps-text-secondary);
    margin: 0;
}

/* ==========================================
   CONSULTATION CARD - Top Left
   Text left, Image right (overlapping top)
   ========================================== */
.ps-desktop-v1__card--consultation {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding-top: 50px;
}

.ps-desktop-v1__card--consultation .ps-desktop-v1__content {
    flex: 0 0 280px;
    padding-top: 30px;
}

.ps-desktop-v1__card--consultation .ps-desktop-v1__text {
    margin-bottom: 50px;
}

.ps-desktop-v1__card--consultation .ps-desktop-v1__image {
    flex: 1;
    max-width: 340px;
    aspect-ratio: 3/4;
    border-radius: var(--ps-radius-md);
    overflow: hidden;
    margin-top: -50px;
}

.ps-desktop-v1__card--consultation .ps-desktop-v1__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ps-desktop-v1__card--consultation:hover .ps-desktop-v1__image img {
    transform: scale(1.05);
}

/* ==========================================
   DESIGN CONCEPT CARD - Top Right
   Bordered card with text top, image below
   ========================================== */
.ps-desktop-v1__card--design {
    border: 1px solid var(--ps-border-color);
    border-radius: var(--ps-radius-lg);
    padding: 35px;
    display: flex;
    flex-direction: column;
    transition: var(--ps-transition);
}

.ps-desktop-v1__card--design:hover {
    border-color: var(--ps-border-hover);
}

.ps-desktop-v1__card--design .ps-desktop-v1__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.ps-desktop-v1__card--design .ps-desktop-v1__text {
    flex: 1;
    padding-right: 20px;
}

.ps-desktop-v1__card--design .ps-desktop-v1__image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--ps-radius-md);
    overflow: hidden;
}

.ps-desktop-v1__card--design .ps-desktop-v1__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ps-desktop-v1__card--design:hover .ps-desktop-v1__image img {
    transform: scale(1.05);
}


/* ==========================================
   EXTRA CARD - Additional Steps (Step 5+)
   Bordered card with text top, image below
   ========================================== */
.ps-desktop-v1__card--extra {
    border: 1px solid var(--ps-border-color);
    border-radius: var(--ps-radius-lg);
    padding: 35px;
    display: flex;
    flex-direction: column;
    transition: var(--ps-transition);
}

.ps-desktop-v1__card--extra:hover {
    border-color: var(--ps-border-hover);
}

.ps-desktop-v1__card--extra .ps-desktop-v1__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.ps-desktop-v1__card--extra .ps-desktop-v1__text {
    flex: 1;
    padding-right: 20px;
}

.ps-desktop-v1__card--extra .ps-desktop-v1__image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--ps-radius-md);
    overflow: hidden;
}

.ps-desktop-v1__card--extra .ps-desktop-v1__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ps-desktop-v1__card--extra:hover .ps-desktop-v1__image img {
    transform: scale(1.05);
}

/* ==========================================
   EXECUTION CARD - Bottom Left
   Bordered card with text, image below outside
   ========================================== */
.ps-desktop-v1__card--execution {
    display: flex;
    flex-direction: column;
}

.ps-desktop-v1__card--execution .ps-desktop-v1__card-inner {
    border: 1px solid var(--ps-border-color);
    border-radius: var(--ps-radius-lg);
    padding: 35px;
    margin-bottom: 30px;
    transition: var(--ps-transition);
}

.ps-desktop-v1__card--execution:hover .ps-desktop-v1__card-inner {
    border-color: var(--ps-border-hover);
}

.ps-desktop-v1__card--execution .ps-desktop-v1__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ps-desktop-v1__card--execution .ps-desktop-v1__text {
    flex: 1;
    padding-right: 20px;
}

.ps-desktop-v1__card--execution .ps-desktop-v1__image {
    width: 85%;
    aspect-ratio: 4/3;
    border-radius: var(--ps-radius-md);
    overflow: hidden;
}

.ps-desktop-v1__card--execution .ps-desktop-v1__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ps-desktop-v1__card--execution:hover .ps-desktop-v1__image img {
    transform: scale(1.05);
}

/* ==========================================
   FINAL COMPLETION CARD - Bottom Right
   Image left (outside), bordered text card right
   ========================================== */
.ps-desktop-v1__card--final {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.ps-desktop-v1__card--final .ps-desktop-v1__image {
    flex: 1;
    max-width: 340px;
    aspect-ratio: 4/3.5;
    border-radius: var(--ps-radius-md);
    overflow: hidden;
}

.ps-desktop-v1__card--final .ps-desktop-v1__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ps-desktop-v1__card--final:hover .ps-desktop-v1__image img {
    transform: scale(1.05);
}

.ps-desktop-v1__card--final .ps-desktop-v1__content {
    flex: 0 0 260px;
    border: 1px solid var(--ps-border-color);
    border-radius: var(--ps-radius-lg);
    padding: 35px;
    transition: var(--ps-transition);
}

.ps-desktop-v1__card--final:hover .ps-desktop-v1__content {
    border-color: var(--ps-border-hover);
}

.ps-desktop-v1__card--final .ps-desktop-v1__text {
    margin-bottom: 40px;
}

.ps-desktop-v1__card--final .ps-desktop-v1__arrow-btn {
    margin-left: auto;
    display: block;
}

/* ==========================================================================
   Desktop V2 - Alternating Zigzag Layout (Exact Match)
   ========================================================================== */

.ps-desktop-v2 {
    padding: 60px 20px 80px;
    background-color: var(--ps-bg-primary);
}

.ps-desktop-v2__container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.ps-desktop-v2__item {
    display: grid;
    align-items: center;
}

/* Left layout: Image LEFT (wide), Text RIGHT (narrow) */
.ps-desktop-v2__item--left {
    grid-template-columns: 45% 55%;
    gap: 70px;
}

.ps-desktop-v2__item--left .ps-desktop-v2__image {
    order: 1;
    justify-self: start;
}

.ps-desktop-v2__item--left .ps-desktop-v2__content {
    order: 2;
    padding-left: 10px;
}

/* Right layout: Text LEFT (narrow), Image RIGHT (wide) */
.ps-desktop-v2__item--right {
    grid-template-columns: 55% 45%;
    gap: 70px;
}

.ps-desktop-v2__item--right .ps-desktop-v2__image {
    order: 2;
    justify-self: end;
}

.ps-desktop-v2__item--right .ps-desktop-v2__content {
    order: 1;
    padding-right: 10px;
}

.ps-desktop-v2__image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    width: 100%;
}

.ps-desktop-v2__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ps-desktop-v2__item:hover .ps-desktop-v2__image img {
    transform: scale(1.03);
}

.ps-desktop-v2__content {
    padding: 10px 0;
}

.ps-desktop-v2__title {
    font-family: var(--ps-font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--ps-accent);
    margin: 0 0 16px 0;
    letter-spacing: 0.02em;
}

.ps-desktop-v2__desc {
    font-family: var(--ps-font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--ps-text-primary);
    margin: 0;
}

/* ==========================================================================
   Mobile Slider Layout
   ========================================================================== */

.ps-mobile-slider {
    padding: 0;
    background-color: var(--ps-bg-primary);
    overflow: hidden;
}

.ps-mobile-slider__container {
    position: relative;
}

.ps-mobile-slider__track {
    display: flex;
    gap: 16px;
    padding: 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.ps-mobile-slider__track::-webkit-scrollbar {
    display: none;
}

.ps-mobile-slider__slide {
    flex: 0 0 calc(100% - 60px);
    scroll-snap-align: center;
    overflow: hidden;
    transition: var(--ps-transition);
}

.ps-mobile-slider__slide:hover {
    border-color: var(--ps-border-hover);
}

.ps-mobile-slider__image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--ps-radius-md);

}

.ps-mobile-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-mobile-slider__content {
    padding: 24px;
}

.ps-mobile-slider__title {
    font-family: var(--ps-font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--ps-text-primary);
    margin: 0 0 10px 0;
}

.ps-mobile-slider__desc {
    font-family: var(--ps-font-body);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ps-text-secondary);
    margin: 0;
}

/* Pagination Dots */
.ps-mobile-slider__pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px 10px;
}

.ps-mobile-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--ps-text-muted);
    cursor: pointer;
    padding: 0;
    transition: var(--ps-transition);
}

.ps-mobile-slider__dot.active,
.ps-mobile-slider__dot:hover {
    background: var(--ps-accent);
    transform: scale(1.3);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large Desktop */
@media (min-width: 1400px) {
    .ps-desktop-v1__title {
        font-size: 1.5rem;
    }

    .ps-desktop-v2__container {
        max-width: 1100px;
    }

    .ps-desktop-v2__title {
        font-size: 28px;
    }
}

/* Tablet Landscape */
@media (max-width: 1200px) {
    .ps-desktop-v1__container {
        gap: 30px 40px;
    }

    .ps-desktop-v1__card--consultation .ps-desktop-v1__content {
        flex: 0 0 240px;
    }

    .ps-desktop-v1__card--final .ps-desktop-v1__content {
        flex: 0 0 220px;
    }

    .ps-desktop-v2__container {
        gap: 50px;
        max-width: 900px;
    }

    .ps-desktop-v2__item--left,
    .ps-desktop-v2__item--right {
        gap: 30px;
    }
}

/* Tablet Portrait */
@media (max-width: 991px) {
    .ps-desktop-v1 {
        padding: 60px 20px;
    }

    .ps-desktop-v1__container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ps-desktop-v1__card--consultation {
        max-width: 600px;
    }

    .ps-desktop-v1__card--final {
        max-width: 600px;
        margin-left: auto;
    }

    .ps-desktop-v2 {
        padding: 50px 20px;
    }

    .ps-desktop-v2__container {
        gap: 50px;
    }

    .ps-desktop-v2__item {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ps-desktop-v2__item--left,
    .ps-desktop-v2__item--right {
        grid-template-columns: 1fr;
    }

    .ps-desktop-v2__item--left .ps-desktop-v2__image,
    .ps-desktop-v2__item--right .ps-desktop-v2__image {
        order: 1;
        justify-self: center;
        max-width: 500px;
    }

    .ps-desktop-v2__item--left .ps-desktop-v2__content,
    .ps-desktop-v2__item--right .ps-desktop-v2__content {
        order: 2;
        padding: 0;
        text-align: center;
    }

    .ps-desktop-v2__image {
        aspect-ratio: 16/9;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .ps-desktop-v1 {
        padding: 40px 16px 60px;
    }

    .ps-desktop-v1__card--consultation {
        flex-direction: column;
        padding-top: 0;
        max-width: none;
    }

    .ps-desktop-v1__card--consultation .ps-desktop-v1__content {
        flex: none;
        width: 100%;
        padding-top: 0;
        order: 2;
    }

    .ps-desktop-v1__card--consultation .ps-desktop-v1__image {
        margin-top: 0;
        max-width: 100%;
        aspect-ratio: 16/10;
        order: 1;
        margin-bottom: 20px;
    }

    .ps-desktop-v1__card--consultation .ps-desktop-v1__text {
        margin-bottom: 20px;
    }

    .ps-desktop-v1__card--design .ps-desktop-v1__header {
        flex-direction: column;
        gap: 20px;
    }

    .ps-desktop-v1__card--design .ps-desktop-v1__arrow-btn {
        align-self: flex-end;
    }

    .ps-desktop-v1__card--extra .ps-desktop-v1__header {
        flex-direction: column;
        gap: 20px;
    }

    .ps-desktop-v1__card--extra .ps-desktop-v1__arrow-btn {
        align-self: flex-end;
    }

    .ps-desktop-v1__card--execution .ps-desktop-v1__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .ps-desktop-v1__card--execution .ps-desktop-v1__arrow-btn {
        align-self: flex-end;
    }

    .ps-desktop-v1__card--execution .ps-desktop-v1__image {
        width: 100%;
    }

    .ps-desktop-v1__card--final {
        flex-direction: column;
        max-width: none;
    }

    .ps-desktop-v1__card--final .ps-desktop-v1__image {
        max-width: 100%;
        order: 1;
        margin-bottom: 20px;
    }

    .ps-desktop-v1__card--final .ps-desktop-v1__content {
        flex: none;
        width: 100%;
        order: 2;
    }

    .ps-desktop-v1__title {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
    }

    .ps-desktop-v1__desc {
        font-size: 0.9rem;
    }

    .ps-desktop-v1__arrow-btn {
        width: 44px;
        height: 44px;
    }

    .ps-desktop-v2 {
        padding: 40px 16px;
    }

    .ps-desktop-v2__container {
        gap: 40px;
    }

    .ps-desktop-v2__image {
        max-width: 100%;
    }

    .ps-desktop-v2__title {
        font-size: 22px;
    }

    .ps-desktop-v2__desc {
        font-size: 0.85rem;
    }

    .ps-mobile-slider {
        padding: 0;
    }

    .ps-mobile-slider__slide {
        flex: 0 0 calc(100% - 40px);
    }

    .ps-mobile-slider__content {
        padding: 30px 10px;
    }

    .ps-mobile-slider__title {
        font-size: 1.2rem;
    }

    .ps-mobile-slider__desc {
        font-size: 0.85rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .ps-desktop-v1 {
        padding: 30px 12px;
    }

    .ps-desktop-v1__card--design,
    .ps-desktop-v1__card--extra,
    .ps-desktop-v1__card--execution .ps-desktop-v1__card-inner,
    .ps-desktop-v1__card--final .ps-desktop-v1__content {
        padding: 24px;
    }

    .ps-desktop-v1__title {
        font-size: 1.1rem;
    }

    .ps-desktop-v2 {
        padding: 30px 12px;
    }

    .ps-desktop-v2__container {
        gap: 35px;
    }

    .ps-desktop-v2__title {
        font-size: 1.25rem;
    }

    .ps-mobile-slider__slide {
        flex: 0 0 calc(100% - 24px);
    }

    .ps-mobile-slider__track {
        padding: 0 12px;
        gap: 12px;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes ps-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.ps-desktop-v1__card,
.ps-desktop-v2__item,
.ps-mobile-slider__slide {
    animation: ps-fadeInUp 0.6s ease-out forwards;
}

.ps-desktop-v1__card:nth-child(1) {
    animation-delay: 0.1s;
}

.ps-desktop-v1__card:nth-child(2) {
    animation-delay: 0.2s;
}

.ps-desktop-v1__card:nth-child(3) {
    animation-delay: 0.3s;
}

.ps-desktop-v1__card:nth-child(4) {
    animation-delay: 0.4s;
}

.ps-desktop-v2__item:nth-child(1) {
    animation-delay: 0.1s;
}

.ps-desktop-v2__item:nth-child(2) {
    animation-delay: 0.2s;
}

.ps-desktop-v2__item:nth-child(3) {
    animation-delay: 0.3s;
}

.ps-desktop-v2__item:nth-child(4) {
    animation-delay: 0.4s;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {

    .ps-desktop-v1,
    .ps-desktop-v2,
    .ps-mobile-slider {
        background: white !important;
    }

    .ps-desktop-v1__card--design,
    .ps-desktop-v1__card--extra,
    .ps-desktop-v1__card--execution .ps-desktop-v1__card-inner,
    .ps-desktop-v1__card--final .ps-desktop-v1__content,
    .ps-mobile-slider__slide {
        border: 1px solid #ccc !important;
    }

    .ps-desktop-v1__title,
    .ps-desktop-v2__title,
    .ps-mobile-slider__title {
        color: #000 !important;
    }

    .ps-desktop-v1__desc,
    .ps-desktop-v2__desc,
    .ps-mobile-slider__desc {
        color: #333 !important;
    }
}