/*
Theme Name: Kidsevent deneme
Theme URI: https://example.com/kidsevent
Author: You
Description: Basit Bootstrap ile grid düzenli landing sayfası
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
License: GPLv2 or later
Text Domain: kidsevent
*/

/* WordPress tema tanımı için dosya gereklidir. Özel CSS kullanmıyoruz. */
/* Temel değişkenler ve responsive breakpoint'ler */
:root {
  --bg: #ffffff;
  --text: rgba(17, 17, 17, 0.9);
  --muted: rgba(17, 17, 17, 0.6);
  --border: rgba(0, 0, 0, 0.08);
  --accent: #FF6B35;
  --surface: #f8fafc;

  /* Responsive spacing değişkenleri */
  --container-padding: 1.5rem;
  --section-spacing: 4rem;
  --card-padding: 1.5rem;
}

/* Mobil için değişkenler */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --section-spacing: 3rem;
    --card-padding: 1rem;
  }
}

/* Responsive breakpoint'ler - tüm cihazlar için */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Temel stil resetleri ve responsive ayarlar */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  width: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Sayfa yapısı */
body>main {
  flex: 1 0 auto;
  padding: var(--container-padding) 0;
}

body>footer {
  margin-top: auto;
  padding: var(--container-padding) 0;
}

/* Utility classes */
.text-orange {
  color: var(--accent) !important;
}

/* Linkler */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #FF9E7D;
  text-decoration: none;
}

/* Responsive görüntü ayarları */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container'lar için horizontal scroll önleme */
.container,
.wrapper,
.row {
  max-width: 100%;
  overflow-x: hidden;
}

/* Navbar gradient */
.navbar-gradient {
  background: transparent;
  backdrop-filter: none;
  transition: background-color 0.3s ease;
}

/* Navbar temel stilleri */
.navbar {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: 1rem var(--container-padding);
  transition: all 0.3s ease;
}

/* Navbar marka ve logo */
.navbar .navbar-brand {
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--text);
  font-size: 1.25rem;
  padding: 0;
}

.navbar .custom-logo-link {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 1rem;
  text-decoration: none;
}

.navbar .custom-logo {
  max-height: 48px;
  height: auto;
  transition: max-height 0.3s ease;
}

/* Navbar menü öğeleri */
.navbar .nav-link {
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  border-radius: 999px;
  /* Pill shape */
}

.navbar a,
.navbar .nav-link {
  text-decoration: none !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  text-decoration: none;
  background-color: transparent;
  color: var(--accent) !important;
  opacity: 1;
}

.navbar .nav-link.active,
.navbar .show>.nav-link,
.navbar .current-menu-item .nav-link,
.navbar .current_page_item .nav-link {
  background-color: transparent;
  color: var(--accent) !important;
}

.navbar .navbar-collapse {
  justify-content: center;
}

/* Responsive navbar ayarları */
@media (min-width: 992px) {
  .navbar {
    padding: 1.25rem var(--container-padding);
  }

  .navbar .custom-logo {
    max-height: 64px;
  }

  .navbar .nav-link {
    margin: 0 0.25rem;
  }
}

/* Mobil navbar ayarları */
@media (max-width: 991px) {
  .navbar {
    padding: 0.75rem var(--container-padding);
  }

  .navbar-collapse {
    /* Mobilde menü arka planını kaldır; glassbar’ın blur gri zemini görünsün */
    background: transparent;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: none;
    margin-top: 0.5rem;
    /* Blur efekti container (.glassbar) üzerinde zaten var; burada gerek yok */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .navbar .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #ffffff !important;
  }

  .navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
  }

  .navbar-gradient .navbar-nav a {
    color: #ffffff !important;
  }

  .navbar-gradient .navbar-nav a:hover,
  .navbar-gradient .navbar-nav a:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  }
}

/* WordPress menü linkleri için modern siyah görünüm */
.navbar-gradient .navbar-nav a {
  color: var(--text) !important;
  font-weight: 600;
  padding: .35rem .8rem;
  border-radius: 9999px;
  display: inline-block;
}

