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

315 lines
10 KiB
CSS

:root {
--bg: #fff8f8;
--bg-alt: #ffe4e4;
--surface: #ffffff;
--surface-soft: #fff3f3;
--text: #1d1111;
--muted: #5a4040;
--brand-red: #c81919;
--brand-red-strong: #a90f0f;
--brand-red-soft: #ffe0e0;
--border: #efcaca;
--shadow: 0 14px 30px rgba(102, 18, 18, 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: linear-gradient(180deg, #fff9f9 0%, #fff3f3 100%);
line-height: 1.7;
font-size: 18px;
overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 5rem 0; }
.section-alt {
background: linear-gradient(180deg, #ffe3e3 0%, #ffd8d8 100%);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.015em; margin-top: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: .9rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); margin-bottom: .6rem; }
p { margin: 0 0 1rem; color: var(--text); }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 70ch; }
.site-header {
position: sticky;
top: 0;
z-index: 1000;
background: rgba(255, 247, 247, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(200, 25, 25, 0.2);
transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
background: rgba(255, 244, 244, 0.98);
box-shadow: 0 12px 24px rgba(94, 14, 14, 0.16);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 1rem; }
.brand {
display: inline-flex;
align-items: center;
gap: .7rem;
font-weight: 800;
color: #7f1111;
}
.brand img {
width: 56px;
height: 56px;
object-fit: contain;
border-radius: 12px;
background: #fff;
border: 1px solid var(--border);
padding: .25rem;
}
.brand span { font-size: 1.08rem; }
.site-nav { display: block; }
.nav-links { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
color: #5d3f3f;
font-weight: 700;
font-size: .95rem;
padding: .58rem .82rem;
border-radius: 999px;
border: 1px solid transparent;
transition: .2s ease;
}
.nav-links a:hover,
.nav-links a.active {
color: var(--brand-red);
border-color: rgba(200, 25, 25, .3);
background: #ffecec;
}
.nav-cta,
.nav-links a.nav-cta-link {
background: linear-gradient(180deg, #dc2b2b 0%, #b81414 100%);
border: 1px solid #a81010;
color: #fff;
font-weight: 800;
box-shadow: 0 8px 18px rgba(148, 15, 15, 0.25);
}
.nav-cta:hover,
.nav-links a.nav-cta-link:hover,
.nav-links a.nav-cta-link.active {
color: #fff;
border-color: #930d0d;
background: linear-gradient(180deg, #e43535 0%, #ab0f0f 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 {
position: relative;
padding: 5.5rem 0 4.5rem;
background: linear-gradient(180deg, #ffe6e6 0%, #fff4f4 55%, #fff8f8 100%);
border-bottom: 1px solid var(--border);
}
.hero-bg {
position: absolute;
inset: 0;
background: radial-gradient(650px 280px at 80% -20%, rgba(200, 25, 25, 0.2), transparent 70%);
pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.hero-brand {
display: inline-flex;
align-items: center;
gap: .55rem;
margin-bottom: .85rem;
padding: .35rem .7rem;
border-radius: 999px;
background: #fff;
border: 1px solid var(--border);
color: #851313;
font-weight: 700;
}
.hero-brand img { width: 28px; height: 28px; object-fit: contain; }
.eyebrow { color: var(--brand-red); font-weight: 800; text-transform: uppercase; font-size: .86rem; letter-spacing: .06em; }
.hero-actions { display: flex; gap: .8rem; margin-top: 1.3rem; flex-wrap: wrap; }
.page-hero {
padding: 4.8rem 0 2.2rem;
background: linear-gradient(180deg, #ffe3e3 0%, #fff6f6 100%);
border-bottom: 1px solid var(--border);
}
.story-band {
padding: 4rem 0;
background: linear-gradient(180deg, rgba(200,25,25,.11), rgba(200,25,25,.03));
border-top: 1px solid #efc3c3;
border-bottom: 1px solid #efc3c3;
}
.story-steps { display: grid; gap: 1rem; }
.story-step {
padding: 1rem 1.1rem;
border-left: 4px solid var(--brand-red);
border-radius: 10px;
background: rgba(255, 255, 255, .75);
}
.story-kicker { color: var(--brand-red-strong); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.glass-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 16px;
box-shadow: var(--shadow);
padding: 1.1rem;
}
.media-card { padding: .7rem; }
.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; }
.stat-card h3 { color: var(--brand-red); font-size: 2.2rem; margin-bottom: .35rem; }
.cta-card {
background: linear-gradient(145deg, #be1a1a, #980f0f);
border-color: #8e0f0f;
color: #fff;
}
.cta-card p, .cta-card h2 { color: #fff; }
.quote-card p { font-size: 1.08rem; }
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: .82rem 1.18rem;
border-radius: 999px;
border: 1px solid transparent;
font-weight: 700;
transition: .2s ease;
}
.btn-primary {
background: linear-gradient(180deg, #dd2f2f 0%, #b81212 100%);
color: #fff;
border-color: #a71212;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(138, 16, 16, .3); }
.btn-ghost {
border-color: #e4bbbb;
background: #fff;
color: #7f1f1f;
}
.btn-ghost:hover { border-color: var(--brand-red); color: var(--brand-red); background: #fff3f3; }
.text-link { color: var(--brand-red); font-weight: 700; }
.text-link:hover { text-decoration: underline; }
.timeline { display: grid; gap: 1rem; }
.news-card .date, .date { color: var(--brand-red-strong); font-weight: 800; font-size: .92rem; }
.team-card img { border-radius: 12px; margin-bottom: .75rem; height: 260px; width: 100%; object-fit: cover; }
.gallery-grid img { border-radius: 12px; min-height: 170px; object-fit: cover; border: 1px solid var(--border); }
.profile-card { max-width: 860px; }
.profile-card img { width: 220px; height: 220px; border-radius: 18px; object-fit: cover; margin-bottom: .9rem; }
.inquiry-form label { display: block; font-weight: 600; margin-bottom: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
width: 100%;
margin-top: .35rem;
padding: .75rem .85rem;
border-radius: 12px;
border: 1px solid #d9b7b7;
background: #fff;
font-size: 1rem;
}
.alert { margin-top: .9rem; padding: .8rem .9rem; border: 1px solid #edb5b5; background: #fff1f1; color: #aa2020; border-radius: 12px; }
.form-status { margin-top: .75rem; font-weight: 700; }
.form-status.success { color: #146c2f; }
.form-status.error { color: #b42323; }
.form-status.pending { color: #8a5a00; }
.site-footer {
margin-top: 3rem;
padding-top: 2.6rem;
border-top: 1px solid #4f1616;
background: linear-gradient(180deg, #2f1010, #180808);
color: #f8eded;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 1.3rem; }
.brand-footer img { width: 50px; height: 50px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .5rem 0; color: #dfbcbc; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 1.2rem 0 1.8rem; color: #ddb7b7; }
.legal { color: #ddb7b7; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s 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, .25);
outline-offset: 2px;
}
@media (max-width: 980px) {
.hero-grid, .split, .grid-3, .grid-2, .team-grid, .gallery-grid, .stats-grid, .footer-grid, .form-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: 14px;
padding: .85rem;
transform: translateY(-8px) scale(.98);
opacity: 0;
pointer-events: none;
visibility: hidden;
transition: transform .22s ease, opacity .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;
border-radius: 10px;
background: #fff;
border-left: 3px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { border-left-color: var(--brand-red); }
.nav-cta { width: 100%; text-align: center; justify-content: center; }
.section { padding: 4rem 0; }
body { font-size: 17px; }
}