/* Стили для страницы "О предприятии" (единый стиль сайта) */

/* Герой-секция */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/about-hero-bg.jpg') center/cover;
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    color: rgb(253, 212, 76);
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-quote {
    background: rgba(153, 128, 0, 0.3);
    border-left: 4px solid rgb(253, 212, 76);
    padding: 20px 30px;
    max-width: 600px;
    margin: 40px auto 0;
    font-style: italic;
    font-size: 1.2rem;
}

/* Основной контент */
.content-section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: #f9f9f9;
}

/* Заголовки */
.section-title {
    text-align: center;
    color: rgb(153, 128, 0);
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 300;
    padding-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: rgb(139, 107, 0);
}

.subsection-title {
    color: rgb(153, 128, 0);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
}

/* О компании */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-text p {
    margin-bottom: 20px;
}

/* Контактная информация */
.about-contacts .contact-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    border-top: 4px solid rgb(153, 128, 0);
}

.contact-card h3 {
    color: rgb(153, 128, 0);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.contact-item i {
    width: 30px;
    color: rgb(153, 128, 0);
    font-size: 1.1rem;
    margin-top: 3px;
}

.director-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.director-info h4 {
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.director-info p {
    color: #555;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Статистика */
.stats-section {
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgb(153, 128, 0);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Информация о заводах */
.factory-info {
    background: white;
    border-radius: 10px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    border-top: 4px solid rgb(153, 128, 0);
}

.factory-text {
    flex: 1;
}

.factory-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.factory-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.factory-stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
}

.stat-label {
    color: #555;
    font-size: 1.1rem;
}

.factory-icon {
    font-size: 8rem;
    color: rgb(153, 128, 0);
    opacity: 0.2;
}

/* Описание завода */
.factory-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.factory-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.detail-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.detail-card:hover {
    border-color: rgb(153, 128, 0);
    transform: translateY(-5px);
}

.detail-icon {
    font-size: 2.5rem;
    color: rgb(153, 128, 0);
}

.detail-content {
    flex: 1;
}

.detail-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgb(153, 128, 0);
    margin-bottom: 5px;
}

.detail-label {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.detail-note {
    color: #777;
    font-size: 0.9rem;
    font-style: italic;
}

/* Таймлайн элеватора */
.timeline-section {
    background: white;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 4px;
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-phase {
    flex: 0 0 140px;
    padding-right: 20px;
    text-align: right;
}

.phase-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgb(153, 128, 0);
    margin-bottom: 5px;
}

.phase-years {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.phase-status {
    display: inline-block;
    padding: 4px 12px;
    background: rgb(153, 128, 0);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-content {
    flex: 1;
    padding-left: 40px;
}

.content-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    border: 2px solid #eee;
    border-left: 4px solid rgb(153, 128, 0);
}

.content-header {
    margin-bottom: 20px;
}

.content-title {
    font-size: 1.5rem;
    color: rgb(153, 128, 0);
    font-weight: 600;
}

.content-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.content-body.single {
    grid-template-columns: 1fr;
    text-align: center;
}

.capacity-info, .cost-info {
    text-align: center;
}

.capacity-value, .cost-value {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
}

.capacity-label, .cost-label {
    color: #555;
    font-size: 1.1rem;
}

/* CTA секция */
.cta-section {
    background: rgb(153, 128, 0);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-top: 2px solid rgb(139, 107, 0);
    border-bottom: 2px solid rgb(139, 107, 0);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: white;
    color: rgb(153, 128, 0);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: transparent;
    color: white;
}

.cta-button.secondary {
    background: rgb(139, 107, 0);
    color: white;
    border-color: rgb(139, 107, 0);
}

.cta-button.secondary:hover {
    background: transparent;
    color: white;
}

.cta-button i {
    margin-right: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .factory-info {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .factory-icon {
        order: -1;
        font-size: 6rem;
    }
    
    .timeline::before {
        left: 100px;
    }
    
    .timeline-phase {
        flex: 0 0 100px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid,
    .factory-details {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        max-width: 500px;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
        margin-bottom: 40px;
    }
    
    .timeline-phase {
        text-align: left;
        margin-bottom: 15px;
        padding-right: 0;
    }
    
    .timeline-content {
        padding-left: 0;
    }
    
    .content-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-quote {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .stat-card,
    .contact-card,
    .factory-info,
    .detail-card,
    .content-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .factory-icon {
        font-size: 4rem;
    }
    
    .detail-value,
    .capacity-value,
    .cost-value {
        font-size: 1.5rem;
    }
}

/* Миссия и философия */
.mission-philosophy {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    flex-direction: row;
}

.mission-block {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    border-top: 4px solid rgb(153, 128, 0);
    text-align: center;
}

.mission-block h3 {
    color: rgb(153, 128, 0);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.mission-block .mission-icon {
    font-size: 2.5rem;
    color: rgb(153, 128, 0);
    margin-bottom: 15px;
}

.mission-block .mission-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.philosophy-block {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    border-top: 4px solid rgb(139, 107, 0);
}

.philosophy-block h3 {
    color: rgb(139, 107, 0);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.philosophy-principles {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    flex-direction: row;
}

.principle-card {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px solid #eee;
}

.principle-icon {
    font-size: 2rem;
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
}

.principle-card h4 {
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.principle-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.philosophy-conclusion {
    font-style: italic;
    color: #666;
    margin-top: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Торговые марки */
.brands-grid {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    flex-direction: row;
}

.brand-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    height: 100%;
}

.brand-card.premium {
    border-top: 4px solid rgb(253, 212, 76);
}

.brand-card.universal {
    border-top: 4px solid rgb(153, 128, 0);
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.brand-icon {
    font-size: 2rem;
    color: rgb(153, 128, 0);
}

.brand-header h3 {
    color: rgb(153, 128, 0);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.brand-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.brand-target h4 {
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.brand-target ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.brand-target li {
    color: #555;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.brand-target li:before {
    content: "•";
    color: rgb(153, 128, 0);
    position: absolute;
    left: 0;
}

.brand-tagline {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid rgb(153, 128, 0);
    margin-top: 20px;
}

.brand-tagline p {
    margin: 0;
    color: #555;
    font-weight: 500;
}

/* Ассортимент риса */
.rice-varieties {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    flex-direction: row;
}

.rice-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    border-top: 4px solid rgb(153, 128, 0);
    height: 100%;
}

.rice-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.rice-header h3 {
    color: rgb(153, 128, 0);
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.rice-type {
    color: #777;
    font-size: 0.9rem;
    font-style: italic;
}

.rice-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rice-content h4 {
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.rice-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rice-content li {
    color: #555;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.rice-content li:before {
    content: "✓";
    color: rgb(153, 128, 0);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Преимущества */
.advantages-section {
    margin-bottom: 60px;
}

.advantages-intro h3 {
    text-align: center;
    color: rgb(153, 128, 0);
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.advantage-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    border-color: rgb(153, 128, 0);
    transform: translateY(-3px);
}

.advantage-number {
    background: rgb(153, 128, 0);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advantage-icon {
    color: rgb(153, 128, 0);
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.advantage-content h4 {
    color: rgb(153, 128, 0);
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.advantage-content p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Партнёрам */
.partners-section {
    margin-bottom: 60px;
}

.partners-intro p {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.partners-list {
    display: flex;
    flex-direction: column;
}

.partner-category h3, .partner-benefits h3 {
    color: rgb(153, 128, 0);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.partner-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner-type {
    background: rgb(153, 128, 0);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Медиа-запросы для страницы "О нас" */
/* Планшеты и небольшие ноутбуки (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .mission-philosophy {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .philosophy-principles {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid,
    .rice-varieties {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 110px;
    }
}

/* Ноутбуки (1025px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
    .about-content {
        gap: 40px;
    }
    
    .brands-grid,
    .rice-varieties {
        gap: 25px;
    }
    
    .timeline-phase {
        flex: 0 0 120px;
    }
}

/* Мониторы 4:3 (до 1600px) */
@media (max-width: 1600px) and (min-aspect-ratio: 4/3) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .factory-info {
        padding: 35px;
        gap: 40px;
    }
    
    .factory-icon {
        font-size: 6rem;
    }
}

/* Старые ноутбуки (до 1280px) */
@media (max-width: 1280px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-principles {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .principle-card {
        padding: 15px;
    }
}

/* Небольшие планшеты (до 920px) */
@media (max-width: 920px) and (min-width: 769px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-principles {
        grid-template-columns: repeat(2, 1fr);
    }
    

    
    
}

@media (max-width: 500px) {
    .mission-philosophy {
    flex-direction: column;

    
}


.philosophy-principles {
        flex-direction: column;
    }

    .brands-grid {
    flex-direction: column;
}

.rice-varieties {

    flex-direction: column;
}
}


