/* ========================================
   doorwin-en-chinese - Chinese Classical Style
   Primary: Chinese Red #C41E3A
   Secondary: Black #1A1A1A
   ======================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Serif SC', 'SimSun', serif;
    color: #333;
    background: #faf8f5;
    line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* Header */
.header {
    background: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #C41E3A;
}

.header-top-bar {
    background: #C41E3A;
    padding: 8px 0;
    text-align: center;
}

.header-top-bar p {
    color: #fff;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-emblem {
    width: 56px;
    height: 56px;
    background: #C41E3A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #C41E3A;
}

.logo-emblem span { color: #fff; font-size: 22px; font-weight: bold; }

.logo-text h1 {
    color: #C41E3A;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px;
}

.logo-text p {
    color: #ccc;
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-list li a {
    display: block;
    padding: 20px 28px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-list li a:hover,
.nav-list li.active a {
    color: #C41E3A;
    border-bottom-color: #C41E3A;
    background: rgba(196, 30, 58, 0.1);
}

/* Banner Carousel */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #1a1a1a;
}

.banner-carousel .swiper-container {
    width: 100%;
    height: 100%;
}

.banner-carousel .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    max-width: 1920px;
    max-height: 600px;
    object-fit: cover;
    object-position: center center;
    overflow: hidden;
}

/* Swiper Navigation Arrows */
.banner-carousel .swiper-button-prev,
.banner-carousel .swiper-button-next {
    width: 56px;
    height: 56px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid #C41E3A;
    color: #C41E3A;
    top: 50%;
    margin-top: -28px;
    transition: all 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-carousel .swiper-button-prev:hover,
.banner-carousel .swiper-button-next:hover {
    background: #C41E3A;
    border-color: #C41E3A;
}

.banner-carousel .swiper-button-prev:hover::after,
.banner-carousel .swiper-button-next:hover::after {
    color: #fff;
}

.banner-carousel .swiper-button-prev {
    left: 20px;
}

.banner-carousel .swiper-button-next {
    right: 20px;
}

.banner-carousel .swiper-button-prev::after,
.banner-carousel .swiper-button-next::after {
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #C41E3A;
    line-height: 1;
    margin-top: -2px;
}

.banner-carousel .swiper-button-prev::after {
    content: '‹';
}

.banner-carousel .swiper-button-next::after {
    content: '›';
}

/* Swiper Pagination */
.banner-carousel .swiper-pagination {
    bottom: 30px;
}

.banner-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #fff;
    opacity: 1;
    transition: all 0.3s;
}

.banner-carousel .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7);
}

