/* ==========================================================================
   ZENTRUM MANAGEMENT - CONSOLIDATED CSS
   Optimized styles for index.php, property_detail.php, application.php, terms.php
   ========================================================================== */

/* ==========================================================================
   ROOT VARIABLES
   ========================================================================== */
:root {
    --primary-color: #313a3b;
    --accent-color: #e38e0b;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* ==========================================================================
   BASE BODY STYLES
   ========================================================================== */
body {
    font-family: 'Roboto Slab', serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* ==========================================================================
   MAIN CONTENT LAYOUT
   ========================================================================== */
main > .container {
       padding-top: 20px;
   }
.mainContainer{
      margin-top: 70px;
   }


/* Application page specific */
.main-container {
    padding: 65px 15px 0;
}

/* ==========================================================================
   PROPERTY DETAIL PAGE STYLES
   ========================================================================== */

/* Property Header */
.property-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5556 100%);
    color: white;
    padding: 1rem 0;
    margin-top: 70px;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.property-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 0;
}

/* Property Details Section */
.property-details {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.property-details h4 {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.property-details h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Feature Lists */
.feature-icon {
    color: var(--accent-color);
    margin-right: 0.5rem;
    width: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background-color: #f8f9fa;
    padding-left: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a5556 100%);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
}

/* Price Display */
.price-display {
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, #f4a724 100%);
    color: white;
    padding: .5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.price-display .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.price-display .price-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Availability Badge */
.availability-badge {
    background-color: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

#google-map {
    height: 250px;
    width: 100%;
}

/* ==========================================================================
   PROPERTY LISTINGS (INDEX.PHP)
   ========================================================================== */

/* Property Grid */
.clearleft-custom {
    clear: left;
    margin-bottom: 2rem;
}

/* Property Cards */
.main-card {
    margin-bottom: 20px;
}

.thumbnail {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
    max-width: 100%;
}

.thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Image Links
.img-link {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: block;
    border-radius: 12px 12px 0 0;
}

.img-link img {
    width: 107%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    float: right;
}

.img-link:hover img {
    transform: translateX(4.5%);
}



*/

/* ==========================================================================
   IMAGE STYLES
   ========================================================================== */

.property-image,
.img-link {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  display: block;
  border-radius: 12px 12px 0 0;
}

.property-image img,
.img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  max-width: none;
}

.property-card:hover .property-image img,
.img-link:hover img {
  transform: scale(1.05);
}

/* Special thumbnail image behavior */
.thumbnail .img-link img {
  width: 107%;
  float: right;
}

.thumbnail .img-link:hover img {
  transform: translateX(4.5%);
}


/* Price Overlay */
.thumbnail-price {
    position: absolute;
    bottom: 24px;
    right: -8px;
    padding: 1px 23px 3px;
    border-radius: 5px 0px 0px 5px;
    color: #944;
    font-weight: 700;
    background-color: #ffffff;
    transition: 0.3s;
    opacity: 0.7;
}

.thumbnail-price .mon {
    font-size: 14px;
}

.img-link:hover .thumbnail-price {
    padding: 1px 50px 3px 23px;
    opacity: 1;
}

/* Caption Content */
.caption {
    margin: 0px;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.address-block {
    background-color: rgb(238, 238, 238);
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.caption h4 {
    text-align: left;
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 10px 10px 10px 10px;
}

.caption h4 a {
    text-align: left;
    color: #354e68;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.caption h4 a:hover {
    color: #007bff;
    text-decoration: none;
}

.caption p {
    text-align: left;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 10px;
}

.caption p a {
    color: #007bff;
    font-weight: normal;
    text-decoration: none;
    font-style: italic;
}

.caption p a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Property Description Lists */
.describe-1,
.describe-2 {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.describe-1 li,
.describe-2 li {
    margin: 0px 10px;
    background: transparent;
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    min-width: 110px;
    gap: 0.5rem;
}

.describe-1 li:empty,
.describe-2 li:empty {
    display: none;
}

.form-card{border-radius:15px;box-shadow:var(--shadow-lg)}.progress-step{width:40px;height:40px;border-radius:50%;font-weight:600;font-size:.9rem}.progress-step.active{background-color:var(--primary-color)!important}.progress-step.completed{background-color:#28a745!important}.step-icon{width:60px;height:60px;margin-bottom:1rem}.section-divider{margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.form-step{display:none}.form-step.active{display:block}.conditional-section{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--border-color)}.conditional-section.hidden{display:none}.infobox{margin-bottom:1rem}.infobox.hidden{display:none}.btn-ripple{position:relative;overflow:hidden;transition:all .3s ease}.btn-ripple:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}#mainNav{padding-top:.5rem;padding-bottom:.5rem;background-color:#212529}#mainNav .navbar-toggler{padding:.75rem;font-size:.75rem;font-family:"Montserrat",sans-serif;text-transform:uppercase;font-weight:700}#mainNav .navbar-brand{color:#ffc800;font-family:"Montserrat",sans-serif;font-weight:700;letter-spacing:.0625em;text-transform:uppercase}#mainNav .navbar-brand img{height:1.75rem}#mainNav .navbar-nav .nav-item .nav-link{font-family:"Montserrat",sans-serif;font-size:.95rem;color:#fff;letter-spacing:.0625em}#mainNav .navbar-nav .nav-item .nav-link.active,#mainNav .navbar-nav .nav-item .nav-link:hover{color:#ffc800}@media (max-width:768px){main>.container{padding-top:70px}.property-header{margin:1rem;padding:1.5rem}.property-header h1{font-size:1.5rem}.sidebar{position:relative;top:auto}.thumbnail{max-width:none;margin:0 auto 0}.caption{padding:0}.describe-1 li,.describe-2 li{min-width:100%}}@media (min-width:768px){.thumbnail{max-width:none;margin:0 auto 0}.caption{padding:0}}@media (min-width:992px){#mainNav{padding-top:.5rem;padding-bottom:.5rem;border:none;background-color:transparent;transition:padding-top .3s ease-in-out,padding-bottom .3s ease-in-out}#mainNav .navbar-brand{font-size:1.5em;transition:font-size .3s ease-in-out}#mainNav .navbar-brand img{height:2rem;transition:height .3s ease-in-out}#mainNav.navbar-shrink{padding-top:.5rem;padding-bottom:.5rem;background-color:#212529}#mainNav.navbar-shrink .navbar-brand{font-size:1.25em}#mainNav.navbar-shrink .navbar-brand svg,#mainNav.navbar-shrink .navbar-brand img{height:1.75rem}#mainNav .navbar-nav .nav-item{margin-right:1rem}#mainNav .navbar-nav .nav-item:last-child{margin-right:0}}@media (min-width:1200px){.caption h4+p{text-align:left;margin-top:5px}.describe-1,.describe-2{font-size:18px;margin:0}}.text-center{text-align:center}.d-inline-block{display:inline-block}.d-block{display:block}.hidden{display:none}a{color:#06c;text-decoration:underline}a:hover{color:#049;text-decoration:none}img{max-width:100%;height:auto;border:0}


   /* ===========================================
   ANIMATIONS & EFFECTS
   ========================================= */
.form-step {
   display: none;
}

.form-step.active {
   display: block;
   animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
   from { opacity: 0; transform: translateY(10px); }
   to { opacity: 1; transform: translateY(0); }
}

.btn-ripple {
   overflow: hidden;
   position: relative;
}

.btn-ripple::before {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 0;
   height: 0;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.3);
   transition: all 0.6s;
   transform: translate(-50%, -50%);
}

.btn-ripple:hover::before {
   width: 300px;
   height: 300px;
}

/* ===========================================
   PROGRESS INDICATORS
   ========================================= */
.progress-step {
   width: 2.5rem;
   height: 2.5rem;
   border-radius: 50%;
   transition: all 0.3s ease;
   font-weight: 600;
}

.progress-step.completed {
   background-color: #198754 !important;
}

.progress-step.completed::after {
   content: '✓';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   font-weight: bold;
   font-size: 1rem;
}

/* ===========================================
   FORM VALIDATION STYLES
   ========================================= */
.form-floating {
   position: relative;
}

.form-floating .validation-icon {
   position: absolute;
   right: 12px;
   top: 50%;
   transform: translateY(-50%);
   z-index: 5;
   opacity: 0;
   transition: opacity 0.3s ease;
}

.form-floating .form-control.is-valid + label + .validation-icon.valid,
.form-floating .form-select.is-valid + label + .validation-icon.valid {
   opacity: 1;
   color: #198754;
}

.form-floating .form-control.is-invalid + label + .validation-icon.invalid,
.form-floating .form-select.is-invalid + label + .validation-icon.invalid {
   opacity: 1;
   color: #dc3545;
}

/* Enhanced validation feedback */
.was-validated .form-control:valid,
.form-control.is-valid,
.was-validated .form-select:valid,
.form-select.is-valid {
   border-color: #198754;
   padding-right: 3rem;
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73.99-.82 2.65-2.45L4.26 2.24l-1.44 1.38L1.86 4.6z'/%3e%3c/svg%3e");
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 1rem;
}

.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .form-select:invalid,
.form-select.is-invalid {
   border-color: #dc3545;
   padding-right: 3rem;
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='M5.8 5.8l2.4 2.4M8.2 5.8l-2.4 2.4'/%3e%3c/svg%3e");
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 1rem;
}

/* ===========================================
   LAYOUT & STYLING
   ========================================= */
body {
   background-color: #f8f9fa;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-container {
   padding: 2rem 1rem;
}

.form-card {
   background: white;
   border: 2px solid #e9ecef;
   border-radius: 1rem;
   box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
   overflow: hidden;
}

.card-header {
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   color: white;
}

.step-icon {
   width: 3.5rem;
   height: 3.5rem;
   margin-bottom: 1rem;
}

.section-divider {
   border-bottom: 1px solid #e9ecef;
   margin-bottom: 2rem;
   padding-bottom: 1rem;
}

/* Conditional sections styling */
.conditional-section {
   background-color: #f8f9fa;
   border-radius: 0.5rem;
   padding: 1rem;
   margin-top: 1rem;
}

.conditional-section.hidden {
   display: none;
}

.infobox.hidden {
   display: none;
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
   .progress-step {
      width: 2rem;
      height: 2rem;
      font-size: 0.875rem;
   }

   .step-icon {
      width: 3rem;
      height: 3rem;
   }
}

@font-face {
  font-family: 'Hotel Regular';
  src: url("../fonts/Hotel-Regular.eot?78320982");
  src: url("../fonts/Hotel-Regular.eot?78320982#iefix") format("embedded-opentype"), url("../fonts/Hotel-Regular.woff?78320982") format("woff"), url("../fonts/Hotel-Regular.ttf?78320982") format("truetype"), url("../fonts/Hotel-Regular.svg?78320982#hotel") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="hotel-icon-"]:before,
[class*=" hotel-icon-"]:before,
.hotel-ico {
  font-family: "Hotel Regular";
  font-weight: 400;
  font-style: normal;
  font-size: inherit;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hotel-icon-01:before {
  content: '\e800';
}

.hotel-icon-02:before {
  content: '\e801';
}

.hotel-icon-03:before {
  content: '\e802';
}

.hotel-icon-04:before {
  content: '\e803';
}

.hotel-icon-05:before {
  content: '\e804';
}

.hotel-icon-06:before {
  content: '\e805';
}

.hotel-icon-07:before {
  content: '\e806';
}

.hotel-icon-09:before {
  content: '\e807';
}

.hotel-icon-08:before {
  content: '\e808';
}

.hotel-icon-10:before {
  content: '\e809';
}

.hotel-icon-11:before {
  content: '\e80a';
}

.hotel-icon-12:before {
  content: '\e80b';
}

.hotel-icon-13:before {
  content: '\e80c';
}

.hotel-icon-14:before {
  content: '\e80d';
}

.hotel-icon-16:before {
  content: '\e80e';
}

.hotel-icon-15:before {
  content: '\e80f';
}

.hotel-icon-17:before {
  content: '\e810';
}

.hotel-icon-18:before {
  content: '\e811';
}

.hotel-icon-19:before {
  content: '\e812';
}

.hotel-icon-20:before {
  content: '\e813';
}

.hotel-icon-33:before {
  content: '\e814';
}

.hotel-icon-32:before {
  content: '\e815';
}

.hotel-icon-31:before {
  content: '\e816';
}

.hotel-icon-30:before {
  content: '\e817';
}

.hotel-icon-29:before {
  content: '\e818';
}

.hotel-icon-28:before {
  content: '\e819';
}

.hotel-icon-27:before {
  content: '\e81a';
}

.hotel-icon-26:before {
  content: '\e81b';
}

.hotel-icon-25:before {
  content: '\e81c';
}

.hotel-icon-24:before {
  content: '\e81d';
}

.hotel-icon-23:before {
  content: '\e81e';
}

.hotel-icon-22:before {
  content: '\e81f';
}

.hotel-icon-21:before {
  content: '\e820';
}