/* Combined CSS - AdanaCncsi.com */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.header-top {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.header-top-left a {
    color: #E53E3E;
    text-decoration: none;
    margin-right: 15px;
    font-weight: 500;
}

.header-top-right a {
    color: #666;
    text-decoration: none;
    margin-left: 15px;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header-top-right a:hover {
    background: #E53E3E;
    color: white;
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #E53E3E;
    text-decoration: none;
    min-width: 200px;
    max-width: 500px;
}

.logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo i {
    margin-right: 10px;
    background: #E53E3E;
    color: white;
    padding: 8px;
    border-radius: 8px;
}

.logo:hover {
    color: #c73030;
    text-decoration: none;
}

.search-area {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #E53E3E;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #E53E3E;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #c73030;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions a {
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.header-actions a:hover {
    background: #f8f9fa;
    color: #E53E3E;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #E53E3E 0%, #c73030 50%, #a02828 100%);
    padding: 0;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.3);
    border-bottom: 3px solid #fff;
    position: relative;
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
    will-change: transform;
    transform: translateZ(0);
    pointer-events: none;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.navbar .container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 2px;
}

.navbar li {
    position: relative;
    overflow: hidden;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    background: rgba(255,255,255,0.05);
    border-radius: 0;
    backdrop-filter: blur(10px);
}

.navbar a::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 ease;
}

.navbar a:hover::before {
    left: 100%;
}

.navbar a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-radius: 8px 8px 0 0;
}

.navbar a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
    box-shadow: inset 0 -3px 0 #fff;
    font-weight: 700;
}

.navbar a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.navbar a:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 15px;
    margin: 20px 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* Product Detail Layout */
.product-detail .main-layout {
    grid-template-columns: 180px 1fr 180px;
    gap: 20px;
}

/* Sidebar Styles */
.sidebar {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    height: fit-content;
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.sidebar:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Content Area */
.content-area {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.section-header {
    background: linear-gradient(135deg, #E53E3E, #c73030);
    color: white;
    padding: 20px 30px;
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1rem;
    margin: 5px 0 0 0;
    opacity: 0.9;
}

.section-content {
    padding: 30px;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 100%;
}

.product-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #E53E3E;
}

.product-image-container {
    height: 180px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    background: white;
    border-radius: 0 0 8px 8px;
}

.product-title {
    font-size: 11px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    height: 2.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.1;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 12px;
    text-align: center;
}

.product-btn {
    display: block;
    width: 100%;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.product-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    background: linear-gradient(135deg, #E53E3E, #c73030);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.2);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(229, 62, 62, 0.4);
    border-color: rgba(255,255,255,0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.95;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.service-description {
    font-size: 0.95rem;
    opacity: 0.92;
    margin-bottom: 20px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #E53E3E;
}

/* Product Detail Page */
.product-detail .header-top,
.product-detail .header-main,
.product-detail .navbar {
    display: block !important;
    visibility: visible !important;
}

.product-detail .content-area {
    padding: 20px;
}

.product-detail .row {
    margin: 0;
}

.product-detail .col-lg-6 {
    padding: 15px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.product-price .price-current {
    font-size: 2rem;
    font-weight: 700;
    color: #E53E3E;
}

.product-price .price-old {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.shipping-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.product-actions .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Inline Styles Fix */
.main-h1 {
    font-size: 2rem;
    color: #E53E3E;
    margin-bottom: 2rem;
    text-align: center;
}

.product-image-fix {
    height: 120px;
    object-fit: cover;
}

.service-image-fix {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.related-link {
    display: inline-block;
    margin: 0.25rem 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #e9ecef;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875rem;
}

.related-link:hover {
    background: #dee2e6;
    text-decoration: none;
}

/* Karakter Kodlama ve Font Sorunu Düzeltmesi */
.card-header h5 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
}

.bg-danger h5 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

.sidebar-left .card-header h5 {
    font-family: Arial, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    word-break: normal !important;
}

/* Ürün Font Boyutu Acil Düzeltme */
.product-title {
    font-size: 10px !important;
    font-weight: normal !important;
    line-height: 1.1 !important;
    height: 22px !important;
    margin-bottom: 5px !important;
}

.product-card .product-title {
    font-size: 10px !important;
}

.products-grid .product-card .product-title {
    font-size: 10px !important;
}

/* SEO Optimized CSS */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    border-radius: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    padding: 0 0.5rem;
    font-weight: bold;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    color: #dc3545;
    border-bottom: 3px solid #dc3545;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.5rem;
    color: #495057;
    margin-top: 2rem;
}

h3 {
    font-size: 1.25rem;
    color: #6c757d;
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 200px 1fr 200px;
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 10px;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .content-area {
        order: 1;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .navbar ul {
        display: none;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .main-layout {
        margin: 15px 5px;
        gap: 15px;
    }
}