/* Banner Styles */
.banner-desc-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.banner-desc-box-title {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}

.banner-desc-box-content {
    color: #fff;
    font-size: 18px;
    text-align: center;
}

/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    padding: 20px 0;
    background-color: #fff;
}

.breadcrumb-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #222;
}

.breadcrumb-item.active {
    color: #222;
    font-weight: 500;
}

.home-icon {
    display: flex;
    align-items: center;
}

.home-icon img {
    width: 16px;
    height: 16px;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .breadcrumb-nav {
        padding: 15px 0;
    }

    .breadcrumb-container {
        padding: 0 15px;
    }

    .breadcrumb-item {
        font-size: 12px;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin-left: 8px;
    }

    .home-icon img {
        width: 14px;
        height: 14px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    display: none;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

/* Delicate Craftsmanship Section Styles */
.delicate-craftsmanship-section {
    padding: 60px 0;
    background-color: #fff;
    /* Or a very light grey if preferred */
}

.dc-container {
    max-width: 1200px;
    /* Adjust as needed */
    margin: 0 auto;
    padding: 0 20px;
}

.dc-header {
    text-align: center;
    margin-bottom: 50px;
}

.dc-subtitle-above {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.dc-main-title {
    font-size: 36px;
    font-weight: bold;
    color: #222;
    margin-bottom: 15px;
}

.dc-description {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.dc-process-list {
    /* Container for all process items */
}

.dc-process-item {
    display: flex;
    align-items: center;
    gap: 40px;
    /* Gap between text and image */
    margin-bottom: 70px;
    /* Space between process items */
}

.dc-process-item:last-child {
    margin-bottom: 0;
}

.dc-text-content {
    flex: 1;
    /* Adjust flex ratio as needed, e.g., flex: 0 0 45%; */
}

.dc-image-content {
    flex: 1;
    /* Adjust flex ratio as needed, e.g., flex: 0 0 55%; */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dc-image-content img {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    display: block;
}

/* Reverse layout for alternate items */
.dc-process-item.dc-item-reverse {
    flex-direction: row-reverse;
}

.dc-item-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.dc-text-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    /* Space before button if any */
}

.dc-item-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #f0f0f0;
    /* Light grey button */
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dc-item-button:hover {
    background-color: #e0e0e0;
    color: #222;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .dc-main-title {
        font-size: 32px;
    }

    .dc-description {
        font-size: 16px;
    }

    .dc-item-title {
        font-size: 24px;
    }

    .dc-process-item,
    .dc-process-item.dc-item-reverse {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        /* Center text content on mobile */
    }

    .dc-image-content {
        /* Image will be above text in column layout by default */
        order: -1;
        /* Makes image appear first when flex-direction is column */
    }

    .dc-process-item.dc-item-reverse .dc-image-content {
        order: -1;
        /* Ensure image is still first for reversed items on mobile */
    }

    .dc-text-content p {
        font-size: 15px;
    }

    .dc-process-item {
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .dc-header {
        margin-bottom: 40px;
    }

    .dc-main-title {
        font-size: 28px;
    }

    .dc-item-title {
        font-size: 22px;
    }

    .dc-image-content {
        /* Consider if full width images are too large on small mobile */
    }
}

/* Design Page Specific Styles */
.design-page-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
    /* Consistent padding */
}

/* Design Hero Section */
.design-hero-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 60px;
}

.dhs-content {
    flex-basis: 55%;
    /* Adjust as needed */
}

.dhs-title {
    font-size: 40px;
    /* Large title */
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.dhs-description {
    font-size: 18px;
    color: #000;
    line-height: 1.7;
    max-width: 650px;
    /* Limit width of this paragraph */
}

.dhs-quote-section {
    flex-basis: 45%;
    /* Adjust as needed */
    padding-top: 68px;
    /* Align with text content a bit */
    font-size: 16px;
    color: #8e8e8e;
    line-height: 1.6;
}

.dhs-quote-section p {
    margin-bottom: 20px;
}

.dhs-request-quote-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dhs-request-quote-link:hover {
    color: #007bff;
}

.dhs-request-quote-link .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dhs-request-quote-link:hover .arrow {
    transform: translateX(5px);
}

/* Design Gallery Section */
.design-gallery-section {
    margin-bottom: 60px;
}

.dgs-grid {
    column-count: 3;
    /* Default to 3 columns for desktop */
    column-gap: 20px;
    width: 100%;
}

.dgs-image-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /*break-inside: avoid-column; !* Prevent item from breaking across columns *!*/
    break-inside: avoid;
    margin-bottom: 20px;
    /* Vertical gap between items */
    /*display: inline-block; !* Needed for break-inside to work well with images *!*/
}

.dgs-image-wrapper img {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio, or set a fixed height/aspect-ratio if needed */
    display: block;
    transition: transform 0.3s ease;
}

.dgs-image-wrapper:hover img {
    transform: scale(1.05);
}

.dgs-load-more {
    text-align: center;
    margin-top: 40px;
}

.dgs-load-more-button {
    padding: 12px 35px;
    color: #000;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border: none;
    background-color: #D9D9D9
}

.dgs-load-more-button:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}

/* Design CTA Section */
.design-cta-section {
    padding: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    margin-bottom: 60px;
}

@media (min-width: 768px) and (max-width: 1365px) {
    .design-cta-section {
        gap: 20px;
        padding: 50px 0;
    }
}

.dcs-content {
    flex-basis: 45%;
}

.dcs-title {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.dcs-text {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dcs-contact-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dcs-contact-link:hover {
    color: #007bff;
}

.dcs-contact-link .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dcs-contact-link:hover .arrow {
    transform: translateX(5px);
}

.dcs-image {
    flex-basis: 55%;
    height: 500px;
}

.dcs-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Responsive Adjustments for Design Page */
@media (max-width: 991px) {
    .design-hero-section {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .dhs-title {
        font-size: 40px;
    }

    .design-cta-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .dcs-image {
        margin-top: 20px;
        max-width: 250px;
    }

    .dgs-grid {
        column-count: 2;
        /* 2 columns for tablets */
    }
}

@media (max-width: 767px) {
    .breadcrumb-nav {
        padding: 15px 0;
    }

    .breadcrumb-container {
        padding: 0 15px;
    }

    .breadcrumb-item {
        font-size: 12px;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin-left: 8px;
    }

    .home-icon img {
        width: 14px;
        height: 14px;
    }

    .design-page-container {
        padding: 0 15px;
    }

    .dhs-title {
        font-size: 32px;
    }

    .dhs-description,
    .dhs-quote-section {
        font-size: 16px;
    }

    .dgs-grid {
        column-count: 1;
        /* Single column on mobile */
    }

    .dgs-load-more-button {
        padding: 10px 30px;
        font-size: 15px;
    }

    .dcs-title {
        font-size: 22px;
    }

    .dcs-text {
        font-size: 15px;
    }
}

.site-footer {
    background: #fff !important;
}

.learn-more-link-mod {
    display: inline-flex;
    /* 改为 inline-flex 以更好地对齐文本和SVG */
    align-items: center;
    /* 垂直居中对齐内部元素 */
    font-size: 24px;
    font-weight: bold;
    color: #1d1d1f;
    text-decoration: none;
    margin-top: 10px;
    /* overflow: hidden; */
    /* 暂时移除或根据需要调整，确保文本滑动可见 */
}

.learn-more-link-mod:hover {
    color: #000;
    /* Darker blue on hover */
}

.learn-more-text-wrapper {
    position: relative;
    display: inline-block;
    height: 1.2em;
    /* 根据字体大小调整，例如 15px * 1.2 = 18px */
    line-height: 1.2em;
    /* 保持与高度一致 */
    overflow: hidden;
    vertical-align: middle;
    /* 尝试对齐 */
    margin-right: 5px;
    /* 在文本和箭头之间添加一些间距 */
}

.slide-text-original,
.slide-text-hover {
    display: block;
    /* 使 transform 生效 */
    transition: transform 0.3s ease-in-out;
}

.slide-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    /* 初始状态：在下方隐藏 */
}

.learn-more-link-mod:hover .slide-text-original {
    transform: translateY(-100%);
    /* 原始文本向上滑出 */
}

.learn-more-link-mod:hover .slide-text-hover {
    transform: translateY(0%);
    /* 悬停文本从下方滑入 */
}

.learn-more-link-mod svg {
    /* margin-left: 5px; */
    /* 间距已改到 .learn-more-text-wrapper 的 margin-right */
    transition: transform 0.3s ease-in-out;
    /* 控制恢复和滑动的动画时间 */
    transform: translateX(0);
    /* 明确初始位置 */
}

.learn-more-link-mod:hover svg {
    transform: translateX(8px);
    /* 鼠标悬停时向右滑动8px */
    /* 移除 animation 属性 */
}