﻿/* === Genel Reset & Typography === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fdfdfd;
}

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* === Header === */
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.site-logo img {
    height: auto;
    max-height: 80px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li + li {
    margin-left: 24px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}

    .main-nav a:hover {
        color: #e60023;
    }

/* === Contact & Toggle === */
.header-contact {
    display: flex;
    align-items: center;
}

    .header-contact a {
        display: flex;
        align-items: center;
        color: #333;
        margin-left: 16px;
        text-decoration: none;
        transition: color .2s;
    }

        .header-contact a i {
            margin-right: 6px;
        }

        .header-contact a:hover {
            color: #e60023;
        }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* === Mobile Nav === */
.mobile-nav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background: #fff;
    overflow-x: hidden;
    transition: width .3s ease;
    z-index: 1100;
    padding-top: 60px;
}

    .mobile-nav .close-btn {
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 0 20px;
    }

    .mobile-nav li + li {
        margin-top: 16px;
    }

    .mobile-nav a {
        text-decoration: none;
        color: #333;
        font-size: 1.1rem;
        transition: color .2s;
    }

        .mobile-nav a:hover {
            color: #e60023;
        }

/* === Benefit Bar === */
.benefit-bar {
    background: #fafafa;
    padding: 16px 0;
}

    .benefit-bar ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        justify-content: space-between;
        align-items: center;
    }

    .benefit-bar li {
        flex: 1 1 50%;
        text-align: center;
        font-weight: 500;
        padding: 8px 0;
    }

        .benefit-bar li i {
            margin-right: 8px;
            color: #e60023;
        }

/* === Footer === */
.site-footer {
    background: #222;
    color: #ccc;
    padding: 40px 0 20px;
    font-size: .95rem;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.widget {
    width: 100%;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .widget {
        width: 25%;
        padding: 0 15px;
    }
}

.widget h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.widget p, .widget ul {
    color: #ccc;
    line-height: 1.5;
}

    .widget ul li + li {
        margin-top: 8px;
    }

.widget a {
    color: #ccc;
    text-decoration: none;
    transition: color .2s;
}

    .widget a:hover {
        color: #fff;
    }

.social-links a {
    margin-right: 12px;
    color: #ccc;
    font-size: 1.2rem;
    transition: color .2s;
}

    .social-links a:hover {
        color: #e60023;
    }

.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding-top: 12px;
}

    .footer-bottom p {
        margin: 0;
        color: #777;
    }

/* === Responsive Breakpoints === */
@media (max-width: 991px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .benefit-bar ul {
        flex-direction: column;
    }

    .benefit-bar li {
        flex: 1 1 100%;
        margin-bottom: 8px;
    }
}
/* Grid Container */
.cp-product-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0px 10px 0px;
}

/* Her bir ürün kartı */
.cp-product-card {
    padding: 12px;
    width: 100%;
}

@media (min-width: 768px) {
    .cp-product-card {
        width: 33.3333%;
    }
}

/* Link ve içerik ortalaması */
.cp-product-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

/* Görsel kutusu: 4:3 oran */
.cp-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 900/1200 = %75 */
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 6px;
}

    /* Görsel ayarları */
    .cp-image-wrap img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Başlık */
.cp-product-title {
    margin: 10px 0 6px;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
}

