/* ========== Sliding Doors 页面专用样式 ========== */

/* 继承基础样式 */
@import url('template-doors.css');

.page-sliding-doors {
    background-color: #fff;
}

/* ========== Section 1: Hero ========== */
.page-sliding-doors .mannlee-hero-header {
    margin-bottom: 60px;
}

.page-sliding-doors .mannlee-hero-header .hero-banner {
    min-height: 500px;
    background-attachment: scroll;
}

.page-sliding-doors .centered-hero {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.page-sliding-doors .centered-hero .hero-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-sliding-doors .centered-hero .hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background-color: #f3821a;
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background-color: #e07316;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(243, 130, 26, 0.4);
    color: #fff;
}

/* ========== Sidebar Layout ========== */
.page-sliding-doors .sidebar-layout-container.elementor-container {
    max-width: 1400px;
}

.sidebar-layout-container {
    display: flex;
    padding: 60px 0;
    gap: 40px;
    align-items: flex-start;
}

.product-sidebar {
    flex: 0 0 220px;
    position: sticky;
    top: 100px;
}

.product-main-content {
    flex: 1;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget .widget-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.filter-list input[type="checkbox"] {
    margin-right: 10px;
}

/* ========== Product Grid ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px 15px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: left;
}

.product-button {
    display: inline-block;
    background-color: #f3821a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto auto 0 0;
    align-self: flex-start;
}

.product-button:hover {
    background-color: #e07316;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(243, 130, 26, 0.4);
    color: #fff;
}

/* ========== FAQ Accordion ========== */
.sliding-faq-accordion {
    margin-top: 40px;
}

.faq-accordion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.accordion-item {
    background: #f7f8f9;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f1f1f1;
}

.accordion-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.accordion-icon {
    font-size: 14px;
    color: #333;
    transition: transform 0.3s ease;
}

.accordion-content {
    display: none;
    padding: 0 25px 20px;
}

.accordion-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* ========== Factory Showcase ========== */
.factory-showcase {
    padding: 80px 0;
    background: #fff;
}

.factory-showcase .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.section-subtitle-left {
    text-align: left;
    max-width: 900px;
    margin: 0 0 50px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.factory-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ========== Custom Contact Section ========== */
.sliding-contact-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px;
    align-items: start;
}

/* Left Content */
.contact-left {
    padding-right: 40px;
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.contact-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.feature-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.contact-info {
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-recommendation {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #f3821a;
}

.contact-recommendation h4 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.contact-recommendation p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.recommendation-closing {
    font-weight: 600 !important;
    color: #222 !important;
    margin-top: 15px !important;
}

/* Right Form */
.contact-right {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f3821a;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload-area {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #f3821a;
    background: #fafafa;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.file-upload-note {
    font-size: 13px;
    color: #999;
    margin-top: 15px !important;
}

.form-note {
    font-size: 13px;
    color: #666;
    margin: -10px 0 10px 0;
    font-style: italic;
}

.submit-btn {
    background: #f3821a;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #e07316;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 130, 26, 0.3);
}

/* ========== Responsive for Contact Section ========== */
@media (max-width: 1024px) {
    .sidebar-layout-container {
        flex-direction: column;
    }

    .product-sidebar {
        flex: 1;
        width: 100%;
        position: static;
    }

    .faq-accordion-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .contact-left {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .page-sliding-doors .centered-hero .hero-title {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .factory-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}