.banner-carousel .swiper-pagination-bullet-active {
    background: #C41E3A;
    border-color: #C41E3A;
    transform: scale(1.2);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 38px;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.section-title .subtitle {
    color: #C41E3A;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.section-title .divider span {
    width: 60px;
    height: 2px;
    background: #C41E3A;
}

.section-title .divider i {
    color: #C41E3A;
    font-size: 16px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image .main-img {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #C41E3A, #8B1A1A);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #1a1a1a;
}

.about-image .main-img span { color: rgba(255,255,255,0.3); font-size: 90px; }

.about-image .corner-decor {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #C41E3A;
}

.about-image .corner-decor.tl { top: -10px; left: -10px; border-right: none; border-bottom: none; }
.about-image .corner-decor.br { bottom: -10px; right: -10px; border-left: none; border-top: none; }

.about-text h3 {
    font-size: 30px;
    color: #C41E3A;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.about-text p { color: #666; margin-bottom: 18px; font-size: 15px; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border: 2px solid #C41E3A;
    background: #faf8f5;
}

.stat-item .number {
    font-size: 38px;
    color: #C41E3A;
    font-weight: 700;
}

.stat-item .label {
    color: #1a1a1a;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: #1a1a1a;
}

.products-section .section-title h2 { color: #fff; }
.products-section .subtitle { color: #C41E3A; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #222;
    border: 1px solid #333;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: #C41E3A;
    transform: translateY(-5px);
}

.product-card .product-image {
    height: 200px;
    background: linear-gradient(135deg, #C41E3A, #8B1A1A);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image span { font-size: 50px; opacity: 0.4; }

.product-card .product-info { padding: 25px; text-align: center; }

.product-card h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-card p { color: #999; font-size: 13px; }

.product-card .product-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    border: 1px solid #C41E3A;
    color: #C41E3A;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    border: 2px solid #1a1a1a;
    transition: all 0.3s;
}

.news-card:hover { border-color: #C41E3A; }

.news-card .news-image {
    height: 180px;
    background: linear-gradient(135deg, #C41E3A, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card .news-image span { font-size: 40px; opacity: 0.3; }

.news-card .news-content { padding: 25px; }

.news-card .news-date { color: #C41E3A; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

.news-card h3 { font-size: 17px; color: #1a1a1a; margin: 10px 0; line-height: 1.5; }

.news-card p { color: #888; font-size: 13px; }

/* Advantages Section */
.advantages-section {
    padding: 100px 0;
    background: #C41E3A;
}

.advantages-section .section-title h2 { color: #fff; }
.advantages-section .subtitle { color: #1a1a1a; }
.advantages-section .divider span { background: #fff; }
.advantages-section .divider i { color: #fff; }

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.advantage-card {
    text-align: center;
    padding: 35px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.advantage-card:hover { background: rgba(255,255,255,0.2); }

.advantage-card .icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card .icon span { font-size: 32px; }

.advantage-card h3 { color: #fff; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }

.advantage-card p { color: rgba(255,255,255,0.7); font-size: 13px; }

/* CTA */
.contact-cta {
    padding: 80px 0;
    background: #1a1a1a;
    text-align: center;
    border-top: 3px solid #C41E3A;
}

.contact-cta h2 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.contact-cta p { color: #999; font-size: 14px; margin-bottom: 30px; }

.cta-btn {
    display: inline-block;
    padding: 15px 55px;
    background: #C41E3A;
    color: #fff;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.cta-btn:hover { background: #a01830; }

/* Footer */
.footer {
    background: #111;
    padding: 60px 0 0;
    border-top: 3px solid #C41E3A;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about h3 { color: #C41E3A; font-size: 20px; margin-bottom: 15px; letter-spacing: 3px; }

.footer-about p { color: #888; font-size: 13px; line-height: 1.8; }

.footer-links h4 { color: #fff; font-size: 12px; margin-bottom: 20px; letter-spacing: 3px; text-transform: uppercase; }

.footer-links ul { list-style: none; }

.footer-links ul li { margin-bottom: 10px; }

.footer-links ul li a { color: #888; font-size: 13px; transition: color 0.3s; }

.footer-links ul li a:hover { color: #C41E3A; }

.footer-contact h4 { color: #fff; font-size: 12px; margin-bottom: 20px; letter-spacing: 3px; text-transform: uppercase; }

.footer-contact p { color: #888; font-size: 13px; margin-bottom: 8px; }

.footer-bottom {
    background: #0a0a0a;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-bottom p { color: #555; font-size: 12px; }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a1a, #C41E3A);
    padding: 80px 0;
    text-align: center;
    border-bottom: 3px solid #C41E3A;
}

.page-header h1 {
    color: #fff;
    font-size: 46px;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    color: #999;
    font-size: 12px;
    letter-spacing: 1px;
}

.breadcrumb a { color: #C41E3A; }

/* List Layout */
.list-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 60px 0;
}

.sidebar {
    background: #1a1a1a;
    padding: 30px;
    border: 2px solid #C41E3A;
}

.sidebar-title {
    font-size: 16px;
    color: #fff;
    padding-bottom: 12px;
    border-bottom: 2px solid #C41E3A;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.sidebar-list { list-style: none; }

.sidebar-list li { border-bottom: 1px solid #333; }

.sidebar-list li a {
    display: block;
    padding: 10px 0;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s;
}

.sidebar-list li a:hover,
.sidebar-list li.active a { color: #C41E3A; padding-left: 8px; }

.content-list { display: flex; flex-direction: column; gap: 25px; }

.list-item {
    display: flex;
    gap: 25px;
    background: #fff;
    border: 2px solid #1a1a1a;
    padding: 25px;
    transition: all 0.3s;
}

.list-item:hover { border-color: #C41E3A; }

.list-item .item-image {
    width: 220px;
    height: 160px;
    background: linear-gradient(135deg, #C41E3A, #1a1a1a);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-item .item-image span { font-size: 36px; opacity: 0.3; }

.list-item .item-content { flex: 1; }

.list-item .item-date { color: #C41E3A; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

.list-item h3 { font-size: 18px; color: #1a1a1a; margin: 8px 0 10px; }

.list-item p { color: #888; font-size: 13px; }

.list-item .read-more {
    display: inline-block;
    margin-top: 12px;
    color: #C41E3A;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 1px solid #C41E3A;
    padding-bottom: 2px;
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    font-size: 13px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active { background: #C41E3A; border-color: #C41E3A; color: #fff; }

.pagination a.disabled { opacity: 0.3; pointer-events: none; }

/* Detail Page */
.detail-content { padding: 60px 0; }

.detail-header {
    border-bottom: 3px solid #C41E3A;
    padding-bottom: 25px;
    margin-bottom: 35px;
}

.detail-header h1 { font-size: 34px; color: #1a1a1a; margin-bottom: 12px; letter-spacing: 2px; }

.detail-meta { color: #999; font-size: 12px; letter-spacing: 1px; }

.detail-body { font-size: 15px; line-height: 2; color: #555; }

.detail-body p { margin-bottom: 18px; }

.detail-tags { margin-top: 35px; padding-top: 20px; border-top: 1px solid #e0e0e0; }

.detail-tags span {
    display: inline-block;
    padding: 4px 14px;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    margin-right: 8px;
}

.detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    padding: 20px;
    background: #1a1a1a;
}

.detail-nav a { color: #C41E3A; font-size: 13px; }

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px 0;
}

.contact-info {
    background: linear-gradient(135deg, #1a1a1a, #C41E3A);
    padding: 50px;
}

.contact-info h3 { color: #fff; font-size: 26px; margin-bottom: 25px; letter-spacing: 3px; }

.contact-info p { color: rgba(255,255,255,0.7); margin-bottom: 18px; font-size: 14px; line-height: 1.8; }

.contact-form { padding: 20px; }

.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    color: #1a1a1a;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #C41E3A; }

.form-group textarea { height: 140px; resize: none; }

.form-btn {
    display: inline-block;
    padding: 14px 45px;
    background: #C41E3A;
    color: #fff;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.form-btn:hover { background: #a01830; }

/* Message Page */
.message-form { max-width: 700px; margin: 0 auto; padding: 60px 0; }

.message-form h2 {
    text-align: center;
    font-size: 30px;
    color: #1a1a1a;
    margin-bottom: 35px;
    letter-spacing: 3px;
}

/* theme pagination accent */
:root { --pb-active: #C41E3A; }
