/*
Theme Name: Duenia 25
Description: duenia 2025 theme
Author: NOTOFC
Version: 1.3
Text Domain: duenia-25
*/

/* adminbar */
#wpadminbar * {
  font-family: dashicons, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #eee;
  padding-top: 10px;
}

a {
  color: #e13232;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */

header {
  background-color: #000;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
}

.logo a {
  color: #fff;
  font-weight: bold;
  font-size: 24px;
}

nav.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

nav.menu ul li {
  margin-left: 30px;
}

nav.menu ul li a {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}

/* Hamburger menu button */

#mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-sizing: content-box;
  z-index: 1001;
}

#mobile-menu-toggle:focus {
  outline: 2px solid #e13232;
}

#mobile-menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* Hero Slider */

.hero-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 10px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out, opacity 0.4s ease;
  scroll-behavior: smooth;
  opacity: 0;
}

.slider.loaded {
  opacity: 1;
}

.slide {
  min-width: 100%;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img.slider-thumb {
  width: 320px;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.slide a:hover img.slider-thumb {
  transform: scale(1.05);
}

.slide-caption {
  position: absolute;
  bottom: 35px;
  left: 50px;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  max-width: 70%;
}

.slide-caption h2 {
  margin: 0;
  font-size: 36px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

/* Slider navigation buttons */

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 30%;
  user-select: none;
  z-index: 10;
}

.prev:hover,
.next:hover {
  background-color: rgba(0,0,0,0.7);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Logo image */

.logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */

@media (max-width: 768px) {
  #mobile-menu-toggle {
    display: flex;
  }

  nav.menu {
    display: none;
    flex-direction: column;
    background-color: #000;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 15px;
    border-radius: 0 0 0 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 999;
  }

  nav.menu.show {
    display: flex;
  }

  nav.menu ul {
    flex-direction: column;
  }

  nav.menu ul li {
    margin-left: 0;
    margin-bottom: 15px;
  }

  nav.menu ul li a {
    font-size: 18px;
  }

  .slide {
    max-width: 90vw;
    width: 90vw;
    height: auto;
    aspect-ratio: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .slide img.slider-thumb {
    height: auto;
    width: 100%;
    object-fit: contain;
  }

  .slide-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
  }

  .slide-caption h2 {
  font-size: 18px;
  }
}

/* Footer widget alanları */
.footer-widget-area {
  color: #eee;
  padding: 15px;
  background-color: rgba(0,0,0,0.4);
  border-radius: 8px;
  min-height: 100px;
}

.footer-widget-area h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

/* Archive (Category) */
.archive__header { padding: 24px 20px 8px; }
.breadcrumbs ol { display:flex; gap:8px; list-style:none; padding:0; margin:0 0 8px; font-size:12px; opacity:.9; }
.breadcrumbs li::after { content:'/'; margin:0 6px; opacity:.5; }
.breadcrumbs li:last-child::after { content:''; }
.archive__title { margin: 4px 0 8px; font-size: 28px; }
.archive__description { opacity:.9; }

.archive__grid {
  display:grid;
  gap:16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  padding: 16px 20px 24px;
}

.archive-card { background: rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.archive-card__thumb img, .archive-card__placeholder { width:100%; height: 300px; object-fit: cover; display:block; background:#111; }
.archive-card__content { padding: 14px 14px 16px; }
.archive-card__title { font-size: 18px; margin: 0 0 6px; line-height: 1.3; }
.archive-card__meta { font-size: 12px; opacity:.8; display:flex; align-items:center; gap:6px; }
.archive-card__excerpt { font-size: 14px; opacity:.95; margin-top: 8px; }

.pagination { padding: 10px 20px 24px; }
.pagination__list { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.pagination__item a, .pagination__item span { display:inline-block; padding:8px 12px; border:1px solid rgba(255,255,255,0.15); border-radius:8px; text-decoration:none; }
.pagination__item .current { background: rgba(255,255,255,0.08); }
