Spaces:
Running
Running
| /* Общие стили */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Poppins', sans-serif; | |
| } | |
| body { | |
| color: #fff; | |
| background: linear-gradient(135deg, #0f0f0f 0%, #1c1c1c 100%); | |
| overflow-x: hidden; | |
| } | |
| .container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 0 20px; | |
| position: relative; | |
| z-index: 2; | |
| } | |
| /* Header */ | |
| .header { | |
| position: fixed; | |
| width: 100%; | |
| background: rgba(15, 15, 15, 0.95); | |
| backdrop-filter: blur(20px); | |
| padding: 20px 0; | |
| z-index: 1000; | |
| transition: padding 0.3s ease; | |
| } | |
| .header.scrolled { | |
| padding: 10px 0; | |
| } | |
| .header .container { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .logo-wrapper { | |
| background: #fff; | |
| border-radius: 15px; | |
| padding: 5px 10px; | |
| display: inline-block; | |
| } | |
| .logo-img { | |
| height: 70px; | |
| width: auto; | |
| transition: transform 0.3s ease; | |
| } | |
| .logo-img:hover { | |
| transform: scale(1.1) rotate(5deg); | |
| } | |
| .nav { | |
| display: flex; | |
| align-items: center; | |
| } | |
| .nav a { | |
| color: rgba(255, 255, 255, 0.9); | |
| text-decoration: none; | |
| margin-left: 50px; | |
| font-weight: 600; | |
| font-size: 1.2rem; | |
| position: relative; | |
| transition: color 0.3s ease, text-shadow 0.3s ease; | |
| } | |
| .nav a::after { | |
| content: ''; | |
| position: absolute; | |
| width: 0; | |
| height: 2px; | |
| background: linear-gradient(90deg, #ff6200, #ff8c40); | |
| bottom: -5px; | |
| left: 0; | |
| transition: width 0.3s ease; | |
| } | |
| .nav a:hover::after { | |
| width: 100%; | |
| } | |
| .nav a:hover { | |
| color: #ff6200; | |
| text-shadow: 0 0 10px rgba(255, 98, 0, 0.3); | |
| } | |
| .cta-btn { | |
| padding: 12px 35px; | |
| background: linear-gradient(135deg, #ff6200, #ff8c40); | |
| color: #fff; | |
| text-decoration: none; | |
| border-radius: 50px; | |
| font-weight: 600; | |
| font-size: 1.1rem; | |
| box-shadow: 0 5px 15px rgba(255, 98, 0, 0.3); | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| } | |
| .cta-btn:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 8px 20px rgba(255, 98, 0, 0.5); | |
| } | |
| /* 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, #0f0f0f 0%, #1c1c1c 100%); | |
| } | |
| .hero .container { | |
| position: relative; | |
| z-index: 2; | |
| } | |
| .hero-title { | |
| font-size: clamp(4rem, 8vw, 6.5rem); | |
| font-weight: 800; | |
| line-height: 1.1; | |
| background: linear-gradient(45deg, #ff6200, #ff8c40, #ffb266); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| text-shadow: 0 0 25px rgba(255, 98, 0, 0.4); | |
| animation: pulse 2.5s ease-in-out infinite alternate; | |
| } | |
| .hero-subtitle { | |
| font-size: clamp(1.3rem, 2.5vw, 1.9rem); | |
| font-weight: 600; | |
| color: rgba(255, 255, 255, 0.85); | |
| margin-bottom: 50px; | |
| animation: fadeInUp 1.5s ease-out 0.5s forwards; | |
| opacity: 0; | |
| } | |
| .hero-btn { | |
| display: inline-block; | |
| padding: 18px 50px; | |
| background: rgba(255, 98, 0, 0.1); | |
| border: 2px solid #ff6200; | |
| backdrop-filter: blur(10px); | |
| color: #ff6200; | |
| text-decoration: none; | |
| border-radius: 50px; | |
| font-weight: 600; | |
| font-size: 1.2rem; | |
| box-shadow: 0 0 20px rgba(255, 98, 0, 0.2); | |
| transition: all 0.3s ease; | |
| } | |
| .hero-btn:hover { | |
| background: #ff6200; | |
| color: #fff; | |
| transform: scale(1.1); | |
| box-shadow: 0 0 30px rgba(255, 98, 0, 0.5); | |
| } | |
| /* Services */ | |
| .services { | |
| padding: 150px 0; | |
| background: linear-gradient(135deg, #0f0f0f 0%, #1c1c1c 100%); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .section-title { | |
| font-size: clamp(3rem, 6vw, 4.5rem); | |
| 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 30px rgba(255, 98, 0, 0.4); | |
| } | |
| .services-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); | |
| gap: 50px; | |
| position: relative; | |
| z-index: 2; | |
| } | |
| .service-card { | |
| padding: 50px; | |
| background: rgba(255, 255, 255, 0.03); | |
| border: 1px solid rgba(255, 98, 0, 0.2); | |
| backdrop-filter: blur(20px); | |
| border-radius: 25px; | |
| transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease; | |
| position: relative; | |
| overflow: hidden; | |
| /* Убираем cursor: pointer, чтобы карточка не была кликабельной */ | |
| } | |
| .service-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(135deg, rgba(255, 98, 0, 0.1), transparent); | |
| opacity: 0; | |
| transition: opacity 0.5s ease; | |
| z-index: 1; | |
| } | |
| .service-card:hover::before { | |
| opacity: 1; | |
| } | |
| .service-card:hover { | |
| transform: translateY(-15px) rotateX(5deg) rotateY(5deg); | |
| box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); | |
| } | |
| .service-card h3 { | |
| font-size: 2rem; | |
| font-weight: 600; | |
| color: #ff6200; | |
| margin-bottom: 15px; | |
| text-shadow: 0 0 10px rgba(255, 98, 0, 0.2); | |
| } | |
| .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: 15px; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .add-to-cart-btn { | |
| padding: 10px 20px; | |
| background: #ff6200; | |
| color: #fff; | |
| border: none; | |
| border-radius: 25px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| z-index: 2; /* Увеличиваем z-index кнопки */ | |
| } | |
| .add-to-cart-btn::after { | |
| content: ''; | |
| position: absolute; | |
| width: 0; | |
| height: 0; | |
| background: rgba(255, 255, 255, 0.3); | |
| border-radius: 50%; | |
| transform: scale(0); | |
| transition: transform 0.6s ease-out; | |
| } | |
| .add-to-cart-btn:active::after { | |
| width: 200px; | |
| height: 200px; | |
| transform: scale(1); | |
| left: 50%; | |
| top: 50%; | |
| transform: translate(-50%, -50%); | |
| } | |
| .add-to-cart-btn:hover { | |
| background: #e65c00; | |
| transform: scale(1.05); | |
| } | |
| /* Cart Icon */ | |
| .cart-icon { | |
| position: fixed; | |
| bottom: 30px; | |
| right: 30px; | |
| background: #ff6200; | |
| color: #fff; | |
| width: 60px; | |
| height: 60px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.5rem; | |
| box-shadow: 0 5px 15px rgba(255, 98, 0, 0.3); | |
| cursor: pointer; | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| z-index: 1000; | |
| } | |
| .cart-icon:hover { | |
| transform: scale(1.1); | |
| box-shadow: 0 8px 20px rgba(255, 98, 0, 0.5); | |
| } | |
| .cart-count { | |
| position: absolute; | |
| top: -5px; | |
| right: -5px; | |
| background: #e65c00; | |
| color: #fff; | |
| border-radius: 50%; | |
| width: 25px; | |
| height: 25px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| } | |
| /* Cart Modal */ | |
| .cart-modal { | |
| display: none; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(0, 0, 0, 0.8); | |
| z-index: 2000; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .cart-modal-content { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(20px); | |
| border: 1px solid rgba(255, 98, 0, 0.2); | |
| border-radius: 20px; | |
| padding: 30px; | |
| width: 90%; | |
| max-width: 500px; | |
| color: #fff; | |
| position: relative; | |
| } | |
| .close-modal { | |
| position: absolute; | |
| top: 15px; | |
| right: 15px; | |
| font-size: 1.5rem; | |
| cursor: pointer; | |
| color: rgba(255, 255, 255, 0.7); | |
| transition: color 0.3s ease; | |
| } | |
| .close-modal:hover { | |
| color: #ff6200; | |
| } | |
| .cart-modal-content h2 { | |
| font-size: 1.8rem; | |
| margin-bottom: 20px; | |
| color: #ff6200; | |
| } | |
| .cart-items { | |
| list-style: none; | |
| margin-bottom: 30px; | |
| max-height: 200px; | |
| overflow-y: auto; | |
| } | |
| .cart-items li { | |
| font-size: 1.1rem; | |
| padding: 10px 0; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .clear-cart-btn { | |
| padding: 10px 20px; | |
| background: #e65c00; | |
| color: #fff; | |
| border: none; | |
| border-radius: 25px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| margin-right: 10px; | |
| transition: background 0.3s ease, transform 0.3s ease; | |
| } | |
| .clear-cart-btn:hover { | |
| background: #d45000; | |
| transform: scale(1.05); | |
| } | |
| .calculate-btn { | |
| padding: 10px 20px; | |
| background: #ff6200; | |
| color: #fff; | |
| border: none; | |
| border-radius: 25px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .calculate-btn::after { | |
| content: ''; | |
| position: absolute; | |
| width: 0; | |
| height: 0; | |
| background: rgba(255, 255, 255, 0.3); | |
| border-radius: 50%; | |
| transform: scale(0); | |
| transition: transform 0.6s ease-out; | |
| } | |
| .calculate-btn:active::after { | |
| width: 200px; | |
| height: 200px; | |
| transform: scale(1); | |
| left: 50%; | |
| top: 50%; | |
| transform: translate(-50%, -50%); | |
| } | |
| .calculate-btn:hover { | |
| background: #e65c00; | |
| transform: scale(1.05); | |
| } | |
| /* Contact */ | |
| .contact { | |
| padding: 150px 0; | |
| background: linear-gradient(145deg, #0f0f0f 0%, #1c1c1c 100%); | |
| text-align: center; | |
| } | |
| .contact-text { | |
| font-size: 1.4rem; | |
| color: rgba(255, 255, 255, 0.7); | |
| margin-bottom: 50px; | |
| } | |
| .contact-btn { | |
| display: inline-block; | |
| padding: 18px 50px; | |
| background: linear-gradient(135deg, #ff6200, #ff8c40); | |
| color: #fff; | |
| text-decoration: none; | |
| border-radius: 50px; | |
| font-weight: 600; | |
| font-size: 1.2rem; | |
| box-shadow: 0 5px 15px rgba(255, 98, 0, 0.3); | |
| transition: all 0.3s ease; | |
| } | |
| .contact-btn:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 8px 20px rgba(255, 98, 0, 0.5); | |
| } | |
| /* Footer */ | |
| .footer { | |
| padding: 40px 0; | |
| background: #0f0f0f; | |
| color: rgba(255, 255, 255, 0.5); | |
| text-align: center; | |
| font-size: 0.95rem; | |
| border-top: 1px solid rgba(255, 98, 0, 0.1); | |
| } | |
| /* Анимации */ | |
| @keyframes pulse { | |
| from { text-shadow: 0 0 20px rgba(255, 98, 0, 0.4); } | |
| to { text-shadow: 0 0 40px rgba(255, 98, 0, 0.7); } | |
| } | |
| @keyframes fadeInUp { | |
| from { opacity: 0; transform: translateY(30px); } | |
| 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: 20px; | |
| justify-content: center; | |
| } | |
| .nav { | |
| flex-direction: column; | |
| gap: 15px; | |
| } | |
| .nav a { | |
| margin-left: 0; | |
| } | |
| .logo-img { | |
| height: 50px; | |
| } | |
| .hero-title { | |
| font-size: 3.5rem; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.2rem; | |
| } | |
| .services-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .service-card { | |
| padding: 30px; | |
| } | |
| .add-to-cart-btn, .calculate-btn { | |
| padding: 10px 20px; | |
| font-size: 1rem; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .cta-btn, .hero-btn, .contact-btn { | |
| padding: 12px 30px; | |
| font-size: 1rem; | |
| } | |
| .cart-icon { | |
| width: 50px; | |
| height: 50px; | |
| font-size: 1.2rem; | |
| } | |
| .cart-count { | |
| width: 20px; | |
| height: 20px; | |
| font-size: 0.8rem; | |
| } | |
| } |