.navbar-gradient .navbar-nav a:hover,
.navbar-gradient .navbar-nav a:focus {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.navbar-gradient .nav-link {
  color: #111111;
}

.navbar-gradient .nav-link:hover,
.navbar-gradient .nav-link:focus {
  color: #111111;
}

.navbar-gradient .navbar-brand {
  color: #111111;
}

/* Glassmorphism kapsayıcı */
/* Daha buzlu cam görünümü, sınır çizgisi olmadan */
.glassbar {
  /* Koyu gri, belirgin transparan glassmorphism */
  background: rgba(20, 20, 24, 0.65);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(1.02) contrast(0.96);
  -webkit-backdrop-filter: blur(18px) saturate(1.02) contrast(0.96);
}

/* Header'ı video üstüne bindir (overlay) */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

/* Header overlay olduğunda diğer sayfalarda içerik üstten boşluk alsın */
body:not(.home) {
  padding-top: 84px;
}

/* Modern pill linkler */
.navbar-gradient .nav-link,
.navbar-gradient .nav-link.pill {
  padding: .35rem .8rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.navbar-gradient .nav-link.pill:hover,
.navbar-gradient .nav-link:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.navbar-gradient .current-menu-item>a,
.navbar-gradient .current_page_item>a,
.navbar-gradient .nav-link.active {
  /* Aktif durum efekti kaldırılsın */
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

/* Toggler butonu modernleşsin */
.navbar-dark .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
}

/* Koyu gri transparan navbar için beyaz yazı ve hover efektleri */
.navbar-dark .navbar-brand,
.navbar-dark .nav-link,
.navbar-dark .navbar-nav a {
  color: #ffffff !important;
}

.navbar-dark .navbar-nav a:hover,
.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

/* --- Homepage (Jamma benzeri) --- */
.home-hero {
  position: relative;
  min-height: 78vh;
  padding: 72px 0 64px;
  overflow: hidden;
}

.home-hero .hero-title {
  font-size: clamp(1.75rem, 2.2vw + 1rem, 3rem);
  line-height: 1.1;
  color: #ffffff;
  text-shadow: none;
}

.home-hero .hero-subtext {
  color: #ffffff;
  text-shadow: none;
  font-size: clamp(1rem, .6vw + .8rem, 1.25rem);
}

.home-hero .hero-btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-radius: 9999px;
  padding: .6rem 1.1rem;
  font-weight: 600;
}

.home-hero .hero-btn-primary:hover {
  background: #E05320;
  color: #ffffff;
}

.home-hero .hero-btn-secondary {
  background: #f1f5f9;
  color: var(--text);
  border-radius: 9999px;
  padding: .6rem 1.1rem;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.home-hero .hero-btn-secondary:hover {
  background: #e2e8f0;
}

.home-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  z-index: 0;
}

.home-hero .hero-overlay {
  position: absolute;
  inset: 0;
  /* Overlay kapalı: video tamamen görünür olsun */
  background: transparent;
  z-index: 1;
}

/* İçerik katmanını üstte tutalım */
.home-hero .container {
  position: relative;
  z-index: 2;
}

/* --- Dijital Corner (sidebar + grid) --- */
.dc-layout {}

.dc-sidebar,
.ke-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Sticky kaldırıldı: side menüler sayfayla birlikte kayar */
@media (min-width: 992px) {

  .dc-sidebar,
  .ke-sidebar {
    position: static;
    top: auto;
  }
}

.dc-sidebar .list-group-item,
.ke-sidebar .list-group-item {
  background: transparent;
  color: var(--text);
  border: 0;
  border-radius: 10px;
  margin-bottom: .25rem;
  padding: .5rem .75rem .5rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  position: relative;
}

.dc-sidebar .list-group-item:hover,
.ke-sidebar .list-group-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.dc-sidebar .list-group-item.active,
.ke-sidebar .list-group-item.active {
  background: transparent;
  color: var(--accent) !important;
  font-weight: 700;
}

.dc-sidebar .list-group-item.active::before,
.ke-sidebar .list-group-item.active::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  border-radius: 3px;
  background: var(--accent);
}

/* Özellik kartları temel stilleri */
.feature-card {
  background: var(--bg);
  border-radius: 1rem;
  padding: var(--card-padding);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border);
}

#dc-grid .feature-card,
#ke-grid .feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#dc-grid .feature-card:hover,
#ke-grid .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Kart medya bölümü */
.feature-card .feature-media {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface);
  margin-bottom: 1.25rem;
  position: relative;
}

