Redesign services as large alternating image+text sections
Replace small card grid with full-width service rows featuring large images, feature lists and CTA buttons for each product. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
147
style.css
147
style.css
@@ -336,65 +336,107 @@ img {
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
/* ---- Services ---- */
|
||||
.services {
|
||||
padding: 100px 0;
|
||||
/* ---- Services Intro ---- */
|
||||
.services-intro {
|
||||
padding: 100px 0 40px;
|
||||
background: var(--bg-alt);
|
||||
}
|
||||
|
||||
.services-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.service-card {
|
||||
/* ---- Service Rows ---- */
|
||||
.service-row {
|
||||
padding: 0;
|
||||
background: var(--bg);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 32px 24px;
|
||||
transition: box-shadow 0.3s, transform 0.2s;
|
||||
}
|
||||
|
||||
.service-card:hover {
|
||||
box-shadow: 0 8px 30px rgba(0,0,0,0.06);
|
||||
transform: translateY(-2px);
|
||||
.service-row:nth-child(even) {
|
||||
background: var(--bg-alt);
|
||||
}
|
||||
|
||||
.service-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
.service-row-inner {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
min-height: 500px;
|
||||
}
|
||||
|
||||
.service-row-reverse .service-row-inner {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.service-row-reverse .service-row-inner > * {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.service-row-image {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.service-row-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.service-row:hover .service-row-image img {
|
||||
transform: scale(1.03);
|
||||
}
|
||||
|
||||
.service-row-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
background: var(--orange-light);
|
||||
padding: 64px 80px;
|
||||
}
|
||||
|
||||
.service-row-number {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 700;
|
||||
color: var(--orange);
|
||||
border-radius: 12px;
|
||||
margin-bottom: 20px;
|
||||
letter-spacing: 0.05em;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.service-card h3 {
|
||||
font-size: 1.15rem;
|
||||
font-weight: 650;
|
||||
.service-row-content h2 {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: var(--dark);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.service-card p {
|
||||
font-size: 0.92rem;
|
||||
color: var(--text-light);
|
||||
line-height: 1.6;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.service-speed {
|
||||
display: inline-block;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: var(--orange);
|
||||
padding: 4px 10px;
|
||||
.service-row-content p {
|
||||
font-size: 1.05rem;
|
||||
color: var(--text-light);
|
||||
line-height: 1.7;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.service-row-features {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 0 32px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.service-row-features li {
|
||||
font-size: 0.92rem;
|
||||
color: var(--text);
|
||||
padding-left: 24px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.service-row-features li::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 6px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
background: var(--orange-light);
|
||||
border-radius: 6px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--orange);
|
||||
}
|
||||
|
||||
/* ---- Why ---- */
|
||||
@@ -641,7 +683,28 @@ img {
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.services-grid {
|
||||
.service-row-inner {
|
||||
grid-template-columns: 1fr;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.service-row-reverse .service-row-inner {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.service-row-image {
|
||||
height: 280px;
|
||||
}
|
||||
|
||||
.service-row-content {
|
||||
padding: 40px 24px;
|
||||
}
|
||||
|
||||
.service-row-content h2 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.service-row-features {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user