autotq-modern-ejs/public/css/style.css

388 lines
12 KiB
CSS

:root {
--bg: #fff7f7;
--bg-alt: #ffecec;
--bg-deep: #2a0f0f;
--text: #1f1414;
--muted: #5a4242;
--accent: #c81919;
--accent-2: #e12a2a;
--card: #ffffff;
--border: #f0caca;
--shadow: 0 12px 30px rgba(90, 15, 15, 0.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: var(--text);
background:
radial-gradient(900px 400px at 100% -5%, rgba(200, 25, 25, 0.12), transparent 60%),
radial-gradient(700px 300px at 0% 30%, rgba(225, 42, 42, 0.08), transparent 60%),
var(--bg);
line-height: 1.75;
letter-spacing: 0.01em;
font-size: 18px;
overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 2.25rem)); margin-inline: auto; }
.section { padding: 5.75rem 0; }
.section-alt {
background: linear-gradient(180deg, #ffe9e9 0%, #ffdede 100%);
border-top: 1px solid #f6d1d1;
border-bottom: 1px solid #f6d1d1;
}
.story-band { padding: 4.5rem 0; background: linear-gradient(180deg, rgba(200,25,25,.08), rgba(200,25,25,.02)); border-top: 1px solid #f3c3c3; border-bottom: 1px solid #f3c3c3; }
.story-steps { display: grid; gap: 1rem; }
.story-step { padding: 1.1rem 1.15rem; border-left: 4px solid var(--accent); background: rgba(255,255,255,.55); border-radius: 10px; }
.story-kicker { color: #a61c1c; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin-bottom: .35rem; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.015em; }
p { margin: 0 0 1.1rem; font-size: 1.09rem; color: var(--text); }
.site-header {
position: sticky;
top: 0;
z-index: 999;
background: rgba(255, 245, 245, 0.88);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(200, 25, 25, 0.16);
transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
background: rgba(255, 242, 242, 0.97);
border-bottom-color: rgba(200, 25, 25, 0.28);
box-shadow: 0 10px 24px rgba(88, 12, 12, 0.16);
}
.nav-wrap {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 84px;
gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { font-size: 1.05rem; }
.site-nav {
display: block;
min-width: 0;
}
.nav-links {
display: flex;
align-items: center;
justify-content: flex-end;
gap: .6rem;
flex-wrap: wrap;
min-width: 0;
}
.nav-links a {
color: #5a3f3f;
font-weight: 700;
font-size: 1rem;
line-height: 1;
padding: .58rem .86rem;
border-radius: 999px;
border: 1px solid transparent;
background: transparent;
white-space: nowrap;
transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.nav-links a:hover {
color: var(--accent);
border-color: rgba(200, 25, 25, 0.28);
background: #fff0f0;
transform: translateY(-1px);
}
.nav-links a.active {
color: #8d1414;
background: #ffe4e4;
border-color: rgba(200, 25, 25, 0.35);
}
.nav-cta,
.nav-links a.nav-cta-link {
display: inline-flex;
align-items: center;
justify-content: center;
padding: .66rem 1.05rem;
border-radius: 999px;
border: 1px solid #b71414;
background: linear-gradient(180deg, #df2a2a 0%, #bf1616 100%);
color: #fff;
font-weight: 800;
white-space: nowrap;
box-shadow: 0 8px 16px rgba(161, 14, 14, 0.22);
}
.nav-cta:hover,
.nav-links a.nav-cta-link:hover {
color: #fff;
transform: translateY(-1px);
box-shadow: 0 10px 20px rgba(161, 14, 14, 0.3);
filter: saturate(1.05);
border-color: #a91212;
background: linear-gradient(180deg, #e23535 0%, #bb1212 100%);
}
.nav-links a.nav-cta-link.active {
color: #fff;
border-color: #a91212;
background: linear-gradient(180deg, #e23535 0%, #bb1212 100%);
}
.mobile-toggle { display: none; border: 1px solid transparent; border-radius: 10px; background: transparent; padding: .3rem .35rem; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: #5a1a1a; margin: 5px 0; border-radius: 2px; }
.hero { padding: 6rem 0 4.5rem; position: relative; overflow: clip; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(700px 350px at 70% -30%, rgba(209,32,32,.18), transparent), radial-gradient(500px 280px at 20% 0%, rgba(220,0,0,.12), transparent); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .4; pointer-events: none; animation: drift 10s ease-in-out infinite alternate; }
.hero-orb-1 { width: 260px; height: 260px; right: -70px; top: 60px; background: radial-gradient(circle at 30% 30%, #ff7777, #c81919); }
.hero-orb-2 { width: 180px; height: 180px; left: -60px; bottom: 20px; background: radial-gradient(circle at 30% 30%, #ffc0c0, #e12a2a); animation-duration: 14s; }
@keyframes drift { from { transform: translateY(-8px); } to { transform: translateY(14px); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.2rem; align-items: center; }
.eyebrow { color: var(--accent); font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
h1 { font-size: clamp(2.45rem, 5.3vw, 4.2rem); margin: .25rem 0 .95rem; }
h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); margin: 0 0 1rem; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 0 0 .65rem; }
.lead { color: var(--muted); font-size: 1.22rem; max-width: 68ch; }
.hero-actions { display: flex; gap: .85rem; margin-top: 1.5rem; flex-wrap: wrap; }
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: .84rem 1.2rem;
border-radius: 999px;
border: 1px solid transparent;
font-weight: 700;
transition: .25s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(160, 22, 22, .33); }
.btn-ghost { border-color: #e4b1b1; background: #fff5f5; color: #7a2222; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: #ffeaea; }
/* Less card fragmentation: default cards are lighter and blend into the narrative flow */
.glass-card {
background: transparent;
border: 0;
border-radius: 0;
padding: 0;
box-shadow: none;
transition: transform .25s ease;
}
/* Panels only where structure is useful */
.media-card,
.video-frame,
.stat-card,
.news-card,
.quote-card,
.cta-card,
.profile-card,
.team-card,
.inquiry-form {
background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .98));
border: 1px solid var(--border);
border-radius: 18px;
box-shadow: var(--shadow);
padding: 1.25rem;
}
.media-card { padding: .75rem; }
.media-card img { border-radius: 12px; width: 100%; object-fit: cover; }
.video-frame { padding: .5rem; }
.video-frame iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.3rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; align-items: start; }
.page-hero { padding: 5.4rem 0 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.stat-card h3 { font-size: 2.25rem; margin: .1rem 0; color: var(--accent); }
.chip-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { border: 1px solid #efb2b2; background: #ffecec; color: #961717; padding: .46rem .74rem; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.cta-card { text-align: left; }
.cta-card h2 { margin-bottom: .65rem; }
.text-link { color: var(--accent); font-weight: 700; }
.text-link:hover { text-decoration: underline; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .9rem; }
.gallery-grid img { border-radius: 12px; min-height: 170px; object-fit: cover; border: 1px solid var(--border); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; }
.team-card img { border-radius: 12px; margin-bottom: .75rem; height: 260px; width: 100%; object-fit: cover; }
.profile-card { max-width: 860px; }
.profile-card img { width: 220px; height: 220px; border-radius: 20px; object-fit: cover; margin-bottom: 1rem; }
.timeline {
display: grid;
gap: 1.15rem;
position: relative;
padding-left: 1.4rem;
}
.timeline::before {
content: "";
position: absolute;
left: .4rem;
top: .25rem;
bottom: .25rem;
width: 2px;
background: linear-gradient(180deg, rgba(200,25,25,.5), rgba(200,25,25,.12));
}
.news-card {
position: relative;
padding-left: 1.25rem;
}
.news-card::before {
content: "";
position: absolute;
left: -.75rem;
top: 1.15rem;
width: .7rem;
height: .7rem;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 0 4px rgba(200, 25, 25, .14);
}
.news-card .date, .date { color: #a61c1c; font-weight: 800; font-size: .95rem; }
.quote-card p { font-size: 1.14rem; line-height: 1.7; }
.inquiry-form label { display: block; font-weight: 600; margin-bottom: .95rem; }
.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
width: 100%;
margin-top: .35rem;
padding: .78rem .9rem;
border-radius: 12px;
border: 1px solid #d6b3b3;
background: #fff;
color: var(--text);
font-size: 1rem;
transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.inquiry-form input:hover,
.inquiry-form textarea:hover,
.inquiry-form select:hover { border-color: #bf9a9a; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.alert { margin-top: 1rem; padding: .8rem .95rem; border: 1px solid #f0b3b3; background: #fff1f1; color: #b42323; border-radius: 12px; }
.form-status { margin-top: .8rem; font-weight: 700; }
.form-status.success { color: #146c2f; }
.form-status.error { color: #b42323; }
.form-status.pending { color: #8a5a00; }
.site-footer {
border-top: 1px solid #4b1616;
margin-top: 3.5rem;
padding-top: 2.9rem;
background: linear-gradient(180deg, #2f1010, #1a0909);
color: #f9eded;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 1.4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .54rem 0; color: #e1bcbc; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { padding: 1.3rem 0 1.9rem; color: #dcb7b7; }
.legal { color: #dcb7b7; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.mobile-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
outline: 3px solid rgba(200, 25, 25, .28);
outline-offset: 2px;
box-shadow: 0 0 0 1px rgba(200, 25, 25, .36);
border-color: rgba(200, 25, 25, .5);
}
@media (max-width: 980px) {
.hero-grid, .split, .grid-3, .grid-2, .footer-grid, .form-grid, .gallery-grid, .team-grid, .stats-grid { grid-template-columns: 1fr; }
.mobile-toggle { display: inline-block; }
.site-nav {
position: absolute;
top: 82px;
right: 1rem;
left: 1rem;
background: rgba(255, 244, 244, .99);
border: 1px solid #f0cccc;
box-shadow: 0 14px 35px rgba(87, 13, 13, .2);
border-radius: 16px;
padding: .9rem;
flex-direction: column;
align-items: stretch;
gap: .7rem;
transform-origin: top center;
transform: translateY(-8px) scale(.98);
opacity: 0;
pointer-events: none;
visibility: hidden;
transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
}
.site-nav.open {
transform: translateY(0) scale(1);
opacity: 1;
pointer-events: auto;
visibility: visible;
}
.nav-links {
width: 100%;
flex-direction: column;
align-items: stretch;
gap: .25rem;
}
.nav-links a {
width: 100%;
text-align: left;
padding: .75rem .7rem;
border-bottom: 0;
border-left: 3px solid transparent;
border-radius: 10px;
background: #fff;
}
.nav-links a:hover,
.nav-links a.active {
border-left-color: var(--accent);
background: #fff0f0;
}
.nav-cta {
width: 100%;
justify-content: center;
text-align: center;
border-radius: 12px;
margin-top: .25rem;
}
.section { padding: 4.25rem 0; }
body { font-size: 17px; }
}