.feature-card .feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.feature-card .feature-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Kart içerik stilleri */
.feature-card .feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-card .feature-text {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.feature-card .feature-cta {
  margin-top: auto;
}

/* Hover efektleri */
#dc-grid .feature-card:hover .feature-media img,
#ke-grid .feature-card:hover .feature-media img {
  transform: scale(1.05);
}

/* Responsive kart ayarları */
@media (max-width: 991px) {
  .feature-card {
    padding: calc(var(--card-padding) * 0.9);
  }

  .feature-card .feature-title {
    font-size: 1.15rem;
  }

  .feature-card .feature-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .feature-card {
    padding: calc(var(--card-padding) * 0.8);
  }

  .feature-card .feature-media {
    margin-bottom: 1rem;
  }

  .feature-card .feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .feature-card .feature-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

/* Grid düzeni responsive ayarları */
@media (max-width: 576px) {
  .row {
    margin-left: calc(var(--container-padding) * -0.5);
    margin-right: calc(var(--container-padding) * -0.5);
  }

  .col-12,
  .col-md-4,
  .col-md-6 {
    padding-left: calc(var(--container-padding) * 0.5);
    padding-right: calc(var(--container-padding) * 0.5);
  }
}

/* --- Galeri --- */
.gallery-controls .btn {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.gallery-controls .btn.active {
  background: var(--accent);
  color: #001018;
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  grid-column: span 4;
  cursor: pointer;
}

.gallery-item .gallery-thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: rgba(0, 0, 0, 0.04);
}

.gallery-item .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.gallery-item .gallery-thumb.video .play-badge {
  position: absolute;
  inset: auto 12px 12px auto;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: .25rem .5rem;
  border-radius: 10px;
  font-weight: 700;
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: grid;
  place-items: center;
  z-index: 9999;
}

.lightbox-inner {
  max-width: min(1080px, 92vw);
  max-height: 86vh;
}

.lightbox img,
.lightbox video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .25rem .5rem;
}


.section-muted {
  background: var(--muted-surface);
}

.feature-card {
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 16px;
  background: var(--surface);
}

.feature-card .feature-title {
  font-weight: 600;
  margin-bottom: .25rem;
  color: var(--text);
}

.feature-card .feature-text {
  color: var(--text-muted);
}

.cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
}

/* --- Footer --- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.site-footer .footer-title {
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .4px;
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.site-footer .footer-logo {
  height: 40px;
  width: auto;
}

.site-footer .footer-nav .nav-link,
.site-footer .footer-nav a {
  color: var(--text);
  padding: 0;
  transition: color 0.2s ease;
}

.site-footer .footer-nav .nav-link:hover,
.site-footer .footer-nav a:hover {
  color: var(--accent) !important;
  background-color: transparent !important;
}

.site-footer .footer-contact li {
  margin-bottom: .5rem;
  color: var(--text-muted);
}

.site-footer .footer-contact a {
  color: var(--text);
  text-decoration: none;
}

.site-footer .footer-contact a:hover {
  color: var(--accent) !important;
  background-color: transparent;
}

.site-footer .social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.site-footer .social-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

/* --- Balloon strips on page margins (except home) --- */
body:not(.home):not(.front-page)::before,
body:not(.home):not(.front-page)::after {
  display: none;
}

body:not(.home):not(.front-page)::before,
body:not(.home):not(.front-page)::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 96px;
  /* side strip width */
  pointer-events: none;
  /* never block interactions */
  z-index: 0;
  /* above backgrounds but away from content */
  background-repeat: no-repeat;
}

/* Left strip with randomized balloon positions */
body:not(.home):not(.front-page)::before {
  left: 0;
  background-image:
    radial-gradient(circle at 12px 120px, rgba(255, 99, 132, .16) 0 42px, transparent 43px),
    radial-gradient(circle at 52px 210px, rgba(255, 107, 53, .16) 0 34px, transparent 35px),
    radial-gradient(circle at 26px 355px, rgba(255, 206, 86, .16) 0 58px, transparent 59px),
    radial-gradient(circle at 78px 480px, rgba(75, 192, 192, .16) 0 38px, transparent 39px),
    radial-gradient(circle at 18px 615px, rgba(153, 102, 255, .16) 0 50px, transparent 51px),
    radial-gradient(circle at 64px 760px, rgba(255, 159, 64, .16) 0 44px, transparent 45px),
    radial-gradient(circle at 30px 910px, rgba(255, 107, 53, .16) 0 36px, transparent 37px);
}

