/* Search Box Styling for properties.php */

.search-box {
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: stretch;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 950px !important;
    margin: 40px auto;
    overflow: hidden;
    height: 70px;
    padding: 2px !important;
}

.search-field {
    flex: 1;
    padding: 0 30px;
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    border-right: 1px solid #d4a373;
    /* Tan border from image */
    cursor: pointer;
}



.input-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.sf-input {
    border: none;
    outline: none;
    font-size: 16px;
    color: #4b5563;
    width: 100%;
    background: transparent;
    font-family: inherit;
}

.sf-input::placeholder {
    color: #9ca3af;
}

.search-field i {
    color: #1f2937;
    font-size: 1.2rem;
}

/* Guest Counter Styles */
.guest-field {
    min-width: 200px;
}

.guest-count {
    font-size: 16px;
    color: #4b5563;
    white-space: nowrap;
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guest-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #1f2937;
    padding: 0 5px;
    line-height: 1;
    transition: color 0.2s;
}

.guest-btn:hover {
    color: #d4a373;
}

/* Button Styling */
.btn-search-hero {
    background: #1f2937;
    /* Dark navy/black */
    color: #ffffff;
    border: none;
    padding: 0 60px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
    height: 100%;
    margin-bottom: 1px !important;
    margin-top: 1px !important;
    margin-right: 0px !important;
}

.btn-search-hero:hover {
    background: #111827;
}

/* Property Grid - 5 columns */
.prop-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 20px !important;
    padding: 20px 0 !important;
    margin-bottom: 0 !important;
}

.prop-card {
    flex: 0 0 calc(33% - 16px) !important;
    min-width: calc(33% - 16px) !important;
    margin-bottom: 20px !important;
}

.section {
    padding: 50px 0;
}

.luxury-cta-section {
    text-align: center !important;
    padding: 0px 0px 40px !important;
    background: #fff !important;
    display: block !important;
}

.luxury-cta-section h2 {
    font-size: 37px;
    font-weight: 700;
    margin-bottom: 20px;
}

.luxury-cta-section p {

    font-size: 16px;
    color: #4b5563;
    line-height: 30px;
    letter-spacing: 0;
    font-weight: 300;
    width: 680px;
    margin: 0 auto;
}

.luxury-cta-section .luxury-cta-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 40px !important;
}

.luxury-cta-section .cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    white-space: nowrap !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: .3s !important;
}

.luxury-cta-section .primary-btn {
    background: var(--orange-color-light) !important;
    color: #fff !important;
    border: 1px solid var(--orange-color-light) !important;
}

.luxury-cta-section .outline-btn {
    background: 0 0 !important;
    color: #0C1220 !important;
    border: 1px solid #0C1220 !important;
}

.luxury-cta-section .call-btn-v2 {
    background: #0C1220 !important;
    color: #fff !important;
    border: 1px solid #0C1220 !important;
}

.prop-rating {
    position: absolute !important;
    bottom: 16px !important;
    top: auto !important;

}

.prop-price {
    font-size: 1.45rem;
    color: black;
    font-weight: 700;
    position: absolute;
    top: 7px;
    right: 12px;
    background: white;
    padding: 2px 20px;
}

.prop-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.prop-amenity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 24px;
}

.btn-prop {
    background: #ea8a14 !important;
    color: #fff !important;
    border-radius: 24px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .prop-card {
        flex: 0 0 calc(25% - 15px) !important;
        min-width: calc(25% - 15px) !important;
    }
}

@media (max-width: 991px) {
    .search-box {
        flex-direction: column;
        max-width: 400px;
        height: auto;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid #d4a373;
        padding: 15px 20px;
    }

    .btn-search-hero {
        padding: 15px;
        height: 50px;
    }

    .prop-card {
        flex: 0 0 calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
    }
}
@media (max-width: 767px) {
    .luxury-cta-section .luxury-cta-buttons {
    display: grid !important;

}
.luxury-cta-section p {
  
    width: 100%;
  
}
.search-field i {

    display: none;
}
}

@media (max-width: 576px) {
    .prop-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }
    .luxury-cta-section {
 
    margin-top: -56px;
}
.luxury-cta-section h2 {
    font-size: 25px;
    margin-bottom: 15px;
}
.luxury-cta-section .luxury-cta-buttons {
 
    margin-top: 20px !important;
}
.prop-name {
    
    font-size: 1.2rem;
  
}
.prop-body {
    padding: 11px;
}
.prop-grid {
 
    gap: 0px !important; 
  
}
#featured {
    padding-top: 10px;

}
}

.search-field {
    width: 100%;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.sf-input {
    width: 100%;
    padding-right: 40px;
}

.input-field i {
    position: absolute;
    right: 14px;
    font-size: 16px;
    color: #999;
    pointer-events: none;
}

@media (max-width: 767px) {

    .search-field {
        width: 100%;
    }

    .sf-input {
        font-size: 14px;
        padding-right: 38px;
    }

    .input-field i {
        right: 12px;
        display: block !important;
    }
}