/*
Theme Name: Ötüken Otel
Theme URI: https://otukenotel.local
Author: Sinorsel Yazılım
Description: Ötüken Otel için basit WordPress teması (Beach ana sayfa).
Version: 1.0.0
Text Domain: otukenotel
*/

/* Blog & Archive Styles */
.news-section {
  padding: 80px 0;
}

.news-block {
  margin-bottom: 30px;
}

.news-block .inner-box {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

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

.news-block .image-box {
  position: relative;
  overflow: hidden;
}

.news-block .image-box .image {
  margin: 0;
  overflow: hidden;
}

.news-block .image-box .image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-block .inner-box:hover .image-box .image img {
  transform: scale(1.1);
}

.news-block .image-box .date {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--theme-color, #d4a574);
  color: #fff;
  padding: 10px 15px;
  text-align: center;
  border-radius: 5px;
  font-weight: 600;
  line-height: 1.2;
  z-index: 1;
}

.news-block .image-box .date small {
  display: block;
  font-size: 20px;
  margin-top: 5px;
}

.news-block .content-box {
  padding: 25px 30px;
}

.news-block .post-info {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  color: #777;
}

.news-block .post-info li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-block .post-info i {
  color: var(--theme-color, #d4a574);
}

.news-block .title {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 15px;
  font-weight: 600;
}

.news-block .title a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-block .title a:hover {
  color: var(--theme-color, #d4a574);
}

.news-block .text {
  color: #666;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.news-block .read-more {
  color: var(--theme-color, #d4a574);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.news-block .read-more:hover {
  gap: 12px;
}

/* Pagination */
.pagination-wrapper {
  margin-top: 50px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--theme-color, #d4a574);
  color: #fff;
  border-color: var(--theme-color, #d4a574);
}

/* Single Post Detail */
.news-detail-section {
  padding: 60px 0;
}

.news-detail__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-detail__meta {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 15px;
}

.news-detail__content {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.news-detail__content p {
  margin-bottom: 20px;
}

.news-detail__content h2,
.news-detail__content h3,
.news-detail__content h4 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #222;
}

.news-detail__tags a {
  display: inline-block;
  padding: 5px 15px;
  background: #f5f5f5;
  border-radius: 20px;
  margin-right: 8px;
  margin-bottom: 8px;
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: all 0.3s ease;
}

.news-detail__tags a:hover {
  background: var(--theme-color, #d4a574);
  color: #fff;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.sidebar-widget .widget-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--theme-color, #d4a574);
}

.sidebar-widget .recent-post a {
  color: #333;
  text-decoration: none;
}

.sidebar-widget .recent-post a:hover {
  color: var(--theme-color, #d4a574);
}

.sidebar-widget .categories-widget a {
  color: #555;
  text-decoration: none;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.sidebar-widget .categories-widget a:hover {
  color: var(--theme-color, #d4a574);
}

.sidebar-widget .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sidebar-widget .tag-link {
  display: inline-block;
  padding: 6px 15px;
  background: #f5f5f5;
  border-radius: 20px;
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: all 0.3s ease;
}

.sidebar-widget .tag-link:hover {
  background: var(--theme-color, #d4a574);
  color: #fff;
}

/* Author Box */
.author-box {
  background: #f9f9f9;
  border-radius: 8px;
}

.author-box h5 {
  color: #222;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
  .news-block {
    margin-bottom: 30px;
  }
  
  .sidebar {
    margin-top: 50px;
  }
}
