/* --- Reset & Base --- */
:root {
    --primary-dark: #1A1A1A;
    --primary-accent: #B55A3C;
    --text-main: #1A1A1A;
    --text-secondary: #555555;
    --section-bg-light: #F4F4F4;
    --divider: #DDDDDD;
    --button-hover: #2A2A2A;
    --font-main: 'Inter', sans-serif;

    /* Glass / Effects (Adjusted for light theme) */
    --glass-border: var(--divider);
    --glass-bg: rgba(255, 255, 255, 0.6);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    background-color: var(--section-bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    /* 64px */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

h2 {
    font-size: 2.25rem;
    /* 36px */
    margin-bottom: 2rem;
    color: var(--text-main);
}

h3 {
    font-size: 1.75rem;
    /* 28px */
    margin-bottom: 1rem;
    color: var(--text-main);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    /* 18px */
}

.text-light {
    color: var(--text-light);
}

.text-accent {
    color: var(--primary-accent);
}

/* --- Components --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-accent);
    color: #fff;
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 1rem;
}

.btn:hover {
    background: var(--button-hover);
    border-color: var(--button-hover);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding-top: 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    /* Adjust based on preference, 48px is reasonable for header */
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav li a:hover {
    color: #fff;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px; /* Prevent squeezing on short screens */
    display: flex;
    align-items: center;
    background: url('images/1.png') no-repeat center center/cover;
    /* Placeholder for "Glass cup close-up" */
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Only 30-40% brightness per req "只留 30–40% 明度" -> actually typically means darken by 60-70% or overlay black with opacity. Retaining existing but adjusting. */
    background: linear-gradient(135deg, rgba(15, 28, 46, 0.6) 0%, rgba(15, 28, 46, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.hero h1 {
    font-weight: 400;
    /* Cleaner look */
    margin-bottom: 0.5rem;
    color: #b55a3c;
}

.hero h2.hero-sub {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 600px;
}

/* --- Sections General --- */
section {
    padding: 6rem 0;
}

/* --- About Section --- */
.about-section {
    position: relative;
    background: url('images/2.png') no-repeat center center/cover;
    /* Placeholder for "Abstract glass / gray blurred" */
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dim background for text readability */
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.about-content h2 {
    margin-bottom: 2rem;
    color: #fff;
}

.about-content p {
    font-size: 1.5rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* --- What We Do --- */
.what-we-do {
    background: #fff;
    padding: 6rem 0;
}

/* 文章展示区域样式 */
.articles-showcase {
}

.articles-title {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.articles-list {
    list-style: none;
    text-align: left;
}

.articles-list li {
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.articles-list a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.articles-list a:hover {
    opacity: 1;
    text-decoration-thickness: 2px;
    color: var(--button-hover);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.split-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    display: block;
}

.split-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.service-list {
    list-style: none;
    margin-top: 2rem;
}

.service-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--divider);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.service-list li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .split-image {
        order: -1;
        /* Image first on mobile */
    }
}

/* --- Product Gallery --- */
.gallery-section {
    background: #fff;
    padding-top: 0;
    padding-bottom: 6rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Why Work With Us --- */
.why-us {
    background-color: var(--section-bg-light);
    background-image: url('images/section_bg.png');
    background-size: cover;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: #fff;
    border: 1px solid var(--divider);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(181, 90, 60, 0.2);
    /* Accent with opacity */
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

/* --- Capabilities --- */
.capabilities {
    background: var(--primary-dark);
    color: #fff;
}

.capabilities h2 {
    color: #fff;
}

.capabilities p {
    color: rgba(255, 255, 255, 0.7);
}

.cap-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.cap-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

/* --- Process --- */
.process {
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e5e7eb;
}

.process-step {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 3rem;
    position: relative;
    width: 50%;
}

.process-step:nth-child(even) {
    margin-left: auto;
    justify-content: flex-start;
}

.process-step:nth-child(odd) {
    text-align: right;
    padding-right: 3rem;
}

.process-step:nth-child(even) {
    padding-left: 3rem;
    text-align: left;
}

.step-marker {
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--primary-accent);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-accent);
}

.process-step:nth-child(even) .step-marker {
    left: -10px;
    right: auto;
}

.step-number {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-accent);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* --- Who We Work With --- */
.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.who-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.who-list.good li::before {
    content: '✓';
    color: var(--primary-accent);
    margin-right: 1rem;
    font-weight: bold;
}

.who-list.bad li::before {
    content: '×';
    color: #ef4444;
    margin-right: 1rem;
    font-weight: bold;
}

.bad h3 {
    color: #6b7280;
}

/* --- Footer --- */
.cta-section {
    background: var(--primary-dark);
    color: #fff;
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

footer {
    background: #0b1421;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 2rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-accent);
    opacity: 1;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- Mobile Drawer & Button --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .articles-title {
        font-size: 1.1rem;
    }

    .articles-list a {
        font-size: 0.85rem;
        display: inline-block;
        margin-bottom: 0.75rem;
    }
    
    /* Fix Hero Typography on Mobile */
    .hero {
        min-height: 100vh; /* Ensure full height */
        padding-top: 130px; /* Add padding to prevent overlap with header */
        align-items: center; /* Keep centered, but padding helps */
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2.hero-sub {
        font-size: 1.5rem; /* Significantly smaller than desktop 3rem */
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    /* Fix Hero Buttons on Mobile */
    .hero-content .btn {
        display: block;
        width: 100%;
        margin: 0 0 1rem 0 !important; /* Override inline margin-left and add spacing */
        text-align: center;
    }

    /* Fix Container Padding */
    .container {
        padding: 0 1.5rem;
    }

    /* Mobile Navigation (Drawer) */
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 250px;
        height: 100vh;
        background: rgba(15, 28, 46, 0.98);
        /* Increased opacity */
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Changed from center to remove huge top gap */
        padding-top: 100px;
        /* Add specific spacing from top */
        transition: 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 15;
        /* Ensure it is above other elements but below button if needed, although button should be z-index 20 */
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    nav li a {
        font-size: 1.2rem;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Fix Header Layout for Mobile */
    /* Revert grid/column layout from previous fix, use flex row for Logo + Button */
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    /* Original nav ul was here, now replaced by the mobile nav ul */
}

/* --- Process Flow Styles --- */
.process-flow {
    margin-top: 1.5rem;
}

.flow-step {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-accent);
}

.flow-step strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.flow-step p {
    margin-bottom: 0;
}

/* --- Article Page Styles --- */
.header {
    background: var(--primary-dark);
    padding: 1.5rem 0;
    position: relative;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.back-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.back-link:hover {
    color: #fff;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: #fff;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-featured-image {
    margin-bottom: 3rem;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--divider);
}

.back-to-home {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-accent);
    color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background: var(--button-hover);
}

.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem 0;
    text-align: center;
}

.footer .social-links {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .article-container {
        padding: 2rem 1.5rem;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-content {
        padding: 0 1.5rem;
    }
}
