suna/backend/agent/workspace/styles.css

301 lines
4.7 KiB
CSS

/* Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
color: #333;
}
/* Navigation */
header {
background: #fff;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 5%;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: #2c3e50;
}
nav ul {
display: flex;
list-style: none;
gap: 2rem;
}
nav a {
text-decoration: none;
color: #2c3e50;
font-weight: 500;
transition: color 0.3s ease;
}
nav a:hover {
color: #3498db;
}
/* Hero Section */
.hero {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
background: linear-gradient(135deg, #6c5ce7, #a363d9);
color: white;
padding: 0 1rem;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.tagline {
font-size: 1.5rem;
margin-bottom: 2rem;
}
.cta-button {
padding: 1rem 2rem;
background: #fff;
color: #6c5ce7;
text-decoration: none;
border-radius: 30px;
font-weight: bold;
transition: transform 0.3s ease;
}
.cta-button:hover {
transform: translateY(-3px);
}
/* Services Section */
#services {
padding: 5rem 1rem;
background: #f9f9f9;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 2rem auto;
}
.service-card {
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
.service-card:hover {
transform: translateY(-5px);
}
/* About Section */
#about {
padding: 5rem 1rem;
max-width: 1200px;
margin: 0 auto;
}
.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
}
.stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
text-align: center;
}
.stat-item .number {
font-size: 2.5rem;
font-weight: bold;
color: #6c5ce7;
display: block;
}
/* Portfolio Section */
#portfolio {
padding: 5rem 1rem;
background: #f9f9f9;
}
.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 2rem auto;
}
.portfolio-item {
height: 250px;
background: #ddd;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
cursor: pointer;
transition: transform 0.3s ease;
}
.portfolio-item:hover {
transform: scale(1.05);
}
/* Contact Section */
#contact {
padding: 5rem 1rem;
max-width: 1200px;
margin: 0 auto;
}
.contact-container {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 3rem;
}
.contact-form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.contact-form input,
.contact-form textarea {
padding: 1rem;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}
.contact-form textarea {
height: 150px;
}
.submit-button {
padding: 1rem;
background: #6c5ce7;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
transition: background 0.3s ease;
}
.submit-button:hover {
background: #5849c2;
}
/* Footer */
footer {
background: #2c3e50;
color: white;
padding: 3rem 1rem 1rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.footer-section h4 {
margin-bottom: 1rem;
}
.footer-section ul {
list-style: none;
}
.footer-section a {
color: white;
text-decoration: none;
margin-bottom: 0.5rem;
display: inline-block;
}
.social-links {
display: flex;
gap: 1rem;
}
.footer-bottom {
text-align: center;
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid rgba(255,255,255,0.1);
}
/* Common Section Styles */
section {
padding: 4rem 1rem;
}
h2 {
text-align: center;
margin-bottom: 2rem;
color: #2c3e50;
}
/* Responsive Design */
@media (max-width: 768px) {
nav {
flex-direction: column;
gap: 1rem;
}
nav ul {
flex-direction: column;
text-align: center;
gap: 1rem;
}
.hero h1 {
font-size: 2rem;
}
.about-content,
.contact-container {
grid-template-columns: 1fr;
}
.stats {
grid-template-columns: 1fr;
}
}