/* General body */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #050505e3;
}

/* Container for cards */
.container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}


/* Background images */
.bridal {
  background: url('images/bride1.jpg') center/cover no-repeat;
}

.academy {
  background: url('images/academy3.jpg') center/cover no-repeat;
}



/* Card title styling */
.card-title {
  position: relative;
  z-index: 1;
  font-family:"Oswald", Sans-serif;
  font-size: 2rem;
  color: #dbd1ac;
  margin: 0;

  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}


/* Paragraph description */
.card-desc {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.9;
  /* max-width: 250px; */
  letter-spacing: 1px;
  word-spacing: 6px;
  color: #f5f5f5;
}

.logo{
  text-align: center;
  margin-top: 20px;
}

.logo img{
  width: 150px;
  height: 150px;
  text-align: center;
  align-items: center;
}
.card-btn {
  padding: 12px 26px;
  color: #ff4f8b;
  border: 2px solid #ff4f8b;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
  background-color: #00000059;
}

.card-btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ff4f8b ;
  top: 0;
  left: -100%;
  transition: 0.4s ease;
  z-index: -1;
}

.card-btn:hover {
  color: white;
}

.card-btn:hover::after {
  left: 0;
}

/* ----- Card Slow Zoom + Tilt Effect ----- */
.card {
  position: relative;
  width: 650px;
  min-height: 550px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 1px solid #dbd1ac;
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

/* Smooth tilt + slight scale on hover */
.card:hover {
  transform: scale(1.00) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 18px 35px rgba(0,0,0,0.45);
}

/* Background image zoom effect */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 2s ease; /* smooth slow zoom */
  z-index: 0;
  transform: scale(1);
}

/* Bridal background */
.bridal::before {
  background-image: url('images/bride1.jpg');
}

/* Academy background */
.academy::before {
  background-image: url('images/academy3.jpg');
}

/* Zoom the image on hover (slow cinematic zoom) */
.card:hover::before {
  transform: scale(1.12);
}

/* Overlay stays stable */

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.90),
            rgba(0, 0, 0, 0.55),

  rgba(0, 0, 0, 0.25)   );
  z-index: 1;
}


/* Content stays above */
.card-content {
  position: relative;
  z-index: 2;
  text-align: start;
  color: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}
