/* Layout Baslangic */
/* site.css */
:root {
    --primary: #2c6e49;
    --secondary: #4c956c;
    --accent: white;
    --light: #fefee3;
}

.navbar-millods {
    background: linear-gradient(90deg, #1d3a27 0%, var(--primary) 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
}

.nav-link {
    color: var(--light) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s;
}

    .nav-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--accent);
        transition: width 0.3s;
    }

    .nav-link:hover:after {
        width: 100%;
    }

.logo-header {
    height: 50px;
    transition: transform 0.3s;
}

    .logo-header:hover {
        transform: scale(1.05);
    }

.footer-millods {
    background: linear-gradient(90deg, #1d3a27 0%, var(--primary) 100%);
    color: white;
    padding: 3rem 0 0;
}

.footer-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-weight: 600;
}

    .footer-title:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 3px;
        background: var(--accent);
    }

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

    .footer-links a:hover {
        color: var(--accent);
        transform: translateX(5px);
    }

.contact-info svg {
    fill: var(--accent);
    margin-right: 10px;
    width: 20px;
}

.copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    margin-top: 3rem;
}

.hero-section {
    background: url('https://placehold.co/1200x400/2c6e49/white?text=Kaliteli+Değirmen+Çözümleri') no-repeat center/cover;
    height: 70vh;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* Ekstra Özelleştirmeler */
.btn-accent {
    background-color: white;
    color: black;
    border: 1px solid var(--secondary);
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s;
}

    .btn-accent:hover {
        background-color: var(--secondary);
        border: 1px white solid;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Layout Son */






/* 1. Bölüm: Ürünlerimizde */
.products-section-index {
    background: #f7f7f7;
    padding: 40px 20px;
    text-align: center;
    color: #2c6e49;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.products-title-index {
    font-weight: 700;
    margin-bottom: 10px;
}

.products-desc-index {
    color: #4c956c;
    max-width: 600px;
    margin: 0 auto 30px;
    font-weight: 500;
}

.progress-container-index {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.progress-bar-wrapper-index {
    margin-bottom: 15px;
}

.progress-bar-label-index {
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    color: #2c6e49;
}

    .progress-bar-label-index span {
        position: absolute;
        right: 0;
    }

.progress-bar-background-index {
    background: #d9e6d8;
    border-radius: 6px;
    height: 20px;
    overflow: hidden;
}

.progress-bar-fill-index {
    height: 100%;
    border-radius: 6px;
}

/* Renkler doluluk oranına göre */
.progress-kalite-index {
    background: #2c6e49;
    width: 96%;
}

.progress-inovasyon-index {
    background: #4c956c;
    width: 85%;
}

.progress-performans-index {
    background: #2c6e49;
    width: 99%;
}

.progress-fiyat-index {
    background: #4c956c;
    width: 82%;
}

.progress-yedekparca-index {
    background: #2c6e49;
    width: 100%;
}

/* 2. Bölüm: Analiz & Çözüm */
.analysis-section-index {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    color: #2c6e49;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.analysis-image-index {
    flex: 1 1 300px;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .analysis-image-index img {
        max-width: 100%;
        border-radius: 8px;
    }

.analysis-content-index {
    flex: 2 1 500px;
    min-width: 280px;
}

.analysis-item-index {
    margin-bottom: 30px;
}

    .analysis-item-index:last-child {
        margin-bottom: 0;
    }

.analysis-title-index {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c6e49;
    margin: 0 0 10px 0;
}

.analysis-icon-index {
    color: #2c6e49;
    font-size: 1.4rem;
}

.analysis-desc-index {
    color: #4c956c;
    font-weight: 500;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .analysis-section-index {
        flex-direction: column;
        padding: 30px 15px;
    }

    .analysis-image-index,
    .analysis-content-index {
        min-width: 100%;
    }

    .progress-container-index {
        max-width: 100%;
    }
}

.analysis-main-title-index {
    font-weight: 700;
    font-size: 2rem;
    color: #2c6e49;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}


.section-title-product {
    font-size: 1.8rem;
    color: #2c6e49;
    margin-bottom: 30px;
    padding-left: 20px;
    position: relative;
}

    .section-title-product::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 80%;
        width: 6px;
        background: #4c956c;
        border-radius: 3px;
    }

.product-grid-product {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card-product {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(44, 110, 73, 0.1);
    transition: all 0.4s ease;
}

    .product-card-product:hover {
        transform: translateY(-7px);
        box-shadow: 0 8px 25px rgba(44, 110, 73, 0.15);
    }

.product-image-product {
    width: 100%;
    overflow: hidden;
}

    .product-image-product img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s;
    }

.product-card-product:hover .product-image-product img {
    transform: scale(1.08);
}

.product-info-product {
    padding: 22px;
}

.product-title-product {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-description-product {
    font-size: 0.9rem;
    color: #2c6e49;
    font-weight: 400;
    margin-bottom: 18px;
}

.product-actions-product {
    margin-top: 15px;
}

.btn-product {
    display: block;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    background: #4c956c;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

    .btn-product:hover {
        background: #2c6e49;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(44, 110, 73, 0.3);
    }


/* SAYFALAMA */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    padding: 10px 18px;
    background: #4c956c;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

    .page-link:hover, .page-link.active {
        background: #2c6e49;
        color: #ffffff;
    }
/* RESPONSIVE */
@media (max-width: 992px) {
    .container-product {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-grid-product {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-sidebar-product {
        padding-top: 0;
    }
}

@media (max-width: 576px) {
    .product-grid-product {
        grid-template-columns: 1fr;
    }

    .section-title-product {
        font-size: 1.6rem;
    }
}
.product-header-details {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    align-items: flex-start;
    flex-wrap: wrap;
}

.image-container-details {
    flex: 1;
    max-width: 450px;
    border: 1px solid #4c956c;
    border-radius: 8px;
    padding: 0.5rem;
    background: white;
    box-shadow: 0 3px 10px rgba(44, 110, 73, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .image-container-details img.main-image-details {
        width: 100%;
        max-height: 400px;
        object-fit: contain;
        border-radius: 6px;
        margin-bottom: 1rem;
        border: 1px solid #4c956c;
    }

.thumbnails-details {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-details {
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    object-fit: cover;
    transition: border-color 0.3s ease;
}

    .thumbnail-details.active {
        border-color: #2c6e49;
    }

.product-info-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 600px;
    min-width: 280px;
}

.product-name-details {
    font-size: 2rem;
    font-weight: 700;
    color: #2c6e49;
    margin-bottom: 0.5rem;
}

.product-meta-details {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.25rem;
}

    .product-meta-details strong {
        color: #4c956c;
    }

/* Sekmeler */
.tabs-container-details {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(44, 110, 73, 0.1);
    padding: 1rem;
}

.tabs-buttons-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f6fa;
}

.tab-button-details {
    background: transparent;
    border: none;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    color: #2c6e49;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-bottom: 3px solid transparent;
}

    .tab-button-details.active {
        background-color: #2c6e49;
        color: white;
        border-bottom: 3px solid #2c6e49;
    }

.tab-content-details img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border: 1px solid #4c956c;
    border-radius: 8px;
}

.product-meta-details {
    font-size: 1rem;
    color: #2c6e49; /* Grup yazısı yeşil */
    margin-bottom: 0.25rem;
    text-decoration: none; /* Alt çizgi yok */
    border-bottom: none !important; /* Alt çizgi varsa engelle */
}

    .product-meta-details a {
        color: #2c6e49;
        text-decoration: none;
        border-bottom: none !important;
        cursor: default;
    }

        .product-meta-details a:hover {
            text-decoration: none;
        }

/* Responsive */
@media (max-width: 900px) {
    .product-header-details {
        flex-direction: column;
        align-items: center;
    }

    .product-info-details {
        max-width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .tabs-buttons-details {
        justify-content: center;
        flex-wrap: wrap;
    }

    .product-meta-details {
        font-size: 1rem;
        color: #2c6e49; /* Grup yazısı yeşil */
        margin-bottom: 0.25rem;
        text-decoration: none; /* Alt çizgi yok */
        border-bottom: none !important; /* Alt çizgi varsa engelle */
    }

        .product-meta-details a {
            color: #2c6e49;
            text-decoration: none;
            border-bottom: none !important;
            cursor: default;
        }

            .product-meta-details a:hover {
                text-decoration: none;
            }
}


.banner {
    width: 100vw;
    height: 400px;
    background-image: url('/img/banner2.jpg'); /* Arka plan resminizi buraya koyun */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    padding: 0 15px;
    text-align: left;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Mobilde yüksekliği azalt */
@media (max-width: 576px) {
    .banner {
        height: 180px;
    }

        .banner h1 {
            font-size: 1.5rem;
        }

    .breadcrumb-custom {
        font-size: 0.9rem;
    }
}

.breadcrumb-custom a {
    color: white;
    text-decoration: underline;
}

    .breadcrumb-custom a:hover {
        color: #ddd;
        text-decoration: none;
    }

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    justify-content: left;
}

.product-btn-catalog {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    z-index: 1;
}

    .product-btn-catalog::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: var(--primary);
        transition: all 0.5s;
        z-index: -1;
    }

    .product-btn-catalog:hover {
        color: white;
    }

        .product-btn-catalog:hover::before {
            width: 100%;
        }

.contact-info {
    flex: 0 0 350px;
    background: #2c6e49;
    color: white;
    padding: 30px;
    border-radius: 10px;
}