/* Yatay taşmayı ve istenmeyen zoom-out (uzaklaşma) sorununu engellemek için */
body, html {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

/* Genel Ayarlar ve Fontlar */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #3c4858;
}

/* Ana İçerik Konteyneri */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header ve Navigasyon */
.site-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* En Üst İletişim Çubuğu */
.contact-bar {
    background-color: #f8f9fa;
    color: #555;
    padding: 8px 0;
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.contact-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-bar a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-bar a:hover {
    color: #c0392b;
}

/* WhatsApp Link Animation */
.whatsapp-link {
    animation: whatsappPulse 2s infinite;
    display: inline-block;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}
.logo img {
    display: block; /* Resmin altındaki fazlalık boşluğu kaldırır */
    height: 109px; /* Logonun yüksekliğini artırdık */
    width: auto; /* Genişlik otomatik ayarlansın */
    margin-right: 79px;
    margin-top: -5px;
}
@media (max-width: 1165px) {
    .logo img {
        height: 99px; /* Mobil için daha küçük bir yükseklik */
        margin-right: 55px; /* Mobilde sağ marjı azalt */   
    }
}
@media (max-width: 768px) {
    .logo img {
        height: 79px; /* Mobil için daha küçük bir yükseklik */
        margin-right: 15px; /* Mobilde sağ marjı kaldır */
    }
}


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

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: #3c4858;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

/* Mobil Menü Butonu (Hamburger) */
.menu-toggle {
    position: relative;
    z-index: 1002; /* Menünün üzerinde kalmalı */
    display: none; /* Varsayılan olarak gizli */
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    background-color: #2c3e50;
    position: absolute;
    height: 3px;
    width: 28px;
    transition: transform 0.3s ease, top 0.3s ease;
    border-radius: 3px;
    left: 6px;
}

.hamburger-icon {
    top: 18px;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

/* Menü açıkken hamburger ikonunu X'e dönüştür */
.menu-open .hamburger-icon { background-color: transparent; }
.menu-open .hamburger-icon::before { transform: rotate(45deg); top: 0; }
.menu-open .hamburger-icon::after { transform: rotate(-45deg); top: 0; }

/* Arka Plan Overlay */
.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.menu-open .menu-overlay { opacity: 1; visibility: visible; }


/* Ana İçerik Alanı */
main {
    padding: 40px 0;
}

/* Kart/Kutu Stili (Fiyat Listesi için) */
.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
}

.card h1, .card h2 {
    margin-top: 0;
    color: #2c3e50;
}

/* Fiyat Listesi Tablosu */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.price-table th, .price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e6e6e6;
}

.price-table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #343a40;
}

.price-table tbody tr:hover {
    background-color: #f8f9fa;
}

.price-table td:nth-child(2) { /* Fiyat sütunu */
    font-weight: bold;
    color: #27ae60;
}

.update-info {
    display: block;
    text-align: right;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e74c3c; /* Ana renk ile uyumlu */
    background-color: #fdf5f4;
    padding: 8px 15px;
    border-radius: 5px;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-widget h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-widget p {
    line-height: 1.8;
    color: #bdc3c7;
}

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

.footer-widget ul li a {
    color: #bdc3c7;
    text-decoration: none;

    display: block;
    padding: 8px 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

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

.footer-widget i {
    margin-right: 10px;
    color: #e74c3c;
}
.footer-widget p a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}
.footer-bottom a{
    color:#95a5a6;
    text-decoration: none;
}
/* =================================
   Admin Paneli Tablo Stilleri (Mobil Uyum)
   ================================= */
@media (max-width: 768px) {
    .price-table thead {
        display: none; /* Başlıkları mobilde gizle */
    }

    .price-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e6e6e6;
        border-radius: 5px;
        padding: 10px;
    }

    .price-table td {
        display: block;
        text-align: right; /* İçeriği sağa hizala */
        border-bottom: none; /* Satır altı çizgilerini kaldır */
        padding-left: 50%; /* Etiket için yer aç */
        position: relative;
    }
}

