﻿/* News Grid Section Styles */
.news-grid-section {
    position: relative;
    background: transparent;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Özel Başlık Tasarımı */
.section-title-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: #ff0808;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ff0808 50%, transparent 100%);
    z-index: -1;
}

.section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    position: relative;
}

.title-bottom-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff0808, transparent);
    margin: 1rem auto 0;
}

/* Update Cards */
.update-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(40, 40, 40, 0.7));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}

.update-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    z-index: 1;
    pointer-events: none;
}

.update-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.update-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.update-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.update-card:hover .update-card-image img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 2;
}

.update-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.update-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.update-card-content {
    position: relative;
    padding: 20px;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.update-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.update-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.update-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.update-title a:hover {
    color: #b3b3b3;
}

.update-summary {
    color: #bebebe;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
}

.update-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(50, 50, 50, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    margin-top: auto;
    align-self: flex-start;
}

.update-details-btn i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.update-details-btn:hover {
    background: rgba(80, 80, 80, 0.5);
    color: white;
}

.update-details-btn:hover i {
    transform: translateX(3px);
}

/* Subtle Edge Highlight Effect */
.update-card-glint {
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.02),
        transparent
    );
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    pointer-events: none;
}

.update-card:hover .update-card-glint {
    animation: glint 2s ease-in-out;
}

@keyframes glint {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* Pagination Design */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.custom-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(30, 30, 30, 0.4);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.page-numbers {
    display: flex;
    gap: 6px;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-number.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.page-number:not(.active):hover {
    background: rgba(100, 100, 100, 0.3);
    transform: translateY(-2px);
}

.page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: rgba(50, 50, 50, 0.3);
    border: 1px solid rgba(150, 150, 150, 0.2);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-nav:hover {
    background: rgba(100, 100, 100, 0.4);
    transform: translateY(-2px);
}

/* Empty Content State */
.no-updates {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #aaa;
    gap: 20px;
    background: rgba(30, 30, 30, 0.2);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.no-updates i {
    font-size: 2.5rem;
    opacity: 0.4;
}

.no-updates p {
    font-size: 1.1rem;
    margin: 0;
}

/* News Table View (Alternative Layout) */
.news-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-bottom: 30px;
}

.news-table tr {
    background: rgba(30, 30, 30, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.news-table tr:hover {
    background: rgba(40, 40, 40, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.news-table td {
    padding: 16px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-table td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.news-table td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    text-align: right;
}

.news-date {
    color: #bebebe;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.news-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #d1d1d1;
}

.news-table-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(50, 50, 50, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-table-btn:hover {
    background: rgba(70, 70, 70, 0.6);
    color: #fff;
}

.news-table-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.news-table-btn:hover i {
    transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.2rem;
    }

    .news-table {
        display: none; /* Hide table on small screens */
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }

    .update-card-image {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .update-card-image {
        height: 160px;
    }

    .update-title {
        font-size: 1.1rem;
    }

    .update-summary {
        font-size: 0.9rem;
    }

    .page-number,
    .page-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
.news-big-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(40, 40, 40, 0.7));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}

.news-big-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    z-index: 1;
    pointer-events: none;
}

.news-big-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.news-big-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-big-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-big-card:hover .news-big-image img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.news-big-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 2;
}

.news-big-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-big-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-big-content {
    position: relative;
    padding: 20px;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-big-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.news-big-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.news-big-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-big-title a:hover {
    color: #b3b3b3;
}

.news-big-summary {
    color: #bebebe;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-big-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(50, 50, 50, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    margin-top: auto;
    align-self: flex-start;
}

.news-big-btn i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.news-big-btn:hover {
    background: rgba(80, 80, 80, 0.5);
    color: white;
}

.news-big-btn:hover i {
    transform: translateX(3px);
}

/* Subtle Edge Highlight Effect */
.news-big-glint {
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.02),
        transparent
    );
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    pointer-events: none;
}

.news-big-card:hover .news-big-glint {
    animation: news-glint 2s ease-in-out;
}

@keyframes news-glint {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* Responsive düzenlemeler */
@media (max-width: 991px) {
    .news-big-image {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .news-big-image {
        height: 220px;
    }
}

@media (max-width: 575px) {
    .news-big-image {
        height: 180px;
    }

    .news-big-title {
        font-size: 1.1rem;
    }

    .news-big-summary {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }

    .news-big-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
/* Sadece anasayfadaki news bölümü için */
.recent-updates.section-padding {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.recent-updates .update-card-image {
    height: 140px; /* 160px yerine 140px */
}

.recent-updates .update-card-content {
    padding: 15px; /* 20px yerine 15px */
}

.recent-updates .update-title {
    font-size: 0.95rem; /* Biraz daha küçük */
    margin-bottom: 8px;
}

.recent-updates .update-summary {
    font-size: 0.85rem; /* Daha kompakt metin */
    -webkit-line-clamp: 2; /* 3 satır yerine 2 satır */
    margin-bottom: 10px;
}

.recent-updates .update-details-btn {
    padding: 6px 14px; /* Daha küçük buton */
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 767px) {
    .recent-updates .update-card-image {
        height: 120px;
    }
    
    .recent-updates .update-card-content {
        padding: 12px;
    }
}