/* ============================================
   CUSTOM CSS - Tüm inline CSS'ler buraya taşındı
   ============================================ */

/* Profile Page Styles */
.profile-sidebar {
    position: sticky;
    top: 100px;
}

.profile-avatar img {
    border-radius: 50%;
}

.profile-menu-item {
    color: var(--color-grey-700);
    text-decoration: none;
    background: var(--color-light);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
}

.profile-menu-item:hover {
    background: var(--color-brand-4);
    color: var(--color-dark);
    text-decoration: none;
    transform: translateX(5px);
}

.profile-menu-item.active {
    background: var(--color-brand-1);
    color: var(--color-dark);
    border-color: var(--color-dark);
    font-weight: 600;
}

.profile-menu-item.active i {
    color: var(--color-dark);
}

.profile-menu-item i {
    color: var(--color-grey-400);
    width: 24px;
    text-align: center;
    margin-right: 15px;
}

.profile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-content {
    min-height: 500px;
}

.profile-info-item {
    padding: 20px;
    background: var(--color-brand-4);
    border-radius: 10px;
    border: 1px solid var(--color-brand-2);
}

.profile-info-item label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-info-item p {
    color: var(--color-dark);
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    margin-bottom: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: var(--color-brand-1);
    color: var(--color-dark);
    font-weight: 600;
    padding: 15px;
    border-bottom: 2px solid var(--color-dark);
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr {
    border-bottom: 1px solid var(--color-brand-2);
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: var(--color-brand-4);
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    font-size: 14px;
}

.table tbody td a {
    transition: all 0.3s ease;
}

.table .btn-sm {
    padding: 8px 15px;
    font-size: 13px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid var(--color-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table .btn-sm i {
    font-size: 14px;
    display: inline-block;
}

/* Login/Register Page Styles */
.login-wrapper, .register-wrapper, .forgot-password-wrapper, .reset-password-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.form-label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-brand-1);
    box-shadow: 0 0 0 0.2rem rgba(224, 208, 203, 0.25);
    outline: none;
}

.form-check-input {
    margin-top: 0.3rem;
}

.form-check-label {
    font-size: 14px;
    line-height: 1.5;
}

.btn-lg {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.text-dark {
    color: #333 !important;
}

.text-dark:hover {
    color: var(--color-brand-1) !important;
}

/* Blog/Recipe Detail Page Styles */
article ul li {
    list-style: circle !important;
}

article ul {
    padding: revert !important;
    margin: revert !important;
}

p, .entry-wraper .excerpt p, .single-excerpt p, ol, ul, li {
    --font-body: 'Source Sans Pro', sans-serif !important;
    font-size: 20px !important;
}

/* Center images in description content */
.entry-main-content img,
.entry-wraper .excerpt img,
.excerpt img {
    display: block !important;
    margin: 20px auto !important;
    text-align: center !important;
    max-width: 100% !important;
    height: auto !important;
}

p {
    margin-bottom: 0.2em;
}

.ql-size-huge {
    font-size: 2.2em;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: .5rem;
    font-family: inherit;
    color: inherit;
}

.desc {
    width: 100%;
}

.user.justify-content-between.d-flex {
    width: 100%;
}

/* Comment Edit Textarea Styles */
.comment-edit-textarea {
    min-height: 120px;
    padding: 15px;
    border-radius: 8px;
    resize: vertical;
    font-size: 16px;
    line-height: 1.6;
    border: 2px solid #e0d0cb;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.comment-edit-textarea:focus {
    border-color: #d4c0ba;
    box-shadow: 0 2px 12px rgba(224, 208, 203, 0.3);
    outline: none;
}

/* Post Meta 2 Font Size */
.post-meta-2 p.font-sm,
.post-meta-2 p .font-sm {
    font-size: 14px !important;
}

/* Modern Author Card */
.author-card-modern {
    background: linear-gradient(135deg, var(--color-brand-1) 0%, var(--color-brand-4) 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-brand-2);
    transition: all 0.3s ease;
}

.author-card-modern:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.author-card-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.author-avatar a:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.author-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--color-brand-2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.author-avatar-placeholder i {
    font-size: 50px;
    color: var(--color-dark);
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
}

.author-name a {
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-name a:hover {
    color: var(--color-brand-1);
    text-decoration: none;
}

.author-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-grey-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-about {
    margin: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-grey-700);
}

.author-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--color-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #fff;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.youtube:hover {
    background: #ff0000;
}

.social-link.pinterest:hover {
    background: #bd081c;
}

.social-link i {
    font-size: 18px;
}

.author-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-dark);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.author-profile-link:hover {
    background: var(--color-brand-1);
    color: var(--color-dark);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.author-profile-link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.author-profile-link:hover i {
    transform: translateX(3px);
}

/* Compact Author Card (for multiple authors) */
.author-card-compact {
    padding: 25px;
    height: 100%;
}

.author-card-compact .author-card-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.author-card-compact .author-avatar img,
.author-card-compact .author-avatar-placeholder {
    width: 80px;
    height: 80px;
}

.author-card-compact .author-name {
    font-size: 20px;
    margin-bottom: 8px;
}

.author-card-compact .author-title {
    font-size: 13px;
    margin-bottom: 15px;
}

.author-card-compact .author-social {
    justify-content: center;
    margin-bottom: 15px;
}

.author-card-compact .author-profile-link {
    font-size: 13px;
    padding: 10px 20px;
}

/* Responsive Author Card */
@media (max-width: 768px) {
    .author-card-modern {
        padding: 30px 20px;
    }
    
    .author-card-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .author-avatar img,
    .author-avatar-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .author-name {
        font-size: 24px;
    }
    
    .author-social {
        justify-content: center;
    }
}

/* Performance Optimizations */
.post-thumb {
    will-change: transform;
    contain: layout style paint;
}

img[loading="lazy"] {
    content-visibility: auto;
}

/* Optimize animations */
.hover-up-3 {
    will-change: transform;
}

.wow.fadeIn.animated {
    will-change: opacity;
}

/* HR Margin Reset */
hr {
    margin: 0px !important;
}

/* Slider Mobile - Görseli üste al ve boşluk ekle */
@media (max-width: 991px) {
    .slider-single .row > .col-lg-6:first-child {
        order: 2;
        padding-top: 20px;
    }
    .slider-single .row > .col-lg-6:last-child {
        order: 1;
        margin-bottom: 20px;
    }
    .slider-single .post-meta-1 {
        margin-top: 15px;
    }
    .slider-single .col-lg-6 img {
        margin-bottom: 0;
    }
}


/* Responsive */
@media (max-width: 991px) {
    .profile-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .table thead {
        display: none;
    }
    
    .table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid var(--color-brand-2);
        border-radius: 10px;
        padding: 15px;
        background: #fff;
    }
    
    .table tbody td {
        display: block;
        text-align: left;
        padding: 10px 0;
        border: none;
    }
    
    .table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 5px;
        color: var(--color-dark);
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.5px;
    }
}