/* Fiyat */
.cp-product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #e60023;
    text-align: center;
}
/* === Makale İçeriği (Article Styling) === */
#makale {
    max-width: 1200px; /* Satır uzunluğunu ideal seviyede tutar */
    margin: 40px auto; /* Ortalar ve üst-alt boşluk verir */
    padding: 0 15px; /* Kenarlarda nefeslik */
    font-size: 1rem; /* OKU kolaylığı için temel boyut */
    line-height: 1.8; /* Satır yüksekliği */
    color: #333; /* Yumuşak siyah tonu */
}

    /* Başlıklar */
    #makale h1,
    #makale h2,
    #makale h3,
    #makale h4 {
        margin: 2em 0 0.5em;
        font-weight: 600;
        line-height: 1.3;
        color: #111;
    }

    #makale h1 {
        font-size: 2.25rem;
    }

    #makale h2 {
        font-size: 1.75rem;
    }

    #makale h3 {
        font-size: 1.5rem;
    }

    #makale h4 {
        font-size: 1.25rem;
    }

    /* Paragraflar */
    #makale p {
        margin-bottom: 1.25em;
    }

    /* Vurgu (bold) ve italik */
    #makale strong,
    #makale b {
        font-weight: 600;
    }

    #makale em,
    #makale i {
        font-style: italic;
    }

    /* Listeler */
    #makale ul,
    #makale ol {
        margin: 1em 0 1em 1.5em;
    }

    #makale li {
        margin-bottom: 0.5em;
    }

    /* Bağlantılar */
    #makale a {
        color: #e60023;
        text-decoration: underline;
        transition: color .2s;
    }

        #makale a:hover {
            color: #b2001a;
        }

    /* Alıntılar */
    #makale blockquote {
        margin: 1.5em 0;
        padding: 0.75em 1em;
        border-left: 4px solid #e60023;
        background: #f9f1f0;
        color: #444;
    }

    /* Kod parçacıkları */
    #makale pre,
    #makale code {
        font-family: Menlo, Consolas, monospace;
        background: #f5f5f5;
        padding: 0.25em 0.5em;
        border-radius: 4px;
    }

    /* Tablolar */
    #makale table {
        width: 100%;
        border-collapse: collapse;
        margin: 1.5em 0;
    }

    #makale th,
    #makale td {
        border: 1px solid #ddd;
        padding: 0.75em 1em;
        text-align: left;
    }

    #makale th {
        background: #f2f2f2;
        font-weight: 600;
    }

/* Responsive Başlık ve Metin */
@media (max-width: 768px) {
    #makale {
        padding: 0 10px;
    }

        #makale h1 {
            font-size: 1.75rem;
        }

        #makale h2 {
            font-size: 1.5rem;
        }

        #makale h3 {
            font-size: 1.25rem;
        }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 10000;
    transition: background .2s;
}

    .whatsapp-float:hover {
        background: #1ebe5b;
    }
/* === Mobile Header Fix === */
@media (max-width: 768px) {
    .header-inner {
        display: flex;
        justify-content: center; /* Logo ortada */
        align-items: center;
        position: relative; /* Absolute pozisyonlu öğeler için */
        padding: 12px 0;
    }

    /* Logo */
    .site-logo {
        flex: none; /* Esnek büyümesini engelle */
    }

    /* Telefonu üstten gizle, sadece icon göster */
    .header-contact {
        position: absolute;
        left: 15px; /* Sol kenarda */
        top: 50%;
        transform: translateY(-50%);
    }

        .header-contact .contact-phone {
            display: none; /* Yazıyı gizle */
        }

        .header-contact .contact-whatsapp {
            display: none; /* Eger istemiyorsanız */
        }

        .header-contact i.fa-phone {
            font-size: 1.25rem; /* Icon boyutu */
            color: #333;
        }

    /* Menü toggle (hamburger) */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 15px; /* Sağ kenarda */
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #333;
    }
}
/* === Ürün Detay (pdp = Product Detail Page) === */
.pdp-product-detail {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin: 40px 0;
}

/* Resim bölümü */
.pdp-product-image {
    flex: 1 1 50%;
}

    .pdp-product-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

/* Bilgi & CTA bölümü */
.pdp-product-info {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

/* Başlık */
.pdp-product-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #222;
}

/* Fiyat bloğu */
.pdp-price-block {
    display: flex;
    align-items: baseline;
    gap: 6px; /* Eskiden 12px’di, bunu 6px yaptık */
}

.pdp-old-price {
    margin-right: 4px;
}

.pdp-current-price {
    font-size: 2rem;
    font-weight: bold;
    color: #e60023;
}

/* Butonlar */
.pdp-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.pdp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s, transform .1s;
}

    .pdp-btn i {
        font-size: 1.25rem;
    }

.pdp-btn-order {
    background: #e60023;
    color: #fff;
}

    .pdp-btn-order:hover {
        background: #c5001f;
        transform: translateY(-2px);
    }

