/* main.css */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
}
/* Ana content-box için */
.content-box {
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Başlık için */
.page-title {
  background: rgba(255, 255, 255, 0.95);
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: #2c3e50;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

* {
  user-select: none;
}

/* Ana kart yapısı */
.maximized-card {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.maximized-card-header {
  background: linear-gradient(90deg, #ffd700 0%, #ff7e00 100%);
  color: #fff;
  padding: 0.33rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.maximized-card-body {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: auto;
  flex-wrap: wrap;
}

/* Logo ve kullanıcı menüsü */
.logo-container {
  height: 33px;
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 100%;
  object-fit: contain;
}

.logo-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo-loading {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hide-loading {
  display: none;
}

/* Dropdown menü stili */
.dropdown-menu {
  position: absolute;
  top: 40px;
  right: auto;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 14rem;
  padding: 0;
  margin: 0;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.dropdown-menu.show {
  display: block;
}

.user-header {
  background-color: #ff7e00;
  color: white;
  padding: 1rem;
  text-align: center;
}

.user-header img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}

.user-body {
  padding: 15px;
}

.user-body .row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-body .btn {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  color: #333;
  text-align: left;
  padding: 8px 12px;
  border-radius: 3px;
  width: 100%;
  transition: background-color 0.3s;
  text-decoration: none;
  display: block;
}

.user-body .btn:hover {
  background-color: #e9ecef;
}

.rounded-circle {
  border-radius: 50%;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Navigasyon butonları */
.nav-button {
  position: fixed;
  bottom: 20px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
  color: white;
  border: none;
}

.nav-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none !important;
}

.next-button {
  right: 20px;
  background-color: #28a745;
}

.prev-button {
  left: 20px;
  background-color: #6c757d;
}

/* İçerik kutusu stilleri */
.content-box {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 925px;
}

.content-box h1,
.content-box h2,
h3 {
  color: #dc3545;
}

.content-box p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Resim ve altyazı stilleri */
.image-container {
  text-align: center;
  margin: 20px 0;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.image-caption {
  font-style: italic;
  color: #666;
  margin-top: 10px;
  text-align: center;
}
.center-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1000;
  width: 1200px;
}

.center-message h1 {
  color: #dc3545;
  margin-bottom: 1rem;
}

/* Loading göstergesi stilleri */
#yukleniyor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #ffd700 0%, #ff7e00 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#yukleniyor .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: white;
}

#yukleniyor h4 {
  font-weight: 300;
  margin-top: 1.5rem;
  opacity: 0.9;
}

#yukleniyor .loading-text {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* Sayfa içeriğini başlangıçta gizle */
.page-content {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.page-content.loaded {
  opacity: 1;
}

/* Loading fade out animasyonu */
#yukleniyor.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
