/*
Theme Name: Araç Doktoru
Theme URI: https://www.aracdoktoru.com
Author: Teknik Ekip
Author URI: https://www.aracdoktoru.com
Description: Araç arıza rehberi için özel WordPress teması
Version: 1.0
Text Domain: aracdoktoru
*/

/* ===== GLOBAL STYLES & VARIABLES ===== */
:root {
    --jet: #2D2D2A;
    --eerie: #353831;
    --davys: #4C4B47;
    --battleship: #848482;
    --platinum: #E5E5E5;
    --flame: #E4572E;
    --safety: #F3A712;
    --caribbean: #1E96FC;
    --azure: #048BA8;
    --prussian: #0B3954;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--jet);
    line-height: 1.7;
}

a {
    color: var(--jet);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--flame);
}
/* Figure elementi için temel stil */
figure.wp-caption {
  max-width: 100%;       /* Maksimum genişlik */
  margin: 1em auto;      /* Ortalama ve boşluk */
  padding: 0;            /* Varsayılan padding'i sıfırla */
  border: 0;             /* Kenarlık yok */
  text-align: center;    /* İçerik ortala */
}

/* Resim için responsive stiller */
figure.wp-caption img {
  max-width: 100%;       /* Kapsayıcıyı aşmaz */
  height: auto;          /* Oran koruma */
  display: block;        /* Alt boşluk sorununu önler */
  margin: 0 auto;        /* Otomatik yan boşlukla ortala */
  
  /* İsteğe bağlı stiller */
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Altyazı için stil */
.wp-caption-text {
  margin-top: 0.5em;     /* Resimle arasına boşluk */
  font-size: 0.9em;      /* Küçük yazı boyutu */
  color: #666;           /* Gri ton */
  font-style: italic;    /* İtalik stil */
}

/* Responsive ayarlar */
@media (max-width: 700px) {
  figure.wp-caption {
    width: 100% !important; /* Mobilde tam genişlik */
  }
  
  figure.wp-caption img {
    border-radius: 0;    /* Mobilde köşe yuvarlaklığını kaldır */
  }
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* Popup Positioning Fix */
.account-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* Logged In User Styles */
.logged-in-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logged-in-user a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--jet);
    text-decoration: none;
    font-weight: 500;
}

.logged-in-user a:hover {
    color: var(--flame);
}

.logout-btn {
    background: var(--flame);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: var(--safety);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .account-section {
        margin-left: 15px;
    }
    
    .logged-in-user {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
/* Login Form Centering */
#loginform {
    margin: 0 auto;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Form Input Styles */
#loginform label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#loginform input[type="text"],
#loginform input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#loginform .forgetmenot {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

#loginform .forgetmenot label {
    margin-bottom: 0;
    margin-left: 5px;
}

#loginform .submit {
    margin-top: 10px;
}

#wp-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--flame);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

#wp-submit:hover {
    background-color: var(--safety);
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: -1;
}

.form-container {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

/* Animation for popup */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-content {
    animation: modalFadeIn 0.3s ease-out;
}
/* Auth Forms */
.auth-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--prussian);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--davys);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    border-color: var(--caribbean);
    box-shadow: 0 0 0 2px rgba(30, 150, 252, 0.2);
    outline: none;
}

.hint {
    font-size: 12px;
    color: var(--battleship);
    margin-top: 5px;
}
.terms {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.terms input {
    margin-right: 10px;
}

.terms label {
    margin-bottom: 0;
    font-weight: normal;
}

.terms a {
    color: var(--caribbean);
}

.form-submit {
    margin-top: 25px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--flame);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--safety);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
}