/* =================================
   Responsive Ayarlar (Mobil Uyum)
   ================================= */
@media (max-width: 768px) {
}

@media (max-width: 768px) {
    .hizmet-kategorisi ul {
        columns: 1; /* Mobilde tek sütun yap */
    }
}

/* =================================
   Ana Sayfa Hizmetler Bölümü
   ================================= */
.services-section {
    padding: 60px 0;
    background-color: #fff; /* Arka planı beyaz yaparak ayırır */
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

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

.service-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1;
}

.service-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2 sütunlu yapı */
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Küçük mobil ekranlarda tek sütun */
    }
}

/* =================================
   Fiyat Arşivi Sayfası Stilleri
   ================================= */
.archive-dates h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.archive-form select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27292.4%27%20height%3D%27292.4%27%3E%3Cpath%20fill%3D%27%23007CB2%27%20d%3D%27M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%27%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: .65em auto;
}

/* Yeni Tarih Seçici Stilleri */
.date-selector-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.date-picker-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-picker-form label {
    font-size: 0.9rem;
    color: #555;
}

.date-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    min-width: 160px;
}

.btn-secondary {
    background-color: #ecf0f1;
    color: #34495e;
    border: 1px solid #bdc3c7;
}

.btn-secondary:hover {
    background-color: #dadedf;
}

/* Buton stillerini de ekleyelim (eğer yoksa) */
.btn { display: inline-block; padding: 10px 20px; border-radius: 5px; text-decoration: none; border: none; cursor: pointer; font-weight: 500; }
.btn-primary { background-color: #e74c3c; color: #fff; }

/* =================================
   Yeniden Tasarlanmış Fiyat Listesi Sayfası
   ================================= */

.view-switcher {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    margin-top: 20px;
}

.view-switcher-header h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.view-switcher-header p {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    color: #6c757d;
}

.date-selector-container .btn .icon {
    margin-right: 8px;
}

.page-description {
    font-size: 1.1rem;
    color: #495057;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 5px solid #e74c3c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.no-data-card {
    text-align: center;
    padding: 50px 30px;
}

.no-data-card .icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.no-data-card h2 {
    font-size: 1.8rem;
    color: #e74c3c;
}

.no-data-card p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: #6c757d;
}