/* Right strip with different randomized positions */
body:not(.home):not(.front-page)::after {
  right: 0;
  background-image:
    radial-gradient(circle at 84px 95px, rgba(255, 159, 64, .16) 0 40px, transparent 41px),
    radial-gradient(circle at 60px 265px, rgba(255, 107, 53, .16) 0 36px, transparent 37px),
    radial-gradient(circle at 82px 405px, rgba(255, 99, 132, .16) 0 54px, transparent 55px),
    radial-gradient(circle at 56px 535px, rgba(75, 192, 192, .16) 0 32px, transparent 33px),
    radial-gradient(circle at 90px 680px, rgba(153, 102, 255, .16) 0 60px, transparent 61px),
    radial-gradient(circle at 62px 820px, rgba(255, 206, 86, .16) 0 42px, transparent 43px);
}

@media (max-width: 992px) {

  body:not(.home):not(.front-page)::before,
  body:not(.home):not(.front-page)::after {
    width: 64px;
  }
}

@media (max-width: 768px) {

  /* Hide on small screens to avoid overlapping content */
  body:not(.home):not(.front-page)::before,
  body:not(.home):not(.front-page)::after {
    display: none;
  }
}

/* Safari/WebKit özel düzeltmeleri */
@supports (-webkit-appearance: none) {

  /* Safari-specific styles */
  .glassbar {
    -webkit-backdrop-filter: blur(18px) saturate(1.02) contrast(0.96);
  }
}

/* iOS Safari için */
@supports (-webkit-touch-callout: none) {

  /* iOS-specific styles */
  body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }

  input,
  textarea,
  select {
    -webkit-appearance: none;
    border-radius: 8px;
  }
}

/* --- Contact page --- */
.contact-hero h1 {
  letter-spacing: .2px;
}

.contact-info .contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .2s ease, border-color .2s ease;
  text-decoration: none;
  color: var(--text);
}

.contact-info .contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 53, .4);
}

.contact-info .icon-wrap {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.contact-info .label {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
}

.contact-info .value {
  color: var(--text-muted);
}

.contact-form.card {
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-form .form-label {
  color: var(--text-muted);
}

.contact-form .form-control,
.contact-form textarea {
  background: var(--muted-surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.contact-form .form-control:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .1rem rgba(255, 107, 53, .25);
}

.contact-social .social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.contact-social .social-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

footer {
  background: var(--surface);
}

footer .text-secondary {
  color: var(--text-muted) !important;
}

footer .nav a {
  color: var(--text) !important;
}

footer .nav a:hover {
  color: #ffffff !important;
}

/* Galeri sayfalama: site temasıyla uyumlu görünüm */
.gallery-pagination .pagination {
  gap: .25rem;
}

.gallery-pagination .page-link {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .45rem .75rem;
}

.gallery-pagination .page-item.active .page-link {
  background: var(--accent);
  color: #001018;
  border-color: transparent;
}

.gallery-pagination .page-link:hover,
.gallery-pagination .page-link:focus {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.22);
}

.gallery-pagination .page-item.disabled .page-link {
  color: var(--text-muted);
  background: var(--surface);
  border-color: var(--border);
}

.sidebar-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: .6rem .8rem;
  font-weight: 700;
}

.sidebar-toggle .toggle-caret {
  float: right;
  opacity: .7;
}

.sidebar-collapsible {
  display: block;
}

@media (max-width: 991px) {

  .dc-sidebar,
  .ke-sidebar {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-collapsible {
    display: none;
    margin-top: .5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: .5rem;
  }

  .sidebar-collapsible.open {
    display: block;
  }
}

/* Touch target boyutları (min 44x44px) - Apple ve Google önerisi */
a,
button,
[role="button"],
input[type="submit"],
.nav-link {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {

  a,
  button,
  [role="button"],
  input[type="submit"],
  .nav-link {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Safari/WebKit özel düzeltmeleri */
@supports (-webkit-appearance: none) {

  /* Safari-specific styles */
  .glassbar {
    -webkit-backdrop-filter: blur(18px) saturate(1.02) contrast(0.96);
  }
}

/* iOS Safari için */
@supports (-webkit-touch-callout: none) {

  /* iOS-specific styles */
  body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }

  input,
  textarea,
  select {
    -webkit-appearance: none;
    border-radius: 8px;
  }
}