.forgot-password {
    display: block;
    margin-bottom: 15px;
    color: var(--caribbean);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.switch-form {
    background: none;
    border: none;
    color: var(--davys);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}

.switch-form strong {
    color: var(--caribbean);
    font-weight: 600;
}

.switch-form:hover strong {
    text-decoration: underline;
}

/* Password Strength Meter */
.password-strength {
    height: 4px;
    background: #eee;
    margin-top: 8px;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background: #ff4d4d;
    transition: width 0.3s, background 0.3s;
}

.password-strength.weak::after {
    width: 25%;
    background: #ff4d4d;
}

.password-strength.medium::after {
    width: 50%;
    background: #ffcc00;
}

.password-strength.strong::after {
    width: 75%;
    background: #66cc66;
}

.password-strength.very-strong::after {
    width: 100%;
    background: #00aa00;
}

/* Form Switch Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Registration Notices */
.registration-notice {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    max-width: 90%;
    width: 400px;
}

.notice {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.notice.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notice.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notice i {
    font-size: 18px;
}
.close-popup {
  float: right;
  cursor: pointer;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--flame), var(--safety));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--prussian), var(--caribbean));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--jet);
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px;
}

nav a:hover {
    color: var(--flame);
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--flame);
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: calc(100% - 2rem);
}

nav a.active {
    color: var(--flame);
    font-weight: 600;
}

nav a.active:after {
    width: calc(100% - 2rem);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--jet);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 20px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.search-bar {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
}

.search-bar button {
    padding: 0 30px;
    background: linear-gradient(to right, var(--flame), var(--safety));
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    opacity: 0.9;
    transform: translateX(3px);
}

/* ===== COMMON COMPONENTS ===== */
/* Category Chips */
.category-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 2rem auto;
    max-width: 1000px;
}

.chip {
    padding: 8px 20px;
    background: white;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.chip.active {
    background: linear-gradient(to right, var(--prussian), var(--caribbean));
    color: white;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    display: inline-block;
    background: linear-gradient(to right, var(--prussian), var(--caribbean));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--flame), var(--safety));
    border-radius: 2px;
}

/* Badges */
.post-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.brand-badge:hover {
    background: rgba(30, 150, 252, 0.2);
    transform: translateY(-1px);
}
.brand-badge {
    background: rgba(30, 150, 252, 0.1);
    color: var(--caribbean);
}

.model-badge {
    background: rgba(244, 167, 18, 0.1);
    color: var(--safety);
}
.model-badge:hover {
    background: rgba(244, 167, 18, 0.2);
    transform: translateY(-1px);
}
.fault-badge {
    background: rgba(228, 87, 46, 0.1);
    color: var(--flame);
}
.fault-badge:hover {
    background: rgba(228, 87, 46, 0.2);
    transform: translateY(-1px);
}
.views-badge {
    background: rgba(132, 132, 130, 0.1);
    color: var(--davys);
}

/* ===== POST CARDS & GRID ===== */
.posts-container {
    max-width: 1300px;
    margin: 1rem auto;
    padding: 0 5px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
	margin-top: 1rem;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0, 1);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 220px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.post-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-excerpt {
    color: var(--davys);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--caribbean);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--prussian);
    transform: translateX(5px);
}

.read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.post-date {
    font-size: 0.8rem;
    color: var(--davys);
}

/* ===== SINGLE POST STYLES ===== */
.main-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 10px;
    gap: 40px;
}

.article-container {
    flex: 1;
    min-width: 0;
    order: 1;
    position: relative;
    z-index: 1;
}

.article-header {
    text-align: center;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--prussian);
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--davys);
}

.breadcrumb a {
    color: var(--jet);
    transition: color 0.3s ease;
}

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

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--davys);
}

.meta-item i {
    color: var(--flame);
}

.featured-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.featured-image img {
    width: 100%;
    height: 500px;
    display: block;
}

.article-content {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    line-height: 1.8;
}
.article-content h1 {
    color: var(--prussian);
    margin: 1rem 0 2rem;
    font-size: 2.4rem;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

/* Optional: If your h2 has an underline or border, you might want something similar but more prominent for h1 */
.article-content h1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #00a1ff;
}
.article-content h2 {
    color: var(--prussian);
    margin: 2rem 0 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.article-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--flame), var(--safety));
}

.article-content h3 {
    color: var(--prussian);
    margin: 1px 0 1px;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--davys);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-content ul, 
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.8rem;
}

