:root { --primary-dark: #0f172a; --primary-light: #1e293b; --accent: #f97316; --text: #f1f5f9; --gray: #94a3b8; --card-bg: #1e293b; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--text); background-color: #f8fafc; scroll-behavior: smooth; } /* Typography */ h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; } h1 { font-size: 2.8rem; margin-bottom: 1.5rem; } h2 { font-size: 2.2rem; margin-bottom: 1.2rem; } h3 { font-size: 1.8rem; margin-bottom: 1rem; } p { margin-bottom: 1rem; color: #cbd5e1; } /* Layout padding: 0 2rem;*/ .container { width: 100%; max-width: 1280px; margin: 0 auto; } section { padding: 6rem 0; } .section-title { text-align: center; margin-bottom: 4rem; } .section-title h2 { position: relative; display: inline-block; color: white; } .section-title h2:after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--accent); border-radius: 2px; } /* Header & Navigation */ header { background: var(--primary-dark); position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .header-container { display: flex; justify-content: space-between; align-items: center; } .logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: 700; color: white; text-decoration: none; padding: 10px 0; } .logo span { background: var(--accent); color: var(--primary-dark); padding: 0.3rem 0.8rem; border-radius: 8px; margin-right: 0.5rem; font-weight: 800; } .container h2{ color: var(--accent); } /* Hero Section height: 100vh;*/ .hero { background:linear-gradient(135deg, var(--primary-dark) 0%, rgb(0 0 0 / 70%) 100%), url(/assets/images/proizvodstvo-konveiera.jpg) no-repeat center center/cover; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 12rem; } .hero-content { max-width: 700px; position: relative; z-index: 2; } .hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; color: white; } .hero p { font-size: 1.4rem; margin-bottom: 2.5rem; color: #cbd5e1; } .btn { display: inline-block; background: var(--accent); color: var(--primary-dark); padding: 0.9rem 2.2rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: 2px solid var(--accent); margin-right: 1rem; font-size: 1.1rem; } .btn:hover { background: transparent; color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.4); } .btn-outline { background: transparent; color: white; border: 2px solid white; } .btn-outline:hover { background: white; color: var(--primary-dark); } .hero-image { position: absolute; right: 0; bottom: 0; width: 45%; height: 80%; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px -12px rgb(159 31 31 / 25%); border: 5px solid rgb(30 41 59 / 70%); opacity: 0.8; display: inline-block; background-color: rgb(30 41 59 / 50%); margin-bottom: 10px; } .hero-image img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(50%); } .scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; cursor: pointer; } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-20px); } 60% { transform: translateX(-50%) translateY(-10px); } } /* Features Section */ .features { background: white; color: var(--primary-dark); } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .feature-card { background: linear-gradient(135deg, var(--primary-dark) 0%, rgb(0 0 0 / 70%) 100%), url(/assets/images/frezerovka-obrabotka.jpg) no-repeat center center/cover; border-radius: 15px; padding: 2.5rem; transition: transform 0.3s ease; position: relative; overflow: hidden; } .feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); } .feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--accent); } .feature-icon { font-size: 3.5rem; margin-bottom: 1.5rem; color: var(--accent); } .feature-card img { float:left; margin:0 10px 0 0; width:50px; } .feature-card h3 { color: white; margin-bottom: 1rem; margin-top:-5px; } /* Products Section */ .products { background: var(--primary-dark) no-repeat center center/cover; background-image:linear-gradient(135deg, var(--primary-dark) 0%, rgb(0 0 0 / 70%) 100%), url(/assets/images/metalloobrabotka-zavod.jpg); display: flex; align-items: center; position: relative; overflow: hidden; } .products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .product-card { background: rgb(0 0 0 / 90%); border-radius: 15px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); } .product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2); } .product-img { height: 200px; background: linear-gradient(135deg, rgb(30 41 59 / 70%), #0284c7); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: white; } .product-content { padding: 1.8rem; } .product-content h3 { color: white; margin-bottom: 1rem; } .product-content p { color: #94a3b8; margin-bottom: 1.5rem; } /* Contact Section добавил padding и section прекратил действовать */ .contact { background: white; padding: 3rem 0; } .contact .section-title h2{ color: black; } .contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; } .contact-info h3 { color: var(--primary-dark); margin-bottom: 1.5rem; } .contact-details { margin-bottom: 2rem; } .contact-item { display: flex; align-items: flex-start; margin-bottom: 1.5rem; } .contact-icon { font-size: 1.5rem; color: var(--accent); margin-right: 1rem; min-width: 30px; } .contact-text h4 { color: var(--primary-dark); margin-bottom: 0.3rem; } .contact-text p { color: #64748b; } .social-links { display: flex; gap: 1rem; } .social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: white; font-size: 1.2rem; transition: all 0.3s ease; } .social-links a:hover { background: var(--accent); transform: translateY(-3px); } .contact-form { background: var(--card-bg); background-image: url(/assets/images/roliki-konveiera.jpg); padding: 2.5rem; border-radius: 15px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; color: #cbd5e1; } .form-control { width: 100%; padding: 0.8rem 1.2rem; background: rgba(30, 41, 59, 0.7); border: 1px solid #334155; border-radius: 8px; color: white; font-size: 1rem; } .form-control:focus { outline: none; border-color: var(--accent); } textarea.form-control { min-height: 150px; resize: vertical; } /* Footer */ footer { background: var(--primary-dark); padding: 4rem 0 2rem; } .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; margin-bottom: 3rem; background: url(/logo-new.png) no-repeat right; } .footer-col h3 { color: white; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.5rem; } .footer-col h3:after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--accent); } .footer-col p { color: #94a3b8; margin-bottom: 1.5rem; } .footer-links { list-style: none; } .footer-links li { margin-bottom: 0.8rem; } .footer-links a { color: #94a3b8; text-decoration: none; transition: all 0.3s ease; display: flex; align-items: center; } .footer-links a:hover { color: var(--accent); padding-left: 5px; } .footer-links a:before { content: 'в†’'; margin-right: 8px; color: var(--accent); transition: all 0.3s; } .footer-links a:hover:before { transform: translateX(3px); } .copyright { text-align: center; padding-top: 2rem; border-top: 1px solid #334155; color: #94a3b8; font-size: 0.9rem; } /* Animations */ .animate-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; } .animate-fade.visible { opacity: 1; transform: translateY(0); } /* Responsive Design */ @media (max-width: 992px) { .contact-container { grid-template-columns: 1fr; } .hero h1 { font-size: 2.8rem; } .hero p { font-size: 1.2rem; } } @media (max-width: 768px) { .hero h1 { font-size: 2.3rem; } .hero p { font-size: 1.1rem; } .hero-image { width: 100%; height: 50%; bottom: 10%; right: 5%; } .btn { display: block; width: 100%; margin: 0.8rem 0; } /* Мобильные стили для поиска */ .search-container { display: none; background: #072132; } } @media (max-width: 576px) { h1 { font-size: 2.2rem; } h2 { font-size: 1.8rem; } .hero h1 { font-size: 2rem; } .section-title h2 { font-size: 1.8rem; } } /* Search Form Styles удалил центрирование margin: 0 auto;*/ .search-form { width: 100%; } .search-container { display: flex; align-items: center; background: #f2f0f0; border-radius: 50px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: all 0.3s ease; border: 2px solid transparent; color: black; } .search-input { flex: 1; padding: 15px 25px; border: none; background: transparent; font-size: 16px; outline: none; border-radius: 50px 0 0 50px; color: black; } .search-input::placeholder { color: #999; font-style: italic; } .search-button { padding: 12px 30px; background: #f9f5f5; color: #c6c2c2; border: none; border-radius: 0 50px 50px 0; cursor: pointer; font-size: 16px; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: background 0.3s ease; height: 100%; } .search-button:hover { background: #ffb97b99; color:#777; } .search-icon { fill: currentColor; } /* Адаптивность */ @media (max-width: 480px) { .search-container { flex-direction: column; border-radius: 10px; } .search-input { width: 100%; border-radius: 10px 10px 0 0; padding: 12px 20px; } .search-button { width: 100%; border-radius: 0 0 10px 10px; justify-content: center; padding: 12px; } }