/* ══════════════════════════════
   MAIN LAYOUT: 70% + 30% Split
══════════════════════════════ */
.main-layout {
  display: flex;           /* side by side */
  flex-direction: row;
  align-items: flex-start; /* both start from top */
  gap: 24px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left side takes 70% */
.cards-section {
  flex: 0 0 70%;  /* fixed at 70% */
  width: 70%;
}

/* Right side takes 30% and sticks while scrolling */
.form-section {
  flex: 0 0 30%;  /* fixed at 30% */
  width: 30%;
  position: sticky;   /* sticks while you scroll cards */
  top: 20px;          /* 20px from top of screen */
}


/* ══════════════════════════════
   CARDS WRAPPER
══════════════════════════════ */
.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}


/* ══════════════════════════════
   PROPERTY CARD
══════════════════════════════ */
.property-card {
  display: flex;
  flex-direction: column;  /* image on top, content below */
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0e0e0;
}


/* ══════════════════════════════
   PROPERTY IMAGE (Top Section)
══════════════════════════════ */
.property-image {
  position: relative;
  width: 100%;
  height: 320px;       /* fixed height for the image */
  background: #f5e0e0;
}
.property-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #c1121f;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 1;
}


/* ══════════════════════════════
   PROPERTY CONTENT (Below Image)
══════════════════════════════ */
.property-content {
  padding: 20px 22px;
}
.title {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #111;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.3;
}
.location {
  color: #c1121f;
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}


.card-bottom{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.section h2{
    font-size:11px;
    color:#c1121f;
    margin-bottom:12px;
    border-left:3px solid #c1121f;
    padding-left:8px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

/* SAME DESIGN FOR BOTH */
.near-location,
.services{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    padding:0;
    margin:0;
    list-style:none;
}

.near-location li,
.service-card{
    background:#fafafa;
    border:1px solid #ececec;
    border-radius:10px;

    min-height:110px;
    padding:12px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

    transition:.3s ease;
}

.near-location li:hover,
.service-card:hover{
    transform:translateY(-3px);
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.icon{
    font-size:24px;
    margin-bottom:8px;
}

.loc-time,
.service-card span{
    font-size:11px;
    font-weight:600;
    color:#333;
    line-height:1.4;
}

.loc-dur{
    margin-top:5px;
    color:#c1121f;
    font-size:11px;
    font-weight:700;
}

/* Mobile */
@media(max-width:768px){
    .near-location,
    .services{
        grid-template-columns:repeat(2,1fr);
    }
}
/* ══════════════════════════════
   CONTACT FORM
══════════════════════════════ */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  padding: 30px 24px;   /* slightly less padding to fit nicely */
}
.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 20px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #333333;
  background: #ffffff;
  margin-bottom: 12px;
  outline: none;
  box-sizing: border-box;  /* important: prevents overflow */
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #c1121f;
}
.contact-form textarea {
  resize: vertical;
}
.btn-primary.full-width {
  width: 100%;
  text-align: center;
  font-size: 15px;
  padding: 13px;
  background: #c1121f;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn-primary.full-width:hover {
  background: #a00e18;
}


/* ══════════════════════════════
   SCREEN READER ONLY (accessibility)
══════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
  
  /* ══════════════════════════════
   GALLERY BUTTON (on card image)
══════════════════════════════ */
.gallery-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  transition: background 0.2s ease;
}
.gallery-btn:hover {
  background: #c1121f;
}


/* ══════════════════════════════
   LIGHTBOX POPUP
══════════════════════════════ */

/* Dark background overlay */
.lightbox {
  display: none;         /* hidden by default */
  position: fixed;       /* covers full screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* Show when active */
.lightbox.active {
  display: flex;
}

/* Dark overlay behind the image */
.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
}

/* White box containing image */
.lightbox-box {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 90%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

/* The image inside popup */
#lightbox-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* Close button top right */
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover {
  background: #c1121f;
}

/* Image counter bottom center */
.lightbox-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
}

/* Left & Right arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease;
}
.lightbox-arrow:hover {
  background: #c1121f;
}
.lightbox-arrow.left  { left: 12px; }
.lightbox-arrow.right { right: 12px; }

/* project-documents */
.project-documents{
    display:flex;
    gap:12px;
    margin:20px 0;
}
.doc-btn{
    flex:none;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    height:54px;
    padding:0 16px;
    background:#c8102e;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}
.doc-btn:hover{
    background:#a80d26;
    transform: translateY(-2px);
}
.doc-btn i{
    font-size:16px;
}

@media(max-width:480px){

    .project-documents{
        gap:10px;
    }

    .doc-btn{
         flex:1;
        font-size:14px;
        height:50px;
        padding:0 10px;
    }
}
/* project video */

.video-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin:30px 0;
}

.video-grid video{
    width:100%;
    max-height:300px;
    object-fit:cover;
    border-radius:12px;
}


.video-grid video:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 25px rgba(0,0,0,0.18);
}

/* Tablet */
@media (max-width:768px){

    .video-grid{
        gap:15px;
    }

}

/* Mobile */
@media (max-width:576px){

    .video-grid{
        grid-template-columns:1fr;
        gap:15px;
    }

}





/* ══════════════════════════════
   RESPONSIVE: Stack on Mobile
══════════════════════════════ */
@media (max-width: 900px) {
  .main-layout {
    flex-direction: column;  /* stack vertically on small screens */
  }
  .cards-section,
  .form-section {
    flex: unset;
    width: 100%;             /* full width on mobile */
  }
  .form-section {
    position: static;        /* remove sticky on mobile */
  }
  .card-bottom {
    flex-direction: column;  /* stack near location + amenities on mobile */
  }
}

