/* Custom enhancements for Property Management page */

/* Improved hero banner for better fit, readability, and premium feel */
.property-hero {
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), /* Subtle darker overlay for better text contrast */
                url('../images/property-hero.jpeg') center center / cover no-repeat;
    min-height: 680px; /* Ensures full-screen feel on most devices; adjust if needed */
    padding: 140px 0 120px; /* Slightly more top padding for balanced centering */
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers content */
    align-items: center; /* Horizontally centers */
    position: relative;
}

/* Optional: Add subtle parallax (fixed background) – remove if it causes issues on mobile */
.property-hero {
    background-attachment: fixed;
}

/* Media query for smaller screens (better mobile fit) */
@media (max-width: 768px) {
    .property-hero {
        min-height: 520px; /* Shorter on mobile to avoid excessive scrolling */
        padding: 100px 0 80px;
        background-attachment: scroll; /* Disable parallax on mobile for performance */
    }
    
    .property-hero h1 {
        font-size: 64px; /* Already have this, but ensure it scales nicely */
    }
}

.property-hero h1 {
    font-family: 'Gilda Display', serif;
    font-size: 78px; /* Slightly smaller than Tangerine for better weight/balance; adjust up to 82px if needed */
    margin-bottom: 20px;
    letter-spacing: 1px; /* Optional: adds subtle elegance */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Subtle shadow for depth on dark overlay */
    font-weight: normal; /* Gilda looks best at regular weight */
}

.property-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #92b201;
    border-radius: 0px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card .card-header {
    background: transparent;
    border-bottom: none;
    padding: 30px 20px 20px;
    text-align: center;
}

.service-card h5 {
    font-size: 24px;
    color: #353535;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-card h5:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #92b201;
    transform: translateX(-50%);
}

.service-card .card-body {
    padding: 20px 30px 30px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.service-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #92b201;
    font-weight: bold;
    font-size: 20px;
}

.pricing-box {
    background: #f9fbf6;
    border: 2px solid #92b201;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.pricing-box h4 {
    color: #92b201;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .property-hero h1 {
        font-size: 64px;
    }
}

/* Equal height cards fix (compatible with Bootstrap 3 template) */
.row.equal-height {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height > [class*="col-"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 40px; /* Consistent vertical spacing between rows */
}

.service-card {
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.service-card .card-body {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

/* Optional: tighter horizontal spacing control */
.row.equal-height {
    margin-left: -20px;
    margin-right: -20px;
}

.row.equal-height > [class*="col-"] {
    padding-left: 20px;
    padding-right: 20px;
}
/* Original div-based pricing with perfect table-like alignment using display: table */
.pricing-table {
    display: table;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    border: 1px solid #92b201; /* 1px dark gray outline */
    border-radius: 0px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: #ffffff;
}

.pricing-row {
    display: table-row;
}

.pricing-row .label,
.pricing-row .value {
    display: table-cell;
    padding: 20px 30px;
    vertical-align: middle;
    border-bottom: 1px dashed #dce4d5; /* Soft internal separators */
}

.pricing-row:last-child .label,
.pricing-row:last-child .value {
    border-bottom: none;
}

.pricing-row .label {
    font-weight:500;
    color: #353535;
    font-size: 16px;
    text-align: right;
    white-space: nowrap;
    width: 1%; /* Forces column to fit longest label */
    padding-right: 50px; /* Generous gap for clean separation */
}

.pricing-row .value {
    text-align: left;
    width: auto;
    padding-left: 50px;
}

/* Mobile: stack into label-above-value */
@media (max-width: 767px) {
    .pricing-table {
        display: block;
        border-radius: 8px;
    }
    
    .pricing-row {
        display: block;
        padding: 18px 25px;
        border-bottom: 1px dashed #dce4d5;
    }
    
    .pricing-row:last-child {
        border-bottom: none;
    }
    
    .pricing-row .label,
    .pricing-row .value {
        display: block;
        text-align: left;
        padding: 0 0 8px 0;
        width: 100%;
    }
    
    .pricing-row .value {
        padding-top: 4px;
        padding-bottom: 0;
    }
}

/* Remove only the top and bottom parts of the green border (horizontal dividers) 
   while keeping left/right for subtle separation from the card background */
.pricing-card-no-horiz {
    border-left: 2px solid #92b201 !important;
    border-right: 2px solid #92b201 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important; /* Removes rounding on top/bottom to avoid odd gaps */
}

/* Optional: If you want to keep the very top/bottom rounded but no line, 
   add a slight margin or background extension – but the above is cleanest */

/* If you prefer to remove the entire green border (no dividers at all) */
.pricing-card-no-border {
    border: none !important;
    box-shadow: none !important; /* Also removes subtle shadow if present */
}



/* Mobile: Full-width, clean */
@media (max-width: 991px) {
    .main-menu .navigation > li > ul {
        position: static !important;
        min-width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-top: none !important;
        margin-top: 0 !important;
        padding: 12px 0 !important;
        background: #f9fbf6 !important; /* Light brand tint */
    }
    
    .main-menu .navigation > li > ul > li > a {
        padding: 14px 30px !important;
        white-space: normal !important;
    }
    
    .main-menu .navigation > li > ul > li > a:hover {
        padding-left: 40px !important;
    }
}

/* Force your sharp dropdown style – overrides style.css */


/* Mobile adjustments (if needed) */
@media (max-width: 991px) {
    .main-menu .navigation > li.dropdown > ul.dropdown-menu {
        min-width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
        padding: 12px 0 !important;
        background: #f9fbf6 !important;
    }
    
    .main-menu .navigation > li.dropdown > ul.dropdown-menu > li > a {
        padding: 14px 30px !important;
        white-space: normal !important;
    }
} 