/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Header */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
}

/* Menü Stilleri */
.navbar-nav .nav-link {
    font-weight: 700;
    color: #4a4a4a !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00a651 !important;
}

.navbar-nav .nav-item.active .nav-link {
    color: #00a651 !important;
}

/* Ana Sayfa */
.jumbotron {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
}

/* Ürünler */
.card {
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Ürün Kartları */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image-wrapper {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #fff;
    overflow: hidden;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
}

.product-card .card-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
}

/* Blog */
.blog-post {
    margin-bottom: 30px;
}

.blog-post-meta {
    margin-bottom: 20px;
    color: #6c757d;
}

/* İletişim */
.contact-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 5px;
}

/* Hakkımızda Bölümü */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4a4a4a, #00a651);
}

.about-section h2 {
    color: #4a4a4a;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #00a651;
    transition: width 0.3s ease;
}

.about-section:hover h2::after {
    width: 100%;
}

.about-section .lead {
    color: #00a651;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-section .img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.about-section .img-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-section .img-fluid {
    transition: all 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-section .img-wrapper:hover .img-fluid {
    transform: scale(1.05);
}

.about-section .img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 74, 74, 0.1) 0%, rgba(0, 166, 81, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-section .img-wrapper:hover::after {
    opacity: 1;
}

/* Footer */
footer {
    margin-top: 50px;
    padding-top: 30px;
    background-color: #343a40;
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #f8f9fa;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem;
    }
    
    .card-img-top {
        height: 150px;
    }
}

/* Animasyonlar */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Özel Komponentler */
.category-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 20px;
}

/* Form Stilleri */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Sayfalama */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: #007bff;
}

.page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* Buton Stilleri */
.btn-primary, .btn-outline-primary {
    background-color: #4a4a4a !important;
    border-color: #4a4a4a !important;
    color: #fff !important;
    transition: all 0.3s ease;
    padding: 8px 25px;
}

.btn-primary:hover, .btn-outline-primary:hover {
    background-color: #00a651 !important;
    border-color: #00a651 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 166, 81, 0.2);
}

.btn-primary:active, .btn-outline-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 166, 81, 0.2);
}

/* Slider Buton */
.btn-slider {
    background: linear-gradient(135deg, #4a4a4a, #666666) !important;
    border-color: transparent !important;
    color: #fff !important;
    padding: 12px 35px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease !important;
}

.btn-slider:hover {
    background: linear-gradient(135deg, #00a651, #009548) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 166, 81, 0.25);
    color: #fff !important;
}

.btn-slider:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 166, 81, 0.25);
}

/* Teknik Bilgiler Kartları */
.technical-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
}

.technical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.technical-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f8f9fa;
    overflow: hidden;
}

.technical-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.technical-card:hover .technical-image img {
    transform: scale(1.05);
}

.technical-card .card-title {
    color: #4a4a4a;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00a651;
}

.technical-card .card-text {
    color: #666;
    line-height: 1.6;
}

.technical-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    white-space: pre-line;
}

a:hover .technical-card .btn-outline-primary {
    background-color: #00a651;
    border-color: #00a651;
    color: #fff;
}

/* Ekmek kırıntıları */
.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #00a651;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #008541;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}
