/* ===================================
   SINGLE POST PAGE - ELEGANT STYLING
   =================================== */

/* Main Layout Container */
.single-post-page {
  background: #000;
  min-height: 100vh;
  color: #E2E2E2;
  padding: 2rem 0;
}

.single-post-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================================
   SINGLE POST ARTICLE
   =================================== */
.single-post-article {
  border: 1px solid rgba(180, 151, 81, 0.2);
  overflow: hidden;
  backdrop-filter: blur(10px);
  position: relative;
  margin-bottom: 3rem;
}

.single-post-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--global-color), transparent, var(--global-color));
}

/* ===================================
   POST HEADER
   =================================== */
.single-post-header {
  padding: 3rem 3rem 2rem;
  text-align: center;
  position: relative;
}

.post-meta-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-category a {
  background: var(--global-color);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.3s ease;
}

.post-category a:hover {
  background: #fff;
  transform: translateY(-2px);
}

.post-date {
  color: rgba(226, 226, 226, 0.8);
  font-family: var(--font);
}

.single-post-title {
  font-family: var(--titles-font);
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #fff;
  text-align: center;
  position: relative;
}

.single-post-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--global-color);
}

.post-meta-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(226, 226, 226, 0.7);
  font-family: var(--font);
}

.post-meta-bottom > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-author a,
.post-comments a {
  color: var(--global-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-author a:hover,
.post-comments a:hover {
  color: #fff;
}

.post-reading-time {
  background: rgba(180, 151, 81, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* ===================================
   FEATURED IMAGE
   =================================== */
.single-post-featured-image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.single-post-featured-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.single-post-article:hover .single-post-featured-image img {
  transform: scale(1.02);
}

/* ===================================
   POST CONTENT
   =================================== */
.single-post-content {
  padding: 3rem;
  font-family: var(--font);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #E2E2E2;
}

.single-post-content p {
  margin-bottom: 1.5rem;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  font-family: var(--titles-font);
  color: var(--global-color);
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.single-post-content h2 {
  font-size: 2.2rem;
}

.single-post-content h3 {
  font-size: 1.8rem;
}

.single-post-content h4 {
  font-size: 1.4rem;
}

.single-post-content ul,
.single-post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.single-post-content li {
  margin-bottom: 0.5rem;
  color: rgba(226, 226, 226, 0.9);
}

.single-post-content blockquote {
  border-left: 4px solid var(--global-color);
  background: rgba(180, 151, 81, 0.05);
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(226, 226, 226, 0.95);
}

.single-post-content a {
  color: var(--global-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.single-post-content a:hover {
  color: #fff;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* Page Links */
.page-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(180, 151, 81, 0.2);
  font-family: var(--font);
}

.page-links-title {
  color: var(--global-color);
  font-weight: 600;
  margin-right: 1rem;
}

.page-links a {
  background: rgba(180, 151, 81, 0.1);
  color: var(--global-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-links a:hover {
  background: var(--global-color);
  color: #000;
}

/* ===================================
   TAGS AND BRANDS SECTIONS
   =================================== */
.single-post-tags,
.single-post-brands {
  padding: 0 3rem 2rem;
}

.single-post-tags h4,
.single-post-brands h4 {
  font-family: var(--titles-font);
  color: var(--global-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-list,
.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tag-list a,
.brands-list a {
  background: rgba(180, 151, 81, 0.1);
  border: 1px solid rgba(180, 151, 81, 0.3);
  color: var(--global-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font);
  transition: all 0.3s ease;
}

.tag-list a:hover,
.brands-list a:hover {
  background: var(--global-color);
  border-color: var(--global-color);
  color: #000;
  transform: translateY(-2px);
}

/* ===================================
   POST NAVIGATION
   =================================== */
.single-post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.8), rgba(15, 15, 15, 0.8));
  border: 1px solid rgba(180, 151, 81, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.nav-previous,
.nav-next {
  flex: 1;
  max-width: calc(50% - 1rem);
}

.nav-link {
  display: block;
  text-decoration: none;
  color: #E2E2E2;
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 10px;
  background: transparent;
}

.nav-link:hover {
  background: rgba(180, 151, 81, 0.1);
  transform: translateY(-2px);
}

.nav-direction {
  display: block;
  font-size: 0.9rem;
  color: var(--global-color);
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.nav-title {
  display: block;
  font-family: var(--titles-font);
  font-size: 1.1rem;
  line-height: 1.3;
}

.next-link {
  text-align: right;
}

/* ===================================
   COMMENTS SECTION
   =================================== */
.single-post-comments {
  padding: 3rem 2rem;
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.8), rgba(15, 15, 15, 0.8));
  border: 1px solid rgba(180, 151, 81, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  margin-top: 3rem;
}

/* ===================================
   NO POST FOUND
   =================================== */
.no-post-found {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.9), rgba(15, 15, 15, 0.9));
  border: 1px solid rgba(180, 151, 81, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.no-post-found h2 {
  font-family: var(--titles-font);
  color: var(--global-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.no-post-found p {
  font-family: var(--font);
  font-size: 1.1rem;
  color: rgba(226, 226, 226, 0.8);
  margin-bottom: 2rem;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .single-post-container {
    padding: 0 1.5rem;
  }
  
  .single-post-header {
    padding: 2rem 2rem 1.5rem;
  }
  
  .single-post-content {
    padding: 2rem;
  }
  
  .single-post-title {
    font-size: 2.5rem;
  }
  
  .post-meta-top,
  .post-meta-bottom {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .single-post-page {
    padding: 1rem 0;
  }
  
  .single-post-container {
    padding: 0 1rem;
  }
  
  .single-post-header {
    padding: 1.5rem;
  }
  
  .single-post-content {
    padding: 1.5rem;
  }
  
  .single-post-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .post-meta-top,
  .post-meta-bottom {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .single-post-navigation {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .nav-previous,
  .nav-next {
    max-width: 100%;
  }
  
  .next-link {
    text-align: left;
  }
  
  .single-post-tags,
  .single-post-brands {
    padding: 0 1.5rem 1.5rem;
  }
  
  .single-post-comments {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .single-post-title {
    font-size: 1.6rem;
  }
  
  .single-post-content {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .single-post-content h2 {
    font-size: 1.8rem;
  }
  
  .single-post-content h3 {
    font-size: 1.5rem;
  }
  
  .single-post-content h4 {
    font-size: 1.2rem;
  }
}

/* ===================================
   SPECIAL ANIMATIONS
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.single-post-article {
  animation: fadeInUp 0.6s ease-out;
}

.single-post-navigation {
  animation: fadeInUp 0.8s ease-out;
}

.single-post-comments {
  animation: fadeInUp 1s ease-out;
}