agent/users/carina/project/titanium-aerospace-forgings/styles.css
2025-11-14 16:44:12 +08:00

514 lines
8.3 KiB
CSS

/* AMS 4981 Titanium Aerospace Forgings Product Page Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', 'Microsoft YaHei', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f5f5f5;
}
.product-page {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background-color: white;
}
/* Header Section */
.header-section {
background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
padding: 50px 30px;
border-radius: 10px;
margin-bottom: 40px;
color: white;
position: relative;
overflow: hidden;
}
.header-decoration {
position: absolute;
top: -50px;
right: -50px;
width: 200px;
height: 200px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
}
.header-content {
position: relative;
z-index: 2;
text-align: center;
}
.header-content h2 {
margin: 0 0 10px 0;
font-size: 36px;
font-weight: bold;
}
.header-content p {
margin: 0;
font-size: 18px;
opacity: 0.9;
}
/* Two Column Layout */
.two-column-layout {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 30px;
margin-bottom: 40px;
}
.main-content {
display: flex;
flex-direction: column;
gap: 20px;
}
/* Engineering Section */
.engineering-section {
background: #f8f9fa;
padding: 30px;
border-radius: 10px;
}
.engineering-section h2 {
color: #2c3e50;
margin-bottom: 20px;
font-size: 24px;
}
.engineering-section p {
line-height: 1.7;
margin-bottom: 15px;
}
.engineering-section p:last-child {
margin-bottom: 0;
}
/* Performance Metrics */
.performance-metrics {
background: white;
border: 2px solid #e9ecef;
border-radius: 10px;
padding: 25px;
}
.performance-metrics h3 {
color: #2c3e50;
margin-bottom: 20px;
font-size: 20px;
text-align: center;
}
.metrics-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.metric-card {
text-align: center;
padding: 15px;
background: #e8f4f8;
border-radius: 8px;
transition: transform 0.3s ease;
}
.metric-card:hover {
transform: translateY(-2px);
}
.metric-value {
font-size: 24px;
font-weight: bold;
color: #1a5276;
margin-bottom: 5px;
}
.metric-label {
font-size: 14px;
color: #666;
}
/* Product Image */
.product-image {
background: white;
border-radius: 10px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
}
.product-image img {
max-width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 15px;
}
.image-caption {
background: #1a5276;
color: white;
padding: 10px;
border-radius: 6px;
font-size: 14px;
}
/* Features Section */
.features-section {
margin-bottom: 40px;
}
.features-section h2 {
color: #2c3e50;
text-align: center;
margin-bottom: 30px;
font-size: 28px;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.feature-card {
background: white;
border: 1px solid #e9ecef;
border-radius: 10px;
padding: 25px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.feature-icon {
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 15px;
font-size: 20px;
color: white;
}
.feature-icon.shield {
background: #1a5276;
}
.feature-icon.balance {
background: #28b463;
}
.feature-icon.durability {
background: #e74c3c;
}
.feature-card h3 {
color: #2c3e50;
margin-bottom: 15px;
font-size: 18px;
}
.feature-card p {
line-height: 1.6;
color: #666;
margin: 0;
}
/* Applications Section */
.applications-section {
background: #f8f9fa;
padding: 40px;
border-radius: 10px;
margin-bottom: 40px;
}
.applications-section h2 {
color: #2c3e50;
text-align: center;
margin-bottom: 30px;
font-size: 28px;
}
.applications-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.application-item {
text-align: center;
}
.application-icon {
width: 70px;
height: 70px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 15px;
font-size: 24px;
color: white;
}
.application-icon.rocket {
background: #1a5276;
}
.application-icon.landing {
background: #28b463;
}
.application-icon.airframe {
background: #e74c3c;
}
.application-icon.controls {
background: #8e44ad;
}
.application-item h4 {
color: #2c3e50;
margin: 0 0 10px 0;
font-size: 16px;
}
.application-item p {
font-size: 14px;
color: #666;
margin: 0;
line-height: 1.5;
}
/* Specifications Section */
.specifications-section {
background: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
margin-bottom: 40px;
overflow: hidden;
}
.specifications-header {
background: #2c3e50;
padding: 20px;
}
.specifications-header h2 {
color: white;
margin: 0;
text-align: center;
}
.specifications-content {
padding: 30px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}
.spec-group h4 {
color: #1a5276;
margin-bottom: 15px;
border-bottom: 2px solid #1a5276;
padding-bottom: 5px;
}
.spec-group ul {
list-style: none;
padding: 0;
margin: 0;
}
.spec-group li {
padding: 8px 0;
border-bottom: 1px solid #f0f0f0;
}
.spec-group li:last-child {
border-bottom: none;
}
/* Value Proposition */
.value-proposition {
background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
padding: 40px;
border-radius: 10px;
color: white;
}
.value-content {
text-align: center;
max-width: 800px;
margin: 0 auto;
}
.value-content h2 {
margin: 0 0 20px 0;
font-size: 28px;
}
.value-content p {
margin: 0 0 25px 0;
line-height: 1.6;
font-size: 16px;
opacity: 0.9;
}
.value-metrics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-top: 20px;
}
.value-metric {
text-align: center;
}
.value-number {
font-size: 24px;
font-weight: bold;
margin-bottom: 5px;
}
.value-label {
font-size: 14px;
opacity: 0.8;
}
/* Responsive Design */
@media (max-width: 768px) {
.two-column-layout {
grid-template-columns: 1fr;
}
.header-content h2 {
font-size: 28px;
}
.header-content p {
font-size: 16px;
}
.metrics-grid {
grid-template-columns: repeat(2, 1fr);
}
.features-grid,
.applications-grid {
grid-template-columns: 1fr;
}
.specifications-content {
grid-template-columns: 1fr;
}
.value-metrics {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 480px) {
.product-page {
padding: 10px;
}
.header-section {
padding: 30px 20px;
}
.header-content h2 {
font-size: 24px;
}
.metrics-grid {
grid-template-columns: 1fr;
}
.value-metrics {
grid-template-columns: 1fr;
}
}
/* Animation Effects */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.feature-card,
.metric-card,
.application-item {
animation: fadeInUp 0.6s ease-out;
}
.feature-card:nth-child(2) {
animation-delay: 0.1s;
}
.feature-card:nth-child(3) {
animation-delay: 0.2s;
}
/* Hover Effects */
.header-section {
transition: transform 0.3s ease;
}
.header-section:hover {
transform: scale(1.01);
}
.spec-group li {
transition: background-color 0.3s ease;
}
.spec-group li:hover {
background-color: #f8f9fa;
}
/* Print Styles */
@media print {
.product-page {
max-width: 100%;
margin: 0;
padding: 20px;
}
.header-section {
background: #1a5276 !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.feature-card,
.metric-card {
break-inside: avoid;
}
}