/* Site Layout — sticky footer */
html {
    height: 100%;
}

.site-layout {
    min-height: 100vh;
    min-height: 100dvh;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
}

/* Custom Styles for TurkuvazDergi */

.disabled {
    pointer-events: none; /* Tıklanmayı devre dışı bırakır */
}

/* Search Container Styles */
.search-container {
    transition: all .3s ease;
    position: relative;
    width: 40px;
    flex-shrink: 0;
}

.search-toggle {
    color: white !important;
}

.search-expanded {
    flex: 1;
}

/* Navbar Layout Fix */
.navbar .container {
    position: relative;
}

.navbar-collapse {
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }
}

.menu-items {
    flex: 1;
    justify-content: flex-end;
    margin-right: 20px;
    display: flex;
}

.menu-items, .search-expanded {
    transition: all .3s ease;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-expanded .input-group {
    background: rgba(255,255,255,.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.search-expanded .form-control {
    border: none;
    background: transparent;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
}

.search-expanded .form-control::placeholder {
    color: rgba(255,255,255,.7);
}

.search-expanded .form-control:focus {
    box-shadow: none;
    background: rgba(255,255,255,.15);
}

.search-expanded .btn {
    border: none;
    background: transparent;
    color: rgba(255,255,255,.8);
    padding: 12px 15px;
}

.search-expanded .btn:hover {
    background: rgba(255,255,255,.1);
    color: white;
}

.search-close {
    border-left: 1px solid rgba(255,255,255,.2) !important;
}

.menu-items, .search-expanded {
    transition: all .3s ease;
}

/* Navigation Menu Link Styles */
.navbar-nav .nav-link {
    color: white !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    transform: translateY(-2px);
}

/* Footer Link Styles */
.footer-links a {
    color: rgba(255,255,255,.8) !important;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #ffc107 !important;
    text-decoration: none !important;
}

/* Home Page Styles */
.manset {
    position: relative;
    min-height: clamp(160px, 41.67vw, 400px);
    overflow: hidden;
}

.manset-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.manset-slide.active {
    opacity: 1;
}

.manset-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.0) 100%);
}

/* Slider images as <img> responsive setup */
.manset-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.manset-content {
    position: relative;
    z-index: 1;
}

.manset-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.manset-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s ease;
}

.manset-indicator.active {
    background: white;
    transform: scale(1.2);
}
.hover-effect {
    text-decoration: none;
    font-weight: 500;
    color: black;
}

.hover-effect:hover {
    text-decoration: none;
    color: orangered;
}

.category-pill {
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
}

.mag-card {
    transition: all .3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,.05);
    border-radius: 20px;
    overflow: hidden;
}

.mag-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mag-card img {
    object-fit: cover;
}

.mag-card .card-title { font-size: .95rem; }
.mag-card .card-text { font-size: .85rem; color: #6c757d; }

.news-card {
    transition: all .3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,.15);
}

.news-card img {
    transition: all .3s ease;
    filter: grayscale(20%);
}

.news-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.news-card .card-body {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    transition: all .3s ease;
}

.news-card:hover .card-body {
    background: linear-gradient(180deg, #fff 0%, #e3f2fd 100%);
}

/* Magazine Cards */
.magazine-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
    transition: all 0.3s ease;
    height: 100%;
}

/* Horizontal variant for magazines (preserve image aspect ratio) */
.magazine-card--horizontal {
	display: flex;
	align-items: stretch;
	gap: 1rem;
}

.magazine-card--horizontal img {
	width: auto;
	height: 100px;
	flex-shrink: 0;
}

.magazine-card--horizontal .magazine-info {
	padding: .75rem 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.magazine-card--horizontal .magazine-title {
	font-size: 1rem;
}

/* Horizontal variant removed */

.magazine-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.magazine-card img {
    transition: all 0.3s ease;
}

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

.magazine-info {
    padding: 1.5rem;
}

.magazine-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.magazine-category {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.magazine-price {
    font-weight: 700;
    color: #008B8B;
    font-size: 1.1rem;
}

/* Filter Section */
.filter-section {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 2rem 0;
}

.filter-btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-btn.active {
    background: #008B8B;
    color: white;
    border-color: #008B8B;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-item .page-link {
    color: #444444;
    background-color: #ffffff;
}
.page-item.active .page-link {
    color: #f1f1f1;
    background-color: #444444;
    border: 1px solid #444444;
}

.magazine-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.magazine-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.magazine-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.magazine-item .card-body {
    padding: 1.5rem;
}

/* News List Page Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* News Cards */
.news-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
    transition: all 0.3s ease;
    height: 100%;
}

/* Horizontal variant for compact news list items */
.news-card--horizontal {
	display: flex;
	align-items: stretch;
	gap: 1rem;
}

.news-card--horizontal img {
	width: auto;
	height: 100px;
	object-fit: cover;
	flex-shrink: 0;
}

.news-card--horizontal .news-info {
	padding: .75rem 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-card--horizontal .news-title {
	font-size: 1rem;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.news-card img {
    transition: all 0.3s ease;
}

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

.news-info {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
}

.news-date {
    color: #008B8B;
    font-weight: 500;
}

.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item .card-body {
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }

    .magazine-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Mobile Navbar Fix */
    .navbar-collapse {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-items {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .search-expanded {
        margin: 10px 0;
    }

    .search-container {
        width: auto;
        align-self: center;
    }
}

.dergi-cover {
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s ease;
}
.dergi-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,.4);
}

.dergi-info {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

.action-btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all .3s ease;
}
.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.article-card {
    transition: all .3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.05);
}
.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.tag-pill {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all .3s ease;
}
.tag-pill:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    text-decoration: none;
}


.haber-image-container {
    text-align: center;
}

.haber-image-container img {
    max-width: 815px;
    max-height: 480px;
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.haber-image-container img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Haber Title */
.haber-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #2c3e50;
    text-align: left;
}

/* Content Section */
.content-section {
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.content-section p {
    margin-bottom: 1.5rem;
}

.content-section h2, .content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
}

/* Related News Cards */
.related-news-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
}

.related-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.related-news-card img {
    transition: all 0.3s ease;
}

.related-news-card:hover img {
    transform: scale(1.05);
}

/* Tag Pills */
.tag-pill {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tag-pill:hover {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.tekFooter.siyah {
    background: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important;
    border-color: black !important;
}

.tekFooter.siyah .top {
    border-bottom: 1px solid #000 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .haber-title {
        font-size: 2rem;
    }

    .haber-image-container img {
        max-width: 100%;
    }
}

/* Hero video: tüm tarayıcılarda kontroller kapalı (pointer-events miras alınmaz, tüm torunlara uygula) */
.hero-video-no-controls,
.hero-video-no-controls * {
    pointer-events: none !important;
}
.ratio .video-js,
.hero-video-no-controls .video-js {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
.ratio .video-js .vjs-tech,
.hero-video-no-controls .vjs-tech {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
/* Video.js ve native UI tüm tarayıcılarda gizle */
.hero-video-no-controls .vjs-control-bar,
.hero-video-no-controls .vjs-big-play-button,
.hero-video-no-controls .vjs-loading-spinner,
.hero-video-no-controls .vjs-text-track-display,
.hero-video-no-controls .vjs-error-display,
.hero-video-no-controls .vjs-poster,
.vjs-control-bar,
.vjs-big-play-button,
.vjs-loading-spinner,
.vjs-text-track-display,
.vjs-error-display,
.vjs-poster {
    display: none !important;
}
