/**
 * SonmezSo Kuaför Teması Prime - Ana CSS
 * Detaylı stiller (style.css'deki temel stillerin tamamlayıcısı)
 */

/* ===== GENEL RESET ===== */
html { scroll-behavior: smooth; }
body.ss-body { overflow-x: hidden; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c9a227; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #e0b93a; }

/* ===== SEÇİM RENGİ ===== */
::selection { background: #c9a227; color: #0a0a0a; }
::-moz-selection { background: #c9a227; color: #0a0a0a; }

/* ===== ODAK ===== */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #c9a227;
    outline-offset: 2px;
}

/* ===== YARDIMCI SINIFLAR ===== */
.ss-text-center { text-align: center; }
.ss-text-right { text-align: right; }
.ss-text-left { text-align: left; }
.ss-mb-0 { margin-bottom: 0; }
.ss-mb-10 { margin-bottom: 10px; }
.ss-mb-20 { margin-bottom: 20px; }
.ss-mb-30 { margin-bottom: 30px; }
.ss-mt-20 { margin-top: 20px; }
.ss-mt-30 { margin-top: 30px; }
.ss-hidden { display: none !important; }
.ss-visible { display: block !important; }

/* ===== WIDGET STİLLERİ ===== */
.ss-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.ss-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c9a227;
    position: relative;
}
.ss-widget ul { list-style: none; padding: 0; }
.ss-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}
.ss-widget ul li:last-child { border-bottom: none; }
.ss-widget ul li a { color: #333; }
.ss-widget ul li a:hover { color: #c9a227; padding-left: 5px; }
.ss-widget ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #c9a227;
    margin-right: 8px;
}

/* ===== SIDEBAR ===== */
.ss-sidebar { padding-left: 20px; }

/* ===== ARAMA FORMU ===== */
.ss-search-form {
    position: relative;
    display: flex;
    gap: 10px;
}
.ss-search-form input[type="search"] {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}
.ss-search-form input[type="search"]:focus {
    border-color: #c9a227;
    outline: none;
}
.ss-search-form button {
    padding: 14px 24px;
    background: #c9a227;
    color: #0a0a0a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}
.ss-search-form button:hover {
    background: #e0b93a;
    transform: translateY(-2px);
}

/* ===== YORUMLAR ===== */
.ss-comments {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 20px;
}
.ss-comments h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #0a0a0a;
}
.ss-comment-list { list-style: none; padding: 0; }
.ss-comment-list li {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 3px solid #c9a227;
}
.ss-comment-list .comment-author {
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 5px;
}
.ss-comment-list .comment-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}
.ss-comment-list .comment-content {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

/* ===== YORUM FORMU ===== */
.comment-respond {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
}
.comment-respond h3 {
    margin-bottom: 20px;
    color: #0a0a0a;
}
.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #c9a227;
    outline: none;
}
.comment-form .submit {
    background: #c9a227;
    color: #0a0a0a;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.comment-form .submit:hover {
    background: #e0b93a;
    transform: translateY(-2px);
}

/* ===== BREADCRUMB ===== */
.ss-breadcrumb {
    background: #f5f5f5;
    padding: 15px 0;
    font-size: 13px;
    color: #777;
}
.ss-breadcrumb a { color: #c9a227; }
.ss-breadcrumb a:hover { text-decoration: underline; }
.ss-breadcrumb .separator { margin: 0 8px; color: #bbb; }

/* ===== SAYFA BAŞLIĞI ARŞİV ===== */
.ss-archive-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}
.ss-archive-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}
.ss-archive-header p { color: rgba(255,255,255,0.7); }

/* ===== YÜKLEME ANİMASYONU ===== */
.ss-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(201,162,39,0.3);
    border-radius: 50%;
    border-top-color: #c9a227;
    animation: ss-spin 1s ease-in-out infinite;
}
@keyframes ss-spin {
    to { transform: rotate(360deg); }
}

