dev / styles.css
Aleksmorshen's picture
Update styles.css
be955ee verified
raw
history blame
6.99 kB
/* Общие стили */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Manrope', sans-serif;
}
body {
color: #fff;
background: #0a0a0a;
overflow-x: hidden;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
}
/* Header */
.header {
position: fixed;
width: 100%;
background: rgba(10, 10, 10, 0.8);
backdrop-filter: blur(15px);
padding: 20px 0;
z-index: 1000;
transition: padding 0.3s ease;
}
.header.scrolled {
padding: 10px 0;
background: rgba(10, 10, 10, 0.95);
}
.header .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo-img {
height: 60px;
width: auto;
filter: drop-shadow(0 0 10px rgba(255, 98, 0, 0.3));
transition: transform 0.3s ease;
}
.logo-img:hover {
transform: rotate(5deg) scale(1.05);
}
.nav {
display: flex;
align-items: center;
}
.nav a {
color: #fff;
text-decoration: none;
margin-left: 40px;
font-weight: 600;
font-size: 1.1rem;
position: relative;
transition: color 0.3s ease;
}
.nav a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
background: #ff6200;
bottom: -5px;
left: 0;
transition: width 0.3s ease;
}
.nav a:hover::after {
width: 100%;
}
.nav a:hover {
color: #ff6200;
}
.cta-btn {
padding: 12px 30px;
background: rgba(255, 98, 0, 0.1);
border: 1px solid #ff6200;
color: #ff6200;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
font-size: 1rem;
transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.cta-btn:hover {
background: #ff6200;
color: #fff;
transform: translateY(-2px);
}
/* Hero */
.hero {
height: 100vh;
position: relative;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
overflow: hidden;
}
.canvas-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
}
.hero .container {
position: relative;
z-index: 2;
}
.hero-title {
font-size: clamp(3.5rem, 7vw, 6rem);
font-weight: 800;
line-height: 1.1;
background: linear-gradient(45deg, #ff6200, #ff8c40);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-shadow: 0 0 20px rgba(255, 98, 0, 0.3);
animation: glow 2s ease-in-out infinite alternate;
}
.hero-subtitle {
font-size: clamp(1.2rem, 2.5vw, 1.8rem);
font-weight: 400;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 40px;
animation: fadeIn 1.5s ease-out 0.5s forwards;
opacity: 0;
}
.hero-btn {
display: inline-block;
padding: 15px 40px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid #ff6200;
backdrop-filter: blur(10px);
color: #ff6200;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
font-size: 1.1rem;
transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.hero-btn:hover {
background: #ff6200;
color: #fff;
transform: scale(1.05);
}
/* Services */
.services {
padding: 120px 0;
background: #0a0a0a;
}
.section-title {
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 800;
text-align: center;
margin-bottom: 80px;
background: linear-gradient(45deg, #ff6200, #ff8c40);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
text-shadow: 0 0 20px rgba(255, 98, 0, 0.3);
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 40px;
}
.service-card {
padding: 40px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 20px;
transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
position: relative;
overflow: hidden;
}
.service-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, rgba(255, 98, 0, 0.1), transparent);
opacity: 0;
transition: opacity 0.5s ease;
}
.service-card:hover::before {
opacity: 1;
}
.service-card:hover {
transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.service-card h3 {
font-size: 1.8rem;
font-weight: 600;
color: #ff6200;
margin-bottom: 15px;
}
.service-card p {
font-size: 1.1rem;
color: rgba(255, 255, 255, 0.7);
margin-bottom: 20px;
}
.benefits {
list-style: none;
font-size: 1rem;
color: rgba(255, 255, 255, 0.9);
}
.benefits li {
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
/* Contact */
.contact {
padding: 120px 0;
background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
text-align: center;
}
.contact-text {
font-size: 1.3rem;
color: rgba(255, 255, 255, 0.7);
margin-bottom: 40px;
}
.contact-btn {
display: inline-block;
padding: 15px 40px;
background: #ff6200;
color: #fff;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
font-size: 1.1rem;
transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-btn:hover {
background: #e65c00;
transform: scale(1.05);
box-shadow: 0 0 20px rgba(255, 98, 0, 0.5);
}
/* Footer */
.footer {
padding: 30px 0;
background: #0a0a0a;
color: rgba(255, 255, 255, 0.5);
text-align: center;
font-size: 0.9rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Анимации */
@keyframes glow {
from { text-shadow: 0 0 10px rgba(255, 98, 0, 0.3); }
to { text-shadow: 0 0 30px rgba(255, 98, 0, 0.7); }
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.service-card {
opacity: 0;
transform: translateY(50px);
transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card.visible {
opacity: 1;
transform: translateY(0);
}
/* Адаптивность */
@media (max-width: 768px) {
.header .container {
flex-wrap: wrap;
gap: 15px;
justify-content: center;
}
.nav {
flex-direction: column;
gap: 15px;
}
.nav a {
margin-left: 0;
}
.logo-img {
height: 50px;
}
.hero-title {
font-size: 3rem;
}
.hero-subtitle {
font-size: 1rem;
}
.services-grid {
grid-template-columns: 1fr;
}
.service-card {
padding: 30px;
}
}
@media (max-width: 480px) {
.cta-btn, .hero-btn, .contact-btn {
padding: 12px 30px;
font-size: 0.95rem;
}
}