/**
 * 钢结构页面 - 专业工业风格样式
 * Steel Structure Page Custom Styles
 */

/* ========================================
   CSS Variables - Design Tokens
   ======================================== */
:root {
    --steel-primary: #1e3a5f;
    --steel-primary-dark: #152a47;
    --steel-primary-light: #2d5a8a;
    --steel-accent: #e07a3d;
    --steel-accent-light: #f4a574;
    --steel-metal: #64748b;
    --steel-text: #334155;
    --steel-text-light: #64748b;
    --steel-bg-light: #f1f5f9;
    --steel-bg-white: #ffffff;
    --steel-border: #cbd5e1;
    --steel-gradient: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 50%, #1e3a5f 100%);
    --steel-gradient-accent: linear-gradient(135deg, #e07a3d 0%, #f4a574 100%);
    --steel-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --steel-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --steel-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --steel-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Page Container
   ======================================== */
.page-id-3070,
.page-id-3070 .site-content {
    background-color: var(--steel-bg-light);
}

.steel-structure-page {
    overflow-x: hidden;
}

.steel-structure-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Hero Section
   ======================================== */
.steel-hero {
    background: var(--steel-gradient);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.steel-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%);
    background-size: 40px 40px;
    pointer-events: none;
}

.steel-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--steel-bg-white);
    transform: skewY(-2deg);
}

.steel-hero h1 {
    color: #ffffff !important;
    font-size: 3.25rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

.steel-hero h1::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: var(--steel-gradient-accent);
    margin: 25px auto 0;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(224, 122, 61, 0.4);
}

/* ========================================
   Content Sections
   ======================================== */
.steel-section {
    padding: 80px 20px;
    background: var(--steel-bg-white);
}

.steel-section.alt-bg {
    background: var(--steel-bg-light);
}

.steel-section h2 {
    color: var(--steel-primary) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.75rem !important;
    padding-bottom: 1rem !important;
    position: relative;
    display: inline-block;
}

.steel-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--steel-accent);
    border-radius: 2px;
}

.steel-section h2::before {
    content: '';
    position: absolute;
    left: 70px;
    bottom: 0;
    width: 30px;
    height: 4px;
    background: var(--steel-primary-light);
    border-radius: 2px;
    opacity: 0.6;
}

.steel-section p {
    color: var(--steel-text);
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

/* ========================================
   Grid Layout
   ======================================== */
.steel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.steel-grid.reverse {
    direction: rtl;
}

.steel-grid.reverse > * {
    direction: ltr;
}

/* ========================================
   Images
   ======================================== */
.steel-image {
    position: relative;
}

.steel-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--steel-shadow-lg);
    transition: var(--steel-transition);
}

.steel-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--steel-shadow-xl);
}

.steel-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid var(--steel-accent);
    border-radius: 16px;
    opacity: 0.3;
    z-index: -1;
    transition: var(--steel-transition);
}

.steel-image:hover::before {
    opacity: 0.6;
    top: -15px;
    left: -15px;
}

/* ========================================
   List Styles
   ======================================== */
.steel-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 2rem 0 !important;
    display: grid;
    gap: 1rem;
}

.steel-list li {
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    background: linear-gradient(135deg, var(--steel-bg-light) 0%, #ffffff 100%);
    border-radius: 12px;
    transition: var(--steel-transition);
    border: 1px solid var(--steel-border);
    box-shadow: var(--steel-shadow);
}

.steel-list li:hover {
    background: linear-gradient(135deg, #ffffff 0%, var(--steel-bg-light) 100%);
    border-color: var(--steel-accent);
    transform: translateX(8px);
    box-shadow: var(--steel-shadow-lg);
}

.steel-list li::before {
    content: '⬡';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--steel-gradient-accent);
    color: white;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(224, 122, 61, 0.3);
}

.steel-list li strong {
    display: block;
    font-size: 1.0625rem;
    color: var(--steel-primary);
    margin-bottom: 0.25rem;
}

.steel-list li span {
    color: var(--steel-text-light);
    font-size: 0.9375rem;
}

/* ========================================
   Applications Grid
   ======================================== */
.steel-applications {
    text-align: center;
}

.steel-applications h2 {
    display: block;
    width: 100%;
}

.steel-applications h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.steel-applications h2::before {
    left: calc(50% + 35px);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 3rem 0;
}

.app-item {
    background: var(--steel-bg-white);
    border: 2px solid var(--steel-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--steel-transition);
    position: relative;
    overflow: hidden;
}

.app-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--steel-gradient-accent);
    transform: scaleX(0);
    transition: var(--steel-transition);
}

.app-item:hover {
    border-color: var(--steel-accent);
    transform: translateY(-8px);
    box-shadow: var(--steel-shadow-xl);
}

.app-item:hover::before {
    transform: scaleX(1);
}

.app-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--steel-primary);
    margin-bottom: 0.5rem;
}

.app-item span {
    display: block;
    font-size: 1rem;
    color: var(--steel-text-light);
    font-style: italic;
}

/* ========================================
   Keywords
   ======================================== */
.steel-keywords {
    margin-top: 3rem;
    display: inline-block;
}

.steel-keywords p {
    background: var(--steel-gradient);
    color: white !important;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    margin: 0;
    box-shadow: var(--steel-shadow-lg);
}

.steel-keywords strong {
    color: var(--steel-accent-light) !important;
}

/* ========================================
   Capability Section Special Styling
   ======================================== */
.steel-capability {
    padding-top: 100px;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .steel-section {
        padding: 60px 20px;
    }
    
    .steel-grid {
        gap: 40px;
    }
    
    .applications-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .steel-hero {
        padding: 60px 20px;
    }
    
    .steel-hero h1 {
        font-size: 2.25rem !important;
    }
    
    .steel-section h2 {
        font-size: 1.625rem !important;
    }
    
    .steel-section {
        padding: 50px 20px;
    }
    
    .steel-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .steel-grid.reverse {
        direction: ltr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .app-item {
        padding: 30px 25px;
    }
    
    .steel-image::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .steel-hero h1 {
        font-size: 1.875rem !important;
    }
    
    .steel-section h2 {
        font-size: 1.375rem !important;
    }
    
    .steel-list li {
        padding: 1rem 1rem 1rem 3rem;
    }
}

/* ========================================
   Animation Effects
   ======================================== */
@keyframes steelFadeInUp {
    from {
        opacity: 1 !important;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.steel-section {
    animation: steelFadeInUp 0.6s ease forwards;
}

.steel-section:nth-of-type(1) { animation-delay: 0s; }
.steel-section:nth-of-type(2) { animation-delay: 0.1s; }
.steel-section:nth-of-type(3) { animation-delay: 0.2s; }
.steel-section:nth-of-type(4) { animation-delay: 0.3s; }
.steel-section:nth-of-type(5) { animation-delay: 0.4s; }
.steel-section:nth-of-type(6) { animation-delay: 0.5s; }

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .steel-section {
        box-shadow: none !important;
        break-inside: avoid;
    }
    
    .steel-hero {
        background: var(--steel-primary) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