@media (max-width: 768px) {
    .date-selector-container {
        flex-direction: column;
        align-items: stretch;
    }
    .date-picker-form {
        flex-direction: column;
        align-items: flex-start;
    }
    .date-selector-container .btn, .date-selector-container .date-input {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* =================================
   Yeni Kategori Kart Tasarımı
   ================================= */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.category-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.category-icon {
    width: 40px;
    height: 40px;
}

.category-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #2c3e50;
}

.category-card-body {
    padding: 10px 25px 25px 25px;
    margin: 0;
    list-style: none;
}

.category-card-body li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.category-card-body li:last-child {
    border-bottom: none;
}

.category-card-body li:hover {
    background-color: #fdf5f4; /* Açık kırmızı tonu */
    border-radius: 5px;
}

.category-card-body .fiyat {
    font-weight: 600;
    color: #27ae60;
    white-space: nowrap;
    margin-left: 15px;
}

.category-card-footer {
    padding: 15px 25px;
    background-color: #f8f9fa;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.whatsapp {
    background-color: #25D366;
}

.share-btn.twitter {
    background-color: #1DA1F2;
}

.share-btn.facebook {
    background-color: #1877F2;
}

/* =================================
   Hakkımızda Sayfası Stilleri
   ================================= */

.page-hero {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-hero h1 {
    margin: 0;
    font-size: 2.8rem;
}

.page-hero p {
    margin: 10px 0 0 0;
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-section {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-image {
    flex: 0 0 40%;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.values-section {
    padding: 60px 0;
}

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

.value-card {
    background-color: #fff;
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1;
}

.value-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.cta-section {
    text-align: center;
    background-color: #fdf5f4;
    border-left: 5px solid #e74c3c;
}

.cta-section h2 {
    font-size: 2rem;
}

.cta-section .btn {
    margin: 10px;
}

@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
}

/* =================================
   İletişim Sayfası Stilleri
   ================================= */

.iletisim-kartlari {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.iletisim-karti {
    background-color: #fff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iletisim-karti:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.iletisim-karti i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.iletisim-karti h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #2c3e50;
}

.iletisim-karti a,
.iletisim-karti span {
    display: block;
    color: #3c4858;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.iletisim-karti a:hover {
    color: #e74c3c;
}

.harita-container {
    padding: 0;
    overflow: hidden; /* iframe'in kart dışına taşmasını engeller */
}

.harita-container h3 {
    padding: 20px 30px 0 30px;
}

.harita-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block; /* Altındaki boşluğu kaldırır */
    margin-top: 20px;
}

@media (max-width: 768px) {
    .iletisim-kartlari {
        grid-template-columns: 1fr;
    }
}

/* =================================
   Yeni "Neden Biz" (Features) Bölümü
   ================================= */

.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Arka plan deseni */
.features-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.05), transparent 70%);
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -20px auto 50px auto;
    font-size: 1.1rem;
    color: #6c757d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    background-color: #fdf5f4;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* =================================
   İstatistik (Sayaç) Bölümü
   ================================= */
.stats-section {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0;
}

.stats-section .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    color: #e74c3c;
}

.stat-item p {
    margin: 5px 0 0 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

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

@media (max-width: 768px) {
    .stats-section .container {
        flex-direction: column;
        gap: 40px;
    }
    .stat-item .stat-number {
        font-size: 2.8rem;
    }
}

/* =================================
   Header CTA Link (Animasyonlu Buton)
   ================================= */

.logo-area {
    display: flex;
    align-items: center;
    gap: 25px;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 25px rgba(231, 76, 60, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.header-cta-link {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    animation: pulse-animation 2.5s infinite;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Bu kuralı mobilde değiştireceğiz */
}
@media (max-width: 768px) {
    .header-cta-link {
        white-space: normal; /* Metnin sığması için sarılmasına izin ver */
        text-align: center; /* Ortala */
        padding: 8px 15px; /* Daha küçük padding */
    }
}

.header-cta-link:hover {
    background-color: #c0392b;
    animation-play-state: paused; /* Animasyonu durdur */
}

@media (max-width: 992px) {
    .site-header .container {
        flex-wrap: wrap; /* Elementlerin sığmadığında alt satıra geçmesine izin ver */
        justify-content: space-between; /* Logo ve menü butonu arasında boşluk bırak */
        gap: 15px; /* Elementler arasında boşluk bırak */
    }
    .main-nav {
        /* Menünün logonun üzerine gelmesini engelle */
        position: fixed;
        top: 0;
        right: -300px; /* Başlangıçta ekranın dışında */
        width: 300px;
        height: 100%;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1001;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        flex-direction: column;
        padding-top: 100px; /* Header yüksekliği + ekstra boşluk */
    }

    .main-nav.toggled {
        right: 0; /* Tıklandığında ekranın içine kaydır */
    }

    .main-nav ul {
        flex-direction: column;
        flex-grow: 1;
    }
    .mobile-nav-contact {
        display: block;
        padding: 20px;
    }

    .main-nav li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav a {
        padding: 15px;
        display: block;
        border: none;
    }

    .menu-toggle {
        display: block; /* Hamburger menü butonunu göster */
    }
}

.mobile-nav-contact {
    display: none; /* Masaüstünde gizli */
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: row; /* Tekrar yatay yap, ama space-between ile */
        justify-content: space-between;
        align-items: center;
    }
    .logo-area {
        gap: 15px; /* Logo ve CTA butonu arası boşluk */
    }
}

.page-title-on-grid {
    grid-column: 1 / -1; /* Başlığın grid'in tamamını kaplamasını sağlar */
    margin-bottom: 20px;
    font-size: 2.2rem;
}

/* =================================
   Blog Sayfası Stilleri
   ================================= */

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px; /* Ana içerik ve sidebar */
    gap: 40px;
}

.blog-post-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Kartın üzerine gelince resmi büyüt */
.blog-post-card:hover .post-image {
    transform: scale(1.08);
}

.blog-post-card.featured {
    display: flex;
    flex-direction: column;
}

.post-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease; /* Resim animasyonu için geçiş efekti */
}

.featured .post-image {
    height: 350px;
}

.post-content {
    padding: 25px;
}

.post-category {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 15px;
}

.post-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.featured .post-title {
    font-size: 2rem;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #e74c3c;
}

.post-excerpt {
    margin-bottom: 20px;
    color: #6c757d;
}

.read-more-btn {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Sidebar */
.sidebar-widget {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    margin-top: 0;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

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

.widget-list li a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #3c4858;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.widget-list li:last-child a {
    border-bottom: none;
}

.widget-list li a:hover {
    color: #e74c3c;
}

/* Blog Detay Sayfası */
.single-post .post-header { text-align: center; margin-bottom: 30px; }
.single-post .post-meta { font-size: 0.9rem; color: #777; margin-top: 15px; }
.single-post .featured-image { width: 100%; border-radius: 12px; margin-bottom: 30px; }
.single-post .post-content-full { font-size: 1.1rem; line-height: 1.8; }
.single-post .post-content-full h2 { font-size: 1.8rem; margin-top: 40px; }

/* Responsive */
@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr; /* Tek sütun */
    }
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    .related-posts-grid {
        /* Mobilde de tek sütun olsun */
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    .featured .post-image {
        height: 250px;
    }

    /* Kategori sayfasındaki kartların mobilde tek sütun olması için */
    .kategori-sayfasi .blog-posts-grid {
        grid-template-columns: 1fr;
    }

}

/* =================================
   Blog Detay - Önceki/Sonraki Navigasyon
   ================================= */

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.post-navigation .nav-link {
    text-decoration: none;
    display: block;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.post-navigation .nav-link {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: #fff;
    min-height: 120px;
    display: flex;
    align-items: flex-end;
}

.nav-link-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0) 100%);
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease;
}

