/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Top Contact Bar */
.top-contact-bar {
    background: linear-gradient(135deg, #7FB069 0%, #A4C57A 100%);
    color: white;
    padding: 8px 0;
    font-size: 12px;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.green-circle {
    color: #4CAF50;
    font-size: 16px;
    margin-right: 8px;
}

.company-info {
    font-weight: bold;
    margin-right: auto;
}

.search-container {
    display: flex;
    margin: 0 20px;
}

.search-container input {
    padding: 4px 8px;
    border: none;
    border-radius: 3px 0 0 3px;
    font-size: 12px;
    width: 120px;
}

.search-btn {
    background: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 15px;
}



.phone-number {
    text-align: right;
    line-height: 1.3;
}

.work-hours, .call-us {
    font-size: 10px;
    opacity: 0.9;
}

/* Main Header */
.main-header {
    background-color: #0066CC;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.text-logo {
    color: white;
}

.logo-main {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, #ffffff 0%, #e8f4fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 12px;
    opacity: 0.9;
    display: block;
    margin-top: -2px;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav a:hover {
    color: #FFD700;
}

.arrow-down {
    font-size: 10px;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f8f9fa;
    padding: 10px 0;
    font-size: 12px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumbs a {
    color: #0066CC;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #666;
}

/* Main Content */
.main-content {
    padding: 30px 0;
    background-color: #fff;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Article Content */
.article-content {
    background: white;
    padding: 0;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066CC;
}

.article-header h1 {
    color: #0066CC;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.share-btn {
    background: #0066CC;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.share-btn:hover {
    background: #0052A3;
}

.article-main-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.article-text {
    line-height: 1.8;
    font-size: 16px;
}

.article-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-text h2 {
    color: #0066CC;
    font-size: 22px;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.producers-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.producers-list li {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #0066CC;
    border-radius: 0 5px 5px 0;
}

.producers-list strong {
    color: #0066CC;
    font-size: 18px;
}

/* Promo Block */
.promo-block {
    background: linear-gradient(135deg, #7FB069 0%, #A4C57A 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.3);
}

.promo-icon {
    font-size: 16px;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    padding: 8px 12px;
    border-radius: 20px;
    color: white;
}

.promo-text p {
    margin-bottom: 15px;
    font-size: 16px;
}

.promo-btn {
    background: white;
    color: #7FB069;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Sidebar */
.sidebar {
    background: white;
}

.categories-widget,
.consultation-widget {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.categories-widget h3 {
    color: #0066CC;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066CC;
}

.categories-widget ul {
    list-style: none;
}

.categories-widget li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.categories-widget a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.categories-widget a:hover {
    color: #0066CC;
}

.count {
    background: #7FB069;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.consultation-widget {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: white;
    text-align: center;
}

.consultation-icon {
    font-size: 16px;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    padding: 8px 12px;
    border-radius: 20px;
    color: white;
    margin-bottom: 10px;
    display: inline-block;
}

.consultation-widget h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.consultation-widget p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.consultation-btn {
    background: white;
    color: #0066CC;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Content Sections */
.content-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.content-section:nth-child(odd) {
    background-color: white;
}

.content-section h2 {
    color: #0066CC;
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066CC;
    font-weight: bold;
}

.content-section h2:after {
    display: none;
}

.section-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.section-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
    text-align: justify;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    border-left: 4px solid #0066CC;
    transition: none;
}

.feature-item:hover {
    transform: none;
    box-shadow: none;
}

.feature-item h3 {
    color: #0066CC;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.feature-item p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

/* Catalog Section */
.catalog-section {
    background: white;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.catalog-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    border-left: 4px solid #0066CC;
    transition: none;
    border: none;
}

.catalog-item:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.catalog-item h3 {
    color: #0066CC;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.catalog-item p {
    color: #333;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.catalog-link {
    display: inline-block;
    background: #0066CC;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.catalog-link:hover {
    background: #0052A3;
    transform: none;
    box-shadow: none;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #0066CC;
    transition: none;
}

.product-item:hover {
    transform: none;
    box-shadow: none;
}

.product-item h3 {
    color: #0066CC;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.product-item p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

/* Fertilizer Details */
.fertilizer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.fertilizer-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #0066CC;
}

.fertilizer-info h3 {
    color: #0066CC;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.fertilizer-info p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.fertilizer-info strong {
    color: #0066CC;
    font-weight: bold;
}

/* Articles Section */
.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.article-preview {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #0066CC;
    transition: none;
}

.article-preview:hover {
    transform: none;
    box-shadow: none;
}

.article-preview h3 {
    color: #0066CC;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.article-preview p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.article-date {
    color: #666;
    font-size: 12px;
    font-style: italic;
}

/* News Section */
.news-section {
    background: white;
    color: #333;
}

.news-section h2 {
    color: #0066CC;
}

.news-section h2:after {
    display: none;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #0066CC;
    transition: none;
}

.news-item:hover {
    background: #f8f9fa;
}

.news-date {
    background: #0066CC;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.news-item h3 {
    color: #0066CC;
    font-size: 18px;
    margin: 15px 0 10px 0;
    font-weight: bold;
}

.news-item p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

/* Certificates Section */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.certificate-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    border-left: 4px solid #0066CC;
    transition: none;
}

.certificate-item:hover {
    border-color: #0066CC;
    transform: none;
}

.certificate-item h3 {
    color: #0066CC;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.certificate-item p {
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.cert-date {
    color: #666;
    font-size: 12px;
    font-style: italic;
}

/* Contacts Section */
.contacts-section {
    background: white;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
    color: #0066CC;
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-info strong {
    color: #0066CC;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0066CC;
}

.contact-form button {
    background: linear-gradient(135deg, #7FB069 0%, #A4C57A 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(127, 176, 105, 0.4);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0066CC;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
    z-index: 1000;
    display: none;
}

.back-to-top:hover {
    background: #0052A3;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #7FB069 0%, #A4C57A 100%);
    color: white;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(0,0,0,0.1);
    padding: 25px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.newsletter-icon {
    font-size: 16px;
    font-weight: bold;
    background: rgba(0,0,0,0.2);
    padding: 8px 12px;
    border-radius: 20px;
    color: white;
}

.newsletter-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.newsletter-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/* Footer Main */
.footer-main {
    padding: 40px 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
    text-decoration: underline;
}

.contact-phone,
.work-schedule,
.address,
.website {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .phone-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .catalog-grid,
    .features-grid,
    .product-grid,
    .fertilizer-details,
    .articles-list,
    .news-list,
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container input {
        width: 100px;
    }
    
    .logo-main {
        font-size: 24px;
    }
    
    .main-nav ul {
        gap: 10px;
    }
    
    .main-nav a {
        font-size: 12px;
    }
} 