.text{
    font-weight: 350;
    line-height: 1.5;
    color: white;
    text-align: left
}

div.polaroid {
  /*width: 284px;*/
  padding: 10px 10px 20px 10px;
  border: 1px solid #BFBFBF;
  background-color: white;
  box-shadow: 10px 10px 5px #aaaaaa;
}

div.rotate_right {
  float: left;
  transform: rotate(7deg);
}

div.rotate_left {
  float: left;
  transform: rotate(-8deg);
}

/* Navbar transparente por defecto */
.navbar {
    background-color: rgba(0, 0, 0, 0.40) !important; /* Transparente */
    transition: background-color 0.5s ease-in-out; /* Transición suave */
    /*position:sticky;*/
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Navbar negra cuando se hace scroll */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, .85) !important; /* Negro sólido */
}

ul {
    font-weight: 500;
}

.logo{
    border-radius: 3px;
}

section {
    padding-top: 60px; /* Adjust this value based on your navbar height */
    margin-top: -60px; /* Negative margin to pull the section up */
    scroll-margin-top: 60px; /* Additional support for scroll behavior */
}

.titles {
    background-color: black;
    color:white;
    padding: 3px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 5px rgba(0, 0, 0, 0.4);

}

.slideInLeft {
    animation-duration: 2s;
    animation-name: slide-in-left;
}

@keyframes slide-in-left {
  from {
    translate: 150vw -50vw;
    scale: 100% 1;
  }

  to {
    translate: 0 0;
    scale: 100% 1;
  }
}

.slideInRight {
    animation-duration: 1s;
    animation-name: slide-in-right;
}


.slideInRightSlower {
    animation-duration: 4s;
    animation-name: slide-in-right;
}

@keyframes slide-in-right {
  from {
    margin-left: -100%;
  }

  to {
    margin-left: 0%;
  }
}

.carousel-item {
    display: flex; /* Use flexbox to align items */
    justify-content: center; /* Center items */
    align-items: stretch; /* Stretch items to fill the height */
}

.property-card {
    margin: 10px;
    height: 300px; /* Set a fixed height */
    flex: 1; /* Allow the card to grow/shrink */
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    justify-content: space-between; /* Align items vertically */
    /*height: 100%; /* Ensure the card takes the full height */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Shadow for visual depth */
}

.card-img-top {
    height: 200px; /* Set a fixed height for the image */
    width: 100%; /* Set the image width to 100% of the card */
    object-fit: cover; /* Ensure the image covers the area without distortion */
}

.card-body {
    flex-grow: 1; /* Allow the body to grow and take up remaining space */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Space out the content evenly */
    background-color: bl
}

.card-preview {
    margin: 0;
    color: white;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    overflow: hidden;
}

.modal-body {
    background-color: #ffffff; /* Soft white background */
    padding: 10px; /* Spacious padding */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
    color: #333; /* Dark text color for contrast */
}

.modal-content {
    line-height: 0.4; /* Improved readability */
    font-size: 14px; /* Base font size */
    margin-bottom: 20px; /* Space below content */
}

.navbar-brand img {
            height: 70px;
            width: 70px;
        }

.contact-form {
            max-width: 600px;
            margin: auto;
        }
        
.custom-header {
            background-image: url('/img/background.jpg'); /* Change this to your image path */
            background-size:cover; /* Ensures the image covers the entire header */
            background-position: center;
            background-repeat: no-repeat;
            color: white;
            text-align: right;
            padding: 5rem 0;
            height: 80vh;
            /*height: 80vh; /* Full height of the viewport*/
            display: flex;
            align-items:center; /* Center vertically */
            margin-top: -100px;
    }
    
.line {
    border:3px solid black;
    opacity:100%;
    }
            
.search-message {
    border: 1px solid white;
    background: white;
    width: 100%;
    padding: 15px;
    border-radius: 3px;
    color: blue;
    transition: background 0.5s ease;
    }

footer {
    font-size: .688rem;
    /*font-weight: 400;*/
    line-height: 15px;
    font-family: Montserrat,sans-serif;
    letter-spacing: .5px;
}

footer a {
    text-decoration: none; /* Remove underline */
}

footer a:hover {
    text-decoration: underline; /* Add underline on hover */
}
		
/* Loader en pantalla completa */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro con transparencia */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
    font-size: 20px;
    font-family: Arial, sans-serif;
}

/* Animación del spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Asegurar que el iframe se cargue aunque main-content esté oculto */
#IDX {
    display: block !important;
    visibility: visible !important;
    width: 100%;
    height: 800px;
}

.captcha {
        font-size: 20px;
        font-weight: bold;
        /*margin: 10px 0;*/
}

@media (max-width: 768px) {
    .container.d-flex {
        flex-direction: column;
    }
    .image-container, .form-container {
        flex: none; /* Reset flex property for mobile */
        width: 100%; /* Ensure full width */
        min-height: 340px;
    }
    #IDXcontainer {
        background-size: contain; /* or any other adjustments */
    }
}

.disabled-section {
    display: none;
}

        .message {
            padding: 10px;
            margin: 10px 0;
            border-radius: 5px;
        }
        .success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        .error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        .info {
            background-color: #e2e3e5;
            color: #383d41;
            border: 1px solid #d6d8d9;
        }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px; /* Adjust spacing between items */
    }
    .grid-item {
        border-bottom: 1px solid #ebf0f2; /* Optional, to keep the styling */
        padding: 30px 0;
        color: #777;
        font-size: 12px;
        line-height: 20px;
    }