.post-navigation .nav-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.post-navigation .nav-link:hover .nav-link-overlay {
    background: linear-gradient(to top, rgba(231, 76, 60, 0.9) 0%, rgba(0,0,0,0.3) 100%);
}

.post-navigation span {
    font-size: 0.9rem;
    color: #777;
    display: block;
    margin-bottom: 8px;
}

.post-navigation h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.4;
}

.post-navigation .next-post {
    text-align: right;
}

@media (max-width: 768px) {
    .post-navigation {
        flex-direction: column;
    }
}

/* =================================
   Sayfalama (Pagination) Stilleri
   ================================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.pagination .page-link {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #3c4858;
    background-color: #fff;
    transition: all 0.3s ease;
}

.pagination .page-link:hover,
.pagination .page-link.active {
    background-color: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* =================================
   Müşteri Yorumları Bölümü
   ================================= */

.testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Arka planı hafif gri yapar */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #fff; /* Kartların arka planını beyaz yapar */
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid #e74c3c; /* Vurgu çizgisini üste alır */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07); /* Gölgeyi daha belirgin yapar */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.1);
}

.testimonial-stars {
    color: #f39c12; /* Yıldız rengi */
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: #3c4858;
    margin-top: 0;
    margin-bottom: 20px;
    flex-grow: 1; /* Kartların aynı yükseklikte olmasını sağlar */
}

.testimonial-author {
    text-align: right;
}

.author-name {
    font-weight: bold;
    color: #2c3e50;
}

.author-source {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
}

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

/* =================================
   Sıkça Sorulan Sorular (SSS) Bölümü
   ================================= */

.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #e9ecef;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #e74c3c;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer p {
    margin: 0;
    padding: 0 10px 20px 10px;
    color: #6c757d;
    line-height: 1.8;
}

