/* Base styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f8f9fa;
padding-bottom: 2rem;
}
header {
background: linear-gradient(135deg, #2c3e50 0%, #1a2533 100%);
color: white;
text-align: center;
padding: 3rem 1rem;
margin-bottom: 2rem;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
main {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
section {
margin-bottom: 3rem;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 2rem;
}
h2 {
color: #2c3e50;
margin-bottom: 1.5rem;
font-size: 1.8rem;
border-bottom: 2px solid #eee;
padding-bottom: 0.5rem;
}
h3 {
color: #3498db;
margin-bottom: 0.8rem;
font-size: 1.3rem;
}
p {
margin-bottom: 1rem;
}
code {
background-color: #f1f1f1;
padding: 0.2rem 0.4rem;
border-radius: 3px;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 0.9em;
}
/* Content with image layout */
.content-with-image {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 2rem;
}
.text-content {
flex: 1;
min-width: 300px;
}
.image-container {
flex: 1;
min-width: 300px;
text-align: center;
}
.image-container img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.caption {
margin-top: 0.5rem;
font-size: 0.9rem;
color: #666;
font-style: italic;
}
/* Agent grid layout */
.agent-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
margin-top: 1.5rem;
}
.agent-card {
background-color: #f9f9f9;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.agent-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.agent-card img {
width: 100%;
height: 180px;
object-fit: cover;
}
.agent-card h3, .agent-card p {
padding: 0 1rem;
}
.agent-card h3 {
margin-top: 1rem;
}
.agent-card p {
margin-bottom: 1.5rem;
font-size: 0.95rem;
}
/* Services section */
.services-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 1.5rem;
}
.service-item {
background-color: #f9f9f9;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.service-item img {
width: 100%;
height: auto;
border-radius: 8px;
margin-top: 1rem;
}
/* Form styles */
#contact-form {
max-width: 600px;
margin: 0 auto;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: bold;
}
input[type="text"],
input[type="email"],
select,
textarea {
width: 100%;
padding: 0.8rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1rem;
}
textarea {
resize: vertical;
}
button {
background-color: #3498db;
color: white;
border: none;
border-radius: 4px;
padding: 0.8rem 1.5rem;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #2980b9;
}
/* Hero section */
#hero {
background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.7)), url('mcp:generate_image?prompt=Abstract technology background, subtle pattern&style=xieshi&file_prefix=hero_bg');
background-size: cover;
background-position: center;
}
#hero button {
margin-top: 1rem;
font-weight: bold;
padding: 1rem 2rem;
}
/* Footer */
footer {
text-align: center;
padding: 1rem;
background-color: #2c3e50;
color: white;
position: fixed;
bottom: 0;
width: 100%;
}
/* Responsive adjustments */
@media (max-width: 768px) {
header {
padding: 2rem 1rem;
}
header h1 {
font-size: 2rem;
}
main {
padding: 0 1rem;
}
section {
padding: 1.5rem;
}
.content-with-image {
flex-direction: column;
}
.agent-grid,
.services-container {
grid-template-columns: 1fr;
}
}