/* Основные стили для всего сайта */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: #1a535c;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff7b25;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    position: relative;
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    font-weight: 500;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #ff7b25;
    background: rgba(255, 123, 37, 0.1);
}

/* Dropdown menu */
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1001;
    top: 100%;
    left: 0;
    border: 1px solid #e1f5f4;
}

.dropdown-content a {
    color: #1a535c;
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid #f0f7f7;
    transition: all 0.3s;
    font-weight: 500;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #ff7b25;
    color: white;
    transform: translateX(5px);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a535c 0%, #247b7b 100%);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f7f7f7;
    position: relative;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #ff7b25;
    color: #1a535c;
    box-shadow: 0 4px 15px rgba(255, 123, 37, 0.3);
}

.btn-primary:hover {
    background: #ff6a00;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 123, 37, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: white;
    color: #1a535c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a535c;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff7b25;
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.2rem;
    color: #5a7d7c;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Canvas Section */
.canvas-section {
    background: #f0f7f7;
    position: relative;
}

.canvas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.canvas-item {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 83, 92, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.canvas-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff7b25, #4ecdc4);
}

.canvas-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 83, 92, 0.15);
}

.canvas-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff7b25, #ff9d5c);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(255, 123, 37, 0.3);
}

.eco-badge {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(26, 83, 92, 0.2);
    position: relative;
    overflow: hidden;
}

.eco-badge::before {
    content: '🌿';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 83, 92, 0.1);
    transition: all 0.3s;
    border-left: 5px solid #ff7b25;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff7b25, #4ecdc4);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 83, 92, 0.15);
}

.advantage-card h3 {
    color: #1a535c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.advantage-card p {
    color: #5a7d7c;
    line-height: 1.8;
}

/* Catalog Preview */
.catalog-preview {
    background: #f0f7f7;
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 83, 92, 0.1);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 83, 92, 0.15);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #e1f5f4, #b8e1dd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a7d7c;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '🖼️';
    font-size: 3rem;
    opacity: 0.5;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    color: #1a535c;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, #e1f5f4, #b8e1dd);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a7d7c;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(26, 83, 92, 0.1);
}

.about-image::before {
    content: '🏭';
    font-size: 4rem;
    opacity: 0.7;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 83, 92, 0.1);
    transition: all 0.3s;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 83, 92, 0.15);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, #e1f5f4, #b8e1dd);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a7d7c;
    font-weight: 500;
    position: relative;
}

.project-image::before {
    content: '📸';
    font-size: 3rem;
    opacity: 0.6;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: #1a535c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Production Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ff7b25, #4ecdc4);
}

.timeline-item {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 83, 92, 0.1);
    transition: all 0.3s;
    border-left: 4px solid #ff7b25;
    position: relative;
    margin-left: 60px;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(26, 83, 92, 0.15);
}

.timeline-number {
    background: #ff7b25;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 123, 37, 0.3);
    position: absolute;
    left: -90px;
    top: 2rem;
}

/* Services Section */
.service-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 83, 92, 0.1);
    transition: all 0.3s;
}

.service-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 83, 92, 0.15);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-image {
    height: 350px;
    background: linear-gradient(135deg, #e1f5f4, #b8e1dd);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a7d7c;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(26, 83, 92, 0.1);
}

.service-image::before {
    content: '🛠️';
    font-size: 4rem;
    opacity: 0.7;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 83, 92, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fdfc;
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: #e8f7f5;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #ff7b25;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #1a535c;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #ff7b25;
    position: relative;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #ff7b25;
    margin-top: 0.5rem;
}

.footer-section p, .footer-section a {
    color: #e1f5f4;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff7b25;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2c7a7b;
    color: #a0d2d1;
}

/* Page Sections */
.page-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.page-hero {
    background: linear-gradient(135deg, #1a535c 0%, #247b7b 100%);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    margin-bottom: 4rem;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1, .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content, .service-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .header-content {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        margin-left: 50px;
    }
    
    .timeline-number {
        left: -70px;
        width: 50px;
        height: 50px;
    }
}
