/* Modal styles */




.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 10px;
    
}
.contentguncellemesi{
    display: none;
}


@media screen and (max-width: 520px) {
    .modal-content {

        margin: 30% auto;

    }

    .modal-2 {
        padding: 20px;
    }

    .modal-content-2 {

        margin: 10% auto;
        width: 100%;
    }
}

.closes {
    color: white;
    font-weight: bold;
    background-color:black;
    border-radius: 20px;
    float: right;
    font-size: 28px;
    padding: 5px;
    font-weight: bold;
    position: absolute;
    z-index: 99999;
    display: none;
    right:20px;
}

.closes:hover,
.closes:focus {
    color:#ff5a5f;
    text-decoration: none;
    cursor: pointer;
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.tablink {
    background-color: #f1f1f1;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 16px;
    flex-grow: 1;
    text-align: center;
    transition: background-color 0.3s, font-weight 0.3s, color 0.3s;
}

.tablink:hover {
    background-color: #ddd;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

.tabcontent h2 {
    margin-top: 0;
}

.tabcontent form {
    display: flex;
    flex-direction: column;
}

.tabcontent form label {
    margin-top: 10px;
}

.tabcontent form input {
    margin-top: 5px;
    padding: 8px;
    font-size: 14px;
}

.tabcontent form button {
    margin-top: 20px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}

.tablink.active {
    background-color: #007bff;
    color: white;
    border-radius: 5px 5px 0 0;
    border: none;
    font-weight: bold;
}

.menu {
    width: 250px;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}

.menu-2 {
    width: 100%;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-pic {
    text-align: center;
    margin-bottom: 20px;
}

.profile-pic img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.profile-info {
    text-align: center;
    margin-bottom: 20px;
}

.profile-info p {
    margin: 5px 0;
    font-weight: bold;
}

.menu-items {
    list-style-type: none;
    padding: 0;
}

.menu-items li {
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-items li:hover {
    font-weight: bold;
    background-color: #ddd;
}

.menu-items i {
    margin: 0 5px 0 0
}

.menu-items a {
    color: #777;
}

.sidebar {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar ul li:hover {
    font-weight: bold;
    background-color: #ddd;
}

.sidebar ul li.active {
    font-weight: bold;
    background-color: #ddd;
}

.sidebar ul .section-title {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.wpo-contact-form-area {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.wpo-contact-form-area h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

.menu-item {
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item:hover {
    font-weight: bold;
    background-color: #ddd;
}

.menu-item.active {
    font-weight: bold;
    background-color: #ccc;
    /* Aktif menü öğesini vurgulamak için arka plan rengini değiştiriyoruz */
}

.menu-item.active:hover {
    background-color: #bbb;
    /* Aktif menü öğesi üzerine gelindiğinde renk değişimi */
}

.burger-menu {
    display: none;
    background-color: #ff5a5f;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 10px;
    border-radius: 15px;
}

.sidebar {
    display: block;
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .sidebar.active {
        display: block;
    }
}
.content {
    padding: 20px;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.blog-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    background-color: #f0f4f8;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    font-weight: bold;
}

.all-content-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    display: block;
    width: 150px;
}

.all-content-button:hover {
    background-color: #0056b3;
}


.articles-grid-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.articles-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.article-card {
    flex: 0 0 calc(25% - 20px); /* Four columns by default with gap consideration */
    border-radius: 10px;
    overflow: hidden;
    position: relative; /* Ensure the overlay is positioned relative to the card */
    transition: transform 0.3s;
}

.article-card:hover {
    transform: scale(1.05);
}

.article-image {
    width: 100%;
    height: 300px; /* Set a fixed height */
    object-fit: cover; /* Ensure the image fits within the given height */
    display: block;
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
}

.article-category {
    font-size: 14px;
    color: #ffcc00;
    margin-bottom: 5px;
}

.article-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.article-author {
    font-size: 12px;
    color: #ccc;
}

/* Navigation buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

/* Media query for phone screens */
@media (max-width: 768px) {
    .article-card {
        flex: 0 0 calc(50% - 20px) /* Two columns on mobile */
    }

    .article-image {
        height: 200px; /* Adjust the height for smaller screens */
    }
}

.section-title {
    text-align: center;
    margin-top: 20px;
    font-size: 24px;
    color: #333;
}
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px; /* Sayfanın ortalanması için genişlik belirlenir */
    margin: 0 auto; /* Sayfanın ortalanması için */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.card-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0; /* Başlangıçta opaklık 0 */
    animation: fadeIn 0.5s forwards; /* Fade-in animasyonu */
}

.card-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-label {
    font-size: 14px;
    color: #777;
    padding: 10px;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    flex-grow: 1;
}


.card-author {
    display: flex;
    align-items: center;
    padding: 10px;
}

.card-author img {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.card-author .author-name {
    font-size: 14px;
    font-weight: bold;
}

.card-author .author-level {
    font-size: 12px;
    color: #777;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.card-like, .card-comment {
    font-size: 14px;
    color: #777;
}

.reply-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.reply-btn:hover {
    background-color: #0056b3;
}
.loading {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #555;
}
/* Responsive Ayarlar */

@media (max-width: 1200px) {
    .grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    .form-images img {
        width: 100%;
        max-height: 200px;
        height: auto;
        object-fit: cover;
    }
   
    
}
.forms-links{
    color:#777;
}

@media (max-width: 900px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-wrapper {
        grid-template-columns: 1fr;
    }
    .form-images img {
        width: 100%;
        max-height: 500px;
        height: auto;
        object-fit: cover;
    }
}

.content-detail-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.content-main {
    flex: 3;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-right: 20px;
}

.content-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.category-label {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.content-title {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.author-info {
    display: flex;
    align-items: center;
}

.author-image {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.author-details {
    font-size: 14px;
}

.author-name {
    font-weight: bold;
}

.follow {
    color: #007bff;
    cursor: pointer;
}

.author-level {
    color: #777;
}

.content-body {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.content-actions {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.action-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.action-btn i {
    margin-right: 8px;
}

.action-btn:hover {
    background-color: #0056b3;
}

.content-comments {
    margin-top: 20px;
}

.comment-input {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.comment-user-image {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.comment-textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.comment-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.comments .comment {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-body {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 8px;
    flex: 1;
}

.comment-author {
    font-weight: bold;
    margin-right: 10px;
}
#copy-message {
    display: none;
    color: green;
    margin-top: 10px;
}
.comment-text {
    margin: 0;
}

.content-sidebar {
    flex: 1;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.sidebar-list li {
    margin-bottom: 10px;
}

.sidebar-list li a {
    text-decoration: none;
    color: #007bff;
}

.explore-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.explore-user-image {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.explore-username {
    font-weight: bold;
    margin-right: 5px;
}

.explore-text {
    margin: 0;
}

/* Responsive Ayarlar */
@media (max-width: 1200px) {
    .content-detail-wrapper {
        flex-direction: column;
    }
    
    .content-main {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .content-actions {
        flex-direction: column;
    }

    .action-btn {
        margin-bottom: 10px;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .content-title {
        font-size: 20px;
    }

    .content-body {
        font-size: 14px;
    }

    .author-image {
        width: 30px;
        height: 30px;
    }

    .comment-user-image {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 600px) {
    .content-title {
        font-size: 18px;
    }

    .content-body {
        font-size: 12px;
    }

    .action-btn {
        padding: 8px 16px;
    }

    .comment-textarea {
        padding: 8px;
    }

    .comment-btn {
        padding: 8px 16px;
    }
}
.yorumresimyok{
    background-color:black;font-weight:900;color:white;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;margin:0 5px 0 0;font-size:12px
}
.comment {
    position: relative;
    padding-right: 50px; /* Sil butonu için boşluk bırak */
}

.delete-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color:rgb(198, 26, 26);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.containers {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
}

.profile-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-cover {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;  /* bg-secondary için */
}

.cover-image {
    width: 100%;
    height: 300px;
}


.imageno {
    font-size: 70px;
    font-weight: 900;
    font-weight: bold;
    background: linear-gradient(45deg, violet, blue, red, yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin: 0;
    text-shadow: 0px 0px 1px rgba(226, 217, 217, 0.5); /* Hafif beyaz kabartma efekti */
}
.profile-info {
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: -60px; /* Profil resmini yukarı doğru çek */
}

.profile-details {
    display: flex;
    align-items: center;
    width: calc(100% - 140px);
    justify-content: space-between;
    flex-wrap: wrap;
}

.profile-main-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.profile-name {
    font-size: 24px;
    margin: 0;
}

.social-media-icons {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.social-media-icons a {
    margin-right: 10px;
    color:#777
}
.social-media-icons a :hover{
    color:#0056b3
}

.profile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.action-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 10px;
}

.profile-stats {
    display: flex;
    justify-content: center;
}

.profile-stats div {
    margin-left: 20px;
    text-align: center;
}

.profile-nav {
    background-color: #007bff;
    color: white;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.profile-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

.profile-nav li {
    margin: 0 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.profile-nav ul::-webkit-scrollbar {
    display: none;
}

.profile-nav ul {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.profile-nav .active {
    border-bottom: 2px solid white;
}

.profile-content {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.profile-summary h2 {
    margin-top: 0;
}

@media (max-width: 768px) {
    .profile-info {
        flex-direction: column;
        align-items: center;
    }

    .profile-details {
        width: 100%;
        justify-content: center;
    }

    .profile-main-info,
    .profile-actions {
        align-items: center;
        margin-bottom: 10px;
    }

    .social-media-icons {
        justify-content: center;
    }

    .profile-stats {
        justify-content: center;
    }

    .profile-stats div {
        margin-left: 10px;
    }

    .action-btn {
        margin: 10px 0;
    }
    .profile-details{
        display: block;
    }
    .profile-cover {
        width: 100%;
        height: 200px;
        overflow: hidden;
    }
    .cover-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .profile-nav ul {
        overflow-x: auto;
    }

    .profile-nav ul::-webkit-scrollbar {
        display: none;
    }}