/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playwrite+US+Modern:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Niconne&family=Playwrite+US+Modern:wght@100..400&display=swap');

/* GENERAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* NAVBAR */
.navbar{
    background-color:#0b2a5b;
}
.toggle-heading{
    color: white;
}
.nav-link.nav-button{
    color: white;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    margin: 3px;
}
.nav-link.nav-button:hover{
    text-decoration: underline;
}
.nav-link.nav-button.active{
    color: goldenrod;
    text-decoration: underline;
}
.nav-link.nav-button-2{
    color: white;
    font-weight: 500;
    border: 3px solid goldenrod;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    background-color: goldenrod;
}
.nav-link.nav-button-2:hover{
    color: goldenrod;
    border: 3px solid goldenrod;
    background-color: white;
}
.navbar-logo{
    color: white;
    font-family: "Poppins",sans-serif;
    font-weight: 500;
}
.brand span {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #f5c46b;
}

/* HEADING */
.dance-heading {
  padding-top: 100px;
}
.dance-heading-line {
  color: goldenrod;
  font-family: "Niconne", cursive;
  font-weight: 500;
  /* Better mobile/Playbook font size */
  font-size: clamp(1.8rem, 6vw, 2.5rem); 
  text-align: center;
}
.dance-heading-main {
  background: linear-gradient(
    135deg,
    #0b2a5b 10%,
    #f7e7a8 30%,
    #d4af37 45%,
    #fff1b8 55%,
    #b8962e 65%,
    #0b2a5b 90%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 2.8rem);
  text-align: center;
  letter-spacing: 0.8px;
  text-transform: capitalize;
}


/* PROPERTY CARD BASE */
.property-card {
  width: 100%;
  height: 22em; /* Original base height */
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 15px 15px 27px #e1e1e3;
  transition: transform 0.5s ease;
}

.card-toggle {
  display: none;
}

.property-image {
  height: 100%; 
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: height 0.5s ease, transform 0.5s ease;
}

.property-description {
  height: 0;
  padding: 0 1em;
  overflow: hidden;
  background: #fafafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: height 0.5s ease, padding 0.5s ease;
}
.card-button{
  background-color: #0b2a5b;
  color: white;
  font-family: "Poppins",sans-serif;
}
/* VIEW & BACK BUTTONS */
.reveal-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #0b2a5b;
  color: #fff;
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
  z-index: 5;
  cursor: pointer;
}

.back-btn {
  align-self: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b2a5b;
  cursor: pointer;
}

/* =========================================
   DESKTOP (RESTORED ORIGINAL HOVER)
   ========================================= */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .property-card:hover {
    transform: translateY(-5px);
  }

  .property-card:hover .property-image {
    height: 35%; /* Restored to original small height on hover */
  }

  .property-card:hover .property-description {
    height: 65%;
    padding: 0.75em 1em;
  }

  .reveal-btn, .back-btn {
    display: none;
  }
}

/* =========================================================
   MOBILE & BLACKBERRY PLAYBOOK (LARGE IMAGE HEIGHT ONLY HERE)
   ========================================================= */
@media (max-width: 1024px) {
  .property-card {
    height: 550px; /* Large height for mobile/tablet */
  }

  /* Checked State - Large Image revealed */
  .card-toggle:checked ~ .property-image {
    height: 60%; /* Image stays large as requested */
  }

  .card-toggle:checked ~ .property-description {
    height: 40%;
    padding: 1em;
  }

  .reveal-btn, .back-btn {
    display: block !important;
  }

  /* Disable hover transform for touch devices */
  .property-card:hover {
    transform: none;
  }
}

/* FOOTER */
.site-footer {
  background-color: #ffffff;
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}
.offcanvas.show .nav-link{
    color: #0b2a5b;
}
.offcanvas.show .offcanvas-title {
  color:white;
}
.navbar-toggler-icon{
  filter: invert(72%) sepia(50%) saturate(600%) hue-rotate(5deg);
}
.offcanvas-toggle{
    background-color: #0b2a5b;
}
