* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans Armenian', sans-serif;
  background-color: #0d0d0d;
  color: #f0f0f0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.header {
  background: #1a1a1a;
  padding: 15px 0;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-lnk {
  font-size: 1.5em;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.lang-switch a {
  color: #aaa;
  text-decoration: none;
  margin: 0 3px;
}

.lang-switch a.active {
  color: #fff;
  font-weight: 600;
}

.show-menu {
  font-size: 1.6em;
  color: #fff;
  cursor: pointer;
  display: none;
}

/* MAIN MENU */
.main-menu ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.main-menu a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-menu a:hover {
  color: #fff;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(180deg, #121212, #0a0a0a);
  border-radius: 12px;
  margin-top: 20px;
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.hero p {
  color: #bbb;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.card {
  background: #1b1b1b;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(255,255,255,0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #ffd700;
  margin-bottom: 10px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  background: #ffd700;
  color: #000;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #ffea80;
}

/* FOOTER */
.footer {
  background: #111;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  color: #888;
  border-top: 1px solid #333;
}

.footer a {
  color: #bbb;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

/* ՎԵՐԵՎ ԿՈՃԱԿ */
#toTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #ffd700;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.3em;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 10px rgba(255,215,0,0.3);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
}

#toTop.show {
  display: block;
  opacity: 1;
  transform: scale(1);
}

#toTop:hover {
  background: #ffea80;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {
  .main-menu ul {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    display: none;
    padding: 20px;
    gap: 15px;
  }

  .main-menu.active ul {
    display: flex;
  }

  .show-menu {
    display: block;
  }
}

/* TWO COLUMN LAYOUT */
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.post {
  flex: 1 1 68%;
}

.sidebar {
  flex: 1 1 28%;
  background: #161616;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(255,255,255,0.05);
}

.widget {
  margin-bottom: 30px;
}

.widget h3 {
  color: #ffd700;
  font-size: 1.1em;
  border-bottom: 1px solid #333;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

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

.widget ul li {
  margin-bottom: 8px;
}

.widget ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.widget ul li a:hover {
  color: #ffd700;
}

.zodiac-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #333;
  padding-bottom: 4px;
}

.widget p {
  color: #bbb;
  font-size: 0.95em;
  line-height: 1.5em;
}

/* Responsive */
@media (max-width: 900px) {
  .two-column {
    flex-direction: column;
  }
  .sidebar {
    order: -1;
  }
}

/* CATEGORY PAGE */
.category-title {
  color: #ffd700;
  margin-bottom: 20px;
  font-size: 1.6em;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.post-item {
  display: flex;
  gap: 20px;
  background: #1b1b1b;
  border-radius: 12px;
  padding: 15px;
  transition: transform 0.3s;
  box-shadow: 0 0 8px rgba(255,255,255,0.05);
}

.post-item:hover {
  transform: translateY(-3px);
}

.post-item img {
  width: 180px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
}

.post-info h2 {
  margin-bottom: 5px;
}

.post-info h2 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.post-info h2 a:hover {
  color: #ffd700;
}

.post-info p {
  color: #bbb;
  font-size: 0.95em;
  line-height: 1.5em;
}

/* Pagination */
.pagination {
  margin-top: 25px;
  text-align: center;
}

.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #1b1b1b;
  color: #ccc;
  text-decoration: none;
  border: 1px solid #333;
  transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
  background: #ffd700;
  color: #000;
}

/* Responsive */
@media (max-width: 800px) {
  .post-item {
    flex-direction: column;
    align-items: center;
  }
  .post-item img {
    width: 100%;
    height: auto;
  }
}
/* TWO COLUMN LAYOUT */
.two-column {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.category {
  flex: 1 1 68%;
}

.sidebar {
  flex: 1 1 28%;
  background: #161616;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(255,255,255,0.05);
}

.widget {
  margin-bottom: 30px;
}

.widget h3 {
  color: #ffd700;
  font-size: 1.1em;
  border-bottom: 1px solid #333;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

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

.widget ul li {
  margin-bottom: 8px;
}

.widget ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.widget ul li a:hover {
  color: #ffd700;
}

.widget p {
  color: #bbb;
  font-size: 0.95em;
  line-height: 1.5em;
}

/* Responsive */
@media (max-width: 900px) {
  .two-column {
    flex-direction: column;
  }
  .sidebar {
    order: -1; /* sidebar-ը տեղադրվում է վերևում */
  }
}

/* DREAMBOOK PAGE */
.alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.alphabet a {
  display: inline-block;
  padding: 6px 10px;
  background: #1b1b1b;
  color: #ccc;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
}

.alphabet a:hover {
  background: #ffd700;
  color: #000;
}

.dream-list {
  margin-bottom: 25px;
}

.dream-list h2 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 1.2em;
}

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

.dream-list ul li {
  margin-bottom: 6px;
}

.dream-list ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.dream-list ul li a:hover {
  color: #ffd700;
}

/* Responsive */
@media (max-width: 900px) {
  .two-column {
    flex-direction: column;
  }
  .sidebar {
    order: -1;
  }
}
