:root {
--primary-color: #007acc;
--secondary-color: #f5f7fa;
--text-color: #333333;
--accent-color: #ffc107;
--max-width: 1200px;
--font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
--line-height: 1.6;
--base-padding: 1rem;
--border-radius: 8px;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-family);
color: var(--text-color);
background-color: #ffffff;
line-height: var(--line-height);
font-size: 16px;
}
a {
color: var(--primary-color);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
header {
background-color: #ffffff;
border-bottom: 1px solid #e0e0e0;
position: sticky;
top: 0;
z-index: 1000;
}
.container {
width: 90%;
max-width: var(--max-width);
margin: 0 auto;
padding: var(--base-padding);
}
.nav {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem 0;
}
.nav .logo {
font-size: 1.5rem;
font-weight: bold;
color: var(--primary-color);
}
.nav ul {
list-style: none;
display: flex;
gap: 1.5rem;
}
.nav li {
display: inline;
}
.nav a {
font-weight: 500;
padding: 0.25rem 0;
}
.nav a:hover,
.nav a:focus {
color: var(--accent-color);
}
.hero {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 4rem 1rem;
background-color: var(--secondary-color);
}
.hero picture,
.hero img {
max-width: 100%;
height: auto;
border-radius: var(--border-radius);
margin-bottom: 2rem;
}
.hero h1 {
font-size: 2rem;
margin-bottom: 0.5rem;
color: var(--primary-color);
}
.hero p {
font-size: 1.125rem;
margin-bottom: 1.5rem;
}
.btn {
display: inline-block;
background-color: var(--primary-color);
color: #ffffff;
padding: 0.75rem 1.5rem;
border-radius: var(--border-radius);
font-weight: bold;
transition: background-color 0.3s ease;
}
.btn:hover,
.btn:focus {
background-color: darken(var(--primary-color), 10%);
}
.section-title {
font-size: 1.75rem;
margin-bottom: 1rem;
color: var(--primary-color);
text-align: center;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.service-card {
background-color: var(--secondary-color);
padding: 2rem 1.5rem;
border-radius: var(--border-radius);
text-align: center;
height: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.service-card img {
width: 80px;
height: 80px;
margin: 0 auto 1rem;
}
.service-card h3 {
margin-bottom: 0.5rem;
font-size: 1.25rem;
color: var(--primary-color);
}
.service-card p {
font-size: 0.95rem;
}
footer {
background-color: #f9fafb;
margin-top: 3rem;
padding: 2rem 0;
font-size: 0.875rem;
color: #555;
}
footer .footer-content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 0.5rem;
}
footer .footer-links {
margin-top: 0.5rem;
display: flex;
gap: 1rem;
}
main {
margin-top: 1rem;
}
details {
background-color: var(--secondary-color);
border-radius: var(--border-radius);
margin-bottom: 0.75rem;
padding: 1rem;
}
details summary {
cursor: pointer;
font-weight: bold;
color: var(--primary-color);
list-style: none;
}
details[open] summary {
margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.hero p {
font-size: 1.25rem;
}
.nav ul {
gap: 2rem;
}
}
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }