/* ===================================
   NOVELTIES PAGE - ELEGANT STYLING
   =================================== */

/* Main Layout Container */
.novelties-page {
  background-color: #000;
  color: #E2E2E2;
  padding-top: 50px;
}

.novelties-container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0;
}

/* Content Area Layout */
.novelties-content-area {
  display: flex;
  gap: 40px;
  padding: 0;
  min-height: calc(100vh - 200px);
}

/* ===================================
   ELEGANT SIDEBAR STYLING
   =================================== */
.novelties-sidebar {
  border-right: 2px solid var(--global-color);
  padding-right: 2rem;
  position: relative;
  min-width: 250px;
}

.novelties-sidebar h3,
.sidebar-section div {
  font-family: var(--titles-font);
  color: var(--global-color);
  font-size: 1.4rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(180, 151, 81, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sidebar-section {
  margin-bottom: 3rem;
}

.sidebar-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-section li {
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.sidebar-section li a {
  color: #E2E2E2;
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 0.75rem 0;
  display: block;
  border-left: 3px solid transparent;
  padding-left: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.sidebar-section li a::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--global-color);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.sidebar-section li a:hover {
  color: var(--global-color);
}

.sidebar-section li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================
   ELEGANT MAIN CONTENT AREA
   =================================== */
.novelties-main {
  flex: 1;
  position: relative;
}

/* ===================================
   ELEGANT ARTICLE CARDS
   =================================== */
.novelties-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.novelty-article {
  display: flex;
  align-items: center;
  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);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  backdrop-filter: blur(10px);
}

.novelty-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--global-color), transparent, var(--global-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.novelty-article:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(180, 151, 81, 0.1);
  border-color: var(--global-color);
}

.novelty-article:hover::before {
  opacity: 1;
}

.novelty-image {
  max-width: 300px;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}

.novelty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  filter: grayscale(20%);
}

.novelty-article:hover .novelty-image img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.novelty-content {
  padding: 2rem;
  position: relative;
}

.novelty-title {
  font-family: var(--titles-font);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.novelty-title a {
  color: #FFF;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.novelty-title a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--global-color);
  transition: width 0.3s ease;
}

.novelty-title a:hover {
  color: var(--global-color);
}

.novelty-title a:hover::after {
  width: 100%;
}

.novelty-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(180, 151, 81, 0.8);
  font-family: var(--font);
}

.novelty-meta::before {
  content: '📅';
  font-size: 1rem;
}

.novelty-excerpt {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(226, 226, 226, 0.9);
  margin-bottom: 1.5rem;
}

.novelty-read-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: transparent;
  border: 2px solid var(--global-color);
  color: #000;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-color: var(--global-color);
}

.novelty-read-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--global-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.novelty-read-more:hover {
  color: #000;
  background-color: transparent;
}

.novelty-read-more:hover::before {
  left: 0;
}

.novelty-read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.novelty-read-more:hover::after {
  transform: translateX(5px);
}

/* ===================================
   ELEGANT PAGINATION
   =================================== */
.novelties-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
  padding: 2rem 0;
}

.novelties-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(25, 25, 25, 0.8);
  border: 2px solid rgba(180, 151, 81, 0.3);
  color: #E2E2E2;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 500;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.novelties-pagination .page-numbers:hover,
.novelties-pagination .page-numbers.current {
  background: var(--global-color);
  border-color: var(--global-color);
  color: #000;
  transform: scale(1.1);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .novelties-content-area {
    flex-direction: column;
    gap: 2rem;
  }
  
  .novelties-sidebar {
    flex: none;
    padding: 1.5rem;
  }
  
  .novelties-articles {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .novelties-main h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .novelties-sidebar {
    padding: 1rem;
  }
  
  .novelties-main {
    padding: 1.5rem;
    margin: 0;
    border-radius: 10px;
  }
  
  .novelties-main h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  
  .novelty-content {
    padding: 1.5rem;
  }
  
  .novelty-title {
    font-size: 1.5rem;
  }
  
  .sidebar-section div {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .novelties-content-area {
    gap: 1rem;
  }
  
  .novelties-main {
    padding: 1rem;
  }
  
  .novelties-main h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  .novelty-content {
    padding: 1rem;
  }
  
  .novelties-articles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .novelty-image {
    height: 180px;
  }
}

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

.novelty-article {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.novelty-article:nth-child(1) { animation-delay: 0.1s; }
.novelty-article:nth-child(2) { animation-delay: 0.2s; }
.novelty-article:nth-child(3) { animation-delay: 0.3s; }
.novelty-article:nth-child(4) { animation-delay: 0.4s; }
.novelty-article:nth-child(5) { animation-delay: 0.5s; }
.novelty-article:nth-child(6) { animation-delay: 0.6s; }

/* Elegant scrollbar */
.novelties-sidebar::-webkit-scrollbar {
  width: 8px;
}

.novelties-sidebar::-webkit-scrollbar-track {
  background: rgba(20, 20, 20, 0.5);
  border-radius: 4px;
}

.novelties-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--global-color), rgba(180, 151, 81, 0.5));
  border-radius: 4px;
}

.novelties-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--global-color);
}