/* 
 * PropEdge - Responsive Styles and Mobile Overrides
 */

/* Mobile Sticky CTA Bar */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1001;
  display: none;
  justify-content: space-around;
  padding: 10px 15px;
  border-top: 1px solid rgba(18, 35, 29, 0.12);
}

.mobile-sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 10px 5px;
  margin: 0 4px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.mobile-sticky-cta .cta-whatsapp {
  background-color: #20ba5a;
  color: #ffffff !important;
}

.mobile-sticky-cta .cta-call {
  background-color: #163f34;
  color: #ffffff !important;
}

.mobile-sticky-cta .cta-enquire {
  background-color: #c8a46a;
  color: #ffffff !important;
}

.mobile-sticky-cta a:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

/* Extra padding on body for mobile to prevent content overlap with sticky CTA */
@media (max-width: 767.98px) {
  body {
    padding-bottom: 75px !important;
  }
  .mobile-sticky-cta {
    display: flex;
  }
}

/* Mobile Navbar adjustments */
@media (max-width: 991.98px) {
  .header-navbar .navbar-nav .nav-link {
    color: #1c1e22 !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 10px 0;
  }
  
  .header-navbar .navbar-nav .nav-link.active {
    color: #00b6dd !important;
    border-bottom: 1.5px solid #00b6dd;
  }
  
  .header-navbar .navbar-nav .nav-link::after {
    display: none;
  }
  
  /* Make sure header dropdown and collapse display correctly */
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* Adjust grid gutters and padding for smaller viewports */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.85rem !important;
    line-height: 1.3;
  }
  
  .hero-title {
    font-size: 2.2rem !important;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}

/* Inner Page Hero Spacing */
.inner-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #000000 0%, #17b5d5e3 100%), url(https://images.pexels.com/photos/19335821/pexels-photo-19335821.jpeg);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200, 164, 106, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.inner-hero .container {
  position: relative;
  z-index: 2;
}

.inner-hero-tag {
  color: #00b6dd;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
  display: inline-block;
}

.inner-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff !important;
}

.inner-hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .inner-hero {
    padding: 120px 0 60px;
  }
  .inner-hero-title {
    font-size: 2.2rem;
  }
}
