/* =====================
   BLOGS SECTION
===================== */

.blogs-section {
  position: relative;
  padding: 80px 40px 160px;

  background-image: url("../assets/images/about-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  text-align: center;
}


/* =====================
   BLOG GRID
===================== */

.blogs-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

/* =====================
   BLOG CARD
===================== */

.blog-card {
  width: 380px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.blog-card img {
  width: 100%;
  height: auto;
  display: block;
}
/* =====================
   BLOG INFO
===================== */

.blog-info {
  padding: 28px;
  text-align: left;
}

.blog-info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  margin-bottom: 14px;
}

.blog-info p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

/* =====================
   BLOG BUTTON
===================== */

.blog-btn {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: opacity 0.3s ease;
}

.blog-btn:hover {
  opacity: 0.7;
}


/* =====================
   BLOG MODAL
===================== */

.blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

.blog-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.blog-modal-content {
  width: 92%;
  max-width: 900px;

  max-height: 90vh;
  overflow-y: auto;

  background: radial-gradient(
    circle at top left,
    #2a1635 0%,
    #0b0612 75%
  );

  border-radius: 22px;
  padding: 60px;

  color: #ffffff;
  position: relative;
}
/* =====================
   BLOG MODAL TEXT
===================== */

#blogTitle{
  font-size:42px;
  margin-bottom:32px;
}

#blogText p{
  font-size:17px;
  line-height:1.85;
  margin-bottom:24px;
  opacity:0.92;
}



/* =====================
   CLOSE BUTTON
===================== */

.blog-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  border: none;
  background: none;
  color: white;
  cursor: pointer;
}

.blogs-title {
  font-family: "Montserrat", sans-serif;
  color: #ff8bb3;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 80px;
  letter-spacing: 2px;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {

  .blogs-section {
    padding: 100px 24px;
  }

  .blogs-title {
    font-size: 34px;
  }

  .blog-card {
    width: 100%;
    max-width: 420px;
  }

  .blog-modal-content {
    padding: 40px 28px;
  }

  #blogTitle {
    font-size: 28px;
  }

}