/* Alert Boxes */
.warning-box {
    background: rgba(244, 167, 18, 0.1);
    border-left: 2px solid var(--safety);
    padding: 10px;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.danger-box {
    background: rgba(228, 87, 46, 0.1);
    border-left: 2px solid var(--flame);
    padding: 10px;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.info-box {
    background: rgba(30, 150, 252, 0.1);
    border-left: 2px solid var(--caribbean);
    padding: 10px;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.step-box {
    background: rgba(72, 187, 120, 0.1);
    border-left: 2px solid var(--azure);
    padding: 10px;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.step-number {
    display: inline-block;
    background: var(--azure);
    color: white;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    border-radius: 50%;
    font-weight: bold;
}

/* Vehicle Meta Info */
.vehicle-meta {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--flame);
}

.vehicle-meta div {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.vehicle-meta strong {
    color: var(--prussian);
    margin-right: 5px;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2rem 0;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--platinum);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 1.5rem;
    background: rgba(245, 245, 245, 0.7);
    border-radius: 12px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    color: var(--prussian);
}

.author-info p {
    color: var(--davys);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    color: var(--davys);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--flame);
}

/* Related Posts */
.related-posts {
    margin: 1rem 0;
}

.related-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--prussian);
    position: relative;
    padding-bottom: 10px;
}

.related-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--flame), var(--safety));
}
/* ===== COMMENTS SECTION ===== */
.comments-area {
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--prussian);
    position: relative;
    padding-bottom: 10px;
}

.comments-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--flame), var(--safety));
}

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

.comment {
    display: block;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    position: relative;
}

.comment-body {
    display: flex;
    gap: 20px;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author {
    font-weight: 600;
    color: var(--prussian);
}

.comment-date {
    font-size: 0.8rem;
    color: var(--davys);
}

.comment-text {
    color: var(--davys);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.reply {
    margin-top: 0.8rem;
}

.reply a {
    font-size: 0.9rem;
    color: var(--caribbean);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.reply a:hover {
    color: var(--flame);
}

/* Yanıt yorumları için stil */
.children {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
    position: relative;
}

.children .comment {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.children .comment-body {
    position: relative;
    padding-left: 30px;
}

.children .comment-body:before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    height: calc(100% - 30px);
    width: 5px;
    background: red;
}

/* Admin Comments */
.admin-comment {
    background: rgba(11, 57, 84, 0.03);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--prussian);
}

.admin-badge {
    position: absolute;
    top: -8px;
    left: 45px;
    background: var(--flame);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

.admin-tag {
    background: var(--prussian);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 500;
}

/* Comment Form */
.comment-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--prussian);
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .comment-body {
        flex-direction: column;
        gap: 10px;
    }
    
    .children .comment-body {
        padding-left: 15px;
    }
    
    .comment-avatar {
        margin-bottom: 10px;
    }
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
}

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

.submit-btn {
    background: linear-gradient(to right, var(--flame), var(--safety));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ===== SIDEBAR STYLES ===== */
.sidebar {
    width: 350px;
    order: 2;
}

.widget {
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--platinum);
    color: var(--prussian);
}

/* Popular Posts Widget */
.popular-posts {
    list-style: none;
	margin-top:15px;
}

.popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

.popular-post h4 {
    font-size: 0.95rem;
    line-height: 1.4;
}

.popular-post .post-meta {
    font-size: 0.8rem;
    color: var(--davys);
    margin-top: 5px;
}

/* Category Widget */
.category-list {
    list-style: none;
    padding-left: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 8px 5px;
    color: var(--jet);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.category-list a:hover {
    background-color: rgba(0,0,0,0.03);
    border-left-color: var(--flame);
    padding-left: 20px;
}

.category-list span {
    float: right;
    color: var(--davys);
    font-size: 0.9em;
}

/* Tag Cloud Widget */
.tag-cloud {
	margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--platinum);
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: var(--caribbean);
    color: white;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: linear-gradient(135deg, var(--prussian), var(--caribbean));
    color: white;
    padding: 1rem 0 0;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-col {
    padding: 0 15px;
    position: relative;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
    color: white;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--flame);
    border-radius: 3px;
}

.footer-about {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--flame);
    transform: translateY(-3px);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    position: relative;
    padding-left: 0;
}

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

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--flame);
}

