/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 20 2026 | 18:35:12 */
/* CARD */
.card1 {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 300 / 252;
  perspective: 1200px;
  margin: 40px auto;
  cursor: pointer;
	position: relative;
}

/* INNER */
.card-inner {
  width: 100%;
  height: 80%;
  position: relative;
  transform-style: preserve-3d;
border-radius: 8px;
    background: rgba(49, 60, 73, 0.06);
    border: 1px solid #ffffff;

  box-sizing: border-box;
  padding: 16px;

  transition: transform 0.15s ease-out, background 0.3s ease;
}

/* HOVER BG */
.card1:hover .card-inner {
  background: #f4FCFF;
}

/* IMAGE STACK */
.image-stack {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  top: 10px;
  overflow: visible;
}

/* IMAGES */
.image-stack img {
  position: absolute;
  width: 98%;
  height: 100%;
  object-fit: fill;
  border-radius: 5px;

  transition: all 0.6s cubic-bezier(.2,.8,.2,1);
}

/* 🔥 BACK (oglindă) */
.back {
  z-index: 0;
  transform: rotate(18deg) translate(15px, 10px) scale(0.98);
  opacity: 0.75;
}

/* 🔥 FRONT (oglindă) */
.front {
  z-index: 0;
  transform: rotate(-6deg) translate(-8px, 0px) scale(1);
}

/* 🔥 HOVER EFFECT */
.card1:hover .back {
  z-index: 5;
  transform: rotate(8deg) translate(-40px, -30px) scale(1.1);
  opacity: 1;
}

.card1:hover .front {
  z-index: 1;
  transform: rotate(-12deg) translate(20px, 15px) scale(0.95);
  opacity: 0.6;
}
/* 🔥 Title */
.title-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #000;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
margin-top: 50px;
  font-size: 17px;
  font-weight: 500;

  z-index: 9999;
  text-decoration: none;

  transition: background 0.3s ease;
}

.card1:hover  {
  background: #ffffff;
}
.title-overlay {
  background: WHITE;
}



/* HOVER PE CARD */
.card1:hover .title-overlay {
    background: #172A52;
	color: #ffffff;
}

a:hover .title-overlay{
    color: #ffffff;
}
.card1:hover .title-overlay a{
	color:white;
}
/* ARROW */
.arrow {
  opacity: 0;
  transform: translateX(-5px);
  transition: 0.3s;
}

.card1:hover .arrow {
  opacity: 1;
  transform: translateX(4px);
}


/* 🔥 MOBILE / TABLET FIX */
@media (hover: none) and (pointer: coarse) {

  .card-inner {
    transform: none !important;
  }

  .image-stack img {
    transition: transform 0.4s ease;
  }

  /* efect pe TAP în loc de hover */
  .card1:active .back {
    transform: rotate(-8deg) translate(30px, -20px) scale(1.05);
  }

  .card1:active .front {
    transform: rotate(6deg) translate(-10px, 10px) scale(0.95);
  }

  .card1:active .title-overlay {
    background: #f4FCFF;
  }
}

