/*
Theme Name: ProterTemiz Ultra Modern Cards
Theme URI: https://www.protertemiz.com/
Author: Proter Temiz + ChatGPT
Author URI: https://www.protertemiz.com/
Description: Proter Temiz için mobil odaklı, modern kart tasarımlı WordPress teması. Üstte sade menü, altta sabit Ara/WhatsApp çubuğu, ana sayfada hizmet ve hizmet bölgeleri kartları, blog ve hizmet arşivleri için kart grid görünümü.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: protertemiz-ultra-modern-cards
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #0b1020;
    background-color: #f5f7fb;
    font-size: 15px;
    padding-bottom: 76px; /* sticky bar için alan */
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

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

.pt-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* HEADER */
.site-header {
    background: linear-gradient(135deg, #0f172a, #1d3557);
    color: #ffffff;
    padding: 10px 0 6px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.28);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-branding h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.site-branding small {
    display: block;
    font-size: 11px;
    opacity: 0.8;
}

.pt-header-phone {
    font-size: 12px;
    text-align: right;
}

.pt-header-phone a {
    color: #ffdd57;
    font-weight: 600;
}

.pt-header-topline {
    font-size: 10px;
    opacity: 0.85;
}

.pt-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(15,23,42,0.5);
    color: #ffffff;
    font-size: 13px;
    margin-left: 8px;
}

.pt-menu-toggle span {
    margin-left: 4px;
}

.primary-navigation {
    display: none;
    margin-top: 8px;
}

.primary-navigation.is-open {
    display: block;
}

.primary-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-navigation li + li {
    margin-top: 4px;
}

.primary-navigation a {
    display: block;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #e9ecef;
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .primary-navigation {
        display: block !important;
        margin-top: 4px;
    }
    .primary-navigation ul {
        display: flex;
        gap: 20px;
    }
    .primary-navigation li + li {
        margin-top: 0;
    }
    .primary-navigation a {
        border: none;
        padding: 4px 0;
    }
    .pt-menu-toggle {
        display: none;
    }
}

/* MAIN */
.site-main {
    padding: 14px 0 80px;
}

.site-main h1,
.site-main h2,
.site-main h3 {
    color: #111827;
}

.site-main h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* HERO */
.pt-home-hero {
    background: radial-gradient(circle at top left, #e0f2fe 0, #f5f7fb 42%, #ffffff 100%);
    border-radius: 20px;
    padding: 18px 16px 14px;
    margin-bottom: 14px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
}

.pt-home-hero-kicker {
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.pt-home-hero-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.pt-home-hero-sub {
    font-size: 14px;
    color: #4b5563;
    margin: 0 0 10px;
}

.pt-home-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.pt-badge {
    font-size: 11px;
    background: rgba(37, 99, 235, 0.07);
    color: #1f2937;
    padding: 4px 9px;
    border-radius: 999px;
}

.pt-home-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.pt-btn-primary,
.pt-btn-outline {
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
}

.pt-btn-primary {
    background: #0f172a;
    color: #ffffff;
}

.pt-btn-outline {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
}

.pt-btn-primary:hover,
.pt-btn-outline:hover {
    text-decoration: none;
    opacity: 0.92;
}

/* SECTIONS */
.pt-home-sections {
    margin-top: 14px;
}

.pt-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.pt-section-title {
    font-size: 18px;
    margin: 0;
}

.pt-section-sub {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* SERVICE CARDS */
.pt-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.pt-service-card {
    position: relative;
    border-radius: 18px;
    padding: 14px 14px 12px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.18);
    overflow: hidden;
}

.pt-service-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    margin-bottom: 6px;
}

.pt-service-pill span {
    font-size: 12px;
}

.pt-service-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
}

.pt-service-excerpt {
    font-size: 12px;
    color: #4b5563;
    margin: 0 0 8px;
}

.pt-service-link {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
}

.pt-service-link:hover {
    text-decoration: underline;
}

/* REGION CARDS */
.pt-region-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 6px;
}

.pt-region-card {
    border-radius: 16px;
    padding: 10px 11px;
    background: linear-gradient(135deg, #ffffff, #e5f3ff);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.pt-region-name {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 3px;
}

.pt-region-meta {
    font-size: 11px;
    color: #4b5563;
    margin: 0;
}

/* FAQ details */
details {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 10px;
    margin-bottom: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

details summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details p {
    font-size: 12px;
    margin-top: 6px;
}

/* PAGES & POSTS */
.pt-page-header h1,
.pt-single-header h1 {
    font-size: 22px;
    margin-bottom: 8px;
}

.pt-page,
.pt-single {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 14px 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.pt-page-content,
.pt-single-content {
    font-size: 14px;
    color: #374151;
}

/* FOOTER */
.site-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 22px 0 82px;
    font-size: 13px;
    margin-top: 18px;
}

.site-footer a {
    color: #93c5fd;
}

.site-footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.site-footer h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

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

.site-footer li {
    margin-bottom: 4px;
}

.site-footer-bottom {
    margin-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.45);
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .site-footer-columns {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* STICKY CTA BAR */
.pt-sticky-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.20);
    padding: 7px 10px;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    z-index: 9999;
}

.pt-sticky-bar .pt-btn {
    flex: 1;
    border-radius: 999px;
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pt-btn-call {
    background: #f97316;
    color: #ffffff;
}

.pt-btn-wa {
    background: #22c55e;
    color: #ffffff;
}

.pt-btn-calc {
    background: #e5e7eb;
    color: #111827;
}

.pt-btn-call:hover,
.pt-btn-wa:hover,
.pt-btn-calc:hover {
    opacity: 0.93;
}

/* RESPONSIVE UPGRADES */
@media (min-width: 640px) {
    .pt-home-hero-title {
        font-size: 26px;
    }
    .pt-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pt-region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    body {
        font-size: 16px;
    }
    .pt-home-hero {
        padding: 22px 24px 18px;
    }
    .pt-home-hero-title {
        font-size: 30px;
    }
    .pt-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .pt-region-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .pt-sticky-bar {
        max-width: 1120px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
    }
}
