/* UI Components */

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 3px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-color) 0%, var(--yellow-color) 100%);
  color: white;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 87, 183, 0.3) 0%, rgba(255, 215, 0, 0.3) 100%);
  transition: all 0.5s ease;
  z-index: 1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--yellow-color) 0%, var(--blue-color) 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 87, 183, 0.4), 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary span {
  position: relative;
  z-index: 2;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, var(--blue-color) 0%, var(--accent-color) 100%);
  transition: all 0.4s ease;
  z-index: -1;
  opacity: 0;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover {
  color: white;
  border-color: var(--blue-color);
}

.btn-secondary span {
  position: relative;
  z-index: 1;
}

.btn-light {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-light:hover {
  background-color: white;
  color: var(--dark-color);
}

.btn-text {
  padding: 0;
  background-color: transparent;
  color: var(--blue-color);
  border: none;
  display: inline-flex;
  align-items: center;
}

.btn-text:hover {
  color: var(--accent-color);
}

.btn-text::after {
  content: "→";
  margin-left: 5px;
  transition: var(--transition);
  color: var(--accent-color);
}

.btn-text:hover::after {
  margin-left: 10px;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
  color: white;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-color), var(--accent-color));
  margin: 15px auto 0;
}

/* Cards */
/* .product-card {
  min-width: 350px;
  background-color: var(--gray-color);
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
  padding: 2px;
  background: linear-gradient(135deg, var(--blue-color), var(--accent-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: all 0.3s ease;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 87, 183, 0.3),
    0 0 30px rgba(255, 215, 0, 0.2);
}

.product-image {
  height: 240px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 10px;
}

.product-info p {
  margin-bottom: 20px;
} */

/* News Card */
.news-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 3px solid var(--blue-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
  padding: 2px;
  background: linear-gradient(135deg, var(--blue-color), var(--accent-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: all 0.3s ease;
}

.news-card:hover::before {
  opacity: 1;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 87, 183, 0.3),
    0 0 30px rgba(255, 215, 0, 0.2);
  border-left-color: var(--accent-color);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-info {
  padding: 20px;
}

.news-date {
  display: block;
  font-size: 0.9rem;
  color: var(--blue-color);
  margin-bottom: 10px;
}

.news-info h3 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 10px;
}

.news-info p {
  margin-bottom: 20px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  transition: none;
}

.pagination a.active {
  background-color: var(--blue-color);
  border-color: var(--blue-color);
  color: white;
}

/* Responsive styles for components */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  /* .product-card {
    min-width: 300px;
  } */
}

@media (max-width: 768px) {
  /* .product-card {
    min-width: 85%;
  } */
}

@media (max-width: 576px) {
  /* .product-card {
    min-width: 100%;
  } */
}
