506 lines
9.4 KiB
CSS
506 lines
9.4 KiB
CSS
:root {
|
|
--accent: #10b981;
|
|
--accent-dark: #059669;
|
|
--accent-soft: rgba(16, 185, 129, 0.14);
|
|
--accent-glow: rgba(52, 211, 153, 0.22);
|
|
--bg-body: #f2f8f5;
|
|
--bg-surface: #ffffff;
|
|
--bg-nav: #083525;
|
|
--text-main: #16291f;
|
|
--text-muted: #5c7268;
|
|
--border: #def0e7;
|
|
--shadow: 0 6px 18px rgba(14, 65, 44, 0.08);
|
|
--shadow-hover: 0 14px 30px rgba(14, 65, 44, 0.16);
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--accent: #34d399;
|
|
--accent-dark: #10b981;
|
|
--accent-soft: rgba(52, 211, 153, 0.18);
|
|
--accent-glow: rgba(52, 211, 153, 0.28);
|
|
--bg-body: #081310;
|
|
--bg-surface: #10201a;
|
|
--bg-nav: #05130e;
|
|
--text-main: #dff7ec;
|
|
--text-muted: #8fb3a3;
|
|
--border: #22443a;
|
|
--shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
|
|
--shadow-hover: 0 14px 30px rgba(0, 0, 0, 0.55);
|
|
}
|
|
|
|
body {
|
|
background: var(--bg-body);
|
|
color: var(--text-main);
|
|
font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.site-navbar {
|
|
background: var(--bg-nav);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.brand-mark {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 10px;
|
|
background: var(--accent);
|
|
color: #ffffff;
|
|
font-weight: 700;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.site-navbar .nav-link {
|
|
color: #cfe0f3;
|
|
padding: 0.6rem 1rem;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.site-navbar .nav-link.active {
|
|
color: #ffffff;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.site-navbar .nav-link:hover:not(.active) {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.theme-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
color: #cfe0f3;
|
|
background: transparent;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.theme-toggle:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: #ffffff;
|
|
transform: rotate(20deg);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.theme-toggle.is-dark .icon-sun {
|
|
display: block;
|
|
}
|
|
|
|
.theme-toggle.is-dark .icon-moon {
|
|
display: none;
|
|
}
|
|
|
|
.theme-toggle .icon-sun {
|
|
display: none;
|
|
}
|
|
|
|
.page-main {
|
|
flex: 1 0 auto;
|
|
padding-top: 2.5rem;
|
|
padding-bottom: 3rem;
|
|
}
|
|
|
|
.page-head {
|
|
margin-bottom: 1.8rem;
|
|
}
|
|
|
|
.page-head h1 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hero {
|
|
position: relative;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, #083525 0%, var(--accent) 130%);
|
|
border-radius: 18px;
|
|
padding: 3.4rem 2rem;
|
|
color: #ffffff;
|
|
box-shadow: var(--shadow);
|
|
margin-bottom: 2.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 360px;
|
|
height: 360px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, var(--accent-glow), transparent 70%);
|
|
top: -150px;
|
|
right: -120px;
|
|
pointer-events: none;
|
|
animation: heroGlow 5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes heroGlow {
|
|
0%, 100% { opacity: 0.7; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
.hero__content {
|
|
position: relative;
|
|
}
|
|
|
|
.hero__title {
|
|
font-size: 2.6rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.6rem;
|
|
}
|
|
|
|
.hero__text {
|
|
max-width: 620px;
|
|
margin: 0 auto 1.6rem;
|
|
font-size: 1.15rem;
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.btn-accent {
|
|
background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
|
|
border: 1px solid transparent;
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
padding: 0.6rem 1.6rem;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-accent:hover {
|
|
background: linear-gradient(135deg, #15803d 0%, #047857 100%);
|
|
color: #ffffff;
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
.feature-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
padding: 1.8rem 1.4rem;
|
|
height: 100%;
|
|
text-align: center;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-6px);
|
|
border-color: var(--accent);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
.feature-card__icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
margin: 0 auto 1rem;
|
|
border-radius: 50%;
|
|
background: var(--accent-soft);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.7rem;
|
|
}
|
|
|
|
.feature-card__title {
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.product-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.product-card:hover {
|
|
transform: translateY(-6px);
|
|
border-color: var(--accent);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
.product-card__image {
|
|
height: 150px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 3.2rem;
|
|
}
|
|
|
|
.product-card__image--laptop {
|
|
background: linear-gradient(135deg, #d1fae5, #a7f3d0);
|
|
}
|
|
|
|
.product-card__image--phone {
|
|
background: linear-gradient(135deg, #ccfbf1, #99f6e4);
|
|
}
|
|
|
|
.product-card__image--tv {
|
|
background: linear-gradient(135deg, #ecfccb, #d9f99d);
|
|
}
|
|
|
|
.product-card__image--headphones {
|
|
background: linear-gradient(135deg, #dcfce7, #bbf7d0);
|
|
}
|
|
|
|
.product-card__body {
|
|
padding: 1.2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.product-card__category {
|
|
color: var(--accent);
|
|
font-size: 0.8rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
|
|
.product-card__title {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.product-card__desc {
|
|
color: var(--text-muted);
|
|
font-size: 0.92rem;
|
|
flex: 1 1 auto;
|
|
margin-bottom: 0.9rem;
|
|
}
|
|
|
|
.product-card__footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.product-card__price {
|
|
color: var(--accent);
|
|
font-weight: 700;
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.product-card__badge {
|
|
font-size: 0.72rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
color: var(--text-muted);
|
|
border: 1px solid var(--border);
|
|
padding: 0.2rem 0.5rem;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.info-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
padding: 1.6rem;
|
|
box-shadow: var(--shadow);
|
|
height: 100%;
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.info-card:hover {
|
|
border-color: var(--accent);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
.info-card__title {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.info-card__subtitle {
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.contact-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.contact-list__item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0.45rem 0;
|
|
}
|
|
|
|
.contact-list__icon {
|
|
margin-right: 0.7rem;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.contact-list__item a {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.contact-list__item a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.contact-form .form-label {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.contact-form .form-control {
|
|
background: var(--bg-body);
|
|
border-color: var(--border);
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.contact-form .form-control:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 0.2rem var(--accent-soft);
|
|
}
|
|
|
|
.contact-form .form-control::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.roles-section {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.roles-section__title {
|
|
font-weight: 700;
|
|
margin-bottom: 1.4rem;
|
|
}
|
|
|
|
.role-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
padding: 1.6rem;
|
|
height: 100%;
|
|
box-shadow: var(--shadow);
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.role-card:hover {
|
|
transform: translateY(-6px);
|
|
border-color: var(--accent);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
.role-card__number {
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
color: #ffffff;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.role-card__title {
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.role-card__text {
|
|
color: var(--text-muted);
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.error-page {
|
|
text-align: center;
|
|
padding: 4rem 1rem;
|
|
}
|
|
|
|
.error-page__code {
|
|
font-size: 5.5rem;
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
line-height: 1;
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.error-page__title {
|
|
font-weight: 700;
|
|
margin-bottom: 0.6rem;
|
|
}
|
|
|
|
.error-page__text {
|
|
color: var(--text-muted);
|
|
max-width: 480px;
|
|
margin: 0 auto 1.5rem;
|
|
}
|
|
|
|
.error-page__request {
|
|
color: var(--text-muted);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.site-footer {
|
|
background: var(--bg-nav);
|
|
color: #aebfd4;
|
|
padding: 1.2rem 0;
|
|
flex-shrink: 0;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.site-footer .container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.site-footer__project {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.site-footer__author {
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
@media (max-width: 575px) {
|
|
.hero {
|
|
padding: 2.2rem 1.2rem;
|
|
margin-bottom: 1.8rem;
|
|
}
|
|
|
|
.hero__title {
|
|
font-size: 1.9rem;
|
|
}
|
|
|
|
.hero__text {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.error-page__code {
|
|
font-size: 4rem;
|
|
}
|
|
|
|
.site-footer .container {
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
} |