/* Durango Realty color classes */
.bg-rust { 
    background-color: #D0CDBE !important; 
}

.text-rust { 
    color: #871912 !important; 
}

.bg-muted { 
    background-color: #f5f2e1 !important; 
}

.bg-black { 
    background-color: #000 !important; 
}

.bg-left-contact { 
    background-color: #D0CDBE !important; 
}

.bg-pink { 
    background-color: #ffb3ba !important; 
}

/* Modal Animation and Layout */
.modal {
    z-index: 10000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.modal.show {
    opacity: 1;
}

.modal-dialog {
    margin: 50px auto !important;
    max-width: 950px !important;
    width: 950px !important;
    transform: translateY(-100px) scale(0.8) !important;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1) !important;
}

.modal.fade-out {
    opacity: 0;
}

.modal.fade-out .modal-dialog {
    transform: translateY(100px) scale(0.8) !important;
}

.modal-dialog-centered {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-height: auto !important;
}

.modal-content {
    background-color: #D0CDBE !important;
    border: 1px solid #871912 !important;
    color: #000 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
}

.modal-header {
    background-color: #f5f2e1 !important;
    border-bottom: 1px solid #871912 !important;
}

.modal-header h3 {
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: #272c33 !important;
}

.modal-h3 {
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: #272c33 !important;
}

.modal-body {
    background-color: #000 !important;
    padding: 1rem !important;
    overflow: visible !important;
}

/* Contact Image */
img.contact-img {
    max-width: 50%;
}

.contact-link {
    font-size: 1.1rem !important;
    font-weight: normal !important;
    line-height: 1.2 !important;
}

/* Navigation Links */
.footer-nav {
    text-decoration: none !important;
    color: #000 !important;
}

.footer-nav:hover {
    text-decoration: underline !important;
    color: gold !important;
}

a.footer-nav:hover {
    color: rgb(192, 90, 90);
}

/* Form Controls */
.form-control {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #871912 !important;
}

.form-control:focus {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #871912 !important;
    box-shadow: 0 0 5px rgba(135, 25, 18, 0.5) !important;
}

.input-group-text {
    background-color: #D0CDBE !important;
    color: #000 !important;
    border: 1px solid #871912 !important;
}

.btn-check + .btn {
    background-color: #D0CDBE !important;
    color: #871912 !important;
    border: 1px solid #871912 !important;
}

.btn-check:checked + .btn {
    background-color: #871912 !important;
    color: #fff !important;
}

/* Buttons */
.close-button {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 300;
    font-style: normal;
    color: #fff;
    background-color: #871912;
    border: none;
    min-height: 10px;
    min-width: 120px;
    margin-right: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.submit-button {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    background-color: navy;
    border: none;
    min-height: 10px;
    min-width: 120px;
    margin-right: 15px;
}

.submit-button:hover,
.close-button:hover {
    font-weight: 500;
}

/* Utility Classes */
.text-success {
    color: #00FF00 !important;
}

body.modal-open {
    overflow: hidden !important;
}