.footer-links a:hover::before {
    left: -10px;
    opacity: 1;
}

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

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.footer-contact i {
    color: var(--flame);
    width: 20px;
    text-align: center;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Düzenlemeler */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
}

/* ===== BRAND & MODEL PAGES ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.brand-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.brand-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.brand-logo-container {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.brand-info {
    padding: 20px;
    text-align: center;
}

.brand-info h3 {
    margin: 0 0 10px;
    color: var(--prussian);
}

.brand-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--davys);
}

.brand-meta i {
    margin-right: 5px;
    color: var(--flame);
}

.model-list-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.model-list-section h3 {
    margin-bottom: 1rem;
    color: var(--prussian);
    font-size: 1.3rem;
}

.model-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.model-chip {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border-radius: 50px;
    color: var(--jet);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.model-chip:hover {
    background: var(--caribbean);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== PAGINATION ===== */
.pagination {
    margin-top: 3rem;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
}

.pagination a {
    background: white;
    color: var(--jet);
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--caribbean);
    color: white;
    border-color: var(--caribbean);
}

.pagination .current {
    background: var(--prussian);
    color: white;
    border-color: var(--prussian);
}

/* ===== AUTH & ACCOUNT STYLES ===== */
/* Login Required Message */
.login-required-container {

}

.login-required-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    width: 100%;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border-top: 5px solid #E4572E;
    transform: translateY(-20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.login-required-icon {
    font-size: 5rem;
    color: #E4572E;
    margin-bottom: 1.5rem;
    animation: bounce 1s infinite alternate;
}

.login-required-card h2 {
    color: #0B3954;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.login-required-card p {
    color: #4C4B47;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.login-required-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-login-required {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-login {
    background: linear-gradient(135deg, #0B3954 0%, #1E96FC 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(11, 57, 84, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #E4572E 0%, #F3A712 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(228, 87, 46, 0.3);
}

.btn-login:hover,
.btn-register:hover {
    transform: translateY(-3px);
}

/* Auth Tabs */
.auth-tab-container {
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.auth-tab-card {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    width: 100%;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #848482;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.auth-tab.active {
    color: #0B3954;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #E4572E;
}

.auth-tab-content {
    display: none;
}

.auth-tab-content.active {
    display: block;
}

/* Account Section */
.account-section {
    margin-left: auto;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.account-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close-popup {
    float: right;
    cursor: pointer;
}

/* Profile Page */
.profile-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.profile-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.user-avatar img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.user-details h2 {
    color: var(--prussian);
    margin-bottom: 0.5rem;
}

.user-posts .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
    }
    
    nav.active {
        left: 0;
    }
    
    nav a {
        width: 100%;
        padding: 1rem 0;
        margin: 0.25rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    nav a:after {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-content {
    }
    
    .sidebar {
        width: 100%;
        order: 3;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .hero {
        height: 35vh;
        margin-top: 30px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 0.5rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .brand-logo-container {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .search-bar input {
        border-radius: 50px;
        margin-bottom: 10px;
    }
    
    .search-bar button {
        border-radius: 50px;
        padding: 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .brand-info h3 {
        font-size: 1rem;
    }
    
    .brand-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .login-required-card {
        padding: 1.5rem;
    }
    
    .login-required-buttons {
        flex-direction: column;
    }
    
    .btn-login-required {
        width: 100%;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

nav a {
    animation: fadeIn 0.3s ease forwards;
}

nav a:nth-child(1) { animation-delay: 0.1s; }
nav a:nth-child(2) { animation-delay: 0.2s; }
nav a:nth-child(3) { animation-delay: 0.3s; }
nav a:nth-child(4) { animation-delay: 0.4s; }
/* Mobil menü stilleri */
@media (max-width: 992px) {
    .custom-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .custom-menu li {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .custom-menu a {
        display: block;
        padding: 12px 0;
        width: 100%;
    }
    
    /* Aktif menü öğesi stilleri */
    .custom-menu li.current-menu-item > a {
        color: var(--flame);
        font-weight: 600;
    }
    
    /* Alt menüler için stil (eğer varsa) */
    .custom-menu .sub-menu {
        padding-left: 20px;
        display: none;
    }
    
    .custom-menu .menu-item-has-children > a:after {
        content: '+';
        float: right;
        transition: transform 0.3s;
    }
    
    .custom-menu .menu-item-has-children.active > a:after {
        content: '-';
    }
    
    .custom-menu .menu-item-has-children.active > .sub-menu {
        display: block;
    }
}

/* Menü toggle animasyonu */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--jet);
}

@media (max-width: 992px) {
    #menu-toggle {
        display: block;
    }
    
    #main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    #main-nav.active {
        left: 0;
    }
}
/* Navbar auth butonları */
.nav-auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: auto;
    align-items: center;
}

.nav-button {
    padding: 8px 10px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.login-btn {
    background-color: rgba(30, 150, 252, 0.1);
    color: var(--caribbean);
}

.register-btn {
    background-color: var(--flame);
    color: white;
}

.profile-btn {
    background-color: rgba(11, 57, 84, 0.1);
    color: var(--prussian);
}

.logout-btn {
    background-color: rgba(228, 87, 46, 0.1);
    color: var(--flame);
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Mobil görünüm */
@media (max-width: 992px) {
    .nav-auth-buttons {
        flex-direction: column;
        width: 100%;
        margin: 20px 0 0;
        gap: 5px;
    }
    
    .nav-button {
        width: 100%;
        padding: 10px;
    }
    
    #main-nav .logged-in {
        order: 2;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
/* Temel Stil */
.author-box-responsive {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    margin: 30px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.author-avatar-responsive {
    flex: 0 0 auto;
}

.author-avatar-img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.author-content-responsive {
    flex: 1 1 auto;
}

.author-name-responsive {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.author-bio-responsive {
    margin: 0 0 12px 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.author-meta-responsive {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.9rem;
}

.author-posts-link {
    color: #333;
    text-decoration: none;
}

.author-website {
    color: #666;
    font-size: 0.9rem;
}
.author-role-responsive {
    display: block;
    color: #4a6ea9; /* Mavi tonu */
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 10px;
    text-transform: uppercase; /* Büyük harf */
    letter-spacing: 1px;
}
/* Tablet Boyutu (768px ve altı) */
@media (max-width: 768px) {
    .author-box-responsive {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .author-avatar-img {
        width: 70px;
        height: 70px;
    }
    
    .author-meta-responsive {
        justify-content: center;
    }
}

/* Mobil Boyutu (480px ve altı) */
@media (max-width: 480px) {
    .author-name-responsive {
        font-size: 1.1rem;
    }
    
    .author-bio-responsive {
        font-size: 0.85rem;
    }
    
    .author-meta-responsive {
        font-size: 0.8rem;
    }
}
.solved-badge i.fas.fa-check-circle {
    color: #28a745; /* Yeşil renk */
    margin-right: 5px; /* İstenirse boşluk ekler */
    font-size: 16px; /* Boyut ayarı */
}

.solved-badge i {
    margin-right: 5px;
}
/* Yönetici etiketi */
.admin-tag {
    background: #d63638;
    color: white;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Kullanıcı rol etiketi */
.user-role-tag {
    background: #4a6ea9;
    color: white;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Avatar yanındaki admin rozeti */
.admin-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #d63638;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
    .custom-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 15px;
    }
    
    .custom-menu li {
        display: inline-block;
        position: relative;
    }
    
    .custom-menu a {
        text-decoration: none;
        color: #333;
        padding: 5px 10px;
    }
/* Bildirim Sistemi Stilleri */
.notification-wrapper {
    position: relative;
    display: inline-block;
	padding: 8px 2px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-icon {
    position: relative;
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    display: inline-block;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    background-color: #f9f9f9;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.notification-item.unread {
    background-color: #f8f9fa;
}

.notification-item:hover {
    background-color: #f1f1f1;
}

.notification-content {
    margin-bottom: 5px;
    line-height: 1.4;
}

.notification-time {
    font-size: 12px;
    color: #777;
}

.notification-empty {
    padding: 20px;
    text-align: center;
    color: #777;
}

.view-all-notifications {
    display: block;
    padding: 10px 15px;
    text-align: center;
    border-top: 1px solid #eee;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    background-color: #f9f9f9;
}

.view-all-notifications:hover {
    background-color: #f1f1f1;
}

/* 🌐 Mobil Uyumluluk */
@media (max-width: 480px) {
    .notification-dropdown {
        right: auto;
        left: 0;
        width: 100vw;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    .notification-wrapper {
        width: 100%;
    }

    .notification-list {
        max-height: 60vh;
    }

    .view-all-notifications {
        font-size: 14px;
    }

    .notification-header {
        font-size: 16px;
    }

    .notification-item {
        padding: 10px 15px;
    }

    .notification-content {
        font-size: 14px;
    }

    .notification-time {
        font-size: 11px;
    }
}
/* Author Header */
.author-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.author-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #2c3e50;
}

.author-bio {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
	margin-left: 10px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f2f6;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-2px);
}

/* Author Stats */
.author-stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.author-stat {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.author-stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin: 10px 0 25px;
    font-size: 22px;
    color: #2c3e50;
}

.section-title.with-icon {
    padding-left: 40px;
}

.section-title.with-icon i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/*.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db 0%, #2ecc71 100%);
    border-radius: 3px;
}
*/
/* Author Posts Grid */
.author-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.author-post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.author-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    height: 180px;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-overlay .read-more {
    color: #fff;
    font-weight: 600;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.author-post-card:hover .post-overlay {
    opacity: 1;
}

.author-post-card:hover .post-thumbnail {
    transform: scale(1.05);
}

.post-content {
    padding: 20px;
}

.post-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

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

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

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #7f8c8d;
}

.post-meta i {
    margin-right: 5px;
}

/* Author Comments */
.author-comments-list {
    display: grid;
    gap: 20px;
}

.comment-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.comment-header {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #7f8c8d;
}

.comment-date i, .comment-on i {
    margin-right: 5px;
}

.comment-on a {
    color: #3498db;
    text-decoration: none;
}

.comment-on a:hover {
    text-decoration: underline;
}

.comment-content {
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 15px;
}

.comment-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #7f8c8d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comment-link:hover {
    color: #3498db;
}

.comment-link i {
    font-size: 10px;
}

/* No Content Message */
.no-content-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #7f8c8d;
}

.no-content-message i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.no-content-message p {
    margin: 0;
    font-size: 16px;
}

/* Buttons */
.view-all-button {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #3498db;
}

.view-all-button:hover {
    background: transparent;
    color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .author-header {
        flex-direction: column;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .author-stats-container {
        grid-template-columns: 1fr;
    }
    
    .author-posts-grid {
        grid-template-columns: 1fr;
    }
}
/* Pagination Temel Stilleri */
.pagination {
    margin: 40px 0;
    text-align: center;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.wp-pagenavi {
    display: inline-block;
    position: relative;
    padding: 15px 0;
}

/* Sayfa Bilgisi */
.wp-pagenavi .pages {
    display: block;
    margin-bottom: 15px;
    color: #6b7280;
    font-size: 14px;
}

/* Sayfa Bağlantıları */
.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 5px;
    padding: 0 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Normal Sayfa Bağlantıları */
.wp-pagenavi a {
    color: #4b5563;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
}

.wp-pagenavi a:hover {
    background-color: #e5e7eb;
    color: #1f2937;
    transform: translateY(-2px);
}

/* Aktif Sayfa */
.wp-pagenavi span.current {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
    font-weight: 600;
}

/* Önceki/Sonraki Butonları */
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
    position: relative;
    padding: 0 15px;
    font-weight: 600;
}

/* Önceki Butonuna Özel Stil */
.wp-pagenavi a.previouspostslink::before {
    content: "←";
    margin-right: 5px;
}

/* Sonraki Butonuna Özel Stil */
.wp-pagenavi a.nextpostslink::after {
    content: "→";
    margin-left: 5px;
}

/* Küçük Ekranlar için Responsive Ayarlar */
@media (max-width: 640px) {
    .wp-pagenavi a,
    .wp-pagenavi span {
        min-width: 32px;
        height: 32px;
        line-height: 32px;
        margin: 0 2px;
        padding: 0 6px;
        font-size: 14px;
    }
    
    .wp-pagenavi .pages {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .wp-pagenavi a.previouspostslink,
    .wp-pagenavi a.nextpostslink {
        padding: 0 10px;
    }
}

/* Koyu Tema Desteği */
@media (prefers-color-scheme: dark) {
    .wp-pagenavi a {
        color: #d1d5db;
        background-color: #374151;
        border-color: #4b5563;
    }
    
    .wp-pagenavi a:hover {
        background-color: #4b5563;
        color: #f3f4f6;
    }
    
    .wp-pagenavi .pages {
        color: #9ca3af;
    }
    
    .wp-pagenavi span.current {
        background-color: #2563eb;
        border-color: #2563eb;
    }
}
.find-master-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-filters {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.master-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    transition: transform 0.3s ease;
}

.master-card:hover {
    transform: translateY(-5px);
}

.master-avatar {
    padding: 15px;
    display: flex;
    align-items: center;
}

.master-info {
    padding: 15px;
    flex: 1;
}

.master-info h3 {
    margin: 0 0 10px;
    color: #333;
}

.master-info p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.view-profile {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #3b82f6;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.no-results {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Otomatik tamamlama için */
.ui-autocomplete {
    position: absolute;
    z-index: 1000;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ui-autocomplete li {
    padding: 8px 12px;
    cursor: pointer;
}

.ui-autocomplete li:hover {
    background-color: #f5f5f5;
}

.selected-brands-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.selected-brand {
    background: #e0e0e0;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.selected-brand .remove-brand {
    margin-left: 5px;
    cursor: pointer;
    color: #666;
}

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .masters-grid {
        grid-template-columns: 1fr;
    }
}
/* style.css dosyanıza bu stilleri ekleyin */
.post-rating-system {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    text-align: center;
}

.post-rating-system h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.rating-stars {
    font-size: 24px;
    margin-bottom: 10px;
    cursor: pointer;
}

.rating-stars .star {
    color: #ddd;
    margin: 0 2px;
    transition: color 0.2s;
}

.rating-stars .star.hover {
    color: #ffc107;
}

.rating-stars .star.active {
    color: #ffc107;
}

.rating-info {
    font-size: 14px;
    color: #666;
}

.average-rating {
    font-weight: bold;
}

/* Responsive stiller */
@media (max-width: 768px) {
    .rating-stars {
        font-size: 20px;
    }
}
/* Special Category Slider */
.special-category {
    margin-top: 40px;
}

.posts-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    gap: 20px;
    padding-bottom: 20px;
}

.posts-slider::-webkit-scrollbar {
    display: none;
}

.slider-item {
    scroll-snap-align: start;
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-controls button {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background: #1a252f;
}

@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .slider-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
}
/* Sidebar'daki reklamlar için */
.widget .ad-placeholder {
    overflow: hidden;
    max-width: 100%;
}

.widget ins.adsbygoogle {
    max-width: 100%;
    display: block !important;
    margin: 0 auto;
}

/* Makale içindeki reklamlar için */
.post-advertisement {
    overflow: hidden;
    margin: 20px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.post-advertisement ins.adsbygoogle {
    max-width: 100%;
    display: block !important;
    margin: 0 auto;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .post-advertisement,
    .widget .ad-placeholder {
        padding: 5px;
    }
    
    ins.adsbygoogle {
        width: 100% !important;
    }
}