/* =====================================================
   Matbaa Tanıtım Sitesi - Ana CSS
   Modern, Kurumsal ve SEO Odaklı Tasarım
   ===================================================== */

:root {
    --primary-color: #c41e3a;
    --primary-dark: #9a1830;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --whatsapp-color: #25d366;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 5px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar */
.top-bar {
    background: var(--bg-dark);
    padding: 8px 0;
    font-size: 13px;
}

.top-text {
    color: rgba(255,255,255,0.8);
}

.top-link {
    color: #fff;
    margin-left: 20px;
    font-weight: 500;
}

.top-link:hover {
    color: var(--whatsapp-color);
}

.top-link i {
    margin-right: 5px;
}

.whatsapp-link:hover {
    color: var(--whatsapp-color);
}

/* Language Selector - Top Bar */
.top-bar .language-selector {
    position: relative;
    z-index: 1050;
}

.top-bar .dil-secici .btn {
    background: transparent;
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    padding: 4px 12px;
    font-size: 13px;
}

.top-bar .dil-secici .btn:hover,
.top-bar .dil-secici .btn:focus {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.top-bar .dil-secici .dropdown-menu {
    min-width: 140px;
    padding: 5px 0;
    margin-top: 5px;
    z-index: 1060;
}

.top-bar .dil-secici .dropdown-item {
    padding: 8px 15px;
    font-size: 14px;
}

.top-bar .dil-secici .dropdown-item img {
    margin-right: 8px;
}

.top-bar .dil-secici .dropdown-item.active {
    background-color: var(--primary-color);
}

.top-bar .dil-secici .dropdown-item:hover:not(.active) {
    background-color: #f8f9fa;
}

/* Language Selector - Inline Style */
.top-bar .dil-secici-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar .dil-secici-inline .dil-link {
    color: rgba(255,255,255,0.7);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    text-transform: uppercase;
    transition: var(--transition);
}

.top-bar .dil-secici-inline .dil-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.top-bar .dil-secici-inline .dil-link.aktif {
    color: #fff;
    background: var(--primary-color);
    font-weight: 600;
}

.top-bar .dil-secici-inline .dil-link img {
    width: 18px;
    height: auto;
    border-radius: 2px;
}

.top-bar .dil-secici-inline .dil-ayirici {
    color: rgba(255,255,255,0.3);
    font-size: 10px;
}

/* Header */
.main-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img,
.logo-img {
    max-height: 60px;
    transition: var(--transition);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    display: inline-block;
}

.logo:hover .logo-text {
    color: var(--primary-dark);
}

.logo:hover img {
    transform: scale(1.02);
}

.search-form .form-control {
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    padding: 10px 15px;
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-form .btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 10px 20px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.search-form .btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.header-contact {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.header-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.header-contact .contact-item i {
    font-size: 28px;
    color: var(--primary-color);
}

.header-contact .contact-item small {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

.header-contact .contact-item strong {
    font-size: 18px;
    color: var(--secondary-color);
}

.navbar-toggler {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: var(--radius);
    font-size: 18px;
}

/* Navigation */
.main-nav {
    background: var(--primary-color);
}

/* Desktop: nav-menu ve nav-social yan yana */
.mobile-nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu > li > a {
    display: block;
    color: #fff;
    padding: 15px 20px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    background: rgba(0,0,0,0.15);
}

.nav-menu > li > a i {
    margin-right: 5px;
}

.nav-menu .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 10px 0;
    min-width: 220px;
}

.nav-menu .dropdown-menu a {
    padding: 8px 20px;
    color: var(--text-color);
    font-size: 14px;
}

.nav-menu .dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-social {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 5px;
}

.nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.nav-social a:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 400px);
}

.page-section {
    padding: 40px 0;
}

/* Sidebar */
.sidebar {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.sidebar-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 16px;
}

.sidebar-header i {
    margin-right: 10px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.sidebar-menu li a i {
    margin-right: 10px;
    font-size: 10px;
    color: var(--primary-color);
    transition: var(--transition);
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.sidebar-menu li a:hover i,
.sidebar-menu li.active a i {
    margin-right: 15px;
}

/* Content Area */
.content-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-bottom: 0;
}

.content-header h1 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.content-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.content-body {
    padding: 25px;
}

/* Category Cards (Ana Sayfa) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 20px;
}

.category-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.category-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card .category-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3,
.category-card .category-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    display: block;
}

.category-card:hover h3,
.category-card:hover .category-title {
    color: var(--primary-color);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.product-card .product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--bg-light);
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-card .product-info {
    padding: 15px;
}

.product-card .product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-card .product-title:hover {
    color: var(--primary-color);
}

.product-card .product-actions {
    display: flex;
    gap: 10px;
}

.product-card .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: var(--radius);
}

.btn-detail {
    background: var(--primary-color);
    color: #fff;
    border: none;
}

.btn-detail:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: #fff;
    border: none;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.product-gallery {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.product-gallery .main-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.product-gallery .main-image img {
    width: 100%;
    height: auto;
}

.product-sidebar {
    position: sticky;
    top: 100px;
}

.product-info-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 20px;
}

.product-info-box .box-header {
    background: var(--secondary-color);
    color: #fff;
    padding: 15px 20px;
    font-weight: 600;
}

.product-info-box .box-body {
    padding: 20px;
}

.product-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-info-box ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
}

.product-info-box ul li:last-child {
    border-bottom: none;
}

.product-info-box ul li i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* SEO Content Section */
.seo-content {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.seo-content h2 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.seo-content h3 {
    font-size: 18px;
    color: var(--text-color);
    margin: 20px 0 10px;
}

.seo-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.seo-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.seo-content ul li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin: 0;
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 40px 0;
    color: #fff;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* Contact Page */
.contact-info-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-info-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Footer */
.main-footer {
    background: var(--bg-dark);
    color: #fff;
    margin-top: 50px;
}

.footer-top {
    padding: 50px 0 30px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-text {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact li a {
    color: rgba(255,255,255,0.7);
}

.footer-contact li a:hover {
    color: #fff;
}

/* Ziyaretçi Sayacı */
.footer-stats {
    background: rgba(0,0,0,0.15);
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-stats .stats-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-stats .stat-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.footer-stats .stat-item strong {
    color: #fff;
    font-size: 16px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    font-size: 14px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

/* Alert Messages */
.alert {
    border: none;
    border-radius: var(--radius);
    padding: 15px 20px;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 991.98px) {
    .main-nav {
        padding: 0;
    }

    /* Mobil menü */
    .mobile-nav-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .mobile-nav-menu.active {
        max-height: 600px;
        overflow-y: auto;
    }

    /* Mobil menü içerik padding - header altında kalmasın */
    .mobile-nav-menu .nav-menu {
        padding-top: 10px;
    }

    /* Hamburger ikon animasyonu */
    .navbar-toggler {
        transition: transform 0.3s ease;
    }

    .navbar-toggler.active {
        background: var(--secondary-color);
    }

    .navbar-toggler.active i {
        transform: rotate(90deg);
    }

    .navbar-toggler i {
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .nav-menu {
        flex-direction: column;
        padding: 15px;
    }

    .nav-menu > li > a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-social {
        margin: 15px 0 0;
        justify-content: center;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    /* Top Bar - Mobil için daha büyük dokunma alanı */
    .top-bar {
        padding: 10px 0;
    }

    .top-bar .top-link {
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
        margin: 2px 4px;
        font-size: 14px;
        background: rgba(255,255,255,0.1);
        border-radius: 6px;
    }

    .top-bar .top-link i {
        margin-right: 6px;
        font-size: 16px;
    }

    /* Dil seçici - Mobil için daha büyük bayraklar ve alanlar */
    .top-bar .dil-secici-inline {
        gap: 4px;
    }

    .top-bar .dil-secici-inline .dil-link {
        padding: 8px 10px;
        font-size: 13px;
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .top-bar .dil-secici-inline .dil-link img {
        width: 24px;
        height: auto;
    }

    .top-bar .dil-secici-inline .dil-ayirici {
        display: none;
    }

    .top-bar .language-selector {
        margin-left: 0 !important;
        margin-top: 10px;
        display: block;
        width: 100%;
    }

    .top-bar .dil-secici-inline {
        justify-content: center;
    }

    .sidebar {
        margin-bottom: 25px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .page-header {
        padding: 25px 0;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 575.98px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-card .product-actions {
        flex-direction: column;
    }
}

/* =====================================================
   Ürün Galeri Stilleri (Lightbox)
   ===================================================== */
.urun-galeri {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
}

.urun-galeri h5 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.urun-galeri h5 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.galeri-grid a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.galeri-grid a:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

.galeri-resim {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.galeri-grid a:hover .galeri-resim {
    opacity: 0.9;
}

/* Ürün Özellikleri */
.urun-ozellikler {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    height: 100%;
    box-shadow: var(--shadow);
}

.urun-ozellikler h5 {
    color: var(--secondary-color);
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.urun-ozellikler h5 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.ozellik-listesi {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ozellik-item {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    border-radius: 6px;
    margin: 0 -10px;
}

.ozellik-item:last-child {
    border-bottom: none;
}

.ozellik-item:hover {
    background: rgba(196, 30, 58, 0.05);
}

.ozellik-ikon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-right: 12px;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.ozellik-baslik {
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 8px;
    white-space: nowrap;
    font-size: 14px;
}

.ozellik-deger {
    color: var(--text-color);
    flex: 1;
    font-size: 14px;
}

/* Mobilde özellikler alt alta */
@media (max-width: 991.98px) {
    .urun-ozellikler {
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {
    .ozellik-item {
        flex-wrap: wrap;
    }

    .ozellik-ikon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .ozellik-baslik {
        font-size: 13px;
    }

    .ozellik-deger {
        width: 100%;
        margin-left: 44px;
        margin-top: 4px;
        font-size: 13px;
    }
}

/* Ürün İletişim Butonu */
.urun-iletisim {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.urun-iletisim .btn-lg {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
}

/* Lightbox Özelleştirme */
.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.8;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}

.lb-data .lb-caption {
    font-size: 14px;
    font-weight: 500;
}

.lb-data .lb-number {
    color: #999;
}

/* Responsive Galeri */
@media (max-width: 767.98px) {
    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .galeri-resim {
        height: 140px;
    }
}

@media (max-width: 575.98px) {
    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeri-resim {
        height: 120px;
    }
}

/* =====================================================
   Teklif Formu Stilleri
   ===================================================== */
.teklif-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.teklif-info p {
    margin: 0;
    color: var(--text-color);
}

.teklif-info i {
    margin-right: 8px;
}

.teklif-form .form-label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
}

.teklif-form .form-control,
.teklif-form .form-select {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.teklif-form .form-control:focus,
.teklif-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.teklif-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Honeypot gizle */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Teklif sayfası iletişim kutuları */
.teklif-contact {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.contact-mini {
    padding: 15px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: var(--transition);
}

.contact-mini:hover {
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-mini i {
    font-size: 28px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.contact-mini.whatsapp i {
    color: var(--whatsapp-color);
}

.contact-mini span {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-mini a {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
}

.contact-mini a:hover {
    color: var(--primary-color);
}

/* Ürün sayfası butonları yan yana */
.urun-iletisim {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.urun-iletisim .btn-lg {
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
}

@media (max-width: 575.98px) {
    .urun-iletisim {
        flex-direction: column;
    }

    .urun-iletisim .btn-lg {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   Arama Sonuçları Stilleri
   ===================================================== */
.search-results .search-header h1 {
    color: var(--secondary-color);
}

.search-form-large .form-control {
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
}

.search-form-large .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-form-large .btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    border: 2px solid var(--primary-color);
}

.search-result-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.search-result-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.search-result-item img {
    border-radius: var(--radius);
    max-height: 150px;
    object-fit: cover;
    width: 100%;
}

.search-result-item h3 a {
    color: var(--secondary-color);
}

.search-result-item h3 a:hover {
    color: var(--primary-color);
}

.no-image-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 40px;
}

@media (max-width: 767.98px) {
    .search-result-item .col-md-3 {
        margin-bottom: 15px;
    }
}

/* =====================================================
   SEO İçerik - Okuma Süresi ve İçindekiler
   ===================================================== */

/* Okuma Süresi */
.reading-info {
    margin-bottom: 25px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.reading-info .read-time {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.reading-info .read-time i {
    color: var(--primary-color);
    margin-right: 6px;
}

/* İçindekiler Kutusu */
.table-of-contents {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.table-of-contents h4 {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-of-contents h4::before {
    content: '\f03a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 14px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.table-of-contents ul li:last-child {
    margin-bottom: 0;
}

.table-of-contents ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 12px;
    top: 2px;
}

.table-of-contents ul li a {
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.table-of-contents ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Responsive */
@media (max-width: 767.98px) {
    .reading-info {
        display: flex;
        margin-bottom: 20px;
    }

    .table-of-contents {
        padding: 15px 20px;
        margin-bottom: 25px;
    }

    .table-of-contents h4 {
        font-size: 15px;
    }

    .table-of-contents ul li a {
        font-size: 13px;
    }
}

/* Anchor link offset - sticky header için */
.seo-content h2[id],
.seo-content h3[id],
.seo-content h4[id],
h2[id],
h3[id],
h4[id] {
    scroll-margin-top: 150px;
}

/* =====================================================
   404 Hata Sayfası
   ===================================================== */

.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.error-page {
    padding: 40px 20px;
}

.error-icon {
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.error-code {
    font-size: 140px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.error-text {
    font-size: 16px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 30px;
}

.error-search {
    max-width: 450px;
    margin: 0 auto 30px;
}

.search-form-404 .input-group {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.search-form-404 .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 16px;
}

.search-form-404 .btn {
    padding: 15px 25px;
}

.error-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-suggestions {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.error-suggestions h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.suggestion-item {
    display: block;
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-decoration: none;
}

.suggestion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.suggestion-item img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.suggestion-item .no-image {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: var(--radius);
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 30px;
}

.suggestion-item span {
    display: block;
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    .error-code {
        font-size: 100px;
    }

    .error-title {
        font-size: 24px;
    }

    .error-icon {
        font-size: 60px;
    }

    .error-buttons .btn {
        width: 100%;
    }
}

/* =====================================================
   MOBİL SIDEBAR - Slide-in Menü
   ===================================================== */

/* Mobil Sidebar Toggle Butonu */
.sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 15px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--secondary-color);
}

.sidebar-toggle i {
    font-size: 16px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobil Sidebar Kapatma Butonu */
.sidebar-close {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.sidebar-close:hover {
    background: rgba(255,255,255,0.3);
}

/* Mobil Görünüm */
@media (max-width: 991.98px) {
    .sidebar-toggle {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1035;
        margin: 0;
        width: 100%;
        border-radius: 0;
        padding: 15px 20px;
        box-shadow: 0 -3px 15px rgba(0,0,0,0.2);
        animation: sidebarPulse 2s ease-in-out 3;
    }

    .sidebar-toggle i {
        animation: sidebarBounce 1s ease-in-out 5;
    }

    /* Sidebar toggle için sayfa alt boşluğu */
    .main-content {
        padding-bottom: 60px;
    }

    /* WhatsApp butonunu biraz yukarı al */
    .whatsapp-float {
        bottom: 70px !important;
    }
}

/* Sidebar Toggle Animasyonları */
@keyframes sidebarPulse {
    0%, 100% {
        box-shadow: 0 -3px 15px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 -3px 25px rgba(102, 126, 234, 0.6);
    }
}

@keyframes sidebarBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100%;
        z-index: 1050;
        border-radius: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        margin-bottom: 0;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar .sidebar-header {
        position: relative;
        padding-right: 50px;
    }

    .sidebar-close {
        display: block;
    }

    .sidebar-menu {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
}

/* RTL Desteği */
[dir="rtl"] .sidebar {
    left: auto;
    right: -300px;
}

[dir="rtl"] .sidebar.active {
    right: 0;
    left: auto;
}

[dir="rtl"] .sidebar-close {
    right: auto;
    left: 10px;
}

[dir="rtl"] .sidebar-header i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .sidebar-menu li a i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .sidebar-menu li a:hover,
[dir="rtl"] .sidebar-menu li.active a {
    padding-left: 20px;
    padding-right: 25px;
}

[dir="rtl"] .sidebar-menu li a:hover i,
[dir="rtl"] .sidebar-menu li.active a i {
    margin-right: 0;
    margin-left: 15px;
}
