/**
 * Blog Page Custom Styles
 * Unique gradient color scheme - Green/Cyan theme
 */

/* Blog Page Breadcrumb - Green/Cyan Gradient */
.breadcrumb-banner-area {
  position: relative;
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
  padding-top: 20px !important;
  margin-top: 0;
  overflow: hidden;
}

.breadcrumb-banner-area::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
  z-index: 0;
}

.breadcrumb-text {
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
}

/* Animated floating particles */
.breadcrumb-banner-area::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatParticle 18s ease-in-out infinite;
  z-index: 0;
}

@keyframes floatParticle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  33% {
    transform: translate(50px, -30px) scale(1.2);
    opacity: 0.5;
  }
  66% {
    transform: translate(-30px, 40px) scale(0.9);
    opacity: 0.4;
  }
}

/* Pen/writing icon for blog theme */
.breadcrumb-banner-area .breadcrumb-text h1::before {
  content: "\f040";
  font-family: FontAwesome;
  margin-right: 15px;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Enhanced breadcrumb styling */
.breadcrumb-banner-area .breadcrumb-text h1 {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideInLeft 0.8s ease-out;
  padding-top: 22px;
}

.breadcrumb-banner-area .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.breadcrumb-banner-area .breadcrumb a:hover {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Subtle glow effect */
.breadcrumb-banner-area .breadcrumb-text {
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .breadcrumb-banner-area {
    padding-top: 180px !important;
  }
}

@media (max-width: 767px) {
  .breadcrumb-banner-area {
    padding-top: 16px !important;
  }

  .breadcrumb-text h1 {
    font-size: 28px !important;
  }

  .breadcrumb-text h1::before {
    display: none;
  }
}
