/*
Theme Name: Suncity
Theme URI: http://austratech.com.au/
Author: Raghu N Acharya
Author URI: http://austratech.com.au/
Description: Custom real estate theme for Suncity project.
Version: 1.0
Tags: bootstrap, real estate, responsive
*/

:root {
  --primary-color: #016B73;
  --secondary-color: #F7931D;
  --accent-bg: #FEF1D9;
  --button-border-dark: #004747;

  --font-heading: 'Big Caslon Medium', serif;
  --font-body: 'Lato', sans-serif;
}

/* Big Caslon is not available in Google Fonts, you may need to self-host or choose an alternative. For now: */
@font-face {
  font-family: 'Big Caslon Medium';
  src: url('assets/fonts/big-caslon-medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: #333;
  letter-spacing: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  letter-spacing: 1.1px;
}

h1 {
  letter-spacing: 1.5px;
}

.lead {
  line-height: 32px;
  font-size: 1.1rem;
}

/* Buttons and Anchor Buttons */
.btn-custom,
a.btn-custom {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
}

/* Primary Button */
.btn-primary-custom,
a.btn-primary-custom {
  background-color: var(--accent-bg);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary-custom:hover,
a.btn-primary-custom:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Secondary Button */
.btn-secondary-custom,
a.btn-secondary-custom {
  background-color: var(--primary-color);
  color: #fff;
  border-color: #fff;
}

.btn-secondary-custom:hover,
a.btn-secondary-custom:hover {
  background-color: #004747;
  border-color: #004747;
}

/* Third Button (dark green border and font) */
.btn-alt-custom,
a.btn-alt-custom {
  background-color: var(--accent-bg);
  color: var(--button-border-dark);
  border: 2px solid var(--button-border-dark);
}

.btn-alt-custom:hover,
a.btn-alt-custom:hover {
  background-color: var(--button-border-dark);
  color: #fff;
  border-color: var(--button-border-dark);
}

.btn-default-custom,
a.btn-default-custom {
  background-color: white;
  color: var(--button-border-dark);
  border: 2px solid var(--button-border-dark);
}

.btn-default-custom:hover,
a.btn-default-custom:hover {
  background-color: var(--button-border-dark);
  color: #fff;
  border-color: var(--button-border-dark);
}

/* Form Styles - Floating Labels */
.form-floating-custom {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-floating-custom input,
.form-floating-custom textarea {
  width: 100%;
  padding: 1rem 0.5rem 0.5rem;
  border: none;
  border-bottom: 2px solid var(--secondary-color);
  background: transparent;
  font-size: 1rem;
  color: #333;
  font-family: var(--font-body);
}

.form-floating-custom label {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  font-size: 1rem;
  color: #666;
  pointer-events: none;
  transition: all 0.2s ease;
}

.form-floating-custom input:focus+label,
.form-floating-custom input:not(:placeholder-shown)+label,
.form-floating-custom textarea:focus+label,
.form-floating-custom textarea:not(:placeholder-shown)+label {
  top: -0.6rem;
  left: 0.4rem;
  font-size: 0.75rem;
  color: var(--primary-color);
  background-color: #fff;
  padding: 0 0.25rem;
}

.form-floating-custom input:focus,
.form-floating-custom textarea:focus {
  outline: none;
  border-bottom-color: var(--primary-color);
}

.custom-logo {
  max-width: 180px;
  height: auto;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-accent {
  background-color: var(--accent-bg) !important;
}

.hero-section img {
  max-height: 75vh;
  object-fit: cover;
  width: 100%;
  display: block;
}

.highlight-section {
  background-color: var(--primary-color);
  /* padding: 8rem; */
}

.lifestyle-section {
  background-color: var(--accent-bg);
  padding: 6rem;
}

/* Input + Select fields */
.wpcf7 input.form-control,
.wpcf7 select.form-select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #c3a88d;
  border-radius: 0;
  padding: 10px 0;
  color: #fff;
  font-size: 16px;
  width: 100%;
}

.wpcf7 input::placeholder,
.wpcf7 select {
  color: #c3a88d;
  text-transform: uppercase;
}

.wpcf7 select option{
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-left: 12px !important;
  background-position: right 10px center !important;
  background-repeat: no-repeat !important;
}

/* Submit Button */
.wpcf7 .btn-custom {
  background-color: #fcefd8;
  color: #00473e;
  border: none;
  padding: 12px;
  width: 100%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}

.wpcf7 .btn-custom:hover {
  background-color: #fff5e0;
}

/* Remove default CF7 spacing */
.wpcf7 form {
  margin: 0;
}

.form-container {
  padding: 8rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  outline: none !important;
  box-shadow: none !important;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
  color: white !important;
}

.wpcf7 select {
  background-color: transparent;
  color: black;
  text-indent: 5px;
}

.wpcf7 select:focus {
  background-color: #004747;
  color: white;
}

.wpcf7 select option {
  color: black;
  background-color: white;
  margin-left: 10px;
}

.wpcf7 select option:checked {
  background-color: #004747;
  color: white;
}

.wpcf7-not-valid-tip {
  color: #cacaca;
  font-size: 13px;
}

.form-image-container {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.form-image-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.footer-logo {
  width: 200px;
}

.pre-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
}

.promo-logo {
  width: 250px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.pre-footer .icons {
  background-color: var(--primary-color) !important;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}


/* Default menu link color */
.navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

/* On hover */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item:hover>.nav-link {
  color: #F7931D !important;
}

/* Active menu item */
.navbar-nav .nav-item.active>.nav-link,
.navbar-nav .nav-link.active {
  color: #F7931D !important;
}

.navbar-nav>.nav-item {
  margin-right: 2rem;
}

.navbar-nav .nav-item:last-child {
  margin-right: 0;
}

.banner {
  min-height: 75vh;
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}

.map-section {
  display: flex;
  flex-wrap: wrap;
  height: 105vh;
  border-bottom: 1px solid #ffd991;
}

.map-info {
  background-color: #f9f9f9;
}

.map-wrapper {
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.panzoom-container {
  position: relative;
  overflow: hidden;
  border: 1px solid #ccc;
  touch-action: none;
  cursor: grab;
  background-color: #fff;
  /* height: 100%; */
  height: 100vh;
}

.panzoom-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

#panzoom-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoom-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.zoom-controls .zoom-btn {
  padding: 6px 10px;
  font-size: 20px;
  background: #ffffffcc;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.zoom-controls .zoom-btn:hover {
  background-color: #F7931D;
  color: #fff;
}

/* .map-info {
  height: 105vh;
  overflow-y: auto;
  border-bottom: 1px solid #ffd991;
} */

.map-info b {
  color: var(--primary-color);
  text-transform: uppercase;
}

.map-info li {
  color: var(--primary-color);
}

/* .filter-buttons {
  background-color: white;
  border-radius: 5px;
  border: 1px solid var(--secondary-color);
  margin-top: 1rem;
  text-align: center;
}

.filter-buttons button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.filter-buttons button.active {
  background-color: #c96b00;
} */

.amenities-section img {
  /* width: 50% !important; */
}

.panzoom-controls button {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  line-height: 1;
}

/* Make the noUiSlider handle circular and colored */
.noUi-handle {
  border-radius: 50% !important;
  background-color: #016B73 !important;
  border: none !important;
  width: 20px !important;
  height: 20px !important;
  top: -7px !important;
  right: -10px !important;
  cursor: pointer;
  box-shadow: none !important;
}

.noUi-horizontal {
  height: 5px !important;
}

.noUi-handle:before,
.noUi-handle:after {
  content: none !important;
}

/* Optional: change the slider bar (connect) color */
.noUi-connect {
  background: #016B73 !important;
}

/* Optional: adjust rail color */
.noUi-base {
  background: #e0e0e0;
  /* or any light gray */
}

#results-table th,
#results-table td {
  color: var(--primary-color);
}

.properties-container .card .card-header {
  background-color: white;
  border-top: 1px solid var(--primary-color);
  border-radius: 0;
}

.properties-container ul {
  list-style-type: none;
  padding: 0;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 10px;
}

.properties-container ul li {
  display: inline;
  margin-right: 35px;
  color: var(--primary-color);
}

.properties-container i {
  color: var(--secondary-color);
}

hr {
  border: 0;
  height: 1px;
  opacity: 1;
  background-color: var(--primary-color);
  margin: 20px 0;
}

hr.border-light {
  background-color: white;
  margin: 0px 0px 20px 0px;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: var(--secondary-color) !important;
  color: white !important;
}

.entry-content ul {
  list-style: disc !important;
  padding-left: 1.5rem !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  /* semi-transparent black */
  background-size: 100%, 100%;
  border-radius: 50%;
  padding: 20px;
  /* makes the circle bigger */
}

.carousel-indicators [data-bs-target] {
  background-color: #016B73;
  /* your theme color */
}

.carousel-indicators .active {
  background-color: #014d52;
  /* darker shade for active dot */
}

/* Smooth transition for navbar and logo */
#mainNavbar {
  transition: padding 0.3s ease;
}

#mainNavbar .custom-logo {
  height: auto;
  transition: height 0.3s ease;
}

/* When scrolled */
.navbar-shrink {
  padding: 0.5rem 1rem !important;
  /* smaller padding */
  box-shadow: 0px 0px 20px 5px #00000038;
}

.navbar-shrink .custom-logo {
  height: 65px;
  width: auto;
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: 1px solid #016B73;
  outline: none;
  background-color: #ffffff;
  color: #016B73;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #01494e;
  color: #ffffff;
}


.map-section .panzoom-container {
  max-height: 85%;
  overflow: hidden;
}

.map-wrapper .filter-buttons span {
  font-weight: 600;
  margin-right: 0.5rem;
}

.stages li a {
  color: black;
}

.stages li:hover {
  background-color: #fcefd8;
  color: black;
}

.stages a {
  display: block;
}

.default-anchor {
  color: black;
  padding-bottom: 2px;
  border-bottom: 1px solid black;
}

.left-scroll {
  max-height: 70vh;
  overflow-y: auto;
  flex: 0 0 auto;
  /* 👈 prevent flex stretch */
}

.filter-buttons {
  position: absolute;
  bottom: 0;
  /* stick to bottom edge */
  left: 0;
  width: 100%;
  /* full width of map */
  background: rgba(255, 255, 255, 0.9);
  padding: .5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  /* center inner content */
  gap: .5rem;
  box-shadow: 0px 0px 25px 0px #00000038;
}

.filter-buttons span {
  font-weight: 600;
  margin-right: .5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.filter-buttons button {
  width: 40px;
  height: 40px;
  border: none;
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  /* remove extra padding */
}

.filter-buttons button.active {
  outline: 2px solid #333;
}

a.breadcrumb {
  text-decoration: none;
  color: var(--primary-color);
}

.breadcrumb span {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid var(--primary-color);
  text-align: left;
}

.dropdown-item {
  text-transform: uppercase;
}

/* Default (mobile): image uses natural height */
.img-equal {
  width: 100%;
  height: auto;
  display: block;
}

/* From md and up: make image exactly match text column height */
@media (min-width: 768px) {
  .img-equal-wrap {
    height: 99%;
  }

  /* wrapper takes full column height */
  .img-equal {
    height: 100%;
    object-fit: cover;
  }

  /* fill height exactly */
}

.coming-soon-section {
  min-height: 40vh;
  background: #f9f9f9;
  /* or gradient / image if you prefer */
  color: #333;
}

.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.status-available {
  background-color: #28a745; /* green */
}
.status-under {
  background-color: #fd7e14; /* orange */
}
.status-sold {
  background-color: #dc3545; /* red */
}

.custom-btn-width {
  width: 255px;      /* same width for all buttons (desktop/tablet) */
  max-width: 100%;
}

.wpcf7 select {
  padding-left: 10px;   /* adds padding inside the select */
}

footer a {
  color: white;
  text-decoration: none;
}

.table-fixed {
  table-layout: fixed;
  width: 1200px;
  /* make it wider than screen so scroll appears */
}

.table-fixed th:nth-child(1) {
  width: 50px
}

.table-fixed th:nth-child(2) {
  width: 50px
}

.table-fixed th:nth-child(3) {
  width: 50px
}

.table-fixed th:nth-child(4) {
  width: 50px
}

.table-fixed th:nth-child(5) {
  width: 50px
}

.table-fixed th:nth-child(6) {
  width: 50px
}

.table-fixed th:nth-child(7) {
  width: 50px
}

.table-fixed th:nth-child(8) {
  width: 50px
}