/* ===== Customization Service Page ===== */

.custom-hero {
    position: relative;
    background: #1a1a1a;
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
    overflow: hidden;
}

.custom-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../image/craft-workbench-768x607.png') center/cover no-repeat;
}

.custom-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.6) 100%);
}

.custom-hero .container {
    position: relative;
    z-index: 2;
}

.custom-hero h1 {
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.custom-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Our Work */
.our-work {
    padding: 100px 0;
    background: #fff;
}

.our-work-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.our-work-head .section-label {
    display: block;
    margin-bottom: 14px;
    color: #4a5a50;
}

.our-work-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: #1d2b22;
    margin-bottom: 18px;
}

.our-work-head p {
    font-size: 16px;
    color: #5a6b60;
    line-height: 1.85;
}

.our-work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.work-card {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    background: #f6f7f6;
    cursor: zoom-in;
    transition: transform .25s, box-shadow .25s;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 22px;
    box-sizing: border-box;
}

/* Lightbox */
.work-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s;
    z-index: 1000;
    cursor: zoom-out;
}

.work-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.work-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.work-lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s;
}

.work-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

/* Process section */
.process {
    padding: 100px 0;
    background: #f7f9f8;
}

.process-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}

.process-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: #1d2b22;
    margin-bottom: 18px;
}

.process-head p {
    font-size: 16px;
    color: #5a6b60;
    line-height: 1.85;
}

/* Steps zigzag */
.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 70px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.step-text .step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #4a5a50;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1d2b22;
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: center;
}

.step-text p {
    font-size: 15.5px;
    color: #5a6b60;
    line-height: 1.85;
    text-align: center;
}

.step:nth-child(even) .step-image {
    order: 2;
}

.step:nth-child(even) .step-text {
    order: 1;
}

/* Cases section */
.cases {
    padding: 100px 0;
    background: #fff;
}

.cases-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.cases-text .section-label {
    display: block;
    margin-bottom: 18px;
}

.cases-text h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: #1d2b22;
    margin-bottom: 22px;
    line-height: 1.25;
}

.cases-text p {
    font-size: 15.5px;
    color: #5a6b60;
    line-height: 1.9;
    margin-bottom: 14px;
}

.cases-tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    font-size: 14px;
    color: #4a5a50;
    font-weight: 600;
}

.cases-tags span::before {
    content: "›";
    margin-right: 6px;
    color: #c9a227;
}

/* Cases gallery */
.cases-gallery {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.1);
}

.gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    margin: 0;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1ef;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #1d2b22;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 2;
    transition: background .2s;
}

.gallery-arrow:hover {
    background: #fff;
}

.gallery-arrow.prev {
    left: 16px;
}

.gallery-arrow.next {
    right: 16px;
}

/* Sewing Craft Display */
.sewing-craft {
    padding: 100px 0;
    background: #f4f7f5;
    text-align: center;
}

.sewing-title {
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 700;
    color: #1d2b22;
    margin-bottom: 10px;
}

.sewing-subtitle {
    font-size: 15px;
    color: #5a6b60;
    margin-bottom: 45px;
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.craft-card {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    background: #eef1ef;
}

.craft-card img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Basic Information */
.basic-info {
    padding: 90px 0;
    background: #fff;
}

.basic-info .section-header {
    text-align: center;
    margin-bottom: 55px;
}

.basic-info .section-label.with-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a5a50;
    margin-bottom: 16px;
}

.basic-info .section-label.with-icon svg {
    width: 16px;
    height: 16px;
    fill: #4a5a50;
}

.basic-info h2 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    color: #4a5a50;
    line-height: 1.25;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1d2b22;
    margin-bottom: 16px;
}

.info-item p {
    font-size: 15px;
    color: #6b7a70;
    line-height: 1.75;
}

/* CTA customize */
.cta-customize {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 100px 0;
    color: #fff;
    text-align: left;
    overflow: hidden;
}

.cta-customize .cta-bg {
    position: absolute;
    inset: 0;
    background: url('../image/customize-cta-bg.png') center/cover no-repeat;
    z-index: 0;
}

.cta-customize::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}

.cta-customize .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.cta-customize h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    max-width: 520px;
    margin-bottom: 16px;
}

.cta-customize p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 520px;
}

.btn-quote {
    display: inline-block;
    padding: 14px 32px;
    background: #e6c84b;
    color: #1d2b22;
    font-size: 15px;
    font-weight: 700;
    border-radius: 30px;
    transition: background .2s, transform .2s;
}

.btn-quote:hover {
    background: #dbbc3f;
    transform: translateY(-2px);
}

@media (max-width: 860px) {
    .step {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .step:nth-child(even) .step-image {
        order: 0;
    }
    .step:nth-child(even) .step-text {
        order: 0;
    }
    .step-image img {
        max-height: 320px;
    }
    .process, .cases {
        padding: 70px 0;
    }
    .our-work {
        padding: 70px 0;
    }
    .our-work-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    .work-card img {
        padding: 16px;
    }
    .cases-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .gallery-slide {
        height: 420px;
    }
    .gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    .craft-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .sewing-craft, .basic-info {
        padding: 70px 0;
    }
}

@media (max-width: 520px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .our-work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .work-card img {
        padding: 14px;
    }
}
