style.css
← Back to explorer
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
:root {
--bg: #fcf8f8;
--card-bg: #fbefef;
--card-border: #f9dfdf;
--heading: #8c4a4a;
--text: #4a3636;
--text-muted: #a37d7d;
--link: #8c4a4a;
--accent: #8c4a4a;
--mono-bg: #181818;
}
[data-theme="dark"] {
--bg: #0e0e0e;
--card-bg: #18181b;
--card-border: #2a2a2e;
--heading: #22c55e;
--text: #ffffff;
--text-muted: #a3a3a3;
--link: #22c55e;
--accent: #22c55e;
--mono-bg: #0e0e0e;
}
* {
box-sizing: border-box;
}
html {
overflow-x: hidden;
}
body {
margin: 0;
overflow-x: hidden;
background: var(--bg);
color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
font-size: 19px;
line-height: 1.7;
transition: background-color 0.25s ease, color 0.25s ease;
}
a {
color: var(--link);
text-decoration: underline;
}
.dotted-link {
text-decoration: none;
border-bottom: 1px dotted var(--link);
}
.container {
max-width: 1080px;
margin: 0 auto;
padding: 56px 32px 90px;
}
.site-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
}
.site-header h1 {
font-family: Georgia, "Times New Roman", serif;
color: var(--text);
margin: 0;
font-size: 32px;
}
.brand-logo {
height: 80px;
width: auto;
}
.subtitle {
margin: 0;
color: var(--text-muted);
font-size: 15px;
}
.site-nav {
display: flex;
align-items: center;
}
.site-nav a {
margin-left: 18px;
font-size: 16px;
text-decoration: none;
}
.site-nav a:hover {
text-decoration: underline;
}
.theme-toggle {
position: relative;
margin-left: 22px;
width: 58px;
height: 32px;
border-radius: 999px;
border: 1px solid var(--card-border);
background: var(--card-bg);
padding: 0;
cursor: pointer;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
transition: background-color 0.25s ease, border-color 0.25s ease;
}
.theme-toggle-thumb {
position: absolute;
top: 3px;
left: 3px;
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--heading);
color: var(--bg);
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.25s ease, background-color 0.25s ease;
}
[data-theme="dark"] .theme-toggle-thumb {
transform: translateX(26px);
}
.gallery {
margin-bottom: 40px;
}
.gallery-featured {
display: flex;
gap: 24px;
height: 480px;
}
.gallery-portrait {
flex: 0 0 300px;
}
.gallery-video {
flex: 1;
min-width: 0;
}
.gallery-portrait .media-wrap,
.gallery-video,
.gallery-strip .media-wrap,
.carousel-slide .media-wrap {
position: relative;
width: 100%;
height: 100%;
}
.gallery-portrait img,
.gallery-video video {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 8px;
}
.gallery-strips {
display: flex;
flex-direction: column;
gap: 24px;
margin-top: 24px;
}
.gallery-strip {
border-radius: 8px;
overflow: hidden;
}
.gallery-strip--rear {
aspect-ratio: 2048 / 275;
}
.gallery-strip--front {
aspect-ratio: 5709 / 956;
}
.gallery-strip img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.fullscreen-btn {
position: absolute;
bottom: 10px;
right: 10px;
width: 34px;
height: 34px;
border-radius: 6px;
border: none;
background: rgba(0, 0, 0, 0.55);
color: #fff;
font-size: 17px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.2s ease;
}
.fullscreen-btn:hover {
background: rgba(0, 0, 0, 0.75);
}
.lightbox {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.88);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.lightbox[hidden] {
display: none;
}
.lightbox-content {
position: relative;
max-width: 90vw;
max-height: 90vh;
}
.lightbox-img {
display: block;
max-width: 90vw;
max-height: 90vh;
width: auto;
height: auto;
border-radius: 4px;
}
.lightbox-close {
position: absolute;
top: -16px;
right: -16px;
width: 34px;
height: 34px;
border-radius: 50%;
border: none;
background: #fff;
color: #111;
font-size: 20px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.placeholder {
background: repeating-linear-gradient(
45deg,
var(--card-bg),
var(--card-bg) 10px,
var(--bg) 10px,
var(--bg) 20px
);
border: 1px solid var(--card-border);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
font-size: 15px;
text-align: center;
transition: background-color 0.25s ease, border-color 0.25s ease;
}
.card {
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 6px;
padding: 40px 48px;
margin-bottom: 32px;
transition: background-color 0.25s ease, border-color 0.25s ease;
}
.card h2 {
font-family: Georgia, "Times New Roman", serif;
color: var(--heading);
margin: 0 0 16px;
padding-bottom: 12px;
border-bottom: 1px solid var(--card-border);
font-size: 26px;
font-weight: 600;
}
.card h3 {
margin: 0 0 8px;
font-size: 21px;
}
.card h4 {
margin: 0 0 4px;
font-size: 18px;
}
.card p {
margin: 0 0 14px;
}
.card p:last-child {
margin-bottom: 0;
}
.spec-highlight {
background: none;
color: var(--heading);
font-weight: 700;
}
.price-tag {
position: relative;
color: var(--heading);
font-weight: 600;
border-bottom: 1px dotted var(--heading);
cursor: pointer;
}
.price-tooltip {
position: absolute;
bottom: 135%;
left: 50%;
transform: translate(-50%, 4px);
background: var(--card-bg);
color: var(--text);
border: 1px solid var(--card-border);
padding: 10px 16px;
border-radius: 8px;
font-size: 18px;
font-weight: 700;
white-space: nowrap;
opacity: 0;
pointer-events: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
transition: opacity 0.2s ease, transform 0.2s ease;
z-index: 5;
}
.price-tooltip::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--card-border);
}
.price-tag:hover .price-tooltip,
.price-tag:focus .price-tooltip {
opacity: 1;
transform: translate(-50%, 0);
}
.img-tag {
position: relative;
color: var(--heading);
font-weight: 600;
border-bottom: 1px dotted var(--heading);
cursor: pointer;
}
.img-tooltip {
position: absolute;
bottom: 135%;
left: 50%;
transform: translate(-50%, 4px);
width: 480px;
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 8px;
padding: 8px;
opacity: 0;
pointer-events: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
transition: opacity 0.2s ease, transform 0.2s ease;
z-index: 5;
}
.img-tooltip::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--card-border);
}
.img-tooltip img,
.img-tooltip .placeholder {
display: block;
width: 100%;
height: auto;
max-height: 300px;
object-fit: contain;
border-radius: 6px;
font-size: 13px;
background: #000;
}
.img-tag:hover .img-tooltip,
.img-tag:focus .img-tooltip {
opacity: 1;
transform: translate(-50%, 0);
}
.carousel {
position: relative;
margin-bottom: 16px;
border-radius: 8px;
}
.carousel-track {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
scrollbar-width: none;
border-radius: 8px;
overflow-y: hidden;
}
.carousel-track::-webkit-scrollbar {
display: none;
}
.carousel-slide {
flex: 0 0 100%;
scroll-snap-align: start;
height: 648px;
border-radius: 8px;
}
.carousel-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.carousel-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 38px;
height: 38px;
border-radius: 50%;
border: none;
background: rgba(0, 0, 0, 0.55);
color: #fff;
font-size: 20px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
transition: background-color 0.2s ease;
}
.carousel-arrow:hover {
background: rgba(0, 0, 0, 0.75);
}
.carousel-arrow--prev {
left: 12px;
}
.carousel-arrow--next {
right: 12px;
}
.carousel-dots {
position: absolute;
bottom: 14px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 6px;
padding: 6px 10px;
background: rgba(0, 0, 0, 0.45);
border-radius: 999px;
z-index: 2;
}
.carousel-dot {
width: 8px;
height: 8px;
border-radius: 50%;
border: none;
padding: 0;
background: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: background-color 0.2s ease, transform 0.2s ease;
}
.carousel-dot.active {
background: #fff;
transform: scale(1.3);
}
.service-grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 28px 24px;
}
.service {
display: flex;
gap: 16px;
}
.service-icon {
flex-shrink: 0;
width: 52px;
height: 52px;
display: flex;
align-items: center;
justify-content: center;
}
.service-icon img {
width: 100%;
height: 100%;
object-fit: contain;
}
.service-info h4 {
color: var(--text);
}
.service-info p {
margin: 0 0 4px;
color: var(--text-muted);
font-size: 15px;
}
.service-info a {
font-size: 14px;
}
ul {
margin: 0;
padding-left: 20px;
}
li {
margin-bottom: 8px;
}
.mentions-list {
list-style: none;
padding-left: 0;
}
.back-to-top {
display: inline-block;
margin-top: 16px;
font-size: 14px;
color: var(--text-muted);
}
.site-footer {
text-align: center;
color: var(--text-muted);
font-size: 15px;
}
@media (max-width: 900px) {
.service-grid {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 700px) {
.container {
width: 100%;
padding: 28px 16px 60px;
box-sizing: border-box;
}
.site-header {
flex-direction: row;
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;
gap: 8px;
}
.brand-logo {
height: 48px;
}
.site-header h1 {
font-size: 22px;
}
.subtitle {
font-size: 12px;
}
.site-nav a {
margin-left: 12px;
font-size: 13px;
}
.theme-toggle {
margin-left: 12px;
width: 48px;
height: 28px;
}
.theme-toggle-thumb {
width: 20px;
height: 20px;
font-size: 12px;
}
[data-theme="dark"] .theme-toggle-thumb {
transform: translateX(20px);
}
.gallery-featured {
flex-direction: column;
height: auto;
}
.gallery-portrait {
flex: none;
height: 260px;
}
.gallery-video {
height: 200px;
}
.gallery-strip {
aspect-ratio: unset;
height: 80px;
}
.gallery-strip .media-wrap {
height: 80px;
}
.gallery-strip img {
object-fit: cover;
}
.fullscreen-btn {
width: 44px;
height: 44px;
font-size: 20px;
}
.lightbox-content {
max-width: 100vw;
max-height: 100vh;
padding: 52px 8px 8px;
box-sizing: border-box;
}
.lightbox-img {
max-width: 100%;
max-height: 85vh;
width: 100%;
height: auto;
}
.lightbox-close {
position: fixed;
top: 6px;
right: 8px;
width: 44px;
height: 44px;
font-size: 22px;
}
.carousel-slide {
height: 220px;
}
.service-grid {
grid-template-columns: 1fr;
}
.card {
padding: 20px 16px;
}
.card h2 {
font-size: 22px;
}
body {
font-size: 17px;
}
.img-tooltip {
width: min(320px, 80vw);
left: 50%;
transform: translate(-50%, 4px);
}
.img-tag:hover .img-tooltip,
.img-tag:focus .img-tooltip {
transform: translate(-50%, 0);
}
.price-tooltip {
left: 50%;
transform: translate(-50%, 4px);
}
.price-tag:hover .price-tooltip,
.price-tag:focus .price-tooltip {
transform: translate(-50%, 0);
}
}
@media (max-width: 420px) {
.brand-logo {
height: 40px;
}
.site-header h1 {
font-size: 20px;
}
.site-nav a {
margin-left: 10px;
font-size: 12px;
}
.carousel-slide {
height: 180px;
}
.gallery-portrait {
height: 220px;
}
.gallery-video {
height: 160px;
}
.gallery-strip {
height: 60px;
}
.gallery-strip .media-wrap {
height: 60px;
}
}