/* ===== FADE ANİMASYON ===== */
@keyframes ss-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.ss-fade-in { animation: ss-fadeIn 0.6s ease-out forwards; }

/* ===== GÖRSELLERİN LAZY LOADING ===== */
img[loading="lazy"] {
    background: #f5f5f5;
    min-height: 100px;
}

/* ===== FORM DOĞRULAMA ===== */
.ss-form-group input:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}
.ss-form-group input:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

/* ===== PRINT ===== */
@media print {
    .ss-header, .ss-footer, .ss-whatsapp-btn,
    .ss-back-top, .ss-topbar, .ss-slider-nav,
    .ss-slider-dots { display: none !important; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
}

/* ===== YÜKSEK ÇÖZÜNÜRLÜK ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .ss-logo img { image-rendering: -webkit-optimize-contrast; }
}

/* ===== DARK MODE DESTEĞİ ===== */
@media (prefers-color-scheme: dark) {
    /* İsteğe bağlı - şu an devre dışı */
}

/* ===== HAREKET AZALTMA ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== EK RENK SINIFLARI ===== */
.ss-text-gold { color: #c9a227; }
.ss-text-dark { color: #0a0a0a; }
.ss-text-white { color: #fff; }
.ss-bg-gold { background: #c9a227; }
.ss-bg-dark { background: #0a0a0a; }
.ss-bg-gray { background: #f5f5f5; }

/* ===== RANDEVU FORMU EK ===== */
.ss-appointment-form .ss-form-group input[type="date"],
.ss-appointment-form .ss-form-group input[type="time"] {
    color-scheme: dark;
}

/* ===== HİZMET KARTI FİYAT ETİKETİ ===== */
.ss-service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #c9a227;
    color: #0a0a0a;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

/* ===== YENİ ETİKETİ ===== */
.ss-new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #dc3545;
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

/* ===== YILDIZ DEĞERLENDİRME ===== */
.ss-stars {
    color: #ffc107;
    font-size: 14px;
    letter-spacing: 2px;
}

/* ===== OKUMA SÜRESİ ===== */
.ss-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #777;
}

/* ===== PAYLAŞIM BUTONLARI ===== */
.ss-share-buttons {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    justify-content: center;
}
.ss-share-buttons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}
.ss-share-buttons a:hover { transform: translateY(-3px); }
.ss-share-facebook { background: #1877f2; }
.ss-share-twitter { background: #1da1f2; }
.ss-share-whatsapp { background: #25d366; }
.ss-share-linkedin { background: #0077b5; }
.ss-share-pinterest { background: #bd081c; }

/* ===== İLGİLİ YAZILAR ===== */
.ss-related-posts {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e5e5e5;
}
.ss-related-posts h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #0a0a0a;
}

/* ===== POST NAVİGASYON ===== */
.ss-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}
.ss-post-nav-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.ss-post-nav-item:hover {
    background: #c9a227;
}
.ss-post-nav-item:hover a,
.ss-post-nav-item:hover .ss-post-nav-label {
    color: #0a0a0a;
}
.ss-post-nav-label {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.ss-post-nav-item a {
    color: #0a0a0a;
    font-weight: 600;
    font-size: 15px;
}

/* ===== MOBİL EK DÜZENLEMELER ===== */
@media (max-width: 768px) {
    .ss-post-navigation { grid-template-columns: 1fr; }
    .ss-sidebar { padding-left: 0; margin-top: 30px; }
    .ss-search-form { flex-direction: column; }
    .ss-search-form input[type="search"],
    .ss-search-form button { width: 100%; }
}

/* ===== ANİMASYONLU HOVER ===== */
.ss-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ss-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* ===== GALERİ YÜKLEME ===== */
.ss-gallery-loading {
    text-align: center;
    padding: 30px;
}
.ss-gallery-loading .ss-loading {
    width: 40px;
    height: 40px;
    border-width: 4px;
}