body {
    font-family: 'Montserrat', sans-serif;
}
html {
    scroll-behavior: smooth;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#inicio {
    background: url('img/fotografia-de-inmobiliaria-madrid7-1200x800.jpeg') no-repeat center center/cover;
    color: white;
    padding: 150px 0;
    text-align: center;
    position: relative;
    background-attachment: fixed;
}



#inicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

#inicio h1, #inicio p, #inicio a {
    position: relative;
    z-index: 2;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card img {
    height: 250px; /* Ajusta la altura según tus necesidades */
    width: 100%; /* Asegura que la imagen ocupe todo el ancho del card */
    object-fit: cover; /* Mantiene las proporciones y recorta la imagen si es necesario */
    border-radius: 5px; /* Opcional: añade bordes redondeados */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #333; 
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
}


.btn-primary:hover {
    background-color: #555; 
}
.carousel-inner img {
    height: 400px; /* Ajusta el tamaño a tu preferencia */
    object-fit: cover; /* Recorta la imagen para evitar deformaciones */
}

#servicios h2 {
    font-weight: 700;
    font-size: 2.5rem;
}

#servicios p {
    font-size: 1rem;
    color: #6c757d;
}

#servicios img {
    display: block;
    margin: 0 auto 20px;
}

#servicios h5 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

#servicios .text-muted {
    font-size: 0.9rem;
}

#video {
    background-color: #f8f9fa;
}

#video h2 {
    font-weight: 700;
    font-size: 2.5rem;
}

#video p {
    font-size: 1rem;
    color: #6c757d;
}

#eleccion h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

#eleccion i {
    color: #000000; /* Gris oscuro para iconos */
}

#eleccion h4 {
    font-size: 1.5rem;
    margin-top: 15px;
}


#eleccion p {
    color: #6c757d;
    font-size: 1rem;
}

#propiedades .card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

#propiedades .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.modal-content {
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.modal-header, .modal-footer {
    background-color: #f8f9fa;
}

.modal-title {
    font-weight: 700;
}

.modal-body h6 {
    font-weight: bold;
    margin-top: 20px;
}


h2 {
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
}
h1, h2 {
    font-family: 'Roboto', sans-serif;
}

#inicio h1, #inicio p {
    margin-bottom: 20px;
}
#video h2, #servicios h2 {
    margin-top: 50px;
    margin-bottom: 20px;
}
/* Estilo para el botón de WhatsApp */
.btn-success {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
}

.btn-success i {
    margin-right: 10px; /* Espacio entre el ícono y el texto */
    font-size: 1.5rem;
}


.navbar .nav-link {
    color: rgb(0, 0, 0) !important; 
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #00000031 !important; 
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card {
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}


.card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
    border-color: #333; 
}


@media (max-width: 768px) {
    #inicio h1 {
        font-size: 2rem; /* Reducir tamaño en pantallas pequeñas */
    }
    #inicio p {
        font-size: 1rem;
    }
}


