body {
    background-color: #fff2f7;
}


/* ============================= */
/* HERO SECTION */
/* ============================= */
.hero {
  padding: 3rem 1rem;
  font-family: 'Times New Roman', Times, serif;
}

/* ============================= */
/* CONTAINER */
/* ============================= */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  max-width: 1100px;
  margin: 0 auto;
}

/* ============================= */
/* LEFT SIDE */
/* ============================= */
.hero-left {
  flex: 1;
  max-width: 520px;
}

/* ============================= */
/* TEXT */
/* ============================= */
.hero-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #0b0224;
  margin-bottom: 1.2rem;
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

/* Badge */
.badge {
  display: inline-block;
  background: #c9bdfa;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #623fff;
  font-size: 0.95rem;
}

/* ============================= */
/* RIGHT SIDE (IMAGES) */
/* ============================= */
.hero-images {
  flex: 1;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Individual cards/images */
.card {
  width: 100%;
  max-width: 180px;
  height: 240px;

  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);

  object-fit: cover;
}

/* ============================= */
/* TABLET */
/* ============================= */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-images {
    justify-content: center;
  }
}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 500px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero-images {
    gap: 0.6rem;
  }

  .card {
    max-width: 120px;
    height: 160px;
  }
}




/* ============================= */
/* CONTENT SECTION */
/* ============================= */
.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 0rem 1rem 4rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  justify-items: center;
  font-family: 'Times New Roman', Times, serif;
}

/* ===== Desktop Layout ===== */
@media (min-width: 768px) {
  .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: stretch;
  }

  .contents {
    width: 380px;
    display: flex;
    flex-direction: column;
  }
}

/* ============================= */
/* CONTENT CARD */
/* ============================= */
.contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;

  background-color: #fff;
  padding: 1.4rem 0.8rem;
  border-radius: 20px;
  box-shadow: 0 30px 30px rgba(0,0,0,0.1);
}

/* ============================= */
/* IMAGES */
/* ============================= */
.photo img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
  border-radius: 20px;
}

/* ============================= */
/* TITLE — LOCKED HEIGHT */
/* ============================= */
.content-headings {
  font-size: 1.4rem;
  font-weight: 500;
  color: #000;
  line-height: 1.2;

  /* 🔑 Locks title row height for alignment */
  height: 2.0em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  margin-bottom: 0.75rem;
}

/* ============================= */
/* TEXT */
/* ============================= */
.content-text {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #000;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ============================= */
/* BUTTON GROUP */
/* ============================= */
.buttons-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  width: 100%;
  gap: 0.8rem;
}

/* ============================= */
/* BUTTON */
/* ============================= */
.button {
  font-size: 1rem;
  font-weight: bold;
  color: #000000;
  border-radius: 6px;
  padding: 0.65rem;
  width: 100%;
  max-width: 260px;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px #7b5cff;
}

.button:nth-child(4) {
    color: #ffffff;
    background: linear-gradient(45deg, #7b5cff, #ff6aa2);
    border-style: none;
}

.button:nth-child(2) {
    background-color: #ffffff;
    border-style: solid;
    border-color: #b1a0ff;
}


/* ============================= */
/* OWNERSHIP BADGES */
/* ============================= */

.contents {
  position: relative;
  transition: all 0.3s ease;
}

.contents.owned {
  border: 2px solid #7b5cff;
  box-shadow: 0 0 15px #7b5cff;
  transform: scale(1.02);
}

.owned-badge {
  position: absolute;
  top: 10px;
  left: 10px;

  background: #7b5cff;
  color: white;

  padding: 6px 12px;
  border-radius: 6px;

  font-size: 12px;
  font-weight: bold;

  z-index: 10;
}

.contents.owned:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px #7b5cff;
}


/* RENTED (blue) */
.contents.rented {
  border: 2px solid #2196F3;
  box-shadow: 0 0 15px rgba(33, 150, 243, 0.4);
}

.rented-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #2196F3;
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
}

.contents.rented:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px #2196F3;
}


/* ============================= */
/* CONFIRMATION MODAL */
/* ============================= */
.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.6);

  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
}

.confirm-box {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
}

.confirm-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.confirm-btn {
  background: #4CAF50;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
}

.cancel-btn {
  background: #ccc;
  padding: 10px;
  border: none;
  border-radius: 6px;
}