html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ============================================= */
/* MODERN GALERİ KAPAK STİLLERİ */
/* ============================================= */
.gallery-cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: .5rem;
    /* Temaya duyarlı gölge ve arka plan */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    background-color: var(--bs-tertiary-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 280px; /* Kapak yüksekliği */
}

.gallery-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.gallery-cover__image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin kutuya sığmasını sağlar */
    transition: transform 0.4s ease;
}

.gallery-cover:hover .gallery-cover__image {
    transform: scale(1.05); /* Üzerine gelince hafifçe büyüme efekti */
}

.gallery-cover__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Alttan üste doğru koyu bir gölge (metnin okunması için) */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}

.gallery-cover__title {
    font-weight: bold;
    color: white;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.gallery-cover__count {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}