/* =================================
   WhatsApp Sticky Buton
   ================================= */
.whatsapp-sticky-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
    transition: transform 0.3s ease;
}
.whatsapp-sticky-button:hover {
    transform: scale(1.1);
}

/* =================================
   Blog Kenar Çubuğu - Aktif Link
   ================================= */
.widget-list li a.active {
    color: #e74c3c;
    font-weight: bold;
}

/* =================================
   Blog Detay - İlgili Yazılar
   ================================= */

.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.related-posts .section-title {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.related-posts-grid {
    grid-template-columns: repeat(4, 1fr); /* Masaüstünde 4 sütunlu yapı */
}

.related-posts-grid .post-title {
    font-size: 1.2rem; /* Kart içindeki başlık boyutu */
}

.related-posts-grid .post-image {
    height: 180px; /* Resim yüksekliğini ayarla */
}

/* İlgili Yazılar Mobil Uyumluluk */
@media (max-width: 992px) { /* Tablet boyutu */
    .related-posts-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) { /* Mobil boyutu */
    .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =================================
   Blog Detay - Yazar/Tarih Metası
   ================================= */

.single-post .post-meta {
    display: flex;
    gap: 25px; /* Öğeler arası boşluk */
    justify-content: center;
    font-size: 0.95rem;
    color: #777;
    margin-top: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px; /* İkon ve metin arası boşluk */
}

.meta-item i {
    color: #e74c3c; /* Ana tema rengi */
}

/* =================================
   Blog İçeriği Okunabilirlik Stilleri
   ================================= */

.post-content-full {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content-full p {
    margin-bottom: 1.5em;
}

.post-content-full h2,
.post-content-full h3,
.post-content-full h4 {
    color: #2c3e50;
    line-height: 1.4;
    margin-top: 2em;
    margin-bottom: 1em;
}

.post-content-full h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.4em;
}

.post-content-full h3 {
    font-size: 1.5rem;
}

.post-content-full h4 {
    font-size: 1.2rem;
}

.post-content-full ul,
.post-content-full ol {
    padding-left: 25px;
    margin-bottom: 1.5em;
}

.post-content-full li {
    margin-bottom: 0.8em;
}

.post-content-full a {
    color: #e74c3c;
    text-decoration: underline;
    font-weight: 500;
}

.post-content-full blockquote {
    margin: 2em 0;
    padding: 15px 25px;
    background-color: #f8f9fa;
    border-left: 5px solid #e74c3c;
    font-style: italic;
    font-size: 1.1rem;
    color: #6c757d;
}

/* =================================
   Blog Detay - Paylaşım Butonları
   ================================= */

.share-buttons-container {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.share-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #2c3e50;
}

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

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.share-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.share-button.whatsapp { background-color: #25D366; }
.share-button.twitter { background-color: #1DA1F2; }
.share-button.facebook { background-color: #1877F2; }

/* =================================
   Blog Detay - Paylaşım Butonları
   ================================= */

.share-buttons-container {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.share-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #2c3e50;
}

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

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.share-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* =================================
   Fiyat Listesi - Teklif Butonları
   ================================= */

.category-card-body .urun-adi {
    flex-grow: 1;
    margin-right: 15px; /* Ürün adı ile fiyat arasında boşluk bırak */
}

.fiyat-ve-teklif {
    display: flex;
    align-items: center;
    gap: 15px; /* Fiyat ve buton arası boşluk */
    flex-shrink: 0; /* Küçülmesini engelle */
}

.category-card-body .fiyat {
    margin-left: 0; /* Eski boşluğu sıfırla */
}

.teklif-al-btn {
    background-color: transparent;
    color: #25D366; /* WhatsApp yeşili */
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.4rem; /* İkon boyutunu biraz büyütelim */
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.teklif-al-btn:hover {
    background-color: #25D366;
    color: #fff;
    transform: scale(1.1);
}

/* grecaptcha widgetimizi kapatiyoruz */
.grecaptcha-badge {
    visibility: hidden;
}
