Files
cuitunet.fi/style.css
Jukka Lampikoski b0c0329d8c Redesign with original site structure and branding
- Orange/warm color scheme from Cuitunet logo
- Service sections with alternating layout (01-04)
- Original images from current site (no stock faces)
- Saatavuuskysely form matching original
- Purple gradient footer matching original style
- Responsive mobile layout

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:43:54 +02:00

450 lines
7.3 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--orange: #e8891d;
--orange-dark: #c67015;
--orange-light: #f5a623;
--beige: #d4bb8a;
--dark: #2d2d2d;
--dark-bg: #1a1a1a;
--gray: #f5f5f5;
--gray-medium: #888;
--text: #444;
--white: #fff;
--radius: 8px;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: var(--text);
line-height: 1.7;
}
.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 24px;
}
a {
color: var(--orange);
text-decoration: none;
transition: color 0.2s;
}
a:hover {
color: var(--orange-dark);
}
img {
max-width: 100%;
height: auto;
}
/* ---- Header ---- */
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: var(--white);
box-shadow: 0 1px 12px rgba(0,0,0,0.06);
z-index: 100;
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 72px;
}
.logo img {
height: 40px;
width: auto;
}
.nav {
display: flex;
gap: 32px;
}
.nav a {
color: var(--dark);
font-weight: 500;
font-size: 0.95rem;
}
.nav a:hover {
color: var(--orange);
}
.nav-toggle {
display: none;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--dark);
}
/* ---- Hero ---- */
.hero {
padding: 120px 0 80px;
background: var(--white);
}
.hero-inner {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 48px;
align-items: center;
}
.hero-text h1 {
font-size: 2.6rem;
font-weight: 800;
line-height: 1.2;
color: var(--dark);
margin-bottom: 20px;
}
.hero-text p {
font-size: 1.05rem;
color: var(--gray-medium);
margin-bottom: 32px;
line-height: 1.8;
}
.hero-image img {
border-radius: var(--radius);
width: 100%;
object-fit: cover;
}
.btn {
display: inline-block;
padding: 14px 32px;
background: var(--orange);
color: var(--white);
font-size: 0.95rem;
font-weight: 600;
border: none;
border-radius: var(--radius);
cursor: pointer;
transition: background 0.2s, transform 0.15s;
letter-spacing: 0.3px;
}
.btn:hover {
background: var(--orange-dark);
color: var(--white);
transform: translateY(-1px);
}
/* ---- Services ---- */
.services {
padding: 60px 0;
background: var(--gray);
}
.service-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 48px;
align-items: center;
padding: 60px 0;
position: relative;
}
.service-row + .service-row {
border-top: 1px solid #e8e8e8;
}
.service-number {
position: absolute;
top: 60px;
right: 0;
font-size: 8rem;
font-weight: 900;
color: rgba(232, 137, 29, 0.08);
line-height: 1;
pointer-events: none;
}
.service-image img {
border-radius: var(--radius);
width: 100%;
aspect-ratio: 4/3;
object-fit: cover;
}
.service-label {
display: inline-block;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 0.75rem;
color: var(--gray-medium);
margin-bottom: 8px;
}
.service-content h2 {
font-size: 2.2rem;
font-weight: 800;
color: var(--dark);
margin-bottom: 16px;
}
.service-content p {
font-size: 1rem;
color: var(--gray-medium);
line-height: 1.8;
}
.service-row.reverse .service-image {
order: 2;
}
.service-row.reverse .service-content {
order: 1;
}
.service-row.reverse .service-number {
left: 0;
right: auto;
}
/* ---- About ---- */
.about {
padding: 100px 0;
background: var(--white);
}
.section-label {
display: inline-block;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 0.75rem;
color: var(--gray-medium);
margin-bottom: 8px;
}
.about-content h2 {
font-size: 2.4rem;
font-weight: 800;
color: var(--dark);
margin-bottom: 24px;
max-width: 600px;
}
.about-content p {
font-size: 1.05rem;
color: var(--gray-medium);
line-height: 1.8;
max-width: 700px;
margin-bottom: 16px;
}
.about-stats {
display: flex;
gap: 48px;
margin-top: 40px;
padding-top: 40px;
border-top: 1px solid #e8e8e8;
}
.stat strong {
display: block;
font-size: 1.8rem;
font-weight: 800;
color: var(--orange);
}
.stat span {
font-size: 0.9rem;
color: var(--gray-medium);
}
/* ---- Availability / Form ---- */
.availability {
padding: 80px 0;
background: var(--gray);
}
.availability-inner {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: start;
}
.availability-text h2 {
font-size: 2rem;
font-weight: 800;
color: var(--dark);
margin-bottom: 16px;
}
.availability-text p {
color: var(--gray-medium);
line-height: 1.8;
}
.form-group {
margin-bottom: 16px;
}
.form-group label {
display: block;
font-size: 0.85rem;
font-weight: 600;
color: var(--dark);
margin-bottom: 6px;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 12px 16px;
border: 1px solid #ddd;
border-radius: var(--radius);
font-size: 0.95rem;
font-family: inherit;
transition: border-color 0.2s;
background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--orange);
}
/* ---- Footer ---- */
.footer {
background: linear-gradient(135deg, #4a3d8f, #8e5a7a, #c47a5a);
color: var(--white);
padding: 60px 0 0;
}
.footer-inner {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
padding-bottom: 40px;
}
.footer-col h3 {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 16px;
font-weight: 700;
}
.footer-col p {
font-size: 0.95rem;
line-height: 1.8;
opacity: 0.9;
margin-bottom: 8px;
}
.footer-col a {
color: var(--white);
opacity: 0.9;
}
.footer-col a:hover {
opacity: 1;
color: var(--white);
}
.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.15);
padding: 20px 0;
text-align: center;
font-size: 0.85rem;
opacity: 0.7;
}
/* ---- Mobile ---- */
@media (max-width: 768px) {
.nav {
display: none;
position: absolute;
top: 72px;
left: 0;
right: 0;
background: var(--white);
flex-direction: column;
padding: 20px 24px;
gap: 16px;
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.nav.open {
display: flex;
}
.nav-toggle {
display: block;
}
.hero {
padding: 100px 0 60px;
}
.hero-inner {
grid-template-columns: 1fr;
gap: 32px;
}
.hero-text h1 {
font-size: 2rem;
}
.service-row,
.service-row.reverse {
grid-template-columns: 1fr;
gap: 24px;
}
.service-row.reverse .service-image,
.service-row.reverse .service-content {
order: unset;
}
.service-number {
display: none;
}
.about-stats {
flex-direction: column;
gap: 24px;
}
.availability-inner {
grid-template-columns: 1fr;
gap: 32px;
}
.form-row {
grid-template-columns: 1fr;
}
.footer-inner {
grid-template-columns: 1fr;
gap: 32px;
}
}