/* Makaleler Page Styles */

.makaleler-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  min-height: calc(100vh - 300px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.makaleler-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.articles-list-box {
  background: white;
  padding: 60px 50px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);

  /* Animation */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.articles-list-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #fe805d;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.articles-list li {
  margin-bottom: 25px;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.5s ease forwards;
}

.articles-list li:nth-child(1) {
  animation-delay: 0.3s;
}
.articles-list li:nth-child(2) {
  animation-delay: 0.4s;
}
.articles-list li:nth-child(3) {
  animation-delay: 0.5s;
}
.articles-list li:nth-child(4) {
  animation-delay: 0.6s;
}
.articles-list li:nth-child(5) {
  animation-delay: 0.7s;
}
.articles-list li:nth-child(6) {
  animation-delay: 0.8s;
}

.article-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
  border-left: 4px solid #fe805d;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-link:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(254, 128, 93, 0.2);
  border-left-width: 6px;
}

.article-info {
  flex: 1;
}

.article-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #fe805d;
  margin-bottom: 5px;
}

.article-date {
  font-family: "Avenir", sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: #999;
}

.article-icon {
  font-size: 1.5rem;
  color: #fe805d;
  margin-left: 20px;
  transition: all 0.3s ease;
}

.article-link:hover .article-icon {
  transform: translateX(5px);
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */

/* Tablets */
@media (max-width: 991px) {
  .makaleler-section {
    padding: 60px 20px;
  }

  .articles-list-box {
    padding: 50px 40px;
  }

  .articles-list-title {
    font-size: 2.2rem;
    margin-bottom: 35px;
  }

  .article-title {
    font-size: 1.3rem;
  }
}

/* Large Phones */
@media (max-width: 767px) {
  .makaleler-section {
    padding: 40px 15px;
  }

  .articles-list-box {
    padding: 40px 30px;
  }

  .articles-list-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .article-link {
    padding: 15px 20px;
  }

  .article-title {
    font-size: 1.2rem;
  }

  .article-date {
    font-size: 0.85rem;
  }

  .article-icon {
    font-size: 1.3rem;
    margin-left: 15px;
  }
}

/* Small Phones */
@media (max-width: 575px) {
  .makaleler-section {
    padding: 30px 10px;
  }

  .articles-list-box {
    padding: 30px 20px;
  }

  .articles-list-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .articles-list li {
    margin-bottom: 15px;
  }

  .article-link {
    padding: 12px 15px;
    flex-direction: column;
    align-items: flex-start;
  }

  .article-title {
    font-size: 1.1rem;
  }

  .article-date {
    font-size: 0.8rem;
  }

  .article-icon {
    align-self: flex-end;
    margin-left: 0;
    margin-top: 10px;
  }

  .article-link:hover {
    transform: translateX(5px);
  }
}

/* Article Display Section */
.article-display-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  min-height: calc(100vh - 300px);
}

.article-container {
  max-width: 1200px;
  margin: 0 auto;
}

.a4-document {
  width: 100%;
  max-width: 210mm;
  min-height: 297mm;
  background: white;
  padding: 40mm 25mm;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  box-sizing: border-box;
  margin: 0 auto 40px auto;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.document-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.document-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #fe805d;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.document-text {
  flex: 1;
  font-family: "Avenir", sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.9;
  text-align: justify;
}

.document-text p {
  margin-bottom: 20px;
  text-indent: 30px;
}

.document-text p:first-child {
  text-indent: 0;
}

.document-footer {
  margin-top: 60px;
  text-align: right;
  border-top: 2px solid #fe805d;
  padding-top: 20px;
}

.document-author {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #fe805d;
  margin-bottom: 5px;
}

.document-date {
  font-family: "Avenir", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #666;
}

/* Navigation Buttons */
.article-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 210mm;
  margin: 0 auto;
  padding: 20px 0;
}

.nav-btn {
  font-family: "Avenir", sans-serif;
  font-weight: 400;
  padding: 15px 30px;
  background: #fe805d;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn:hover {
  background: #e55a40;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(254, 128, 93, 0.3);
}

.nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}

.nav-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

.back-btn {
  background: #666;
}

.back-btn:hover {
  background: #555;
}

/* Responsive for article display */
@media (max-width: 991px) {
  .article-display-section {
    padding: 60px 20px;
  }

  .a4-document {
    padding: 50px 40px;
  }

  .document-title {
    font-size: 2.2rem;
  }

  .article-navigation {
    flex-wrap: wrap;
  }

  .nav-btn {
    padding: 12px 25px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .article-display-section {
    padding: 40px 15px;
  }

  .a4-document {
    padding: 40px 30px;
  }

  .document-title {
    font-size: 2rem;
  }

  .document-text {
    font-size: 1rem;
  }

  .article-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .nav-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .a4-document {
    padding: 30px 20px;
  }

  .document-title {
    font-size: 1.8rem;
  }

  .document-text {
    font-size: 0.95rem;
  }

  .document-text p {
    text-indent: 15px;
  }

  .nav-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}
