/* JourneyPage.css */

.journey-container {
  padding: 120px 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.blog-card {
  display: flex;
  flex-direction: column;
  margin: 2rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: #ffffff;
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 90%;
  max-width: 850px;
  border: 1px solid rgba(200, 169, 126, 0.15);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(160, 82, 45, 0.1);
}

.blog-card a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card a:hover {
  color: var(--sienna-light);
}

.blog-card .meta {
  position: relative;
  height: 240px;
  overflow: hidden;
  z-index: 2;
}

.blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card:hover .photo {
  transform: scale(1.1);
}

/* Details Overlay Panel */
.blog-card .details {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  margin: auto;
  transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background: rgba(26, 26, 26, 0.9); /* Premium Charcoal tint */
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 30px;
  width: 100%;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  z-index: 3;
}

.blog-card:hover .details {
  left: 0%;
}

.blog-card .details ul {
  padding: 0;
  list-style: none;
}

.blog-card .details li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card .details .tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-card .details .tags li {
  display: inline-block;
  background: rgba(196, 165, 90, 0.2); /* var(--gold) with opacity */
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  border: 1px solid rgba(196, 165, 90, 0.4);
}

/* Card Description Content */
.blog-card .description {
  padding: 2rem;
  background: #ffffff;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card .description h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0;
}

.blog-card .description h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sienna-light);
  margin-top: 6px;
  margin-bottom: 0;
}

.blog-card .description p {
  position: relative;
  margin: 1.5rem 0 0;
  color: rgba(26, 26, 26, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-card .description p:first-of-type {
  margin-top: 1.5rem;
}

.blog-card .description p:first-of-type::before {
  content: "";
  position: absolute;
  height: 3px;
  background: var(--sienna);
  width: 45px;
  top: -0.75rem;
  border-radius: 2px;
  left: 0;
}

.blog-card .description .read-more {
  text-align: right;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.blog-card .description .read-more a {
  color: var(--sienna);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card .description .read-more a svg {
  transition: transform 0.3s ease;
}

.blog-card .description .read-more a:hover svg {
  transform: translateX(5px);
}

/* Desktop Styles with alternating layouts */
@media (min-width: 640px) {
  .blog-card {
    flex-direction: row;
    min-height: 290px;
    width: 100%;
  }

  .blog-card .meta {
    flex-basis: 42%;
    height: auto;
  }

  .blog-card .description {
    flex-basis: 58%;
  }

  .blog-card .description::before {
    transform: skewX(-3deg);
    content: "";
    background: #ffffff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: 2;
    transition: background 0.3s ease;
  }

  /* Reverse layout for odd/alternating cards */
  .blog-card.alt {
    flex-direction: row-reverse;
  }

  .blog-card.alt .description::before {
    left: auto;
    right: -10px;
    transform: skewX(3deg);
  }

  .blog-card.alt .details {
    padding-left: 30px;
  }
}