.pdp-btn-whatsapp {
    background: #25D366;
    color: #fff;
}

    .pdp-btn-whatsapp:hover {
        background: #1ebe5b;
        transform: translateY(-2px);
    }

/* === Mobil Uyumluluk === */
@media (max-width: 768px) {
    .pdp-product-detail {
        flex-direction: column;
        gap: 24px;
    }

    .pdp-product-image,
    .pdp-product-info {
        flex: 1 1 100%;
    }

    .pdp-cta-buttons {
        flex-direction: column;
    }

    .pdp-btn {
        justify-content: center;
        width: 100%;
        padding: 12px;
    }
}

/* === Genel Container Sınıfı Küçük Ekran Farkı === */
@media (max-width: 576px) {
    .custom-container {
        padding: 0 12px;
    }
}
/* === PDP Özellik Kartları (butonların hemen altı) === */
.pdp-product-info .pdp-features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.pdp-features__card {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

    .pdp-features__card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    }

.pdp-features__icon {
    font-size: 1.5rem;
    color: #e60023;
    margin-bottom: 6px;
}

.pdp-features__label {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: #333;
}

/* Küçük ekran (tek sütun) */
@media (max-width: 576px) {
    .pdp-product-info .pdp-features__grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 16px;
    }

    .pdp-features__card {
        padding: 10px;
    }

    .pdp-features__icon {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }

    .pdp-features__label {
        font-size: .9rem;
    }
}
/* === PDP Order Sayfası Özel === */
.pdp-order-container {
    margin: 40px auto;
    max-width: 700px;
}

/* Ürün Özeti */
.pdp-order-summary {
    text-align: center;
    margin-bottom: 32px;
}

    .pdp-order-summary h1 {
        font-size: 1.75rem;
        font-weight: 600;
        margin-bottom: 8px;
    }

.pdp-order-price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.pdp-order-old {
    color: #888;
    text-decoration: line-through;
    font-size: 1rem;
}

.pdp-order-current {
    color: #e60023;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Form Alanları */
.pdp-order-form {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 24px;
}

    .pdp-order-form h2 {
        margin-bottom: 12px;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .pdp-order-form .note {
        color: #666;
        font-size: .95rem;
        margin-bottom: 20px;
    }

.pdp-group {
    margin-bottom: 16px;
}

/* Flex satır */
.pdp-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.pdp-col {
    flex: 1;
}

/* Input ve textarea */
.pdp-input,
.pdp-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color .2s;
}

    .pdp-input:focus,
    .pdp-textarea:focus {
        border-color: #e60023;
    }

.pdp-textarea {
    resize: vertical;
}

/* Radio list */
.pdp-radio {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .pdp-radio input[type="radio"] {
        margin-right: 8px;
    }

/* Sözleşme onayı */
.pdp-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
    margin-bottom: 20px;
}

    .pdp-agree a {
        color: #e60023;
        text-decoration: underline;
    }

/* Geri bildirim */
.pdp-feedback {
    display: block;
    margin-bottom: 12px;
    font-size: .95rem;
}

/* Gönder butonu */
.pdp-btn-submit {
    width: 100%;
    padding: 14px;
    background: #e60023;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

    .pdp-btn-submit:hover {
        background: #c5001f;
        transform: translateY(-2px);
    }

/* Mobil (dar ekran) */
@media (max-width: 576px) {
    .pdp-row {
        flex-direction: column;
    }
}

/* === 400 Hata Sayfası === */
.error400-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.error400-icon {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.error400-code {
    font-size: 2.5rem;
    color: #e60023;
    margin-bottom: 12px;
    font-weight: 600;
}

.error400-message {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

    .error400-message a.error400-home {
        color: #e60023;
        text-decoration: none;
        font-weight: 500;
        transition: color .2s;
    }

        .error400-message a.error400-home:hover {
            color: #c5001f;
            text-decoration: underline;
        }

/* Mobil uyum */
@media (max-width: 576px) {
    .error400-icon {
        max-width: 150px;
        margin-bottom: 16px;
    }

    .error400-code {
        font-size: 2rem;
    }

    .error400-message {
        font-size: 1rem;
    }
}